Create a new Capacity Reservation by splitting the capacity of the source Capacity Reservation
Source:R/ec2_operations.R
ec2_create_capacity_reservation_by_splitting.RdCreate 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.
See https://www.paws-r-sdk.com/docs/ec2_create_capacity_reservation_by_splitting/ for full documentation.
Usage
ec2_create_capacity_reservation_by_splitting(
DryRun = NULL,
ClientToken = NULL,
SourceCapacityReservationId,
InstanceCount,
TagSpecifications = NULL
)Arguments
- 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 isUnauthorizedOperation.- ClientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
- SourceCapacityReservationId
[required] The ID of the Capacity Reservation from which you want to split the capacity.
- InstanceCount
[required] The number of instances to split from the source Capacity Reservation.
The tags to apply to the new Capacity Reservation.