Struct aws_sdk_rbin::client::fluent_builders::ListRules [−][src]
pub struct ListRules<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListRules
.
Lists the Recycle Bin retention rules in the Region.
Implementations
impl<C, M, R> ListRules<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListRules<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ListRulesOutput, SdkError<ListRulesError>> where
R::Policy: SmithyRetryPolicy<ListRulesInputOperationOutputAlias, ListRulesOutput, ListRulesError, ListRulesInputOperationRetryAlias>,
pub async fn send(self) -> Result<ListRulesOutput, SdkError<ListRulesError>> where
R::Policy: SmithyRetryPolicy<ListRulesInputOperationOutputAlias, ListRulesOutput, ListRulesError, ListRulesInputOperationRetryAlias>,
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.
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken
value. This value can be between 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken
value. This value can be between 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
The token to use to retrieve the next page of results.
The token to use to retrieve the next page of results.
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
Appends an item to ResourceTags
.
To override the contents of this collection use set_resource_tags
.
The tags used to identify resources that are to be retained by the retention rule.
The tags used to identify resources that are to be retained by the retention rule.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListRules<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListRules<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