Skip to main content

packaging_groups

Creates, updates, deletes, gets or lists a packaging_groups resource.

Overview

Namepackaging_groups
TypeResource
Idaws.mediapackage_vod.packaging_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
approximate_asset_countintegerThe approximate asset count of the PackagingGroup.
arnstringThe ARN of the PackagingGroup.
authorizationobjectCDN Authorization credentials
created_atstringThe time the PackagingGroup was created.
domain_namestringThe fully qualified domain name for Assets in the PackagingGroup.
egress_access_logsobjectConfigure egress access logging.
idstringThe ID of the PackagingGroup.
tagsobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_packaging_groupselectid, regionReturns a description of a MediaPackage VOD PackagingGroup resource.
list_packaging_groupsselectregionmaxResults, nextTokenReturns a collection of MediaPackage VOD PackagingGroup resources.
create_packaging_groupinsertregionCreates a new MediaPackage VOD PackagingGroup resource.
update_packaging_groupupdateid, regionUpdates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
delete_packaging_groupdeleteid, regionDeletes a MediaPackage VOD PackagingGroup resource.

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
idstringThe ID of the MediaPackage VOD PackagingGroup resource to delete.
regionstringAWS region (default: us-east-1)
maxResultsintegerUpper bound on number of records to return.
nextTokenstringA token used to resume pagination from the end of a previous request.

SELECT examples

Returns a description of a MediaPackage VOD PackagingGroup resource.

SELECT
approximate_asset_count,
arn,
authorization,
created_at,
domain_name,
egress_access_logs,
id,
tags
FROM aws.mediapackage_vod.packaging_groups
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a new MediaPackage VOD PackagingGroup resource.

INSERT INTO aws.mediapackage_vod.packaging_groups (
Authorization,
EgressAccessLogs,
Id,
Tags,
region
)
SELECT
'{{ Authorization }}',
'{{ EgressAccessLogs }}',
'{{ Id }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
arn,
authorization,
created_at,
domain_name,
egress_access_logs,
id,
tags
;

UPDATE examples

Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.

UPDATE aws.mediapackage_vod.packaging_groups
SET
Authorization = '{{ Authorization }}'
WHERE
id = '{{ id }}' --required
AND region = '{{ region }}' --required
RETURNING
approximate_asset_count,
arn,
authorization,
created_at,
domain_name,
egress_access_logs,
id,
tags;

DELETE examples

Deletes a MediaPackage VOD PackagingGroup resource.

DELETE FROM aws.mediapackage_vod.packaging_groups
WHERE id = '{{ id }}' --required
AND region = '{{ region }}' --required
;