pub struct DescribeRetentionConfigurations<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeRetentionConfigurations.
Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account.
Currently, Config supports only one retention configuration per region in your account.
Implementations
impl<C, M, R> DescribeRetentionConfigurations<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeRetentionConfigurations<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeRetentionConfigurationsOutput, SdkError<DescribeRetentionConfigurationsError>> where
R::Policy: SmithyRetryPolicy<DescribeRetentionConfigurationsInputOperationOutputAlias, DescribeRetentionConfigurationsOutput, DescribeRetentionConfigurationsError, DescribeRetentionConfigurationsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeRetentionConfigurationsOutput, SdkError<DescribeRetentionConfigurationsError>> where
R::Policy: SmithyRetryPolicy<DescribeRetentionConfigurationsInputOperationOutputAlias, DescribeRetentionConfigurationsOutput, DescribeRetentionConfigurationsError, DescribeRetentionConfigurationsInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
Appends an item to RetentionConfigurationNames.
To override the contents of this collection use set_retention_configuration_names.
A list of names of retention configurations for which you want details. If you do not specify a name, Config returns details for all the retention configurations for that account.
Currently, Config supports only one retention configuration per region in your account.
A list of names of retention configurations for which you want details. If you do not specify a name, Config returns details for all the retention configurations for that account.
Currently, Config supports only one retention configuration per region in your account.
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeRetentionConfigurations<C, M, R>
impl<C, M, R> Send for DescribeRetentionConfigurations<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeRetentionConfigurations<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeRetentionConfigurations<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeRetentionConfigurations<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