Struct aws_sdk_opensearch::operation::describe_reserved_instances::DescribeReservedInstancesInput
source · #[non_exhaustive]pub struct DescribeReservedInstancesInput {
pub reserved_instance_id: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}Expand description
Container for the request parameters to the DescribeReservedInstances operation.
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.reserved_instance_id: Option<String>The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.
max_results: Option<i32>An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.
next_token: Option<String>If your initial DescribeReservedInstances operation returns a nextToken, you can include the returned nextToken in subsequent DescribeReservedInstances operations, which returns results in the next page.
Implementations§
source§impl DescribeReservedInstancesInput
impl DescribeReservedInstancesInput
sourcepub fn reserved_instance_id(&self) -> Option<&str>
pub fn reserved_instance_id(&self) -> Option<&str>
The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.
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 nextToken to get the next page of results.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If your initial DescribeReservedInstances operation returns a nextToken, you can include the returned nextToken in subsequent DescribeReservedInstances operations, which returns results in the next page.
source§impl DescribeReservedInstancesInput
impl DescribeReservedInstancesInput
sourcepub fn builder() -> DescribeReservedInstancesInputBuilder
pub fn builder() -> DescribeReservedInstancesInputBuilder
Creates a new builder-style object to manufacture DescribeReservedInstancesInput.
Trait Implementations§
source§impl Clone for DescribeReservedInstancesInput
impl Clone for DescribeReservedInstancesInput
source§fn clone(&self) -> DescribeReservedInstancesInput
fn clone(&self) -> DescribeReservedInstancesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeReservedInstancesInput
impl PartialEq for DescribeReservedInstancesInput
source§fn eq(&self, other: &DescribeReservedInstancesInput) -> bool
fn eq(&self, other: &DescribeReservedInstancesInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeReservedInstancesInput
Auto Trait Implementations§
impl Freeze for DescribeReservedInstancesInput
impl RefUnwindSafe for DescribeReservedInstancesInput
impl Send for DescribeReservedInstancesInput
impl Sync for DescribeReservedInstancesInput
impl Unpin for DescribeReservedInstancesInput
impl UnwindSafe for DescribeReservedInstancesInput
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