Cancel Reserved Instances Listing
ec2_cancel_reserved_instances_listing | R Documentation |
Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace¶
Description¶
Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.
For more information, see Sell in the Reserved Instance Marketplace in the Amazon EC2 User Guide.
Usage¶
Arguments¶
ReservedInstancesListingId
[required] The ID of the Reserved Instance listing.
Value¶
A list with the following syntax:
list(
ReservedInstancesListings = list(
list(
ClientToken = "string",
CreateDate = as.POSIXct(
"2015-01-01"
),
InstanceCounts = list(
list(
InstanceCount = 123,
State = "available"|"sold"|"cancelled"|"pending"
)
),
PriceSchedules = list(
list(
Active = TRUE|FALSE,
CurrencyCode = "USD",
Price = 123.0,
Term = 123
)
),
ReservedInstancesId = "string",
ReservedInstancesListingId = "string",
Status = "active"|"pending"|"cancelled"|"closed",
StatusMessage = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
UpdateDate = as.POSIXct(
"2015-01-01"
)
)
)
)