Struct aws_sdk_rbin::input::ListRulesInput
source · #[non_exhaustive]pub struct ListRulesInput { /* private fields */ }
Implementations§
source§impl ListRulesInput
impl ListRulesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRules, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRules, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListRules
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListRulesInput
.
source§impl ListRulesInput
impl ListRulesInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned NextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next page of results.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention rules that retain snapshots, specify EBS_SNAPSHOT
. To list retention rules that retain EBS-backed AMIs, specify EC2_IMAGE
.
Information about the resource tags used to identify resources that are retained by the retention rule.
sourcepub fn lock_state(&self) -> Option<&LockState>
pub fn lock_state(&self) -> Option<&LockState>
The lock state of the retention rules to list. Only retention rules with the specified lock state are returned.
Trait Implementations§
source§impl Clone for ListRulesInput
impl Clone for ListRulesInput
source§fn clone(&self) -> ListRulesInput
fn clone(&self) -> ListRulesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListRulesInput
impl Debug for ListRulesInput
source§impl PartialEq<ListRulesInput> for ListRulesInput
impl PartialEq<ListRulesInput> for ListRulesInput
source§fn eq(&self, other: &ListRulesInput) -> bool
fn eq(&self, other: &ListRulesInput) -> bool
self
and other
values to be equal, and is used
by ==
.