{"files":{"SKILL.md":"---\nname: aws-mediatailor\ndescription: \"AWS MediaTailor API skill. Use when working with AWS MediaTailor for configureLogs, channel, sourceLocation. Covers 44 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# AWS MediaTailor\nAPI version: 2018-04-23\n\n## Auth\nAWS SigV4\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: AWS SigV4\n2. GET /alerts -- lists the alerts that are associated with a mediatailor channel assembly resource.\n3. POST /channel/{ChannelName} -- create first channel\n\n## Endpoints\n44 endpoints across 10 groups. See references/api-spec.lap for full details.\n\n### ConfigureLogs\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /configureLogs/channel | Configures Amazon CloudWatch log settings for a channel. |\n| PUT | /configureLogs/playbackConfiguration | Amazon CloudWatch log settings for a playback configuration. |\n\n### Channel\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /channel/{ChannelName} | Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide. |\n| POST | /channel/{ChannelName}/program/{ProgramName} | Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide. |\n| DELETE | /channel/{ChannelName} | Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide. |\n| DELETE | /channel/{ChannelName}/policy | The channel policy to delete. |\n| DELETE | /channel/{ChannelName}/program/{ProgramName} | Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide. |\n| GET | /channel/{ChannelName} | Describes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide. |\n| GET | /channel/{ChannelName}/program/{ProgramName} | Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide. |\n| GET | /channel/{ChannelName}/policy | Returns the channel's IAM policy. IAM policies are used to control access to your channel. |\n| GET | /channel/{ChannelName}/schedule | Retrieves information about your channel's schedule. |\n| PUT | /channel/{ChannelName}/policy | Creates an IAM policy for the channel. IAM policies are used to control access to your channel. |\n| PUT | /channel/{ChannelName}/start | Starts a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide. |\n| PUT | /channel/{ChannelName}/stop | Stops a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide. |\n| PUT | /channel/{ChannelName} | Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide. |\n| PUT | /channel/{ChannelName}/program/{ProgramName} | Updates a program within a channel. |\n\n### SourceLocation\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName} | The live source configuration. |\n| POST | /sourceLocation/{SourceLocationName} | Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide. |\n| POST | /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName} | The VOD source configuration parameters. |\n| DELETE | /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName} | The live source to delete. |\n| DELETE | /sourceLocation/{SourceLocationName} | Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide. |\n| DELETE | /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName} | The video on demand (VOD) source to delete. |\n| GET | /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName} | The live source to describe. |\n| GET | /sourceLocation/{SourceLocationName} | Describes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide. |\n| GET | /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName} | Provides details about a specific video on demand (VOD) source in a specific source location. |\n| GET | /sourceLocation/{SourceLocationName}/liveSources | Lists the live sources contained in a source location. A source represents a piece of content. |\n| GET | /sourceLocation/{SourceLocationName}/vodSources | Lists the VOD sources contained in a source location. A source represents a piece of content. |\n| PUT | /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName} | Updates a live source's configuration. |\n| PUT | /sourceLocation/{SourceLocationName} | Updates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide. |\n| PUT | /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName} | Updates a VOD source's configuration. |\n\n### PrefetchSchedule\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /prefetchSchedule/{PlaybackConfigurationName}/{Name} | Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide. |\n| DELETE | /prefetchSchedule/{PlaybackConfigurationName}/{Name} | Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide. |\n| GET | /prefetchSchedule/{PlaybackConfigurationName}/{Name} | Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide. |\n| POST | /prefetchSchedule/{PlaybackConfigurationName} | Lists the prefetch schedules for a playback configuration. |\n\n### PlaybackConfiguration\n| Method | Path | Description |\n|--------|------|-------------|\n| DELETE | /playbackConfiguration/{Name} | Deletes a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor. |\n| GET | /playbackConfiguration/{Name} | Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor. |\n| PUT | /playbackConfiguration | Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor. |\n\n### Alerts\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /alerts | Lists the alerts that are associated with a MediaTailor channel assembly resource. |\n\n### Channels\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /channels | Retrieves information about the channels that are associated with the current AWS account. |\n\n### PlaybackConfigurations\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /playbackConfigurations | Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor. |\n\n### SourceLocations\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /sourceLocations | Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources. |\n\n### Tags\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /tags/{ResourceArn} | A list of tags that are associated with this resource. 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. |\n| POST | /tags/{ResourceArn} | The resource to tag. 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. |\n| DELETE | /tags/{ResourceArn} | The resource to untag. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Delete a channel?\" -> DELETE /channel/{ChannelName}\n- \"Delete a liveSource?\" -> DELETE /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}\n- \"Delete a playbackConfiguration?\" -> DELETE /playbackConfiguration/{Name}\n- \"Delete a prefetchSchedule?\" -> DELETE /prefetchSchedule/{PlaybackConfigurationName}/{Name}\n- \"Delete a program?\" -> DELETE /channel/{ChannelName}/program/{ProgramName}\n- \"Delete a sourceLocation?\" -> DELETE /sourceLocation/{SourceLocationName}\n- \"Delete a vodSource?\" -> DELETE /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}\n- \"Get channel details?\" -> GET /channel/{ChannelName}\n- \"Get liveSource details?\" -> GET /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}\n- \"Get program details?\" -> GET /channel/{ChannelName}/program/{ProgramName}\n- \"Get sourceLocation details?\" -> GET /sourceLocation/{SourceLocationName}\n- \"Get vodSource details?\" -> GET /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}\n- \"List all policy?\" -> GET /channel/{ChannelName}/policy\n- \"List all schedule?\" -> GET /channel/{ChannelName}/schedule\n- \"Get playbackConfiguration details?\" -> GET /playbackConfiguration/{Name}\n- \"Get prefetchSchedule details?\" -> GET /prefetchSchedule/{PlaybackConfigurationName}/{Name}\n- \"List all alerts?\" -> GET /alerts\n- \"List all channels?\" -> GET /channels\n- \"List all liveSources?\" -> GET /sourceLocation/{SourceLocationName}/liveSources\n- \"List all playbackConfigurations?\" -> GET /playbackConfigurations\n- \"List all sourceLocations?\" -> GET /sourceLocations\n- \"Get tag details?\" -> GET /tags/{ResourceArn}\n- \"List all vodSources?\" -> GET /sourceLocation/{SourceLocationName}/vodSources\n- \"Delete a tag?\" -> DELETE /tags/{ResourceArn}\n- \"Update a channel?\" -> PUT /channel/{ChannelName}\n- \"Update a liveSource?\" -> PUT /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}\n- \"Update a program?\" -> PUT /channel/{ChannelName}/program/{ProgramName}\n- \"Update a sourceLocation?\" -> PUT /sourceLocation/{SourceLocationName}\n- \"Update a vodSource?\" -> PUT /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api AWS MediaTailor\n@version 2018-04-23\n@auth AWS SigV4\n@endpoints 44\n@hint download_for_search\n@toc configureLogs(2), channel(14), sourceLocation(14), prefetchSchedule(4), playbackConfiguration(3), alerts(1), channels(1), playbackConfigurations(1), sourceLocations(1), tags(3)\n\n@group configureLogs\n@endpoint PUT /configureLogs/channel\n@desc Configures Amazon CloudWatch log settings for a channel.\n@required {ChannelName: str, LogTypes: [str]}\n@returns(200) {ChannelName: str?, LogTypes: [str]?}\n\n@endpoint PUT /configureLogs/playbackConfiguration\n@desc Amazon CloudWatch log settings for a playback configuration.\n@required {PercentEnabled: int, PlaybackConfigurationName: str}\n@returns(200) {PercentEnabled: int, PlaybackConfigurationName: str?}\n\n@endgroup\n\n@group channel\n@endpoint POST /channel/{ChannelName}\n@desc Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.\n@required {ChannelName: str, Outputs: [RequestOutputItem], PlaybackMode: str}\n@optional {Audiences: [str], FillerSlate: SlateSource, Tags: map<str,str>, Tier: str, TimeShiftConfiguration: TimeShiftConfiguration}\n@returns(200) {Arn: str?, Audiences: [str]?, ChannelName: str?, ChannelState: str?, CreationTime: str(timestamp)?, FillerSlate: SlateSource?{SourceLocationName: str?, VodSourceName: str?}, LastModifiedTime: str(timestamp)?, Outputs: [ResponseOutputItem]?, PlaybackMode: str?, Tags: map<str,str>?, Tier: str?, TimeShiftConfiguration: TimeShiftConfiguration?{MaxTimeDelaySeconds: int}}\n\n@endgroup\n\n@group sourceLocation\n@endpoint POST /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}\n@desc The live source configuration.\n@required {LiveSourceName: str, SourceLocationName: str, HttpPackageConfigurations: [HttpPackageConfiguration]}\n@optional {Tags: map<str,str>}\n@returns(200) {Arn: str?, CreationTime: str(timestamp)?, HttpPackageConfigurations: [HttpPackageConfiguration]?, LastModifiedTime: str(timestamp)?, LiveSourceName: str?, SourceLocationName: str?, Tags: map<str,str>?}\n\n@endgroup\n\n@group prefetchSchedule\n@endpoint POST /prefetchSchedule/{PlaybackConfigurationName}/{Name}\n@desc Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.\n@required {Name: str, PlaybackConfigurationName: str, Consumption: PrefetchConsumption, Retrieval: PrefetchRetrieval}\n@optional {StreamId: str}\n@returns(200) {Arn: str?, Consumption: PrefetchConsumption?{AvailMatchingCriteria: [AvailMatchingCriteria]?, EndTime: str(timestamp), StartTime: str(timestamp)?}, Name: str?, PlaybackConfigurationName: str?, Retrieval: PrefetchRetrieval?{DynamicVariables: map<str, str>?: any, EndTime: str(timestamp), StartTime: str(timestamp)?}, StreamId: str?}\n\n@endgroup\n\n@group channel\n@endpoint POST /channel/{ChannelName}/program/{ProgramName}\n@desc Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.\n@required {ChannelName: str, ProgramName: str, ScheduleConfiguration: ScheduleConfiguration, SourceLocationName: str}\n@optional {AdBreaks: [AdBreak], AudienceMedia: [AudienceMedia], LiveSourceName: str, VodSourceName: str}\n@returns(200) {AdBreaks: [AdBreak]?, Arn: str?, AudienceMedia: [AudienceMedia]?, ChannelName: str?, ClipRange: ClipRange?{EndOffsetMillis: int(i64)?, StartOffsetMillis: int(i64)?}, CreationTime: str(timestamp)?, DurationMillis: int(i64)?, LiveSourceName: str?, ProgramName: str?, ScheduledStartTime: str(timestamp)?, SourceLocationName: str?, VodSourceName: str?}\n\n@endgroup\n\n@group sourceLocation\n@endpoint POST /sourceLocation/{SourceLocationName}\n@desc Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.\n@required {SourceLocationName: str, HttpConfiguration: HttpConfiguration}\n@optional {AccessConfiguration: AccessConfiguration, DefaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfiguration, SegmentDeliveryConfigurations: [SegmentDeliveryConfiguration], Tags: map<str,str>}\n@returns(200) {AccessConfiguration: AccessConfiguration?{AccessType: str?, SecretsManagerAccessTokenConfiguration: SecretsManagerAccessTokenConfiguration?{HeaderName: str?, SecretArn: str?, SecretStringKey: str?}}, Arn: str?, CreationTime: str(timestamp)?, DefaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfiguration?{BaseUrl: str?}, HttpConfiguration: HttpConfiguration?{BaseUrl: str}, LastModifiedTime: str(timestamp)?, SegmentDeliveryConfigurations: [SegmentDeliveryConfiguration]?, SourceLocationName: str?, Tags: map<str,str>?}\n\n@endpoint POST /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}\n@desc The VOD source configuration parameters.\n@required {SourceLocationName: str, VodSourceName: str, HttpPackageConfigurations: [HttpPackageConfiguration]}\n@optional {Tags: map<str,str>}\n@returns(200) {Arn: str?, CreationTime: str(timestamp)?, HttpPackageConfigurations: [HttpPackageConfiguration]?, LastModifiedTime: str(timestamp)?, SourceLocationName: str?, Tags: map<str,str>?, VodSourceName: str?}\n\n@endgroup\n\n@group channel\n@endpoint DELETE /channel/{ChannelName}\n@desc Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.\n@required {ChannelName: str}\n\n@endpoint DELETE /channel/{ChannelName}/policy\n@desc The channel policy to delete.\n@required {ChannelName: str}\n\n@endgroup\n\n@group sourceLocation\n@endpoint DELETE /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}\n@desc The live source to delete.\n@required {LiveSourceName: str, SourceLocationName: str}\n\n@endgroup\n\n@group playbackConfiguration\n@endpoint DELETE /playbackConfiguration/{Name}\n@desc Deletes a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.\n@required {Name: str}\n\n@endgroup\n\n@group prefetchSchedule\n@endpoint DELETE /prefetchSchedule/{PlaybackConfigurationName}/{Name}\n@desc Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.\n@required {Name: str, PlaybackConfigurationName: str}\n\n@endgroup\n\n@group channel\n@endpoint DELETE /channel/{ChannelName}/program/{ProgramName}\n@desc Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.\n@required {ChannelName: str, ProgramName: str}\n\n@endgroup\n\n@group sourceLocation\n@endpoint DELETE /sourceLocation/{SourceLocationName}\n@desc Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.\n@required {SourceLocationName: str}\n\n@endpoint DELETE /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}\n@desc The video on demand (VOD) source to delete.\n@required {SourceLocationName: str, VodSourceName: str}\n\n@endgroup\n\n@group channel\n@endpoint GET /channel/{ChannelName}\n@desc Describes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.\n@required {ChannelName: str}\n@returns(200) {Arn: str?, Audiences: [str]?, ChannelName: str?, ChannelState: str?, CreationTime: str(timestamp)?, FillerSlate: SlateSource?{SourceLocationName: str?, VodSourceName: str?}, LastModifiedTime: str(timestamp)?, LogConfiguration: LogConfigurationForChannel{LogTypes: [str]?}, Outputs: [ResponseOutputItem]?, PlaybackMode: str?, Tags: map<str,str>?, Tier: str?, TimeShiftConfiguration: TimeShiftConfiguration?{MaxTimeDelaySeconds: int}}\n\n@endgroup\n\n@group sourceLocation\n@endpoint GET /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}\n@desc The live source to describe.\n@required {LiveSourceName: str, SourceLocationName: str}\n@returns(200) {Arn: str?, CreationTime: str(timestamp)?, HttpPackageConfigurations: [HttpPackageConfiguration]?, LastModifiedTime: str(timestamp)?, LiveSourceName: str?, SourceLocationName: str?, Tags: map<str,str>?}\n\n@endgroup\n\n@group channel\n@endpoint GET /channel/{ChannelName}/program/{ProgramName}\n@desc Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.\n@required {ChannelName: str, ProgramName: str}\n@returns(200) {AdBreaks: [AdBreak]?, Arn: str?, AudienceMedia: [AudienceMedia]?, ChannelName: str?, ClipRange: ClipRange?{EndOffsetMillis: int(i64)?, StartOffsetMillis: int(i64)?}, CreationTime: str(timestamp)?, DurationMillis: int(i64)?, LiveSourceName: str?, ProgramName: str?, ScheduledStartTime: str(timestamp)?, SourceLocationName: str?, VodSourceName: str?}\n\n@endgroup\n\n@group sourceLocation\n@endpoint GET /sourceLocation/{SourceLocationName}\n@desc Describes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.\n@required {SourceLocationName: str}\n@returns(200) {AccessConfiguration: AccessConfiguration?{AccessType: str?, SecretsManagerAccessTokenConfiguration: SecretsManagerAccessTokenConfiguration?{HeaderName: str?, SecretArn: str?, SecretStringKey: str?}}, Arn: str?, CreationTime: str(timestamp)?, DefaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfiguration?{BaseUrl: str?}, HttpConfiguration: HttpConfiguration?{BaseUrl: str}, LastModifiedTime: str(timestamp)?, SegmentDeliveryConfigurations: [SegmentDeliveryConfiguration]?, SourceLocationName: str?, Tags: map<str,str>?}\n\n@endpoint GET /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}\n@desc Provides details about a specific video on demand (VOD) source in a specific source location.\n@required {SourceLocationName: str, VodSourceName: str}\n@returns(200) {AdBreakOpportunities: [AdBreakOpportunity]?, Arn: str?, CreationTime: str(timestamp)?, HttpPackageConfigurations: [HttpPackageConfiguration]?, LastModifiedTime: str(timestamp)?, SourceLocationName: str?, Tags: map<str,str>?, VodSourceName: str?}\n\n@endgroup\n\n@group channel\n@endpoint GET /channel/{ChannelName}/policy\n@desc Returns the channel's IAM policy. IAM policies are used to control access to your channel.\n@required {ChannelName: str}\n@returns(200) {Policy: str?}\n\n@endpoint GET /channel/{ChannelName}/schedule\n@desc Retrieves information about your channel's schedule.\n@required {ChannelName: str}\n@optional {audience: str, durationMinutes: str, maxResults: int, nextToken: str}\n@returns(200) {Items: [ScheduleEntry]?, NextToken: str?}\n\n@endgroup\n\n@group playbackConfiguration\n@endpoint GET /playbackConfiguration/{Name}\n@desc Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.\n@required {Name: str}\n@returns(200) {AdDecisionServerUrl: str?, AvailSuppression: AvailSuppression?{FillPolicy: str?, Mode: str?, Value: str?}, Bumper: Bumper?{EndUrl: str?, StartUrl: str?}, CdnConfiguration: CdnConfiguration?{AdSegmentUrlPrefix: str?, ContentSegmentUrlPrefix: str?}, ConfigurationAliases: map<str,map<str,str>>?, DashConfiguration: DashConfiguration?{ManifestEndpointPrefix: str?, MpdLocation: str?, OriginManifestType: str?}, HlsConfiguration: HlsConfiguration?{ManifestEndpointPrefix: str?}, InsertionMode: str?, LivePreRollConfiguration: LivePreRollConfiguration?{AdDecisionServerUrl: str?, MaxDurationSeconds: int?}, LogConfiguration: LogConfiguration?{PercentEnabled: int}, ManifestProcessingRules: ManifestProcessingRules?{AdMarkerPassthrough: AdMarkerPassthrough?{Enabled: bool?}}, Name: str?, PersonalizationThresholdSeconds: int?, PlaybackConfigurationArn: str?, PlaybackEndpointPrefix: str?, SessionInitializationEndpointPrefix: str?, SlateAdUrl: str?, Tags: map<str,str>?, TranscodeProfileName: str?, VideoContentSourceUrl: str?}\n\n@endgroup\n\n@group prefetchSchedule\n@endpoint GET /prefetchSchedule/{PlaybackConfigurationName}/{Name}\n@desc Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.\n@required {Name: str, PlaybackConfigurationName: str}\n@returns(200) {Arn: str?, Consumption: PrefetchConsumption?{AvailMatchingCriteria: [AvailMatchingCriteria]?, EndTime: str(timestamp), StartTime: str(timestamp)?}, Name: str?, PlaybackConfigurationName: str?, Retrieval: PrefetchRetrieval?{DynamicVariables: map<str, str>?: any, EndTime: str(timestamp), StartTime: str(timestamp)?}, StreamId: str?}\n\n@endgroup\n\n@group alerts\n@endpoint GET /alerts\n@desc Lists the alerts that are associated with a MediaTailor channel assembly resource.\n@required {resourceArn: str}\n@optional {maxResults: int, nextToken: str}\n@returns(200) {Items: [Alert]?, NextToken: str?}\n\n@endgroup\n\n@group channels\n@endpoint GET /channels\n@desc Retrieves information about the channels that are associated with the current AWS account.\n@optional {maxResults: int, nextToken: str}\n@returns(200) {Items: [Channel]?, NextToken: str?}\n\n@endgroup\n\n@group sourceLocation\n@endpoint GET /sourceLocation/{SourceLocationName}/liveSources\n@desc Lists the live sources contained in a source location. A source represents a piece of content.\n@required {SourceLocationName: str}\n@optional {maxResults: int, nextToken: str}\n@returns(200) {Items: [LiveSource]?, NextToken: str?}\n\n@endgroup\n\n@group playbackConfigurations\n@endpoint GET /playbackConfigurations\n@desc Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.\n@optional {MaxResults: int, NextToken: str}\n@returns(200) {Items: [PlaybackConfiguration]?, NextToken: str?}\n\n@endgroup\n\n@group prefetchSchedule\n@endpoint POST /prefetchSchedule/{PlaybackConfigurationName}\n@desc Lists the prefetch schedules for a playback configuration.\n@required {PlaybackConfigurationName: str}\n@optional {MaxResults: int, NextToken: str, StreamId: str}\n@returns(200) {Items: [PrefetchSchedule]?, NextToken: str?}\n\n@endgroup\n\n@group sourceLocations\n@endpoint GET /sourceLocations\n@desc Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.\n@optional {maxResults: int, nextToken: str}\n@returns(200) {Items: [SourceLocation]?, NextToken: str?}\n\n@endgroup\n\n@group tags\n@endpoint GET /tags/{ResourceArn}\n@desc A list of tags that are associated with this resource. 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.\n@required {ResourceArn: str}\n@returns(200) {Tags: map<str,str>?}\n\n@endgroup\n\n@group sourceLocation\n@endpoint GET /sourceLocation/{SourceLocationName}/vodSources\n@desc Lists the VOD sources contained in a source location. A source represents a piece of content.\n@required {SourceLocationName: str}\n@optional {maxResults: int, nextToken: str}\n@returns(200) {Items: [VodSource]?, NextToken: str?}\n\n@endgroup\n\n@group channel\n@endpoint PUT /channel/{ChannelName}/policy\n@desc Creates an IAM policy for the channel. IAM policies are used to control access to your channel.\n@required {ChannelName: str, Policy: str}\n\n@endgroup\n\n@group playbackConfiguration\n@endpoint PUT /playbackConfiguration\n@desc Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.\n@required {Name: str}\n@optional {AdDecisionServerUrl: str, AvailSuppression: AvailSuppression, Bumper: Bumper, CdnConfiguration: CdnConfiguration, ConfigurationAliases: map<str,map<str,str>>, DashConfiguration: DashConfigurationForPut, InsertionMode: str, LivePreRollConfiguration: LivePreRollConfiguration, ManifestProcessingRules: ManifestProcessingRules, PersonalizationThresholdSeconds: int, SlateAdUrl: str, Tags: map<str,str>, TranscodeProfileName: str, VideoContentSourceUrl: str}\n@returns(200) {AdDecisionServerUrl: str?, AvailSuppression: AvailSuppression?{FillPolicy: str?, Mode: str?, Value: str?}, Bumper: Bumper?{EndUrl: str?, StartUrl: str?}, CdnConfiguration: CdnConfiguration?{AdSegmentUrlPrefix: str?, ContentSegmentUrlPrefix: str?}, ConfigurationAliases: map<str,map<str,str>>?, DashConfiguration: DashConfiguration?{ManifestEndpointPrefix: str?, MpdLocation: str?, OriginManifestType: str?}, HlsConfiguration: HlsConfiguration?{ManifestEndpointPrefix: str?}, InsertionMode: str?, LivePreRollConfiguration: LivePreRollConfiguration?{AdDecisionServerUrl: str?, MaxDurationSeconds: int?}, LogConfiguration: LogConfiguration?{PercentEnabled: int}, ManifestProcessingRules: ManifestProcessingRules?{AdMarkerPassthrough: AdMarkerPassthrough?{Enabled: bool?}}, Name: str?, PersonalizationThresholdSeconds: int?, PlaybackConfigurationArn: str?, PlaybackEndpointPrefix: str?, SessionInitializationEndpointPrefix: str?, SlateAdUrl: str?, Tags: map<str,str>?, TranscodeProfileName: str?, VideoContentSourceUrl: str?}\n\n@endgroup\n\n@group channel\n@endpoint PUT /channel/{ChannelName}/start\n@desc Starts a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.\n@required {ChannelName: str}\n\n@endpoint PUT /channel/{ChannelName}/stop\n@desc Stops a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.\n@required {ChannelName: str}\n\n@endgroup\n\n@group tags\n@endpoint POST /tags/{ResourceArn}\n@desc The resource to tag. 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.\n@required {ResourceArn: str, Tags: map<str,str>}\n\n@endpoint DELETE /tags/{ResourceArn}\n@desc The resource to untag.\n@required {ResourceArn: str, tagKeys: [str]}\n\n@endgroup\n\n@group channel\n@endpoint PUT /channel/{ChannelName}\n@desc Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.\n@required {ChannelName: str, Outputs: [RequestOutputItem]}\n@optional {Audiences: [str], FillerSlate: SlateSource, TimeShiftConfiguration: TimeShiftConfiguration}\n@returns(200) {Arn: str?, Audiences: [str]?, ChannelName: str?, ChannelState: str?, CreationTime: str(timestamp)?, FillerSlate: SlateSource?{SourceLocationName: str?, VodSourceName: str?}, LastModifiedTime: str(timestamp)?, Outputs: [ResponseOutputItem]?, PlaybackMode: str?, Tags: map<str,str>?, Tier: str?, TimeShiftConfiguration: TimeShiftConfiguration?{MaxTimeDelaySeconds: int}}\n\n@endgroup\n\n@group sourceLocation\n@endpoint PUT /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}\n@desc Updates a live source's configuration.\n@required {LiveSourceName: str, SourceLocationName: str, HttpPackageConfigurations: [HttpPackageConfiguration]}\n@returns(200) {Arn: str?, CreationTime: str(timestamp)?, HttpPackageConfigurations: [HttpPackageConfiguration]?, LastModifiedTime: str(timestamp)?, LiveSourceName: str?, SourceLocationName: str?, Tags: map<str,str>?}\n\n@endgroup\n\n@group channel\n@endpoint PUT /channel/{ChannelName}/program/{ProgramName}\n@desc Updates a program within a channel.\n@required {ChannelName: str, ProgramName: str, ScheduleConfiguration: UpdateProgramScheduleConfiguration}\n@optional {AdBreaks: [AdBreak], AudienceMedia: [AudienceMedia]}\n@returns(200) {AdBreaks: [AdBreak]?, Arn: str?, AudienceMedia: [AudienceMedia]?, ChannelName: str?, ClipRange: ClipRange?{EndOffsetMillis: int(i64)?, StartOffsetMillis: int(i64)?}, CreationTime: str(timestamp)?, DurationMillis: int(i64)?, LiveSourceName: str?, ProgramName: str?, ScheduledStartTime: str(timestamp)?, SourceLocationName: str?, VodSourceName: str?}\n\n@endgroup\n\n@group sourceLocation\n@endpoint PUT /sourceLocation/{SourceLocationName}\n@desc Updates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.\n@required {SourceLocationName: str, HttpConfiguration: HttpConfiguration}\n@optional {AccessConfiguration: AccessConfiguration, DefaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfiguration, SegmentDeliveryConfigurations: [SegmentDeliveryConfiguration]}\n@returns(200) {AccessConfiguration: AccessConfiguration?{AccessType: str?, SecretsManagerAccessTokenConfiguration: SecretsManagerAccessTokenConfiguration?{HeaderName: str?, SecretArn: str?, SecretStringKey: str?}}, Arn: str?, CreationTime: str(timestamp)?, DefaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfiguration?{BaseUrl: str?}, HttpConfiguration: HttpConfiguration?{BaseUrl: str}, LastModifiedTime: str(timestamp)?, SegmentDeliveryConfigurations: [SegmentDeliveryConfiguration]?, SourceLocationName: str?, Tags: map<str,str>?}\n\n@endpoint PUT /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}\n@desc Updates a VOD source's configuration.\n@required {SourceLocationName: str, VodSourceName: str, HttpPackageConfigurations: [HttpPackageConfiguration]}\n@returns(200) {Arn: str?, CreationTime: str(timestamp)?, HttpPackageConfigurations: [HttpPackageConfiguration]?, LastModifiedTime: str(timestamp)?, SourceLocationName: str?, Tags: map<str,str>?, VodSourceName: str?}\n\n@endgroup\n\n@end\n"}}