Struct aws_sdk_opensearchserverless::operation::list_lifecycle_policies::ListLifecyclePoliciesInput
source · #[non_exhaustive]pub struct ListLifecyclePoliciesInput {
pub type: Option<LifecyclePolicyType>,
pub resources: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}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.type: Option<LifecyclePolicyType>The type of lifecycle policy.
resources: Option<Vec<String>>Resource filters that policies can apply to. Currently, the only supported resource type is index.
next_token: Option<String>If your initial ListLifecyclePolicies operation returns a nextToken, you can include the returned nextToken in subsequent ListLifecyclePolicies operations, which returns results in the next page.
max_results: Option<i32>An optional parameter that specifies the maximum number of results to return. You can use use nextToken to get the next page of results. The default is 10.
Implementations§
source§impl ListLifecyclePoliciesInput
impl ListLifecyclePoliciesInput
sourcepub fn type(&self) -> Option<&LifecyclePolicyType>
pub fn type(&self) -> Option<&LifecyclePolicyType>
The type of lifecycle policy.
sourcepub fn resources(&self) -> &[String]
pub fn resources(&self) -> &[String]
Resource filters that policies can apply to. Currently, the only supported resource type is index.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If your initial ListLifecyclePolicies operation returns a nextToken, you can include the returned nextToken in subsequent ListLifecyclePolicies operations, which returns results in the next page.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
An optional parameter that specifies the maximum number of results to return. You can use use nextToken to get the next page of results. The default is 10.
source§impl ListLifecyclePoliciesInput
impl ListLifecyclePoliciesInput
sourcepub fn builder() -> ListLifecyclePoliciesInputBuilder
pub fn builder() -> ListLifecyclePoliciesInputBuilder
Creates a new builder-style object to manufacture ListLifecyclePoliciesInput.
Trait Implementations§
source§impl Clone for ListLifecyclePoliciesInput
impl Clone for ListLifecyclePoliciesInput
source§fn clone(&self) -> ListLifecyclePoliciesInput
fn clone(&self) -> ListLifecyclePoliciesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListLifecyclePoliciesInput
impl Debug for ListLifecyclePoliciesInput
source§impl PartialEq for ListLifecyclePoliciesInput
impl PartialEq for ListLifecyclePoliciesInput
source§fn eq(&self, other: &ListLifecyclePoliciesInput) -> bool
fn eq(&self, other: &ListLifecyclePoliciesInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListLifecyclePoliciesInput
Auto Trait Implementations§
impl Freeze for ListLifecyclePoliciesInput
impl RefUnwindSafe for ListLifecyclePoliciesInput
impl Send for ListLifecyclePoliciesInput
impl Sync for ListLifecyclePoliciesInput
impl Unpin for ListLifecyclePoliciesInput
impl UnwindSafe for ListLifecyclePoliciesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more