Learn R Programming

paws.compute (version 0.7.0)

ec2_move_capacity_reservation_instances: Move available capacity from a source Capacity Reservation to a destination Capacity Reservation

Description

Move available capacity from a source Capacity Reservation to a destination Capacity Reservation. The source Capacity Reservation and the destination Capacity Reservation must be active, owned by your Amazon Web Services account, and share the following:

See https://www.paws-r-sdk.com/docs/ec2_move_capacity_reservation_instances/ for full documentation.

Usage

ec2_move_capacity_reservation_instances(
  DryRun = NULL,
  ClientToken = NULL,
  SourceCapacityReservationId,
  DestinationCapacityReservationId,
  InstanceCount
)

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

DestinationCapacityReservationId

[required] The ID of the Capacity Reservation that you want to move capacity into.

InstanceCount

[required] The number of instances that you want to move from the source Capacity Reservation.