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 ==.