PinpointSMSVoiceV2 / Client / delete_protect_configuration

delete_protect_configuration#

PinpointSMSVoiceV2.Client.delete_protect_configuration(**kwargs)#

Permanently delete the protect configuration. The protect configuration must have deletion protection disabled and must not be associated as the account default protect configuration or associated with a configuration set.

See also: AWS API Documentation

Request Syntax

response = client.delete_protect_configuration(
    ProtectConfigurationId='string'
)
Parameters:

ProtectConfigurationId (string) –

[REQUIRED]

The unique identifier for the protect configuration.

Return type:

dict

Returns:

Response Syntax

{
    'ProtectConfigurationArn': 'string',
    'ProtectConfigurationId': 'string',
    'CreatedTimestamp': datetime(2015, 1, 1),
    'AccountDefault': True|False,
    'DeletionProtectionEnabled': True|False
}

Response Structure

  • (dict) –

    • ProtectConfigurationArn (string) –

      The Amazon Resource Name (ARN) of the protect configuration.

    • ProtectConfigurationId (string) –

      The unique identifier for the protect configuration.

    • CreatedTimestamp (datetime) –

      The time when the protect configuration was created, in UNIX epoch time format.

    • AccountDefault (boolean) –

      This is true if the protect configuration is set as your account default protect configuration.

    • DeletionProtectionEnabled (boolean) –

      The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.

Exceptions

  • PinpointSMSVoiceV2.Client.exceptions.ThrottlingException

  • PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException

  • PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException

  • PinpointSMSVoiceV2.Client.exceptions.ValidationException

  • PinpointSMSVoiceV2.Client.exceptions.ConflictException

  • PinpointSMSVoiceV2.Client.exceptions.InternalServerException