aws-sdk-ec2 1.229.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeCapacityReservationCancellationQuotes`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`capacity_reservation_cancellation_quote_ids(impl Into<String>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::capacity_reservation_cancellation_quote_ids) / [`set_capacity_reservation_cancellation_quote_ids(Option<Vec::<String>>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::set_capacity_reservation_cancellation_quote_ids):<br>required: **false**<br><p>The IDs of the cancellation quotes to describe.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to use to retrieve the next page of results.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::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>
    ///   - [`filters(Filter)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters. Filter names and values are case-sensitive.</p><br>
    /// - On success, responds with [`DescribeCapacityReservationCancellationQuotesOutput`](crate::operation::describe_capacity_reservation_cancellation_quotes::DescribeCapacityReservationCancellationQuotesOutput) with field(s):
    ///   - [`capacity_reservation_cancellation_quotes(Option<Vec::<CapacityReservationCancellationQuote>>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::DescribeCapacityReservationCancellationQuotesOutput::capacity_reservation_cancellation_quotes): <p>Information about the Capacity Reservation cancellation quotes.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_capacity_reservation_cancellation_quotes::DescribeCapacityReservationCancellationQuotesOutput::next_token): <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<DescribeCapacityReservationCancellationQuotesError>`](crate::operation::describe_capacity_reservation_cancellation_quotes::DescribeCapacityReservationCancellationQuotesError)
    pub fn describe_capacity_reservation_cancellation_quotes(
        &self,
    ) -> crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder
    {
        crate::operation::describe_capacity_reservation_cancellation_quotes::builders::DescribeCapacityReservationCancellationQuotesFluentBuilder::new(
            self.handle.clone(),
        )
    }
}