Skip to content

/AWS1/CL_EC2=>CANCELCAPRESERVATIONFLEETS()

About CancelCapacityReservationFleets

Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation Fleet, the following happens:

  • The Capacity Reservation Fleet's status changes to cancelled.

  • The individual Capacity Reservations in the Fleet are cancelled. Instances running in the Capacity Reservations at the time of cancelling the Fleet continue to run in shared capacity.

  • The Fleet stops creating new Capacity Reservations.

Method Signature

IMPORTING

Required arguments:

IT_CAPRESERVATIONFLEETIDS TYPE /AWS1/CL_EC2CAPRESERVATIONFL00=>TT_CAPRESERVATIONFLEETIDSET TT_CAPRESERVATIONFLEETIDSET

The IDs of the Capacity Reservation Fleets to cancel.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CANCCAPRESERVATI03 /AWS1/CL_EC2CANCCAPRESERVATI03