Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_snapshot

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