View a markdown version of this page

CreateCapacityReservationCancellationQuote - Amazon Elastic Compute Cloud

CreateCapacityReservationCancellationQuote

Generates a cancellation quote for a future-dated Capacity Reservation that is within its commitment duration. The quote includes the cancellation terms and a quote ID that you can pass to the CancelCapacityReservation action. Cancellation quotes are valid for 24 hours.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

CapacityReservationId

The ID of the Capacity Reservation.

Type: String

Required: Yes

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

Type: String

Required: No

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.

Type: Boolean

Required: No

TagSpecification.N

The tags to apply to the cancellation quote.

Type: Array of TagSpecification objects

Required: No

Response Elements

The following elements are returned by the service.

capacityReservationCancellationQuote

Information about the Capacity Reservation cancellation quote.

Type: CapacityReservationCancellationQuote object

requestId

The ID of the request.

Type: String

Errors

For information about the errors that are common to all actions, see Common Error Types.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: