RedshiftServerless / Client / delete_snapshot_copy_configuration

delete_snapshot_copy_configuration#

RedshiftServerless.Client.delete_snapshot_copy_configuration(**kwargs)#

Deletes a snapshot copy configuration

See also: AWS API Documentation

Request Syntax

response = client.delete_snapshot_copy_configuration(
    snapshotCopyConfigurationId='string'
)
Parameters:

snapshotCopyConfigurationId (string) –

[REQUIRED]

The ID of the snapshot copy configuration to delete.

Return type:

dict

Returns:

Response Syntax

{
    'snapshotCopyConfiguration': {
        'destinationKmsKeyId': 'string',
        'destinationRegion': 'string',
        'namespaceName': 'string',
        'snapshotCopyConfigurationArn': 'string',
        'snapshotCopyConfigurationId': 'string',
        'snapshotRetentionPeriod': 123
    }
}

Response Structure

  • (dict) –

    • snapshotCopyConfiguration (dict) –

      The deleted snapshot copy configuration object.

      • destinationKmsKeyId (string) –

        The ID of the KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.

      • destinationRegion (string) –

        The destination Amazon Web Services Region to copy snapshots to.

      • namespaceName (string) –

        The name of the namespace to copy snapshots from in the source Amazon Web Services Region.

      • snapshotCopyConfigurationArn (string) –

        The ARN of the snapshot copy configuration object.

      • snapshotCopyConfigurationId (string) –

        The ID of the snapshot copy configuration object.

      • snapshotRetentionPeriod (integer) –

        The retention period of snapshots that are copied to the destination Amazon Web Services Region.

Exceptions

  • RedshiftServerless.Client.exceptions.InternalServerException

  • RedshiftServerless.Client.exceptions.ResourceNotFoundException

  • RedshiftServerless.Client.exceptions.ConflictException

  • RedshiftServerless.Client.exceptions.ValidationException

  • RedshiftServerless.Client.exceptions.AccessDeniedException