Struct aws_sdk_memorydb::client::fluent_builders::DescribeSnapshots [−][src]
pub struct DescribeSnapshots<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DescribeSnapshots.
Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cluster.
Implementations
impl<C, M, R> DescribeSnapshots<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeSnapshots<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeSnapshotsOutput, SdkError<DescribeSnapshotsError>> where
R::Policy: SmithyRetryPolicy<DescribeSnapshotsInputOperationOutputAlias, DescribeSnapshotsOutput, DescribeSnapshotsError, DescribeSnapshotsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeSnapshotsOutput, SdkError<DescribeSnapshotsError>> where
R::Policy: SmithyRetryPolicy<DescribeSnapshotsInputOperationOutputAlias, DescribeSnapshotsOutput, DescribeSnapshotsError, DescribeSnapshotsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
A user-supplied name of the snapshot. If this parameter is specified, only this named snapshot is described.
A user-supplied name of the snapshot. If this parameter is specified, only this named snapshot is described.
If set to system, the output shows snapshots that were automatically created by MemoryDB. If set to user the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots.
If set to system, the output shows snapshots that were automatically created by MemoryDB. If set to user the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots.
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
A Boolean value which if true, the shard configuration is included in the snapshot description.
A Boolean value which if true, the shard configuration is included in the snapshot description.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeSnapshots<C, M, R>
impl<C, M, R> Send for DescribeSnapshots<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeSnapshots<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeSnapshots<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeSnapshots<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more