/AWS1/CL_EC2=>DESCRCAPRESERVATIONBLLNGREQS()
¶
About DescribeCapacityReservationBillingRequests¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_ROLE
TYPE /AWS1/EC2CALLERROLE
/AWS1/EC2CALLERROLE
¶
Specify one of the following:
odcr-owner
- If you are the Capacity Reservation owner, specify this value to view requests that you have initiated. Not supported with therequested-by
filter.
unused-reservation-billing-owner
- If you are the consumer account, specify this value to view requests that have been sent to you. Not supported with theunused-reservation-billing-owner
filter.
Optional arguments:¶
IT_CAPACITYRESERVATIONIDS
TYPE /AWS1/CL_EC2CAPRESERVATIONID00=>TT_CAPACITYRESERVATIONIDSET
TT_CAPACITYRESERVATIONIDSET
¶
The ID of the Capacity Reservation.
IV_NEXTTOKEN
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The token to use to retrieve the next page of results.
IV_MAXRESULTS
TYPE /AWS1/EC2DSCCAPRESERVATIONBL00
/AWS1/EC2DSCCAPRESERVATIONBL00
¶
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.
IT_FILTERS
TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST
TT_FILTERLIST
¶
One or more filters.
status
- The state of the request (pending
|accepted
|rejected
|cancelled
|revoked
|expired
).
requested-by
- The account ID of the Capacity Reservation owner that initiated the request. Not supported if you specifyrequested-by
for Role.
unused-reservation-billing-owner
- The ID of the consumer account to which the request was sent. Not supported if you specifyunused-reservation-billing-owner
for Role.
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
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
.