1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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:
    ///   - [`reserved_node_id(impl Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::reserved_node_id) / [`set_reserved_node_id(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_reserved_node_id):<br>required: **false**<br><p>Identifier for the node reservation.</p><br>
    ///   - [`max_records(i32)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified <code>MaxRecords</code> value, a value is returned in a <code>marker</code> field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.</p> <p>Default: <code>100</code></p> <p>Constraints: minimum 20, maximum 100.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_reserved_nodes::builders::DescribeReservedNodesFluentBuilder::set_marker):<br>required: **false**<br><p>An optional parameter that specifies the starting point to return a set of response records. When the results of a <code>DescribeReservedNodes</code> request exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the <code>Marker</code> field of the response. You can retrieve the next set of response records by providing the returned marker value in the <code>Marker</code> parameter and retrying the request.</p><br>
    /// - On success, responds with [`DescribeReservedNodesOutput`](crate::operation::describe_reserved_nodes::DescribeReservedNodesOutput) with field(s):
    ///   - [`marker(Option<String>)`](crate::operation::describe_reserved_nodes::DescribeReservedNodesOutput::marker): <p>A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the <code>Marker</code> parameter and retrying the command. If the <code>Marker</code> field is empty, all response records have been retrieved for the request.</p>
    ///   - [`reserved_nodes(Option<Vec::<ReservedNode>>)`](crate::operation::describe_reserved_nodes::DescribeReservedNodesOutput::reserved_nodes): <p>The list of <code>ReservedNode</code> objects.</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())
    }
}