PinpointSMSVoiceV2 / Client / associate_protect_configuration

associate_protect_configuration#

PinpointSMSVoiceV2.Client.associate_protect_configuration(**kwargs)#

Associate a protect configuration with a configuration set. This replaces the configuration sets current protect configuration. A configuration set can only be associated with one protect configuration at a time. A protect configuration can be associated with multiple configuration sets.

See also: AWS API Documentation

Request Syntax

response = client.associate_protect_configuration(
    ProtectConfigurationId='string',
    ConfigurationSetName='string'
)
Parameters:
  • ProtectConfigurationId (string) –

    [REQUIRED]

    The unique identifier for the protect configuration.

  • ConfigurationSetName (string) –

    [REQUIRED]

    The name of the ConfigurationSet.

Return type:

dict

Returns:

Response Syntax

{
    'ConfigurationSetArn': 'string',
    'ConfigurationSetName': 'string',
    'ProtectConfigurationArn': 'string',
    'ProtectConfigurationId': 'string'
}

Response Structure

  • (dict) –

    • ConfigurationSetArn (string) –

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

    • ConfigurationSetName (string) –

      The name of the ConfigurationSet.

    • ProtectConfigurationArn (string) –

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

    • ProtectConfigurationId (string) –

      The unique identifier for the protect configuration.

Exceptions