PinpointSMSVoiceV2 / Client / set_account_default_protect_configuration
set_account_default_protect_configuration#
- PinpointSMSVoiceV2.Client.set_account_default_protect_configuration(**kwargs)#
Set a protect configuration as your account default. You can only have one account default protect configuration at a time. The current account default protect configuration is replaced with the provided protect configuration.
See also: AWS API Documentation
Request Syntax
response = client.set_account_default_protect_configuration( ProtectConfigurationId='string' )
- Parameters:
ProtectConfigurationId (string) –
[REQUIRED]
The unique identifier for the protect configuration.
- Return type:
dict
- Returns:
Response Syntax
{ 'DefaultProtectConfigurationArn': 'string', 'DefaultProtectConfigurationId': 'string' }
Response Structure
(dict) –
DefaultProtectConfigurationArn (string) –
The Amazon Resource Name (ARN) of the account default protect configuration.
DefaultProtectConfigurationId (string) –
The unique identifier of the account default protect configuration.
Exceptions
PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException
PinpointSMSVoiceV2.Client.exceptions.ValidationException
PinpointSMSVoiceV2.Client.exceptions.InternalServerException