DirectoryService / Client / delete_snapshot
delete_snapshot#
- DirectoryService.Client.delete_snapshot(**kwargs)#
Deletes a directory snapshot.
See also: AWS API Documentation
Request Syntax
response = client.delete_snapshot( SnapshotId='string' )
- Parameters:
SnapshotId (string) –
[REQUIRED]
The identifier of the directory snapshot to be deleted.
- Return type:
dict
- Returns:
Response Syntax
{ 'SnapshotId': 'string' }
Response Structure
(dict) –
Contains the results of the DeleteSnapshot operation.
SnapshotId (string) –
The identifier of the directory snapshot that was deleted.
Exceptions
DirectoryService.Client.exceptions.EntityDoesNotExistException
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException