// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeReservedNodes`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`reservation_id(impl ::std::convert::Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::reservation_id) / [`set_reservation_id(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_reservation_id): <p>The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.</p>
/// - [`reserved_nodes_offering_id(impl ::std::convert::Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::reserved_nodes_offering_id) / [`set_reserved_nodes_offering_id(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_reserved_nodes_offering_id): <p>The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.</p>
/// - [`node_type(impl ::std::convert::Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::node_type) / [`set_node_type(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_node_type): <p>The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see <a href="https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.reserved.html#reserved-nodes-supported">Supported node types</a>.</p>
/// - [`duration(impl ::std::convert::Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::duration) / [`set_duration(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_duration): <p>The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.</p>
/// - [`offering_type(impl ::std::convert::Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::offering_type) / [`set_offering_type(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_offering_type): <p>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"</p>
/// - [`max_results(i32)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_max_results): <p>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.</p>
/// - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_next_token): <p>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.</p>
/// - On success, responds with [`DescribeReservedNodesOutput`](crate::operation::describe_reserved_nodes::DescribeReservedNodesOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::describe_reserved_nodes::DescribeReservedNodesOutput::next_token): <p>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.</p>
/// - [`reserved_nodes(Option<Vec<ReservedNode>>)`](crate::operation::describe_reserved_nodes::DescribeReservedNodesOutput::reserved_nodes): <p>Returns information about reserved nodes for this account, or about a specified reserved node.</p>
/// - On failure, responds with [`SdkError<DescribeReservedNodesError>`](crate::operation::describe_reserved_nodes::DescribeReservedNodesError)
pub fn describe_reserved_nodes(
&self,
) -> crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder
{
crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::new(
self.handle.clone(),
)
}
}