DirectoryService.Client.
get_snapshot_limits
(**kwargs)¶Obtains the manual snapshot limits for a directory.
See also: AWS API Documentation
Request Syntax
response = client.get_snapshot_limits(
DirectoryId='string'
)
[REQUIRED]
Contains the identifier of the directory to obtain the limits for.
{
'SnapshotLimits': {
'ManualSnapshotsLimit': 123,
'ManualSnapshotsCurrentCount': 123,
'ManualSnapshotsLimitReached': True|False
}
}
Response Structure
Contains the results of the GetSnapshotLimits operation.
A SnapshotLimits object that contains the manual snapshot limits for the specified directory.
The maximum number of manual snapshots allowed.
The current number of manual snapshots of the directory.
Indicates if the manual snapshot limit has been reached.
Exceptions
DirectoryService.Client.exceptions.EntityDoesNotExistException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException