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.
Name | Type | Required | Description |
---|---|---|---|
id | String | True | Identifier for the object that you're working on. |
Status code | Response model | Description |
---|---|---|
200 | PackagingGroup |
The packaging group is updated successfully. |
403 | None |
AWS Elemental MediaPackage cannot authorize the request, possibly due to insufficient authentication credentials. |
404 | None |
AWS Elemental MediaPackage did not find a representation of the target resource. |
422 | None |
AWS Elemental MediaPackage could not process the instructions in the body of the request. |
429 | None |
One of these two error conditions: Too many requests have been sent in a given amount of time. Your account has exceeded the quota allotted for the resource that you're creating. |
500 | None |
An unexpected condition prevented AWS Elemental MediaPackage from fulfilling the request. |
503 | None |
AWS Elemental MediaPackage can't currently complete the request, usually because of a temporary overload or maintenance. |
OPTIONS
Enable CORS by returning correct headers.
Name | Type | Required | Description |
---|---|---|---|
id | String | True | Identifier for the object that you're working on. |
Status code | Response model | Description |
---|---|---|
200 | None |
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.
Property | Type | Required | Description |
---|---|---|---|
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.
Property | Type | Required | Description |
---|---|---|---|
egressAccessLogs | False | Configures egress access logs. |
EgressAccessLogs
Configures egress access logs.
Property | Type | Required | Description |
---|---|---|---|
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: |
PackagingGroup
Parameters for a packaging group.
Property | Type | Required | Description |
---|---|---|---|
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 | 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 | False | The configuration parameters for egress access logging. | |
id | string | False | Unique identifier that you assign to the packaging group. |
tags | False | The tags to assign to the packaging group. |
Tags
A collection of tags associated with a resource.
Property | Type | Required | Description |
---|---|---|---|
| string | False |