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

View source: R/ec2_operations.R

ec2_move_capacity_reservation_instancesR Documentation

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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.