Packaging_groups - AWS Elemental MediaPackage

Packaging_groups

URI

/packaging_groups

HTTP methods

GET

Operation ID: ListPackagingGroups

Lists packaging groups that match a set of filters that you define.

Query parameters
NameTypeRequiredDescription
nextTokenStringFalse

Pagination token. Use this token to request the next page of record results.

maxResultsStringFalse

Upper bound on number of records to return.

Responses
Status codeResponse modelDescription
200PackagingGroupList

200 OK response

The list of tags is returned successfully.

403None

403 Forbidden response

AWS Elemental MediaPackage cannot authorize the request, possibly due to insufficient authentication credentials.

404None

404 Not Found response

AWS Elemental MediaPackage did not find a representation of the target resource.

422None

422 Unprocessable Entity response

AWS Elemental MediaPackage could not process the instructions in the body of the request.

429None

429 Too Many Requests response

Too many requests have been sent in a given amount of time.

500None

500 Internal Server Error response

An unexpected condition prevented AWS Elemental MediaPackage from fulfilling the request.

503None

Service unavailable response

AWS Elemental MediaPackage can't currently complete the request, usually because of a temporary overload or maintenance.

POST

Operation ID: CreatePackagingGroup

Creates a packaging group.

The packaging group holds one or more packaging configurations. When you create an asset, you specify the packaging group associated with the asset. The asset has playback endpoints for each packaging configuration within the group.

Responses
Status codeResponse modelDescription
200PackagingGroup

200 OK response

The list of tags is returned successfully.

403None

403 Forbidden response

AWS Elemental MediaPackage cannot authorize the request, possibly due to insufficient authentication credentials.

404None

404 Not Found response

AWS Elemental MediaPackage did not find a representation of the target resource.

422None

422 Unprocessable Entity response

AWS Elemental MediaPackage could not process the instructions in the body of the request.

429None

429 Too Many Requests response

Too many requests have been sent in a given amount of time.

500None

500 Internal Server Error response

An unexpected condition prevented AWS Elemental MediaPackage from fulfilling the request.

503None

Service unavailable response

AWS Elemental MediaPackage can't currently complete the request, usually because of a temporary overload or maintenance.

OPTIONS

Enable cross-origin resource sharing (CORS) by returning correct headers.

Responses
Status codeResponse modelDescription
200None

200 OK response

The list of tags is returned successfully.

Schemas

Request bodies

{ "authorization": { "cdnIdentifierSecret": "string", "secretsRoleArn": "string" }, "egressAccessLogs": { "logGroupName": "string" }, "id": "string", "tags": { } }

Response bodies

{ "nextToken": "string", "packagingGroups": [ { "authorization": { "cdnIdentifierSecret": "string", "secretsRoleArn": "string" }, "createdAt": "string", "domainName": "string", "egressAccessLogs": { "logGroupName": "string" }, "id": "string", "arn": "string", "approximateAssetCount": integer, "tags": { } } ] }
{ "authorization": { "cdnIdentifierSecret": "string", "secretsRoleArn": "string" }, "createdAt": "string", "domainName": "string", "egressAccessLogs": { "logGroupName": "string" }, "id": "string", "arn": "string", "approximateAssetCount": integer, "tags": { } }

Properties

Authorization

Parameters for enabling CDN authorization.

PropertyTypeRequiredDescription
cdnIdentifierSecret

string

True

The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that's used for CDN authorization.

secretsRoleArn

string

True

The ARN for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.

EgressAccessLogs

Configures egress access logs.

PropertyTypeRequiredDescription
logGroupName

string

False

Sets a custom Amazon CloudWatch log group name for egress logs. If a log group name isn't specified, the default name is used: /aws/MediaPackage/EgressAccessLogs.

PackagingGroup

Parameters for a packaging group.

PropertyTypeRequiredDescription
approximateAssetCount

integer

False

The approximate number of assets in a packaging group. The number is approximate because the count is not updated immediately after adding or removing assets.

arn

string

False

The ARN for the packaging group. You can get this from the response to any request to the packaging group.

authorization

Authorization

False

Parameters for CDN authorization.

createdAt

string

False

The date and time the PackagingGroup was created.

domainName

string

False

The fully qualified domain name for assets in the PackagingGroup.

egressAccessLogs

EgressAccessLogs

False

The configuration parameters for egress access logging.

id

string

False

Unique identifier that you assign to the packaging group.

tags

Tags

False

The tags to assign to the packaging group.

PackagingGroupCreateParameters

Parameters for creating a packaging group.

PropertyTypeRequiredDescription
authorization

Authorization

False

Parameters for CDN authorization.

egressAccessLogs

EgressAccessLogs

False

The configuration parameters for egress access logging.

id

string

True

Unique identifier that you assign to the packaging group.

tags

Tags

False

The tags to assign to the packaging group.

PackagingGroupList

A collection of PackagingGroup records.

PropertyTypeRequiredDescription
nextToken

string

False

Pagination token. Use this token to request the next page of packaging groups results.

packagingGroups

Array of type PackagingGroup

False

A list of PackagingGroup records that are configured on this account in this AWS Region.

Tags

A collection of tags associated with a resource.

PropertyTypeRequiredDescription

*

string

False