Skip to main content

aws_sdk_outposts/client/
update_quote.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 [`UpdateQuote`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`quote_identifier(impl Into<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::quote_identifier) / [`set_quote_identifier(Option<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_quote_identifier):<br>required: **true**<br><p>The ID or ARN of the quote.</p><br>
7    ///   - [`outpost_identifier(impl Into<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::outpost_identifier) / [`set_outpost_identifier(Option<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_outpost_identifier):<br>required: **false**<br><p>The ID or ARN of the Outpost to associate with the quote. Specify an empty string to remove the Outpost association.</p><br>
8    ///   - [`country_code(impl Into<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::country_code) / [`set_country_code(Option<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_country_code):<br>required: **false**<br><p>The country code for the Outpost site location.</p><br>
9    ///   - [`requested_capacities(QuoteCapacity)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::requested_capacities) / [`set_requested_capacities(Option<Vec::<QuoteCapacity>>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_requested_capacities):<br>required: **false**<br><p>The updated capacity requirements for the quote.</p><br>
10    ///   - [`requested_constraints(QuoteConstraint)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::requested_constraints) / [`set_requested_constraints(Option<Vec::<QuoteConstraint>>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_requested_constraints):<br>required: **false**<br><p>The updated physical constraints for the quote.</p><br>
11    ///   - [`requested_payment_options(PaymentOption)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::requested_payment_options) / [`set_requested_payment_options(Option<Vec::<PaymentOption>>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_requested_payment_options):<br>required: **false**<br><p>The updated payment options to include in the quote pricing.</p><br>
12    ///   - [`requested_payment_terms(PaymentTerm)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::requested_payment_terms) / [`set_requested_payment_terms(Option<Vec::<PaymentTerm>>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_requested_payment_terms):<br>required: **false**<br><p>The updated payment terms to include in the quote pricing.</p><br>
13    ///   - [`description(impl Into<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::set_description):<br>required: **false**<br><p>A description for the quote.</p><br>
14    /// - On success, responds with [`UpdateQuoteOutput`](crate::operation::update_quote::UpdateQuoteOutput) with field(s):
15    ///   - [`quote(Option<Quote>)`](crate::operation::update_quote::UpdateQuoteOutput::quote): <p>Information about the updated quote.</p>
16    /// - On failure, responds with [`SdkError<UpdateQuoteError>`](crate::operation::update_quote::UpdateQuoteError)
17    pub fn update_quote(&self) -> crate::operation::update_quote::builders::UpdateQuoteFluentBuilder {
18        crate::operation::update_quote::builders::UpdateQuoteFluentBuilder::new(self.handle.clone())
19    }
20}