delete_cluster_snapshot
(**kwargs)¶Delete a Elastic DocumentDB snapshot.
See also: AWS API Documentation
Request Syntax
response = client.delete_cluster_snapshot(
snapshotArn='string'
)
[REQUIRED]
The arn of the Elastic DocumentDB snapshot that is to be deleted.
{
'snapshot': {
'adminUserName': 'string',
'clusterArn': 'string',
'clusterCreationTime': 'string',
'kmsKeyId': 'string',
'snapshotArn': 'string',
'snapshotCreationTime': 'string',
'snapshotName': 'string',
'status': 'CREATING'|'ACTIVE'|'DELETING'|'UPDATING'|'VPC_ENDPOINT_LIMIT_EXCEEDED'|'IP_ADDRESS_LIMIT_EXCEEDED'|'INVALID_SECURITY_GROUP_ID'|'INVALID_SUBNET_ID'|'INACCESSIBLE_ENCRYPTION_CREDS',
'subnetIds': [
'string',
],
'vpcSecurityGroupIds': [
'string',
]
}
}
Response Structure
Returns information about the newly deleted Elastic DocumentDB snapshot.
The name of the Elastic DocumentDB cluster administrator.
The arn of the Elastic DocumentDB cluster.
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
The arn of the Elastic DocumentDB snapshot
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
The name of the Elastic DocumentDB snapshot.
The status of the Elastic DocumentDB snapshot.
A list of the IDs of subnets associated with the DB cluster snapshot.
A list of the IDs of the VPC security groups associated with the cluster snapshot.
Exceptions
DocDBElastic.Client.exceptions.ThrottlingException
DocDBElastic.Client.exceptions.ValidationException
DocDBElastic.Client.exceptions.ConflictException
DocDBElastic.Client.exceptions.InternalServerException
DocDBElastic.Client.exceptions.ResourceNotFoundException
DocDBElastic.Client.exceptions.AccessDeniedException