Learn R Programming

paws.compute (version 0.7.0)

ec2_create_capacity_reservation_by_splitting: Create a new Capacity Reservation by splitting the available capacity of the source Capacity Reservation

Description

Create a new Capacity Reservation by splitting the available 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 is UnauthorizedOperation.

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 available capacity.

InstanceCount

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

TagSpecifications

The tags to apply to the new Capacity Reservation.