list_cluster_snapshots
async
¶
list_cluster_snapshots(
*,
config_overrides: Optional[AsyncDocDBElasticClientConfig] = None,
cluster_arn: Optional[str] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[int] = None,
snapshot_type: Optional[str] = None,
) -> ListClusterSnapshotsOutput
Returns information about snapshots for a specified elastic cluster.
Parameters:
-
cluster_arn(Optional[str], default:None) –The ARN identifier of the elastic cluster.
-
next_token(Optional[PaginationToken], default:None) –A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by
max-results.If there is no more data in the responce, the
nextTokenwill not be returned. -
max_results(Optional[int], default:None) –The maximum number of elastic cluster snapshot results to receive in the response.
-
snapshot_type(Optional[str], default:None) –The type of cluster snapshots to be returned. You can specify one of the following values:
-
automated- Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account. -
manual- Return all cluster snapshots that you have manually created for your Amazon Web Services account.
-
Raises:
-
AccessDeniedException–An exception that occurs when there are not sufficient permissions to perform an action.
-
InternalServerException–There was an internal server error.
-
ThrottlingException–ThrottlingException will be thrown when request was denied due to request throttling.
-
ValidationException–A structure defining a validation exception.
-
UnknownServiceError–The service returned an error code this client does not model.