Reservation offerings: list
URI
/v1/offerings
HTTP methods
GET
Operation ID: ListOfferings
Displays a list of all offerings that are available to this account in the current AWS Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.
Name | Type | Required | Description |
---|---|---|---|
nextToken | String | False | The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value. |
maxResults | String | False | The maximum number of results to return per API request. For example, you submit a ListEntitlements request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.) The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 20 results per page. |
Status code | Response model | Description |
---|---|---|
200 | ListOfferingsResponse | MediaConnect returned the list of offerings successfully. |
400 | ResponseError | The request that you submitted is not valid. |
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
{ "nextToken": "string", "offerings": [ { "duration": integer, "resourceSpecification": { "reservedBitrate": integer, "resourceType": enum }, "durationUnits": enum, "offeringDescription": "string", "priceUnits": enum, "currencyCode": "string", "offeringArn": "string", "pricePerUnit": "string" } ] }
{ "message": "string" }
Properties
ListOfferingsResponse
The result of a successful ListOfferings
request. The response
includes the details of each offering that your account is eligible for. The response
includes the following information for each offering: description, duration, outbound
bandwidth, price, Amazon Resource Name (ARN), and the NextToken to use in a
subsequent ListOfferings request.
Property | Type | Required | Description |
---|---|---|---|
nextToken | string | False | The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value. |
offerings | Array of type Offering | True | A list of offerings that are available to this account in the current AWS Region. |
Offering
A savings plan that reserves a certain amount of outbound bandwidth usage at a discounted rate each month over a period of time.
Property | Type | Required | Description |
---|---|---|---|
currencyCode | string | True | The type of currency that is used for billing. The currencyCode used for all reservations is US dollars. |
duration | integer | True | The length of time that your reservation would be active. |
durationUnits | string Values: | True | The unit of measurement for the duration of the offering. |
offeringArn | string | True | The Amazon Resource Name (ARN) that MediaConnect assigns to the offering. |
offeringDescription | string | True | A description of the offering. |
pricePerUnit | string | True | The cost of a single unit. This value, in combination with priceUnits, makes up the rate. |
priceUnits | string Values: | True | The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. |
resourceSpecification | True | A definition of the amount of outbound bandwidth that you would be reserving if 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: