Describe Capacity Reservation Billing Requests
ec2_describe_capacity_reservation_billing_requests | R Documentation |
Describes a request to assign the billing of the unused capacity of a Capacity Reservation¶
Description¶
Describes a request to assign the billing of the unused capacity of a Capacity Reservation. For more information, see Billing assignment for shared Amazon EC2 Capacity Reservations.
Usage¶
ec2_describe_capacity_reservation_billing_requests(
CapacityReservationIds, Role, NextToken, MaxResults, Filters, DryRun)
Arguments¶
CapacityReservationIds |
The ID of the Capacity Reservation. |
Role |
[required] Specify one of the following:
|
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. |
Filters |
One or more filters.
|
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
|
Value¶
A list with the following syntax:
list(
NextToken = "string",
CapacityReservationBillingRequests = list(
list(
CapacityReservationId = "string",
RequestedBy = "string",
UnusedReservationBillingOwnerId = "string",
LastUpdateTime = as.POSIXct(
"2015-01-01"
),
Status = "pending"|"accepted"|"rejected"|"cancelled"|"revoked"|"expired",
StatusMessage = "string",
CapacityReservationInfo = list(
InstanceType = "string",
AvailabilityZone = "string",
Tenancy = "default"|"dedicated"
)
)
)
)
Request syntax¶
svc$describe_capacity_reservation_billing_requests(
CapacityReservationIds = list(
"string"
),
Role = "odcr-owner"|"unused-reservation-billing-owner",
NextToken = "string",
MaxResults = 123,
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
),
DryRun = TRUE|FALSE
)