Purchase the Capacity Block extension for use with your account. You must specify the ID of the Capacity Block extension offering you are purchasing.
See https://www.paws-r-sdk.com/docs/ec2_purchase_capacity_block_extension/ for full documentation.
ec2_purchase_capacity_block_extension(
CapacityBlockExtensionOfferingId,
CapacityReservationId,
DryRun = NULL
)
[required] The ID of the Capacity Block extension offering to purchase.
[required] The ID of the Capacity reservation to be extended.
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
.