1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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): <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>
    ///   - [`reserved_instance_ids(Vec<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): <p>The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.</p>
    ///   - [`target_configurations(Vec<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): <p>The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.</p>
    /// - 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())
    }
}