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) – The PEM-encoded 2048-bit RSA public key to set. Mutually exclusive with
kmsKeyArn.kmsKeyArn (string) – The ARN of a customer managed asymmetric RSA key in Amazon Web Services KMS. Mutually exclusive with
businessPublicKey.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
EndUserMessagingSocial.Client.exceptions.ValidationExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedExceptionEndUserMessagingSocial.Client.exceptions.ResourceNotFoundExceptionEndUserMessagingSocial.Client.exceptions.InvalidParametersExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedByMetaExceptionEndUserMessagingSocial.Client.exceptions.ThrottledRequestExceptionEndUserMessagingSocial.Client.exceptions.InternalServiceExceptionEndUserMessagingSocial.Client.exceptions.DependencyException