Describe Capacity Block Extension Offerings
ec2_describe_capacity_block_extension_offerings | R Documentation |
Describes Capacity Block extension offerings available for purchase in the Amazon Web Services Region that you're currently using¶
Description¶
Describes Capacity Block extension offerings available for purchase in the Amazon Web Services Region that you're currently using.
Usage¶
ec2_describe_capacity_block_extension_offerings(DryRun,
CapacityBlockExtensionDurationHours, CapacityReservationId, NextToken,
MaxResults)
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
.CapacityBlockExtensionDurationHours
[required] The duration of the Capacity Block extension offering in hours.
CapacityReservationId
[required] The ID of the Capacity reservation to be extended.
NextToken
The token to use to retrieve the next page of results.
MaxResults
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
Value¶
A list with the following syntax:
list(
CapacityBlockExtensionOfferings = list(
list(
CapacityBlockExtensionOfferingId = "string",
InstanceType = "string",
InstanceCount = 123,
AvailabilityZone = "string",
AvailabilityZoneId = "string",
StartDate = as.POSIXct(
"2015-01-01"
),
CapacityBlockExtensionStartDate = as.POSIXct(
"2015-01-01"
),
CapacityBlockExtensionEndDate = as.POSIXct(
"2015-01-01"
),
CapacityBlockExtensionDurationHours = 123,
UpfrontFee = "string",
CurrencyCode = "string",
Tenancy = "default"|"dedicated"
)
),
NextToken = "string"
)