Packaging_groups id Configure_logs - AWS Elemental MediaPackage

Packaging_groups id Configure_logs

Configures access logs for a packaging group. For information about access logs, see Access logging.

URI

/packaging_groups/id/configure_logs

HTTP methods

PUT

Operation ID: ConfigureLogs

Configures access logs for a packaging group.

Path parameters
NameTypeRequiredDescription
idStringTrue

Identifier for the object that you're working on.

Responses
Status codeResponse modelDescription
200PackagingGroup

200 OK response

The packaging group is updated 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 CORS by returning correct headers.

Path parameters
NameTypeRequiredDescription
idStringTrue

Identifier for the object that you're working on.

Responses
Status codeResponse modelDescription
200None

200 OK response

The list of tags is returned successfully.

Schemas

Request bodies

{ "egressAccessLogs": { "logGroupName": "string" } }

Response bodies

{ "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.

ConfigureLogsParameters

The configuration parameters for access logging.

PropertyTypeRequiredDescription
egressAccessLogs

EgressAccessLogs

False

Configures egress access logs.

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.

Tags

A collection of tags associated with a resource.

PropertyTypeRequiredDescription

*

string

False