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¶
-
CapacityReservationCancellationQuoteIdsThe IDs of the cancellation quotes to describe.
-
MaxResultsThe 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.
-
NextTokenThe token to use to retrieve the next page of results.
-
DryRunChecks 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 isUnauthorizedOperation. -
FiltersOne 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"
)