EndUserMessagingSocial / Client / put_whatsapp_business_public_key

put_whatsapp_business_public_key

EndUserMessagingSocial.Client.put_whatsapp_business_public_key(**kwargs)

Sets the business public key used to encrypt the data exchanged with the endpoint of a data exchange Flow.

See also: AWS API Documentation

Request Syntax

response = client.put_whatsapp_business_public_key(
    originationPhoneNumberId='string',
    businessPublicKey='string',
    kmsKeyArn='string'
)
Parameters:
  • originationPhoneNumberId (string) –

    [REQUIRED]

    The unique identifier of the phone number to associate with the business public key.

  • businessPublicKey (string) – PEM-encoded RSA public key. Mutually exclusive with kmsKeyArn.

  • kmsKeyArn (string) – Customer-managed KMS asymmetric RSA key ARN. Mutually exclusive with businessPublicKey.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • EndUserMessagingSocial.Client.exceptions.ValidationException

  • EndUserMessagingSocial.Client.exceptions.AccessDeniedException

  • EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException

  • EndUserMessagingSocial.Client.exceptions.InvalidParametersException

  • EndUserMessagingSocial.Client.exceptions.AccessDeniedByMetaException

  • EndUserMessagingSocial.Client.exceptions.ThrottledRequestException

  • EndUserMessagingSocial.Client.exceptions.InternalServiceException

  • EndUserMessagingSocial.Client.exceptions.DependencyException