PinpointSMSVoiceV2 / Client / delete_notify_configuration

delete_notify_configuration

PinpointSMSVoiceV2.Client.delete_notify_configuration(**kwargs)

Deletes an existing notify configuration.

If deletion protection is enabled, an error is returned.

See also: AWS API Documentation

Request Syntax

response = client.delete_notify_configuration(
    NotifyConfigurationId='string'
)
Parameters:

NotifyConfigurationId (string) –

[REQUIRED]

The identifier of the notify configuration to delete. The NotifyConfigurationId can be found using the DescribeNotifyConfigurations operation.

Return type:

dict

Returns:

Response Syntax

{
    'NotifyConfigurationArn': 'string',
    'NotifyConfigurationId': 'string',
    'DisplayName': 'string',
    'UseCase': 'CODE_VERIFICATION',
    'DefaultTemplateId': 'string',
    'PoolId': 'string',
    'EnabledCountries': [
        'string',
    ],
    'EnabledChannels': [
        'SMS'|'VOICE'|'MMS'|'RCS',
    ],
    'Tier': 'BASIC'|'ADVANCED',
    'TierUpgradeStatus': 'BASIC'|'PENDING_UPGRADE'|'ADVANCED'|'REJECTED',
    'Status': 'PENDING'|'ACTIVE'|'REJECTED'|'REQUIRES_VERIFICATION',
    'RejectionReason': 'string',
    'DeletionProtectionEnabled': True|False,
    'CreatedTimestamp': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • NotifyConfigurationArn (string) –

      The Amazon Resource Name (ARN) for the notify configuration.

    • NotifyConfigurationId (string) –

      The unique identifier for the notify configuration.

    • DisplayName (string) –

      The display name associated with the notify configuration.

    • UseCase (string) –

      The use case for the notify configuration.

    • DefaultTemplateId (string) –

      The default template identifier associated with the notify configuration.

    • PoolId (string) –

      The identifier of the pool associated with the notify configuration.

    • EnabledCountries (list) –

      An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

      • (string) –

    • EnabledChannels (list) –

      An array of channels enabled for the notify configuration. Supported values include SMS and VOICE.

      • (string) –

    • Tier (string) –

      The tier of the notify configuration.

    • TierUpgradeStatus (string) –

      The tier upgrade status of the notify configuration.

    • Status (string) –

      The current status of the notify configuration.

    • RejectionReason (string) –

      The reason the notify configuration was rejected, if applicable.

    • DeletionProtectionEnabled (boolean) –

      When set to true deletion protection is enabled. By default this is set to false.

    • CreatedTimestamp (datetime) –

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

Exceptions