Struct aws_sdk_rbin::input::ListRulesInput
source · [−]#[non_exhaustive]pub struct ListRulesInput {
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub resource_type: Option<ResourceType>,
pub resource_tags: Option<Vec<ResourceTag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_results: Option<i32>
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.
next_token: Option<String>
The token to use to retrieve the next page of results.
resource_type: Option<ResourceType>
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
The tags used to identify resources that are to be retained by the retention rule.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRules, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRules, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListRules
>
Creates a new builder-style object to manufacture ListRulesInput
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 resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed.
The tags used to identify resources that are to be retained by the retention rule.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListRulesInput
impl Send for ListRulesInput
impl Sync for ListRulesInput
impl Unpin for ListRulesInput
impl UnwindSafe for ListRulesInput
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