DocDBElastic / Client / delete_cluster_snapshot
delete_cluster_snapshot#
- DocDBElastic.Client.delete_cluster_snapshot(**kwargs)#
Delete a Elastic DocumentDB snapshot.
See also: AWS API Documentation
Request Syntax
response = client.delete_cluster_snapshot( snapshotArn='string' )
- Parameters:
snapshotArn (string) –
[REQUIRED]
The arn of the Elastic DocumentDB snapshot that is to be deleted.
- Return type:
dict
- Returns:
Response Syntax
{ '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
(dict) –
snapshot (dict) –
Returns information about the newly deleted Elastic DocumentDB snapshot.
adminUserName (string) –
The name of the Elastic DocumentDB cluster administrator.
clusterArn (string) –
The arn of the Elastic DocumentDB cluster.
clusterCreationTime (string) –
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
kmsKeyId (string) –
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
snapshotArn (string) –
The arn of the Elastic DocumentDB snapshot
snapshotCreationTime (string) –
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
snapshotName (string) –
The name of the Elastic DocumentDB snapshot.
status (string) –
The status of the Elastic DocumentDB snapshot.
subnetIds (list) –
A list of the IDs of subnets associated with the DB cluster snapshot.
(string) –
vpcSecurityGroupIds (list) –
A list of the IDs of the VPC security groups associated with the cluster snapshot.
(string) –
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