Struct aws_sdk_rbin::input::ListRulesInput
source · [−]#[non_exhaustive]pub struct ListRulesInput { /* private fields */ }
Implementations
sourceimpl 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
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for ListRulesInput
impl Clone for ListRulesInput
sourcefn clone(&self) -> ListRulesInput
fn clone(&self) -> ListRulesInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ListRulesInput
impl Debug for ListRulesInput
sourceimpl PartialEq<ListRulesInput> for ListRulesInput
impl PartialEq<ListRulesInput> for ListRulesInput
sourcefn eq(&self, other: &ListRulesInput) -> bool
fn eq(&self, other: &ListRulesInput) -> bool
impl StructuralPartialEq for ListRulesInput
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more