configure_logs

configure_logs(**kwargs)

Changes the packaging group's properities to configure log subscription

See also: AWS API Documentation

Request Syntax

response = client.configure_logs(
    EgressAccessLogs={
        'LogGroupName': 'string'
    },
    Id='string'
)
Parameters
  • EgressAccessLogs (dict) --

    Configure egress access logging.

    • LogGroupName (string) -- Customize the log group name.
  • Id (string) -- [REQUIRED] The ID of a MediaPackage VOD PackagingGroup resource.
Return type

dict

Returns

Response Syntax

{
    'Arn': 'string',
    'Authorization': {
        'CdnIdentifierSecret': 'string',
        'SecretsRoleArn': 'string'
    },
    'CreatedAt': 'string',
    'DomainName': 'string',
    'EgressAccessLogs': {
        'LogGroupName': 'string'
    },
    'Id': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) -- The updated MediaPackage VOD PackagingGroup resource.
    • Arn (string) -- The ARN of the PackagingGroup.
    • Authorization (dict) -- CDN Authorization credentials
      • CdnIdentifierSecret (string) -- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
      • SecretsRoleArn (string) -- The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
    • CreatedAt (string) -- The time the PackagingGroup was created.
    • DomainName (string) -- The fully qualified domain name for Assets in the PackagingGroup.
    • EgressAccessLogs (dict) -- Configure egress access logging.
      • LogGroupName (string) -- Customize the log group name.
    • Id (string) -- The ID of the PackagingGroup.
    • Tags (dict) -- A collection of tags associated with a resource
      • (string) --
        • (string) --

Exceptions

  • MediaPackageVod.Client.exceptions.UnprocessableEntityException
  • MediaPackageVod.Client.exceptions.InternalServerErrorException
  • MediaPackageVod.Client.exceptions.ForbiddenException
  • MediaPackageVod.Client.exceptions.NotFoundException
  • MediaPackageVod.Client.exceptions.ServiceUnavailableException
  • MediaPackageVod.Client.exceptions.TooManyRequestsException