aws_sdk_redshift/client/
get_reserved_node_exchange_configuration_options.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetReservedNodeExchangeConfigurationOptions`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`action_type(ReservedNodeExchangeActionType)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::action_type) / [`set_action_type(Option<ReservedNodeExchangeActionType>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::set_action_type):<br>required: **true**<br><p>The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.</p><br>
8    ///   - [`cluster_identifier(impl Into<String>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::set_cluster_identifier):<br>required: **false**<br><p>The identifier for the cluster that is the source for a reserved-node exchange.</p><br>
9    ///   - [`snapshot_identifier(impl Into<String>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::snapshot_identifier) / [`set_snapshot_identifier(Option<String>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::set_snapshot_identifier):<br>required: **false**<br><p>The identifier for the snapshot that is the source for the reserved-node exchange.</p><br>
10    ///   - [`max_records(i32)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::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><br>
11    ///   - [`marker(impl Into<String>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::set_marker):<br>required: **false**<br><p>An optional pagination token provided by a previous <code>GetReservedNodeExchangeConfigurationOptions</code> request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the <code>MaxRecords</code> parameter. 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>
12    /// - On success, responds with [`GetReservedNodeExchangeConfigurationOptionsOutput`](crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsOutput) with field(s):
13    ///   - [`marker(Option<String>)`](crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsOutput::marker): <p>A pagination token provided by a previous <code>GetReservedNodeExchangeConfigurationOptions</code> request.</p>
14    ///   - [`reserved_node_configuration_option_list(Option<Vec::<ReservedNodeConfigurationOption>>)`](crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsOutput::reserved_node_configuration_option_list): <p>the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node. Details include the node type, the price, the node count, and the offering type.</p>
15    /// - On failure, responds with [`SdkError<GetReservedNodeExchangeConfigurationOptionsError>`](crate::operation::get_reserved_node_exchange_configuration_options::GetReservedNodeExchangeConfigurationOptionsError)
16    pub fn get_reserved_node_exchange_configuration_options(
17        &self,
18    ) -> crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder {
19        crate::operation::get_reserved_node_exchange_configuration_options::builders::GetReservedNodeExchangeConfigurationOptionsFluentBuilder::new(
20            self.handle.clone(),
21        )
22    }
23}