aws_sdk_outposts/client/create_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 [`CreateQuote`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`outpost_identifier(impl Into<String>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::outpost_identifier) / [`set_outpost_identifier(Option<String>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::set_outpost_identifier):<br>required: **false**<br><p>The ID or ARN of the Outpost to associate with the quote. If not specified, the quote is created without an Outpost association.</p><br>
7 /// - [`country_code(impl Into<String>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::country_code) / [`set_country_code(Option<String>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::set_country_code):<br>required: **true**<br><p>The country code for the Outpost site location.</p><br>
8 /// - [`requested_capacities(QuoteCapacity)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::requested_capacities) / [`set_requested_capacities(Option<Vec::<QuoteCapacity>>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::set_requested_capacities):<br>required: **true**<br><p>The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.</p><br>
9 /// - [`requested_constraints(QuoteConstraint)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::requested_constraints) / [`set_requested_constraints(Option<Vec::<QuoteConstraint>>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::set_requested_constraints):<br>required: **false**<br><p>The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.</p><br>
10 /// - [`requested_payment_options(PaymentOption)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::requested_payment_options) / [`set_requested_payment_options(Option<Vec::<PaymentOption>>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::set_requested_payment_options):<br>required: **false**<br><p>The payment options to include in the quote pricing. If not specified, all available payment options are returned.</p><br>
11 /// - [`requested_payment_terms(PaymentTerm)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::requested_payment_terms) / [`set_requested_payment_terms(Option<Vec::<PaymentTerm>>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::set_requested_payment_terms):<br>required: **false**<br><p>The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.</p><br>
12 /// - [`description(impl Into<String>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_quote::builders::CreateQuoteFluentBuilder::set_description):<br>required: **false**<br><p>A description for the quote.</p><br>
13 /// - On success, responds with [`CreateQuoteOutput`](crate::operation::create_quote::CreateQuoteOutput) with field(s):
14 /// - [`quote(Option<Quote>)`](crate::operation::create_quote::CreateQuoteOutput::quote): <p>Information about the quote.</p>
15 /// - On failure, responds with [`SdkError<CreateQuoteError>`](crate::operation::create_quote::CreateQuoteError)
16 pub fn create_quote(&self) -> crate::operation::create_quote::builders::CreateQuoteFluentBuilder {
17 crate::operation::create_quote::builders::CreateQuoteFluentBuilder::new(self.handle.clone())
18 }
19}