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.ValidationExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedExceptionEndUserMessagingSocial.Client.exceptions.ResourceNotFoundExceptionEndUserMessagingSocial.Client.exceptions.InvalidParametersExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedByMetaExceptionEndUserMessagingSocial.Client.exceptions.ThrottledRequestExceptionEndUserMessagingSocial.Client.exceptions.InternalServiceExceptionEndUserMessagingSocial.Client.exceptions.DependencyException