Values_6.DescribeCapacityReservationBillingRequestsRequestSourceDescribes 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.
type nonrec t = {capacityReservationIds : Values_1.CapacityReservationIdSet.t option;The ID of the Capacity Reservation.
*)role : Values_3.CallerRole.t;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 the requested-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 the unused-reservation-billing-owner filter.
*)nextToken : Values_0.String_.t option;The token to use to retrieve the next page of results.
*)maxResults : Values_3.DescribeCapacityReservationBillingRequestsRequestMaxResults.t
option;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 : Values_3.FilterList.t option;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 specify requested-by for Role. unused-reservation-billing-owner - The ID of the consumer account to which the request was sent. Not supported if you specify unused-reservation-billing-owner for Role.
*)dryRun : Values_0.Boolean.t option;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.
*)}val make :
?capacityReservationIds:??? ->
?nextToken:??? ->
?maxResults:??? ->
?filters:??? ->
?dryRun:??? ->
role:Values_3.CallerRole.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of
Values_3.DescribeCapacityReservationBillingRequestsRequestMaxResults.t
| `List of
[> `String of Values_0.CapacityReservationId.t
| `Structure of
(string
* [> `List of [> `String of string ] list
| `String of Values_0.String_.t ])
list ]
list
| `String of Values_0.String_.t ])
list ]