1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AcceptReservedInstancesExchangeQuote`](crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`reserved_instance_ids(impl Into<String>)`](crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder::reserved_instance_ids) / [`set_reserved_instance_ids(Option<Vec::<String>>)`](crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder::set_reserved_instance_ids):<br>required: **true**<br><p>The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.</p><br>
    ///   - [`target_configurations(TargetConfigurationRequest)`](crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder::target_configurations) / [`set_target_configurations(Option<Vec::<TargetConfigurationRequest>>)`](crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder::set_target_configurations):<br>required: **false**<br><p>The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.</p><br>
    /// - On success, responds with [`AcceptReservedInstancesExchangeQuoteOutput`](crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteOutput) with field(s):
    ///   - [`exchange_id(Option<String>)`](crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteOutput::exchange_id): <p>The ID of the successful exchange.</p>
    /// - On failure, responds with [`SdkError<AcceptReservedInstancesExchangeQuoteError>`](crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError)
    pub fn accept_reserved_instances_exchange_quote(
        &self,
    ) -> crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder {
        crate::operation::accept_reserved_instances_exchange_quote::builders::AcceptReservedInstancesExchangeQuoteFluentBuilder::new(
            self.handle.clone(),
        )
    }
}