Skip to main content

offerings

Creates, updates, deletes, gets or lists an offerings resource.

Overview

Nameofferings
TypeResource
Idaws.medialive.offerings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringPlaceholder documentation for __string
currency_codestringPlaceholder documentation for __string
durationintegerPlaceholder documentation for __integer
duration_unitsstringUnits for duration, e.g. 'MONTHS' (MONTHS)
fixed_pricenumber (double)Placeholder documentation for __double
offering_descriptionstringPlaceholder documentation for __string
offering_idstringPlaceholder documentation for __string
offering_typestringOffering type, e.g. 'NO_UPFRONT' (NO_UPFRONT)
regionstringPlaceholder documentation for __string
resource_specificationobjectResource configuration details
usage_pricenumber (double)Placeholder documentation for __double

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_offeringselectoffering_id, regionGet details for an offering.
list_offeringsselectregionchannelClass, channelConfiguration, codec, duration, maxResults, maximumBitrate, maximumFramerate, nextToken, resolution, resourceType, specialFeature, videoQualityList offerings available for purchase.
purchase_offeringexecoffering_id, region, CountPurchase an offering and create a reservation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
offering_idstringOffering to purchase, e.g. '87654321'
regionstringAWS region (default: us-east-1)
channelClassstringFilter by channel class, 'STANDARD' or 'SINGLE_PIPELINE'
channelConfigurationstringFilter to offerings that match the configuration of an existing channel, e.g. '2345678' (a channel ID)
codecstringFilter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', 'LINK', or 'AV1'
durationstringFilter by offering duration, e.g. '12'
maxResultsinteger
maximumBitratestringFilter by bitrate, 'MAX_10_MBPS', 'MAX_20_MBPS', or 'MAX_50_MBPS'
maximumFrameratestringFilter by framerate, 'MAX_30_FPS' or 'MAX_60_FPS'
nextTokenstring
resolutionstringFilter by resolution, 'SD', 'HD', 'FHD', or 'UHD'
resourceTypestringFilter by resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL'
specialFeaturestringFilter by special feature, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION'
videoQualitystringFilter by video quality, 'STANDARD', 'ENHANCED', or 'PREMIUM'

SELECT examples

Get details for an offering.

SELECT
arn,
currency_code,
duration,
duration_units,
fixed_price,
offering_description,
offering_id,
offering_type,
region,
resource_specification,
usage_price
FROM aws.medialive.offerings
WHERE offering_id = '{{ offering_id }}' -- required
AND region = '{{ region }}' -- required
;

Lifecycle Methods

Purchase an offering and create a reservation.

EXEC aws.medialive.offerings.purchase_offering
@offering_id='{{ offering_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"Count": {{ Count }},
"Name": "{{ Name }}",
"RenewalSettings": "{{ RenewalSettings }}",
"RequestId": "{{ RequestId }}",
"Start": "{{ Start }}",
"Tags": "{{ Tags }}"
}'
;