Skip to content

/AWS1/CL_EC2=>CRECAPRESERVATIONBYSPLITTING()

About CreateCapacityReservationBySplitting

Create a new Capacity Reservation by splitting the capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be active and owned by your Amazon Web Services account.

Method Signature

IMPORTING

Required arguments:

IV_SOURCECAPRESERVATIONID TYPE /AWS1/EC2CAPACITYRESERVATIONID /AWS1/EC2CAPACITYRESERVATIONID

The ID of the Capacity Reservation from which you want to split the capacity.

IV_INSTANCECOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of instances to split from the source Capacity Reservation.

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.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

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

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to apply to the new Capacity Reservation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CRECAPRESERVATIO05 /AWS1/CL_EC2CRECAPRESERVATIO05