#[non_exhaustive]pub struct DescribeReservedNodesInput {
pub reservation_id: Option<String>,
pub reserved_nodes_offering_id: Option<String>,
pub node_type: Option<String>,
pub duration: Option<String>,
pub offering_type: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
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.reservation_id: Option<String>
The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
reserved_nodes_offering_id: Option<String>
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
node_type: Option<String>
The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
duration: Option<String>
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
offering_type: Option<String>
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
max_results: Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.
next_token: Option<String>
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Implementations§
source§impl DescribeReservedNodesInput
impl DescribeReservedNodesInput
sourcepub fn reservation_id(&self) -> Option<&str>
pub fn reservation_id(&self) -> Option<&str>
The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
sourcepub fn reserved_nodes_offering_id(&self) -> Option<&str>
pub fn reserved_nodes_offering_id(&self) -> Option<&str>
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
sourcepub fn node_type(&self) -> Option<&str>
pub fn node_type(&self) -> Option<&str>
The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
sourcepub fn duration(&self) -> Option<&str>
pub fn duration(&self) -> Option<&str>
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
sourcepub fn offering_type(&self) -> Option<&str>
pub fn offering_type(&self) -> Option<&str>
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
source§impl DescribeReservedNodesInput
impl DescribeReservedNodesInput
sourcepub fn builder() -> DescribeReservedNodesInputBuilder
pub fn builder() -> DescribeReservedNodesInputBuilder
Creates a new builder-style object to manufacture DescribeReservedNodesInput
.
Trait Implementations§
source§impl Clone for DescribeReservedNodesInput
impl Clone for DescribeReservedNodesInput
source§fn clone(&self) -> DescribeReservedNodesInput
fn clone(&self) -> DescribeReservedNodesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeReservedNodesInput
impl Debug for DescribeReservedNodesInput
source§impl PartialEq for DescribeReservedNodesInput
impl PartialEq for DescribeReservedNodesInput
source§fn eq(&self, other: &DescribeReservedNodesInput) -> bool
fn eq(&self, other: &DescribeReservedNodesInput) -> bool
self
and other
values to be equal, and is used
by ==
.