PinpointSMSVoiceV2 / Client / update_protect_configuration

update_protect_configuration#

PinpointSMSVoiceV2.Client.update_protect_configuration(**kwargs)#

Update the setting for an existing protect configuration.

See also: AWS API Documentation

Request Syntax

response = client.update_protect_configuration(
    ProtectConfigurationId='string',
    DeletionProtectionEnabled=True|False
)
Parameters:
  • ProtectConfigurationId (string) –

    [REQUIRED]

    The unique identifier for the protect configuration.

  • DeletionProtectionEnabled (boolean) – When set to true deletion protection is enabled. By default this is set to false.

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