aws-sdk-ec2 1.263.0

AWS SDK for Amazon Elastic Compute Cloud
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateCapacityReservationDateChangeQuote`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`capacity_reservation_id(impl Into<String>)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::capacity_reservation_id) / [`set_capacity_reservation_id(Option<String>)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::set_capacity_reservation_id):<br>required: **true**<br><p>The ID of the Capacity Reservation.</p><br>
    ///   - [`new_start_date(DateTime)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::new_start_date) / [`set_new_start_date(Option<DateTime>)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::set_new_start_date):<br>required: **true**<br><p>The requested new start date for the Capacity Reservation, in the ISO8601 format in the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>). The new start date must be later than the current start date and within the cumulative 30-day pushout limit.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::set_client_token):<br>required: **false**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensure Idempotency</a>.</p><br>
    ///   - [`tag_specifications(TagSpecification)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::set_tag_specifications):<br>required: **false**<br><p>The tags to apply to the date change quote.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::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>
    /// - On success, responds with [`CreateCapacityReservationDateChangeQuoteOutput`](crate::operation::create_capacity_reservation_date_change_quote::CreateCapacityReservationDateChangeQuoteOutput) with field(s):
    ///   - [`capacity_reservation_modification_quote(Option<CapacityReservationModificationQuote>)`](crate::operation::create_capacity_reservation_date_change_quote::CreateCapacityReservationDateChangeQuoteOutput::capacity_reservation_modification_quote): <p>Information about the Capacity Reservation date change quote.</p>
    /// - On failure, responds with [`SdkError<CreateCapacityReservationDateChangeQuoteError>`](crate::operation::create_capacity_reservation_date_change_quote::CreateCapacityReservationDateChangeQuoteError)
    pub fn create_capacity_reservation_date_change_quote(
        &self,
    ) -> crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder {
        crate::operation::create_capacity_reservation_date_change_quote::builders::CreateCapacityReservationDateChangeQuoteFluentBuilder::new(
            self.handle.clone(),
        )
    }
}