[ aws . mediatailor ]
get-playback-configuration
Description
Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor .
See also: AWS API Documentation
Synopsis
get-playback-configuration
--name <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
Options
--name (string)
--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
Global Options
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
- json
- text
- table
- yaml
- yaml-stream
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
- on
- off
- auto
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
- base64
- raw-in-base64-out
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
Examples
Note
To use the following examples, you must have the AWS CLI installed and configured. See the Getting started guide in the AWS CLI User Guide for more information.
Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See Using quotation marks with strings in the AWS CLI User Guide .
To describe a configuration
The following get-playback-configuration displays all of the details of the configuration named west_campaign.
aws mediatailor get-playback-configuration \
--name west_campaign
Output:
{
"AdDecisionServerUrl": "http://your.ads.url",
"CdnConfiguration": {},
"DashConfiguration": {
"ManifestEndpointPrefix": "https://170c14299689462897d0cc45fc2000bb.mediatailor.us-west-2.amazonaws.com/v1/dash/1cbfeaaecb69778e0c167d0505a2bc57da2b1754/west_campaign/",
"MpdLocation": "EMT_DEFAULT",
"OriginManifestType": "MULTI_PERIOD"
},
"HlsConfiguration": {
"ManifestEndpointPrefix": "https://170c14299689462897d0cc45fc2000bb.mediatailor.us-west-2.amazonaws.com/v1/master/1cbfeaaecb69778e0c167d0505a2bc57da2b1754/west_campaign/"
},
"Name": "west_campaign",
"PlaybackConfigurationArn": "arn:aws:mediatailor:us-west-2:123456789012:playbackConfiguration/west_campaign",
"PlaybackEndpointPrefix": "https://170c14299689462897d0cc45fc2000bb.mediatailor.us-west-2.amazonaws.com",
"SessionInitializationEndpointPrefix": "https://170c14299689462897d0cc45fc2000bb.mediatailor.us-west-2.amazonaws.com/v1/session/1cbfeaaecb69778e0c167d0505a2bc57da2b1754/west_campaign/",
"Tags": {},
"VideoContentSourceUrl": "https://8343f7014c0ea438.mediapackage.us-west-2.amazonaws.com/out/v1/683f0f2ff7cd43a48902e6dcd5e16dcf/index.m3u8"
}
For more information, see Viewing a Configuration in the AWS Elemental MediaTailor User Guide.
Output
AdDecisionServerUrl -> (string)
AvailSuppression -> (structure)
The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression .
Mode -> (string)
BEHIND_LIVE_EDGE , ad suppression is active and MediaTailor won’t fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to AFTER_LIVE_EDGE , ad suppression is active and MediaTailor won’t fill ad breaks that are within the live edge plus the avail suppression value.Value -> (string)
FillPolicy -> (string)
BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break.Bumper -> (structure)
The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers .
EndUrl -> (string)
StartUrl -> (string)
CdnConfiguration -> (structure)
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
AdSegmentUrlPrefix -> (string)
AdSegmentUrlPrefix . When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments.ContentSegmentUrlPrefix -> (string)
ContentSegmentUrlPrefix . When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments.ConfigurationAliases -> (map)
The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables .
key -> (string)
value -> (map)
Map of aliases to the value to be used at request time.
key -> (string)
value -> (string)
DashConfiguration -> (structure)
The configuration for DASH content.
ManifestEndpointPrefix -> (string)
MpdLocation -> (string)
DISABLED and EMT_DEFAULT . The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.OriginManifestType -> (string)
SINGLE_PERIOD . The default setting is MULTI_PERIOD . For multi-period manifests, omit this setting or set it to MULTI_PERIOD .HlsConfiguration -> (structure)
The configuration for HLS content.
ManifestEndpointPrefix -> (string)
InsertionMode -> (string)
STITCHED_ONLY , forces all player sessions to use stitched (server-side) ad insertion. Choosing PLAYER_SELECT allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.LivePreRollConfiguration -> (structure)
The configuration for pre-roll ad insertion.
AdDecisionServerUrl -> (string)
MaxDurationSeconds -> (integer)
LogConfiguration -> (structure)
The configuration that defines where AWS Elemental MediaTailor sends logs for the playback configuration.
PercentEnabled -> (integer)
The percentage of session logs that MediaTailor sends to your configured log destination. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60 , MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode .
Valid values: 0 - 100
EnabledLoggingStrategies -> (list)
The method used for collecting logs from AWS Elemental MediaTailor. LEGACY_CLOUDWATCH indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. VENDED_LOGS indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.
(string)
AdsInteractionLog -> (structure)
Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).
PublishOptInEventTypes -> (list)
Indicates that MediaTailor emits RAW_ADS_RESPONSE logs for playback sessions that are initialized with this configuration.
(string)
ExcludeEventTypes -> (list)
Indicates that MediaTailor won’t emit the selected events in the logs for playback sessions that are initialized with this configuration.
(string)
ManifestServiceInteractionLog -> (structure)
Settings for customizing what events are included in logs for interactions with the origin server.
ExcludeEventTypes -> (list)
Indicates that MediaTailor won’t emit the selected events in the logs for playback sessions that are initialized with this configuration.
(string)
ManifestProcessingRules -> (structure)
The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
AdMarkerPassthrough -> (structure)
For HLS, when set to true , MediaTailor passes through EXT-X-CUE-IN , EXT-X-CUE-OUT , and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest.
No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60 , but no ads are filled for that ad break, MediaTailor will not set the value to 0 .
Enabled -> (boolean)
Name -> (string)
PersonalizationThresholdSeconds -> (integer)
PlaybackConfigurationArn -> (string)
PlaybackEndpointPrefix -> (string)
SessionInitializationEndpointPrefix -> (string)
SlateAdUrl -> (string)
Tags -> (map)
The tags assigned to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources .
key -> (string)
value -> (string)
TranscodeProfileName -> (string)
VideoContentSourceUrl -> (string)
AdConditioningConfiguration -> (structure)
The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.
StreamingMediaFileConditioning -> (string)
TRANSCODE indicates that MediaTailor must transcode the ads. NONE indicates that you have already transcoded the ads outside of MediaTailor and don’t need them transcoded as part of the ad insertion workflow. For more information about ad conditioning see Using preconditioned ads in the Elemental MediaTailor user guide.
© Copyright 2025, Amazon Web Services. Created using Sphinx.