Skip to content

Describes one or more Capacity Reservation cancellation quotes

Description

Describes one or more Capacity Reservation cancellation quotes. The results describe only the quotes that you have previously generated by using the create_capacity_reservation_cancellation_quote action.

Usage

ec2_describe_capacity_reservation_cancellation_quotes(
  CapacityReservationCancellationQuoteIds, MaxResults, NextToken, DryRun,
  Filters)

Arguments

  • CapacityReservationCancellationQuoteIds

The IDs of the cancellation quotes to describe.

  • MaxResults

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 Pagination.

  • NextToken

The token to use to retrieve the next page of results.

  • DryRun

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • Filters

One or more filters. Filter names and values are case-sensitive.

Value

A list with the following syntax:

list(
  CapacityReservationCancellationQuotes = list(
    list(
      CapacityReservationCancellationQuoteId = "string",
      CapacityReservationId = "string",
      CreateTime = as.POSIXct(
        "2015-01-01"
      ),
      ExpirationTime = as.POSIXct(
        "2015-01-01"
      ),
      QuoteState = "pending"|"active"|"expired",
      CurrentConfiguration = list(
        InstanceCount = 123,
        ReservationState = "string"
      ),
      CancellationTerms = list(
        list(
          CancellationType = "commitment-wind-down",
          ReservationState = "string",
          CommittedInstanceCount = 123,
          ChargeCommitmentDurationHours = 123,
          ChargeEndDate = as.POSIXct(
            "2015-01-01"
          )
        )
      ),
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_capacity_reservation_cancellation_quotes(
  CapacityReservationCancellationQuoteIds = list(
    "string"
  ),
  MaxResults = 123,
  NextToken = "string",
  DryRun = TRUE|FALSE,
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  )
)