Reservations: describe
URI
/v1/reservations/
reservationArn
HTTP methods
GET
Operation ID: DescribeReservation
Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).
Name | Type | Required | Description |
---|---|---|---|
reservationArn | String | True | The Amazon Resource Name (ARN) of the reservation. |
Status code | Response model | Description |
---|---|---|
200 | DescribeReservationResponse | MediaConnect returned the reservation details successfully. |
400 | ResponseError | The request that you submitted is not valid. |
404 | ResponseError | MediaConnect did not find the resource that you specified in the request. |
429 | ResponseError | You have exceeded the service request rate limit for your MediaConnect account. |
500 | ResponseError | MediaConnect can't fulfill your request because it encountered an unexpected condition. |
503 | ResponseError | MediaConnect is currently unavailable. Try again later. |
Schemas
Response bodies
{ "reservation": { "reservationState": enum, "resourceSpecification": { "reservedBitrate": integer, "resourceType": enum }, "start": "string", "durationUnits": enum, "reservationArn": "string", "reservationName": "string", "offeringArn": "string", "pricePerUnit": "string", "duration": integer, "end": "string", "offeringDescription": "string", "priceUnits": enum, "currencyCode": "string" } }
{ "message": "string" }
Properties
DescribeReservationResponse
The result of a successful DescribeReservation
request.
Property | Type | Required | Description |
---|---|---|---|
reservation | True | The reservation that you requested a description of. |
Reservation
A pricing agreement for a discounted rate for a specific outbound bandwidth that your MediaConnect account will use each month over a specific time period. The discounted rate in the reservation applies to outbound bandwidth for all flows from your account until your account reaches the amount of bandwidth in your reservation. If you use more outbound bandwidth than the agreed upon amount in a single month, the overage is charged at the on-demand rate.
Property | Type | Required | Description |
---|---|---|---|
currencyCode | string | True | The type of currency that is used for billing. The currencyCode used for your reservation is US dollars. |
duration | integer | True | The length of time that this reservation is active. MediaConnect defines this value in the offering. |
durationUnits | string Values: | True | The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering. |
end | string | True | The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration. |
offeringArn | string | True | The Amazon Resource Name (ARN) that MediaConnect assigns to the offering. |
offeringDescription | string | True | A description of the offering. MediaConnect defines this value in the offering. |
pricePerUnit | string | True | The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering. |
priceUnits | string Values: | True | The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering. |
reservationArn | string | True | The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering. |
reservationName | string | True | The name that you assigned to the reservation when you purchased the offering. |
reservationState | string Values: | True | The status of your reservation. |
resourceSpecification | True | A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering. | |
start | string | True | The day and time that the reservation becomes active. You set this value when you purchase the offering. |
ResourceSpecification
A definition of what is being billed for, including the type and amount.
Property | Type | Required | Description |
---|---|---|---|
reservedBitrate | integer | False | The amount of outbound bandwidth that is discounted in the offering. |
resourceType | string Values: | True | The type of resource and the unit that is being billed for. |
ResponseError
An exception raised by MediaConnect when you submit a request that cannot be completed. For more information, see the error message and documentation for the operation.
Property | Type | Required | Description |
---|---|---|---|
message | string | True | The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed. |
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: