From f6c4e26cacae80e3fdfae17bf546365ef785bde0 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 12 Mar 2021 11:29:06 -0800 Subject: [PATCH] Release v1.37.30 (2021-03-12) (#3821) Release v1.37.30 (2021-03-12) === ### Service Client Updates * `service/cur`: Updates service API and documentation * - Added optional billingViewArn field for OSG. * `service/mediatailor`: Updates service API, documentation, and paginators * `service/workspaces`: Updates service API and documentation * Adds API support for WorkSpaces bundle management operations. --- CHANGELOG.md | 10 + aws/version.go | 2 +- models/apis/cur/2017-01-06/api-2.json | 8 +- models/apis/cur/2017-01-06/docs-2.json | 6 + models/apis/mediatailor/2018-04-23/api-2.json | 2990 ++++-- .../apis/mediatailor/2018-04-23/docs-2.json | 828 +- .../mediatailor/2018-04-23/paginators-1.json | 44 +- models/apis/workspaces/2015-04-08/api-2.json | 110 +- models/apis/workspaces/2015-04-08/docs-2.json | 97 +- service/costandusagereportservice/api.go | 10 + service/mediatailor/api.go | 8070 +++++++++++++++-- service/mediatailor/doc.go | 12 + service/mediatailor/errors.go | 2 +- .../mediatailor/mediatailoriface/interface.go | 119 +- service/workspaces/api.go | 629 +- .../workspaces/workspacesiface/interface.go | 12 + 16 files changed, 11088 insertions(+), 1861 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4f8e92d79c..17647f241c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.37.30 (2021-03-12) +=== + +### Service Client Updates +* `service/cur`: Updates service API and documentation + * - Added optional billingViewArn field for OSG. +* `service/mediatailor`: Updates service API, documentation, and paginators +* `service/workspaces`: Updates service API and documentation + * Adds API support for WorkSpaces bundle management operations. + Release v1.37.29 (2021-03-11) === diff --git a/aws/version.go b/aws/version.go index d54470ae04c..bccdd196e11 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.37.29" +const SDKVersion = "1.37.30" diff --git a/models/apis/cur/2017-01-06/api-2.json b/models/apis/cur/2017-01-06/api-2.json index 5e7964d30e0..8a938189d88 100644 --- a/models/apis/cur/2017-01-06/api-2.json +++ b/models/apis/cur/2017-01-06/api-2.json @@ -108,6 +108,11 @@ "type":"list", "member":{"shape":"AdditionalArtifact"} }, + "BillingViewArn":{ + "type":"string", + "max":128, + "pattern":"(arn:aws(-cn)?:billing::[0-9]{12}:billingview/)?[a-zA-Z0-9_\\+=\\.\\-@].{1,30}" + }, "CompressionFormat":{ "type":"string", "enum":[ @@ -225,7 +230,8 @@ "S3Region":{"shape":"AWSRegion"}, "AdditionalArtifacts":{"shape":"AdditionalArtifactList"}, "RefreshClosedReports":{"shape":"RefreshClosedReports"}, - "ReportVersioning":{"shape":"ReportVersioning"} + "ReportVersioning":{"shape":"ReportVersioning"}, + "BillingViewArn":{"shape":"BillingViewArn"} } }, "ReportDefinitionList":{ diff --git a/models/apis/cur/2017-01-06/docs-2.json b/models/apis/cur/2017-01-06/docs-2.json index 7715180ebda..e10641f795a 100644 --- a/models/apis/cur/2017-01-06/docs-2.json +++ b/models/apis/cur/2017-01-06/docs-2.json @@ -26,6 +26,12 @@ "ReportDefinition$AdditionalArtifacts": "
A list of manifests that you want Amazon Web Services to create for this report.
" } }, + "BillingViewArn": { + "base": null, + "refs": { + "ReportDefinition$BillingViewArn": "The Amazon resource name of the billing view. You can get this value by using the billing view service public APIs.
" + } + }, "CompressionFormat": { "base": "The compression format that AWS uses for the report.
", "refs": { diff --git a/models/apis/mediatailor/2018-04-23/api-2.json b/models/apis/mediatailor/2018-04-23/api-2.json index 0110df53f47..de5939010d2 100644 --- a/models/apis/mediatailor/2018-04-23/api-2.json +++ b/models/apis/mediatailor/2018-04-23/api-2.json @@ -1,659 +1,2373 @@ { - "metadata": { - "apiVersion": "2018-04-23", - "endpointPrefix": "api.mediatailor", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceAbbreviation": "MediaTailor", - "serviceFullName": "AWS MediaTailor", - "serviceId": "MediaTailor", - "signatureVersion": "v4", - "signingName": "mediatailor", - "uid": "mediatailor-2018-04-23" - }, - "operations": { - "DeletePlaybackConfiguration": { - "errors": [], - "http": { - "method": "DELETE", - "requestUri": "/playbackConfiguration/{Name}", - "responseCode": 204 - }, - "input": { - "shape": "DeletePlaybackConfigurationRequest" - }, - "name": "DeletePlaybackConfiguration", - "output": { - "shape": "DeletePlaybackConfigurationResponse" - } - }, - "GetPlaybackConfiguration": { - "errors": [], - "http": { - "method": "GET", - "requestUri": "/playbackConfiguration/{Name}", - "responseCode": 200 - }, - "input": { - "shape": "GetPlaybackConfigurationRequest" - }, - "name": "GetPlaybackConfiguration", - "output": { - "shape": "GetPlaybackConfigurationResponse" - } - }, - "ListPlaybackConfigurations": { - "errors": [], - "http": { - "method": "GET", - "requestUri": "/playbackConfigurations", - "responseCode": 200 - }, - "input": { - "shape": "ListPlaybackConfigurationsRequest" - }, - "name": "ListPlaybackConfigurations", - "output": { - "shape": "ListPlaybackConfigurationsResponse" - } - }, - "ListTagsForResource": { - "errors": [ - { - "shape": "BadRequestException" - } - ], - "http": { - "method": "GET", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 200 - }, - "input": { - "shape": "ListTagsForResourceRequest" - }, - "name": "ListTagsForResource", - "output": { - "shape": "ListTagsForResourceResponse" - } - }, - "PutPlaybackConfiguration": { - "errors": [], - "http": { - "method": "PUT", - "requestUri": "/playbackConfiguration", - "responseCode": 200 - }, - "input": { - "shape": "PutPlaybackConfigurationRequest" - }, - "name": "PutPlaybackConfiguration", - "output": { - "shape": "PutPlaybackConfigurationResponse" - } - }, - "TagResource": { - "errors": [ - { - "shape": "BadRequestException" - } - ], - "http": { - "method": "POST", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 204 - }, - "input": { - "shape": "TagResourceRequest" - }, - "name": "TagResource" - }, - "UntagResource": { - "errors": [ - { - "shape": "BadRequestException" - } - ], - "http": { - "method": "DELETE", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 204 - }, - "input": { - "shape": "UntagResourceRequest" - }, - "name": "UntagResource" - } - }, - "shapes": { + "metadata": { + "apiVersion": "2018-04-23", + "endpointPrefix": "api.mediatailor", + "jsonVersion": "1.1", + "protocol": "rest-json", + "serviceAbbreviation": "MediaTailor", + "serviceFullName": "AWS MediaTailor", + "serviceId": "MediaTailor", + "signatureVersion": "v4", + "signingName": "mediatailor", + "uid": "mediatailor-2018-04-23" + }, + "operations": { + "CreateChannel": { + "errors": [], + "http": { + "method": "POST", + "requestUri": "/channel/{channelName}", + "responseCode": 200 + }, + "input": { + "shape": "CreateChannelRequest" + }, + "name": "CreateChannel", + "output": { + "shape": "CreateChannelResponse" + } + }, + "CreateProgram": { + "errors": [], + "http": { + "method": "POST", + "requestUri": "/channel/{channelName}/program/{programName}", + "responseCode": 200 + }, + "input": { + "shape": "CreateProgramRequest" + }, + "name": "CreateProgram", + "output": { + "shape": "CreateProgramResponse" + } + }, + "CreateSourceLocation": { + "errors": [], + "http": { + "method": "POST", + "requestUri": "/sourceLocation/{sourceLocationName}", + "responseCode": 200 + }, + "input": { + "shape": "CreateSourceLocationRequest" + }, + "name": "CreateSourceLocation", + "output": { + "shape": "CreateSourceLocationResponse" + } + }, + "CreateVodSource": { + "errors": [], + "http": { + "method": "POST", + "requestUri": "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", + "responseCode": 200 + }, + "input": { + "shape": "CreateVodSourceRequest" + }, + "name": "CreateVodSource", + "output": { + "shape": "CreateVodSourceResponse" + } + }, + "DeleteChannel": { + "errors": [], + "http": { + "method": "DELETE", + "requestUri": "/channel/{channelName}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteChannelRequest" + }, + "name": "DeleteChannel", + "output": { + "shape": "DeleteChannelResponse" + } + }, + "DeleteChannelPolicy": { + "errors": [], + "http": { + "method": "DELETE", + "requestUri": "/channel/{channelName}/policy", + "responseCode": 200 + }, + "input": { + "shape": "DeleteChannelPolicyRequest" + }, + "name": "DeleteChannelPolicy", + "output": { + "shape": "DeleteChannelPolicyResponse" + } + }, + "DeletePlaybackConfiguration": { + "errors": [], + "http": { + "method": "DELETE", + "requestUri": "/playbackConfiguration/{Name}", + "responseCode": 204 + }, + "input": { + "shape": "DeletePlaybackConfigurationRequest" + }, + "name": "DeletePlaybackConfiguration", + "output": { + "shape": "DeletePlaybackConfigurationResponse" + } + }, + "DeleteProgram": { + "errors": [], + "http": { + "method": "DELETE", + "requestUri": "/channel/{channelName}/program/{programName}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteProgramRequest" + }, + "name": "DeleteProgram", + "output": { + "shape": "DeleteProgramResponse" + } + }, + "DeleteSourceLocation": { + "errors": [], + "http": { + "method": "DELETE", + "requestUri": "/sourceLocation/{sourceLocationName}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteSourceLocationRequest" + }, + "name": "DeleteSourceLocation", + "output": { + "shape": "DeleteSourceLocationResponse" + } + }, + "DeleteVodSource": { + "errors": [], + "http": { + "method": "DELETE", + "requestUri": "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteVodSourceRequest" + }, + "name": "DeleteVodSource", + "output": { + "shape": "DeleteVodSourceResponse" + } + }, + "DescribeChannel": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/channel/{channelName}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeChannelRequest" + }, + "name": "DescribeChannel", + "output": { + "shape": "DescribeChannelResponse" + } + }, + "DescribeProgram": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/channel/{channelName}/program/{programName}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeProgramRequest" + }, + "name": "DescribeProgram", + "output": { + "shape": "DescribeProgramResponse" + } + }, + "DescribeSourceLocation": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/sourceLocation/{sourceLocationName}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeSourceLocationRequest" + }, + "name": "DescribeSourceLocation", + "output": { + "shape": "DescribeSourceLocationResponse" + } + }, + "DescribeVodSource": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeVodSourceRequest" + }, + "name": "DescribeVodSource", + "output": { + "shape": "DescribeVodSourceResponse" + } + }, + "GetChannelPolicy": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/channel/{channelName}/policy", + "responseCode": 200 + }, + "input": { + "shape": "GetChannelPolicyRequest" + }, + "name": "GetChannelPolicy", + "output": { + "shape": "GetChannelPolicyResponse" + } + }, + "GetChannelSchedule": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/channel/{channelName}/schedule", + "responseCode": 200 + }, + "input": { + "shape": "GetChannelScheduleRequest" + }, + "name": "GetChannelSchedule", + "output": { + "shape": "GetChannelScheduleResponse" + } + }, + "GetPlaybackConfiguration": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/playbackConfiguration/{Name}", + "responseCode": 200 + }, + "input": { + "shape": "GetPlaybackConfigurationRequest" + }, + "name": "GetPlaybackConfiguration", + "output": { + "shape": "GetPlaybackConfigurationResponse" + } + }, + "ListChannels": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/channels", + "responseCode": 200 + }, + "input": { + "shape": "ListChannelsRequest" + }, + "name": "ListChannels", + "output": { + "shape": "ListChannelsResponse" + } + }, + "ListPlaybackConfigurations": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/playbackConfigurations", + "responseCode": 200 + }, + "input": { + "shape": "ListPlaybackConfigurationsRequest" + }, + "name": "ListPlaybackConfigurations", + "output": { + "shape": "ListPlaybackConfigurationsResponse" + } + }, + "ListPrograms": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/channel/{channelName}/programs", + "responseCode": 200 + }, + "input": { + "shape": "ListProgramsRequest" + }, + "name": "ListPrograms", + "output": { + "shape": "ListProgramsResponse" + } + }, + "ListSourceLocations": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/sourceLocations", + "responseCode": 200 + }, + "input": { + "shape": "ListSourceLocationsRequest" + }, + "name": "ListSourceLocations", + "output": { + "shape": "ListSourceLocationsResponse" + } + }, + "ListTagsForResource": { + "errors": [ + { + "shape": "BadRequestException" + } + ], + "http": { + "method": "GET", + "requestUri": "/tags/{ResourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsForResourceRequest" + }, + "name": "ListTagsForResource", + "output": { + "shape": "ListTagsForResourceResponse" + } + }, + "ListVodSources": { + "errors": [], + "http": { + "method": "GET", + "requestUri": "/sourceLocation/{sourceLocationName}/vodSources", + "responseCode": 200 + }, + "input": { + "shape": "ListVodSourcesRequest" + }, + "name": "ListVodSources", + "output": { + "shape": "ListVodSourcesResponse" + } + }, + "PutChannelPolicy": { + "errors": [], + "http": { + "method": "PUT", + "requestUri": "/channel/{channelName}/policy", + "responseCode": 200 + }, + "input": { + "shape": "PutChannelPolicyRequest" + }, + "name": "PutChannelPolicy", + "output": { + "shape": "PutChannelPolicyResponse" + } + }, + "PutPlaybackConfiguration": { + "errors": [], + "http": { + "method": "PUT", + "requestUri": "/playbackConfiguration", + "responseCode": 200 + }, + "input": { + "shape": "PutPlaybackConfigurationRequest" + }, + "name": "PutPlaybackConfiguration", + "output": { + "shape": "PutPlaybackConfigurationResponse" + } + }, + "StartChannel": { + "errors": [], + "http": { + "method": "PUT", + "requestUri": "/channel/{channelName}/start", + "responseCode": 200 + }, + "input": { + "shape": "StartChannelRequest" + }, + "name": "StartChannel", + "output": { + "shape": "StartChannelResponse" + } + }, + "StopChannel": { + "errors": [], + "http": { + "method": "PUT", + "requestUri": "/channel/{channelName}/stop", + "responseCode": 200 + }, + "input": { + "shape": "StopChannelRequest" + }, + "name": "StopChannel", + "output": { + "shape": "StopChannelResponse" + } + }, + "TagResource": { + "errors": [ + { + "shape": "BadRequestException" + } + ], + "http": { + "method": "POST", + "requestUri": "/tags/{ResourceArn}", + "responseCode": 204 + }, + "input": { + "shape": "TagResourceRequest" + }, + "name": "TagResource" + }, + "UntagResource": { + "errors": [ + { + "shape": "BadRequestException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/tags/{ResourceArn}", + "responseCode": 204 + }, + "input": { + "shape": "UntagResourceRequest" + }, + "name": "UntagResource" + }, + "UpdateChannel": { + "errors": [], + "http": { + "method": "PUT", + "requestUri": "/channel/{channelName}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateChannelRequest" + }, + "name": "UpdateChannel", + "output": { + "shape": "UpdateChannelResponse" + } + }, + "UpdateSourceLocation": { + "errors": [], + "http": { + "method": "PUT", + "requestUri": "/sourceLocation/{sourceLocationName}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateSourceLocationRequest" + }, + "name": "UpdateSourceLocation", + "output": { + "shape": "UpdateSourceLocationResponse" + } + }, + "UpdateVodSource": { + "errors": [], + "http": { + "method": "PUT", + "requestUri": "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateVodSourceRequest" + }, + "name": "UpdateVodSource", + "output": { + "shape": "UpdateVodSourceResponse" + } + } + }, + "shapes": { + "AccessConfiguration": { + "members": { + "AccessType": { + "shape": "AccessType" + } + }, + "type": "structure" + }, + "AccessType": { + "enum": [ + "S3_SIGV4" + ], + "type": "string" + }, + "AdBreak": { + "members": { + "MessageType": { + "shape": "MessageType" + }, + "OffsetMillis": { + "shape": "__long" + }, + "Slate": { + "shape": "SlateSource" + }, + "SpliceInsertMessage": { + "shape": "SpliceInsertMessage" + } + }, + "type": "structure" + }, + "AdMarkerPassthrough": { + "members": { + "Enabled": { + "shape": "__boolean" + } + }, + "type": "structure" + }, + "AvailSuppression": { + "members": { + "Mode": { + "shape": "Mode" + }, + "Value": { + "shape": "__string" + } + }, + "type": "structure" + }, + "BadRequestException": { + "error": { + "httpStatusCode": 400 + }, + "exception": true, + "members": { + "Message": { + "shape": "__string" + } + }, + "type": "structure" + }, + "Bumper": { + "members": { + "EndUrl": { + "shape": "__string" + }, + "StartUrl": { + "shape": "__string" + } + }, + "type": "structure" + }, + "CdnConfiguration": { + "members": { + "AdSegmentUrlPrefix": { + "shape": "__string" + }, + "ContentSegmentUrlPrefix": { + "shape": "__string" + } + }, + "type": "structure" + }, + "Channel": { + "members": { + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "ChannelState": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "Outputs": { + "shape": "ResponseOutputs" + }, + "PlaybackMode": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "required": [ + "ChannelState", + "ChannelName", + "Outputs", + "Arn", + "PlaybackMode" + ], + "type": "structure" + }, + "ChannelState": { + "enum": [ + "RUNNING", + "STOPPED" + ], + "type": "string" + }, + "ConfigurationAliasesRequest": { + "key": { + "shape": "__string" + }, + "type": "map", + "value": { + "shape": "__mapOf__string" + } + }, + "ConfigurationAliasesResponse": { + "key": { + "shape": "__string" + }, + "type": "map", + "value": { + "shape": "__mapOf__string" + } + }, + "CreateChannelRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "Outputs": { + "shape": "RequestOutputs" + }, + "PlaybackMode": { + "shape": "PlaybackMode" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "required": [ + "ChannelName", + "Outputs", + "PlaybackMode" + ], + "type": "structure" + }, + "CreateChannelResponse": { + "members": { + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "ChannelState": { + "shape": "ChannelState" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "Outputs": { + "shape": "ResponseOutputs" + }, + "PlaybackMode": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "type": "structure" + }, + "CreateProgramRequest": { + "members": { + "AdBreaks": { + "shape": "__listOfAdBreak" + }, + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "ProgramName": { + "location": "uri", + "locationName": "programName", + "shape": "__string" + }, + "ScheduleConfiguration": { + "shape": "ScheduleConfiguration" + }, + "SourceLocationName": { + "shape": "__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "required": [ + "ChannelName", + "ProgramName", + "VodSourceName", + "ScheduleConfiguration", + "SourceLocationName" + ], + "type": "structure" + }, + "CreateProgramResponse": { + "members": { + "AdBreaks": { + "shape": "__listOfAdBreak" + }, + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "ProgramName": { + "shape": "__string" + }, + "SourceLocationName": { + "shape": "__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "type": "structure" + }, + "CreateSourceLocationRequest": { + "members": { + "AccessConfiguration": { + "shape": "AccessConfiguration" + }, + "DefaultSegmentDeliveryConfiguration": { + "shape": "DefaultSegmentDeliveryConfiguration" + }, + "HttpConfiguration": { + "shape": "HttpConfiguration" + }, + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "required": [ + "SourceLocationName", + "HttpConfiguration" + ], + "type": "structure" + }, + "CreateSourceLocationResponse": { + "members": { + "AccessConfiguration": { + "shape": "AccessConfiguration" + }, + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "DefaultSegmentDeliveryConfiguration": { + "shape": "DefaultSegmentDeliveryConfiguration" + }, + "HttpConfiguration": { + "shape": "HttpConfiguration" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "type": "structure" + }, + "CreateVodSourceRequest": { + "members": { + "HttpPackageConfigurations": { + "shape": "HttpPackageConfigurations" + }, + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "VodSourceName": { + "location": "uri", + "locationName": "vodSourceName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName", + "VodSourceName", + "HttpPackageConfigurations" + ], + "type": "structure" + }, + "CreateVodSourceResponse": { + "members": { + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "HttpPackageConfigurations": { + "shape": "HttpPackageConfigurations" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "type": "structure" + }, + "DashConfiguration": { + "members": { + "ManifestEndpointPrefix": { + "shape": "__string" + }, + "MpdLocation": { + "shape": "__string" + }, + "OriginManifestType": { + "shape": "OriginManifestType" + } + }, + "type": "structure" + }, + "DashConfigurationForPut": { + "members": { + "MpdLocation": { + "shape": "__string" + }, + "OriginManifestType": { + "shape": "OriginManifestType" + } + }, + "type": "structure" + }, + "DashPlaylistSettings": { + "members": { + "ManifestWindowSeconds": { + "shape": "__integer" + }, + "MinBufferTimeSeconds": { + "shape": "__integer" + }, + "MinUpdatePeriodSeconds": { + "shape": "__integer" + }, + "SuggestedPresentationDelaySeconds": { + "shape": "__integer" + } + }, + "type": "structure" + }, + "DefaultSegmentDeliveryConfiguration": { + "members": { + "BaseUrl": { + "shape": "__string" + } + }, + "type": "structure" + }, + "DeleteChannelPolicyRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "DeleteChannelPolicyResponse": { + "members": {}, + "type": "structure" + }, + "DeleteChannelRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "DeleteChannelResponse": { + "members": {}, + "type": "structure" + }, + "DeletePlaybackConfigurationRequest": { + "members": { + "Name": { + "location": "uri", + "locationName": "Name", + "shape": "__string" + } + }, + "required": [ + "Name" + ], + "type": "structure" + }, + "DeletePlaybackConfigurationResponse": { + "members": {}, + "type": "structure" + }, + "DeleteProgramRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "ProgramName": { + "location": "uri", + "locationName": "programName", + "shape": "__string" + } + }, + "required": [ + "ChannelName", + "ProgramName" + ], + "type": "structure" + }, + "DeleteProgramResponse": { + "members": {}, + "type": "structure" + }, + "DeleteSourceLocationRequest": { + "members": { + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName" + ], + "type": "structure" + }, + "DeleteSourceLocationResponse": { + "members": {}, + "type": "structure" + }, + "DeleteVodSourceRequest": { + "members": { + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + }, + "VodSourceName": { + "location": "uri", + "locationName": "vodSourceName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName", + "VodSourceName" + ], + "type": "structure" + }, + "DeleteVodSourceResponse": { + "members": {}, + "type": "structure" + }, + "DescribeChannelRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "DescribeChannelResponse": { + "members": { + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "ChannelState": { + "shape": "ChannelState" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "Outputs": { + "shape": "ResponseOutputs" + }, + "PlaybackMode": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "type": "structure" + }, + "DescribeProgramRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "ProgramName": { + "location": "uri", + "locationName": "programName", + "shape": "__string" + } + }, + "required": [ + "ChannelName", + "ProgramName" + ], + "type": "structure" + }, + "DescribeProgramResponse": { + "members": { + "AdBreaks": { + "shape": "__listOfAdBreak" + }, + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "ProgramName": { + "shape": "__string" + }, + "SourceLocationName": { + "shape": "__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "type": "structure" + }, + "DescribeSourceLocationRequest": { + "members": { + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName" + ], + "type": "structure" + }, + "DescribeSourceLocationResponse": { + "members": { + "AccessConfiguration": { + "shape": "AccessConfiguration" + }, + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "DefaultSegmentDeliveryConfiguration": { + "shape": "DefaultSegmentDeliveryConfiguration" + }, + "HttpConfiguration": { + "shape": "HttpConfiguration" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "type": "structure" + }, + "DescribeVodSourceRequest": { + "members": { + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + }, + "VodSourceName": { + "location": "uri", + "locationName": "vodSourceName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName", + "VodSourceName" + ], + "type": "structure" + }, + "DescribeVodSourceResponse": { + "members": { + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "HttpPackageConfigurations": { + "shape": "HttpPackageConfigurations" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "type": "structure" + }, + "GetChannelPolicyRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "GetChannelPolicyResponse": { + "members": { + "Policy": { + "shape": "__string" + } + }, + "type": "structure" + }, + "GetChannelScheduleRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "DurationMinutes": { + "location": "querystring", + "locationName": "durationMinutes", + "shape": "__string" + }, + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "MaxResults" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "GetChannelScheduleResponse": { + "members": { + "Items": { + "shape": "__listOfScheduleEntry" + }, + "NextToken": { + "shape": "__string" + } + }, + "type": "structure" + }, + "GetPlaybackConfigurationRequest": { + "members": { + "Name": { + "location": "uri", + "locationName": "Name", + "shape": "__string" + } + }, + "required": [ + "Name" + ], + "type": "structure" + }, + "GetPlaybackConfigurationResponse": { + "members": { + "AdDecisionServerUrl": { + "shape": "__string" + }, + "AvailSuppression": { + "shape": "AvailSuppression" + }, + "Bumper": { + "shape": "Bumper" + }, + "CdnConfiguration": { + "shape": "CdnConfiguration" + }, + "ConfigurationAliases": { + "shape": "ConfigurationAliasesResponse" + }, + "DashConfiguration": { + "shape": "DashConfiguration" + }, + "HlsConfiguration": { + "shape": "HlsConfiguration" + }, + "LivePreRollConfiguration": { + "shape": "LivePreRollConfiguration" + }, + "ManifestProcessingRules": { + "shape": "ManifestProcessingRules" + }, + "Name": { + "shape": "__string" + }, + "PersonalizationThresholdSeconds": { + "shape": "__integerMin1" + }, + "PlaybackConfigurationArn": { + "shape": "__string" + }, + "PlaybackEndpointPrefix": { + "shape": "__string" + }, + "SessionInitializationEndpointPrefix": { + "shape": "__string" + }, + "SlateAdUrl": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "TranscodeProfileName": { + "shape": "__string" + }, + "VideoContentSourceUrl": { + "shape": "__string" + } + }, + "type": "structure" + }, + "HlsConfiguration": { + "members": { + "ManifestEndpointPrefix": { + "shape": "__string" + } + }, + "type": "structure" + }, + "HlsPlaylistSettings": { + "members": { + "ManifestWindowSeconds": { + "shape": "__integer" + } + }, + "type": "structure" + }, + "HttpConfiguration": { + "members": { + "BaseUrl": { + "shape": "__string" + } + }, + "required": [ + "BaseUrl" + ], + "type": "structure" + }, + "HttpPackageConfiguration": { + "members": { + "Path": { + "shape": "__string" + }, + "SourceGroup": { + "shape": "__string" + }, + "Type": { + "shape": "Type" + } + }, + "required": [ + "Path", + "Type", + "SourceGroup" + ], + "type": "structure" + }, + "HttpPackageConfigurations": { + "member": { + "shape": "HttpPackageConfiguration" + }, + "type": "list" + }, + "ListChannelsRequest": { + "members": { + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "MaxResults" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "__string" + } + }, + "type": "structure" + }, + "ListChannelsResponse": { + "members": { + "Items": { + "shape": "__listOfChannel" + }, + "NextToken": { + "shape": "__string" + } + }, + "type": "structure" + }, + "ListPlaybackConfigurationsRequest": { + "members": { + "MaxResults": { + "location": "querystring", + "locationName": "MaxResults", + "shape": "MaxResults" + }, + "NextToken": { + "location": "querystring", + "locationName": "NextToken", + "shape": "__string" + } + }, + "type": "structure" + }, + "ListPlaybackConfigurationsResponse": { + "members": { + "Items": { + "shape": "__listOfPlaybackConfiguration" + }, + "NextToken": { + "shape": "__string" + } + }, + "type": "structure" + }, + "ListProgramsRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "MaxResults" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "ListProgramsResponse": { + "members": { + "Items": { + "shape": "__listOfProgram" + }, + "NextToken": { + "shape": "__string" + } + }, + "type": "structure" + }, + "ListSourceLocationsRequest": { + "members": { + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "MaxResults" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "__string" + } + }, + "type": "structure" + }, + "ListSourceLocationsResponse": { + "members": { + "Items": { + "shape": "__listOfSourceLocation" + }, + "NextToken": { + "shape": "__string" + } + }, + "type": "structure" + }, + "ListTagsForResourceRequest": { + "members": { + "ResourceArn": { + "location": "uri", + "locationName": "ResourceArn", + "shape": "__string" + } + }, + "required": [ + "ResourceArn" + ], + "type": "structure" + }, + "ListTagsForResourceResponse": { + "members": { + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "type": "structure" + }, + "ListVodSourcesRequest": { + "members": { + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "MaxResults" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "__string" + }, + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName" + ], + "type": "structure" + }, + "ListVodSourcesResponse": { + "members": { + "Items": { + "shape": "__listOfVodSource" + }, + "NextToken": { + "shape": "__string" + } + }, + "type": "structure" + }, + "LivePreRollConfiguration": { + "members": { + "AdDecisionServerUrl": { + "shape": "__string" + }, + "MaxDurationSeconds": { + "shape": "__integer" + } + }, + "type": "structure" + }, + "ManifestProcessingRules": { + "members": { "AdMarkerPassthrough": { - "type": "structure", - "members": { - "Enabled": { - "shape": "__boolean" - } - } + "shape": "AdMarkerPassthrough" + } + }, + "type": "structure" + }, + "MaxResults": { + "max": 100, + "min": 1, + "type": "integer" + }, + "MessageType": { + "enum": [ + "SPLICE_INSERT" + ], + "type": "string" + }, + "Mode": { + "enum": [ + "OFF", + "BEHIND_LIVE_EDGE" + ], + "type": "string" + }, + "OriginManifestType": { + "enum": [ + "SINGLE_PERIOD", + "MULTI_PERIOD" + ], + "type": "string" + }, + "PlaybackConfiguration": { + "members": { + "AdDecisionServerUrl": { + "shape": "__string" }, "AvailSuppression": { - "type": "structure", - "members": { - "Mode": { - "shape": "Mode" - }, - "Value": { - "shape": "__string" - } - } - }, - "BadRequestException": { - "error": { - "httpStatusCode": 400 - }, - "exception": true, - "members": { - "Message": { - "shape": "__string" - } - }, - "type": "structure" + "shape": "AvailSuppression" }, "Bumper": { - "type": "structure", - "members": { - "EndUrl": { - "shape": "__string" - }, - "StartUrl": { - "shape": "__string" - } - } + "shape": "Bumper" }, "CdnConfiguration": { - "members": { - "AdSegmentUrlPrefix": { - "shape": "__string" - }, - "ContentSegmentUrlPrefix": { - "shape": "__string" - } - }, - "type": "structure" - }, - "ConfigurationAliasesRequest": { - "key": { - "shape": "__string" - }, - "type": "map", - "value": { - "shape": "__mapOf__string" - } - }, - "ConfigurationAliasesResponse": { - "key": { - "shape": "__string" - }, - "type": "map", - "value": { - "shape": "__mapOf__string" - } + "shape": "CdnConfiguration" + }, + "ConfigurationAliases": { + "shape": "ConfigurationAliasesResponse" }, "DashConfiguration": { - "members": { - "ManifestEndpointPrefix": { - "shape": "__string" - }, - "MpdLocation": { - "shape": "__string" - }, - "OriginManifestType": { - "shape": "OriginManifestType" - } - }, - "type": "structure" - }, - "DashConfigurationForPut": { - "members": { - "MpdLocation": { - "shape": "__string" - }, - "OriginManifestType": { - "shape": "OriginManifestType" - } - }, - "type": "structure" - }, - "DeletePlaybackConfigurationRequest": { - "members": { - "Name": { - "location": "uri", - "locationName": "Name", - "shape": "__string" - } - }, - "required": [ - "Name" - ], - "type": "structure" - }, - "DeletePlaybackConfigurationResponse": { - "members": {}, - "type": "structure" - }, - "GetPlaybackConfigurationRequest": { - "members": { - "Name": { - "location": "uri", - "locationName": "Name", - "shape": "__string" - } - }, - "required": [ - "Name" - ], - "type": "structure" - }, - "GetPlaybackConfigurationResponse": { - "members": { - "AdDecisionServerUrl": { - "shape": "__string" - }, - "AvailSuppression": { - "shape": "AvailSuppression" - }, - "Bumper": { - "shape": "Bumper" - }, - "CdnConfiguration": { - "shape": "CdnConfiguration" - }, - "PersonalizationThresholdSeconds": { - "shape": "__integerMin1" - }, - "ConfigurationAliases": { - "shape": "ConfigurationAliasesResponse" - }, - "DashConfiguration": { - "shape": "DashConfiguration" - }, - "HlsConfiguration": { - "shape": "HlsConfiguration" - }, - "LivePreRollConfiguration": { - "shape": "LivePreRollConfiguration" - }, - "ManifestProcessingRules": { - "shape": "ManifestProcessingRules" - }, - "Name": { - "shape": "__string" - }, - "PlaybackConfigurationArn": { - "shape": "__string" - }, - "PlaybackEndpointPrefix": { - "shape": "__string" - }, - "SessionInitializationEndpointPrefix": { - "shape": "__string" - }, - "SlateAdUrl": { - "shape": "__string" - }, - "Tags": { - "locationName": "tags", - "shape": "__mapOf__string" - }, - "TranscodeProfileName": { - "shape": "__string" - }, - "VideoContentSourceUrl": { - "shape": "__string" - } - }, - "type": "structure" + "shape": "DashConfiguration" }, "HlsConfiguration": { - "members": { - "ManifestEndpointPrefix": { - "shape": "__string" - } - }, - "type": "structure" - }, - "ListPlaybackConfigurationsRequest": { - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "shape": "__integerMin1Max100" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken", - "shape": "__string" - } - }, - "type": "structure" - }, - "ListPlaybackConfigurationsResponse": { - "members": { - "Items": { - "shape": "__listOfPlaybackConfigurations" - }, - "NextToken": { - "shape": "__string" - } - }, - "type": "structure" - }, - "ListTagsForResourceRequest": { - "members": { - "ResourceArn": { - "location": "uri", - "locationName": "ResourceArn", - "shape": "__string" - } - }, - "required": [ - "ResourceArn" - ], - "type": "structure" - }, - "ListTagsForResourceResponse": { - "members": { - "Tags": { - "locationName": "tags", - "shape": "__mapOf__string" - } - }, - "type": "structure" + "shape": "HlsConfiguration" }, - "OriginManifestType": { - "enum": [ - "SINGLE_PERIOD", - "MULTI_PERIOD" - ], - "type": "string" + "LivePreRollConfiguration": { + "shape": "LivePreRollConfiguration" }, "ManifestProcessingRules": { - "type": "structure", - "members": { - "AdMarkerPassthrough": { - "shape": "AdMarkerPassthrough" - } - } + "shape": "ManifestProcessingRules" }, - "Mode": { - "enum": [ - "OFF", - "BEHIND_LIVE_EDGE" - ], - "type": "string" - }, - "PlaybackConfiguration": { - "members": { - "AdDecisionServerUrl": { - "shape": "__string" - }, - "CdnConfiguration": { - "shape": "CdnConfiguration" - }, - "PersonalizationThresholdSeconds": { - "shape": "__integerMin1" - }, - "ConfigurationAliases": { - "shape": "ConfigurationAliasesResponse" - }, - "DashConfiguration": { - "shape": "DashConfiguration" - }, - "HlsConfiguration": { - "shape": "HlsConfiguration" - }, - "Name": { - "shape": "__string" - }, - "PlaybackConfigurationArn": { - "shape": "__string" - }, - "PlaybackEndpointPrefix": { - "shape": "__string" - }, - "SessionInitializationEndpointPrefix": { - "shape": "__string" - }, - "SlateAdUrl": { - "shape": "__string" - }, - "Tags": { - "locationName": "tags", - "shape": "__mapOf__string" - }, - "TranscodeProfileName": { - "shape": "__string" - }, - "VideoContentSourceUrl": { - "shape": "__string" - } - }, - "type": "structure" + "Name": { + "shape": "__string" + }, + "PersonalizationThresholdSeconds": { + "shape": "__integerMin1" + }, + "PlaybackConfigurationArn": { + "shape": "__string" + }, + "PlaybackEndpointPrefix": { + "shape": "__string" + }, + "SessionInitializationEndpointPrefix": { + "shape": "__string" + }, + "SlateAdUrl": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "TranscodeProfileName": { + "shape": "__string" + }, + "VideoContentSourceUrl": { + "shape": "__string" + } + }, + "type": "structure" + }, + "PlaybackMode": { + "enum": [ + "LOOP" + ], + "type": "string" + }, + "Program": { + "members": { + "AdBreaks": { + "shape": "__listOfAdBreak" + }, + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "ProgramName": { + "shape": "__string" + }, + "SourceLocationName": { + "shape": "__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "required": [ + "VodSourceName", + "ChannelName", + "SourceLocationName", + "Arn", + "ProgramName" + ], + "type": "structure" + }, + "PutChannelPolicyRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "Policy": { + "shape": "__string" + } + }, + "required": [ + "ChannelName", + "Policy" + ], + "type": "structure" + }, + "PutChannelPolicyResponse": { + "members": {}, + "type": "structure" + }, + "PutPlaybackConfigurationRequest": { + "members": { + "AdDecisionServerUrl": { + "shape": "__string" + }, + "AvailSuppression": { + "shape": "AvailSuppression" + }, + "Bumper": { + "shape": "Bumper" + }, + "CdnConfiguration": { + "shape": "CdnConfiguration" + }, + "ConfigurationAliases": { + "shape": "ConfigurationAliasesRequest" + }, + "DashConfiguration": { + "shape": "DashConfigurationForPut" }, "LivePreRollConfiguration": { - "type": "structure", - "members": { - "AdDecisionServerUrl": { - "shape": "__string" - }, - "MaxDurationSeconds": { - "shape": "__integer" - } - } - }, - "PutPlaybackConfigurationRequest": { - "members": { - "AdDecisionServerUrl": { - "shape": "__string" - }, - "AvailSuppression": { - "shape": "AvailSuppression" - }, - "Bumper": { - "shape": "Bumper" - }, - "CdnConfiguration": { - "shape": "CdnConfiguration" - }, - "PersonalizationThresholdSeconds": { - "shape": "__integerMin1" - }, - "ConfigurationAliases": { - "shape": "ConfigurationAliasesRequest" - }, - "DashConfiguration": { - "shape": "DashConfigurationForPut" - }, - "LivePreRollConfiguration": { - "shape": "LivePreRollConfiguration" - }, - "ManifestProcessingRules": { - "shape": "ManifestProcessingRules" - }, - "Name": { - "shape": "__string" - }, - "SlateAdUrl": { - "shape": "__string" - }, - "Tags": { - "locationName": "tags", - "shape": "__mapOf__string" - }, - "TranscodeProfileName": { - "shape": "__string" - }, - "VideoContentSourceUrl": { - "shape": "__string" - } - }, - "type": "structure" - }, - "PutPlaybackConfigurationResponse": { - "members": { - "AdDecisionServerUrl": { - "shape": "__string" - }, - "AvailSuppression": { - "shape": "AvailSuppression" - }, - "Bumper": { - "shape": "Bumper" - }, - "CdnConfiguration": { - "shape": "CdnConfiguration" - }, - "ConfigurationAliases": { - "shape": "ConfigurationAliasesResponse" - }, - "DashConfiguration": { - "shape": "DashConfiguration" - }, - "HlsConfiguration": { - "shape": "HlsConfiguration" - }, - "LivePreRollConfiguration": { - "shape": "LivePreRollConfiguration" - }, - "Name": { - "shape": "__string" - }, - "ManifestProcessingRules": { - "shape": "ManifestProcessingRules" - }, - "PlaybackConfigurationArn": { - "shape": "__string" - }, - "PlaybackEndpointPrefix": { - "shape": "__string" - }, - "SessionInitializationEndpointPrefix": { - "shape": "__string" - }, - "SlateAdUrl": { - "shape": "__string" - }, - "Tags": { - "locationName": "tags", - "shape": "__mapOf__string" - }, - "TranscodeProfileName": { - "shape": "__string" - }, - "VideoContentSourceUrl": { - "shape": "__string" - } - }, - "type": "structure" - }, - "TagResourceRequest": { - "members": { - "ResourceArn": { - "location": "uri", - "locationName": "ResourceArn", - "shape": "__string" - }, - "Tags": { - "locationName": "tags", - "shape": "__mapOf__string" - } - }, - "required": [ - "ResourceArn", - "Tags" - ], - "type": "structure" - }, - "TagsModel": { - "members": { - "Tags": { - "locationName": "tags", - "shape": "__mapOf__string" - } - }, - "required": [ - "Tags" - ], - "type": "structure" - }, - "UntagResourceRequest": { - "members": { - "ResourceArn": { - "location": "uri", - "locationName": "ResourceArn", - "shape": "__string" - }, - "TagKeys": { - "location": "querystring", - "locationName": "tagKeys", - "shape": "__listOf__string" - } - }, - "required": [ - "ResourceArn", - "TagKeys" - ], - "type": "structure" - }, - "__boolean": { - "type": "boolean" - }, - "__double": { - "type": "double" - }, - "__integer": { - "type": "integer" - }, - "__integerMin1": { - "type": "integer", - "min": 1 - }, - "__integerMin1Max100": { - "max": 100, - "min": 1, - "type": "integer" - }, - "__listOfPlaybackConfigurations": { - "member": { - "shape": "PlaybackConfiguration" - }, - "type": "list" - }, - "__listOf__string": { - "member": { - "shape": "__string" - }, - "type": "list" - }, - "__long": { - "type": "long" - }, - "__mapOf__string": { - "key": { - "shape": "__string" - }, - "type": "map", - "value": { - "shape": "__string" - } - }, - "__string": { - "type": "string" - }, - "__timestampIso8601": { - "timestampFormat": "iso8601", - "type": "timestamp" - }, - "__timestampUnix": { - "timestampFormat": "unixTimestamp", - "type": "timestamp" + "shape": "LivePreRollConfiguration" + }, + "ManifestProcessingRules": { + "shape": "ManifestProcessingRules" + }, + "Name": { + "shape": "__string" + }, + "PersonalizationThresholdSeconds": { + "shape": "__integerMin1" + }, + "SlateAdUrl": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "TranscodeProfileName": { + "shape": "__string" + }, + "VideoContentSourceUrl": { + "shape": "__string" + } + }, + "type": "structure" + }, + "PutPlaybackConfigurationResponse": { + "members": { + "AdDecisionServerUrl": { + "shape": "__string" + }, + "AvailSuppression": { + "shape": "AvailSuppression" + }, + "Bumper": { + "shape": "Bumper" + }, + "CdnConfiguration": { + "shape": "CdnConfiguration" + }, + "ConfigurationAliases": { + "shape": "ConfigurationAliasesResponse" + }, + "DashConfiguration": { + "shape": "DashConfiguration" + }, + "HlsConfiguration": { + "shape": "HlsConfiguration" + }, + "LivePreRollConfiguration": { + "shape": "LivePreRollConfiguration" + }, + "ManifestProcessingRules": { + "shape": "ManifestProcessingRules" + }, + "Name": { + "shape": "__string" + }, + "PersonalizationThresholdSeconds": { + "shape": "__integerMin1" + }, + "PlaybackConfigurationArn": { + "shape": "__string" + }, + "PlaybackEndpointPrefix": { + "shape": "__string" + }, + "SessionInitializationEndpointPrefix": { + "shape": "__string" + }, + "SlateAdUrl": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "TranscodeProfileName": { + "shape": "__string" + }, + "VideoContentSourceUrl": { + "shape": "__string" + } + }, + "type": "structure" + }, + "RelativePosition": { + "enum": [ + "BEFORE_PROGRAM", + "AFTER_PROGRAM" + ], + "type": "string" + }, + "RequestOutputItem": { + "members": { + "DashPlaylistSettings": { + "shape": "DashPlaylistSettings" + }, + "HlsPlaylistSettings": { + "shape": "HlsPlaylistSettings" + }, + "ManifestName": { + "shape": "__string" + }, + "SourceGroup": { + "shape": "__string" + } + }, + "required": [ + "ManifestName", + "SourceGroup" + ], + "type": "structure" + }, + "RequestOutputs": { + "member": { + "shape": "RequestOutputItem" + }, + "type": "list" + }, + "ResponseOutputItem": { + "members": { + "DashPlaylistSettings": { + "shape": "DashPlaylistSettings" + }, + "HlsPlaylistSettings": { + "shape": "HlsPlaylistSettings" + }, + "ManifestName": { + "shape": "__string" + }, + "PlaybackUrl": { + "shape": "__string" + }, + "SourceGroup": { + "shape": "__string" + } + }, + "required": [ + "ManifestName", + "PlaybackUrl", + "SourceGroup" + ], + "type": "structure" + }, + "ResponseOutputs": { + "member": { + "shape": "ResponseOutputItem" + }, + "type": "list" + }, + "ScheduleConfiguration": { + "members": { + "Transition": { + "shape": "Transition" + } + }, + "required": [ + "Transition" + ], + "type": "structure" + }, + "ScheduleEntry": { + "members": { + "ApproximateDurationSeconds": { + "shape": "__long" + }, + "ApproximateStartTime": { + "shape": "__timestampUnix" + }, + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "ProgramName": { + "shape": "__string" + }, + "SourceLocationName": { + "shape": "__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "required": [ + "VodSourceName", + "ChannelName", + "SourceLocationName", + "Arn", + "ProgramName" + ], + "type": "structure" + }, + "SlateSource": { + "members": { + "SourceLocationName": { + "shape": "__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "type": "structure" + }, + "SourceLocation": { + "members": { + "AccessConfiguration": { + "shape": "AccessConfiguration" + }, + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "DefaultSegmentDeliveryConfiguration": { + "shape": "DefaultSegmentDeliveryConfiguration" + }, + "HttpConfiguration": { + "shape": "HttpConfiguration" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "required": [ + "SourceLocationName", + "HttpConfiguration", + "Arn" + ], + "type": "structure" + }, + "SpliceInsertMessage": { + "members": { + "AvailNum": { + "shape": "__integer" + }, + "AvailsExpected": { + "shape": "__integer" + }, + "SpliceEventId": { + "shape": "__integer" + }, + "UniqueProgramId": { + "shape": "__integer" + } + }, + "type": "structure" + }, + "StartChannelRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "StartChannelResponse": { + "members": {}, + "type": "structure" + }, + "StopChannelRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + } + }, + "required": [ + "ChannelName" + ], + "type": "structure" + }, + "StopChannelResponse": { + "members": {}, + "type": "structure" + }, + "TagResourceRequest": { + "members": { + "ResourceArn": { + "location": "uri", + "locationName": "ResourceArn", + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "required": [ + "ResourceArn", + "Tags" + ], + "type": "structure" + }, + "Transition": { + "members": { + "RelativePosition": { + "shape": "RelativePosition" + }, + "RelativeProgram": { + "shape": "__string" + }, + "Type": { + "shape": "__string" + } + }, + "required": [ + "Type", + "RelativePosition" + ], + "type": "structure" + }, + "Type": { + "enum": [ + "DASH", + "HLS" + ], + "type": "string" + }, + "UntagResourceRequest": { + "members": { + "ResourceArn": { + "location": "uri", + "locationName": "ResourceArn", + "shape": "__string" + }, + "TagKeys": { + "location": "querystring", + "locationName": "tagKeys", + "shape": "__listOf__string" } + }, + "required": [ + "ResourceArn", + "TagKeys" + ], + "type": "structure" + }, + "UpdateChannelRequest": { + "members": { + "ChannelName": { + "location": "uri", + "locationName": "channelName", + "shape": "__string" + }, + "Outputs": { + "shape": "RequestOutputs" + } + }, + "required": [ + "ChannelName", + "Outputs" + ], + "type": "structure" + }, + "UpdateChannelResponse": { + "members": { + "Arn": { + "shape": "__string" + }, + "ChannelName": { + "shape": "__string" + }, + "ChannelState": { + "shape": "ChannelState" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "Outputs": { + "shape": "ResponseOutputs" + }, + "PlaybackMode": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "type": "structure" + }, + "UpdateSourceLocationRequest": { + "members": { + "AccessConfiguration": { + "shape": "AccessConfiguration" + }, + "DefaultSegmentDeliveryConfiguration": { + "shape": "DefaultSegmentDeliveryConfiguration" + }, + "HttpConfiguration": { + "shape": "HttpConfiguration" + }, + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName", + "HttpConfiguration" + ], + "type": "structure" + }, + "UpdateSourceLocationResponse": { + "members": { + "AccessConfiguration": { + "shape": "AccessConfiguration" + }, + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "DefaultSegmentDeliveryConfiguration": { + "shape": "DefaultSegmentDeliveryConfiguration" + }, + "HttpConfiguration": { + "shape": "HttpConfiguration" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + } + }, + "type": "structure" + }, + "UpdateVodSourceRequest": { + "members": { + "HttpPackageConfigurations": { + "shape": "HttpPackageConfigurations" + }, + "SourceLocationName": { + "location": "uri", + "locationName": "sourceLocationName", + "shape": "__string" + }, + "VodSourceName": { + "location": "uri", + "locationName": "vodSourceName", + "shape": "__string" + } + }, + "required": [ + "SourceLocationName", + "VodSourceName", + "HttpPackageConfigurations" + ], + "type": "structure" + }, + "UpdateVodSourceResponse": { + "members": { + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "HttpPackageConfigurations": { + "shape": "HttpPackageConfigurations" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "type": "structure" + }, + "VodSource": { + "members": { + "Arn": { + "shape": "__string" + }, + "CreationTime": { + "shape": "__timestampUnix" + }, + "HttpPackageConfigurations": { + "shape": "HttpPackageConfigurations" + }, + "LastModifiedTime": { + "shape": "__timestampUnix" + }, + "SourceLocationName": { + "shape": "__string" + }, + "Tags": { + "locationName": "tags", + "shape": "__mapOf__string" + }, + "VodSourceName": { + "shape": "__string" + } + }, + "required": [ + "VodSourceName", + "SourceLocationName", + "HttpPackageConfigurations", + "Arn" + ], + "type": "structure" + }, + "__boolean": { + "type": "boolean" + }, + "__integer": { + "type": "integer" + }, + "__integerMin1": { + "min": 1, + "type": "integer" + }, + "__listOfAdBreak": { + "member": { + "shape": "AdBreak" + }, + "type": "list" + }, + "__listOfChannel": { + "member": { + "shape": "Channel" + }, + "type": "list" + }, + "__listOfPlaybackConfiguration": { + "member": { + "shape": "PlaybackConfiguration" + }, + "type": "list" + }, + "__listOfProgram": { + "member": { + "shape": "Program" + }, + "type": "list" + }, + "__listOfScheduleEntry": { + "member": { + "shape": "ScheduleEntry" + }, + "type": "list" + }, + "__listOfSourceLocation": { + "member": { + "shape": "SourceLocation" + }, + "type": "list" + }, + "__listOfVodSource": { + "member": { + "shape": "VodSource" + }, + "type": "list" + }, + "__listOf__string": { + "member": { + "shape": "__string" + }, + "type": "list" + }, + "__long": { + "type": "long" + }, + "__mapOf__string": { + "key": { + "shape": "__string" + }, + "type": "map", + "value": { + "shape": "__string" + } + }, + "__string": { + "type": "string" + }, + "__timestampUnix": { + "timestampFormat": "unixTimestamp", + "type": "timestamp" } + } } \ No newline at end of file diff --git a/models/apis/mediatailor/2018-04-23/docs-2.json b/models/apis/mediatailor/2018-04-23/docs-2.json index 5904cc97a3d..4206dc6d1fb 100644 --- a/models/apis/mediatailor/2018-04-23/docs-2.json +++ b/models/apis/mediatailor/2018-04-23/docs-2.json @@ -1,178 +1,654 @@ { - "operations": { - "DeletePlaybackConfiguration": "Deletes the playback configuration for the specified name.
", - "GetPlaybackConfiguration": "Returns the playback configuration for the specified name.
", - "ListPlaybackConfigurations": "Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
", - "ListTagsForResource": "Returns a list of the tags assigned to the specified playback configuration resource.
", - "PutPlaybackConfiguration": "Adds a new playback configuration to AWS Elemental MediaTailor.
", - "TagResource": "Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
", - "UntagResource": "Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
" - }, - "service": "Use the AWS Elemental MediaTailor SDK to configure scalable ad insertion for your live and VOD content. With AWS Elemental MediaTailor, you can serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDK, you manage AWS Elemental MediaTailor configurations the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
", - "shapes": { - "AdMarkerPassthrough": { - "base": null, - "refs": { - "ManifestProcessingRules$AdMarkerPassthrough": "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.
The configuration for Avail Suppression.
", - "PutPlaybackConfigurationRequest$AvailSuppression": "The configuration for Avail Suppression.
" - } - }, - "BadRequestException": { - "base": "One of the parameters in the request is invalid.
", - "refs": {} - }, - "Bumper": { - "base": "The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break.
", - "refs": { - "GetPlaybackConfigurationResponse$Bumper": "The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break.
", - "PutPlaybackConfigurationRequest$Bumper": "The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break.
" - } - }, - "CdnConfiguration": { - "base": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
", - "refs": { - "GetPlaybackConfigurationResponse$CdnConfiguration": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
", - "PutPlaybackConfigurationRequest$CdnConfiguration": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
" - } - }, - "ConfigurationAliasesRequest": { - "base": "Predefined aliases for dynamic variables.
", - "refs": { - "PutPlaybackConfigurationRequest$ConfigurationAliases": "Predefined aliases for dynamic variables.
" - } - }, - "ConfigurationAliasesResponse": { - "base": "Predefined aliases for dynamic variables.
", - "refs": { - "GetPlaybackConfigurationResponse$ConfigurationAliases": "Predefined aliases for dynamic variables.
", - "PlaybackConfiguration$ConfigurationAliases": "Predefined aliases for dynamic variables.
" - } - }, - "DashConfiguration": { - "base": "The configuration for DASH content.
", - "refs": { - "GetPlaybackConfigurationResponse$DashConfiguration": "The configuration for DASH content.
" - } - }, - "DashConfigurationForPut": { - "base": "The configuration for DASH PUT operations.
", - "refs": { - "PutPlaybackConfigurationRequest$DashConfiguration": "The configuration for DASH content.
" - } - }, - "DeletePlaybackConfigurationResponse": { - "base": null, - "refs": {} - }, - "GetPlaybackConfigurationResponse": { - "base": null, - "refs": {} - }, - "HlsConfiguration": { - "base": "The configuration for HLS content.
", - "refs": { - "GetPlaybackConfigurationResponse$HlsConfiguration": "The configuration for HLS content.
" - } - }, - "ListPlaybackConfigurationsResponse": { - "base": null, - "refs": {} - }, - "LivePreRollConfiguration": { - "base": "The configuration for pre-roll ad insertion.
", - "refs": { - "GetPlaybackConfigurationResponse$LivePreRollConfiguration": "The configuration for pre-roll ad insertion.
", - "PutPlaybackConfigurationRequest$LivePreRollConfiguration": "The configuration for pre-roll ad insertion.
" - } - }, - "ManifestProcessingRules": { - "base": "The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.", - "refs": { - "GetPlaybackConfigurationResponse$ManifestProcessingRules": "The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.", - "PutPlaybackConfigurationRequest$ManifestProcessingRules": "The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor." - } - }, - "OriginManifestType": { - "base": null, - "refs": { - "DashConfiguration$OriginManifestType": "The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD.
", - "DashConfigurationForPut$OriginManifestType": "The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD.
" - } - }, - "PlaybackConfiguration": { - "refs": { - "__listOfPlaybackConfigurations$member": "The AWSMediaTailor configuration.
" - } - }, - "PutPlaybackConfigurationRequest": { - "base": null, - "refs": {} - }, - "TagsModel": { - "base": "A set of tags assigned to a resource.
", - "refs": {} - }, - "__integer": { - "base": null, - "refs": { - "LivePreRollConfiguration$MaxDurationSeconds": "The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.", - "GetPlaybackConfigurationResponse$PersonalizationThresholdSeconds": "The maximum duration of underfilled ad time (in seconds) allowed in an ad break.", - "PutPlaybackConfigurationRequest$PersonalizationThresholdSeconds": "The maximum duration of underfilled ad time (in seconds) allowed in an ad break." - } - }, - "__listOfPlaybackConfigurations": { - "base": null, - "refs": { - "ListPlaybackConfigurationsResponse$Items": "Array of playback configurations. This might be all the available configurations or a subset, depending on the settings that you provide and the total number of configurations stored.
" - } - }, - "__mapOf__string": { - "base": null, - "refs": { - "ConfigurationAliasesRequest$member": "Map of aliases to the value to be used at request time.
", - "ConfigurationAliasesResponse$member": "Map of aliases to the value to be used at request time.
", - "GetPlaybackConfigurationResponse$Tags": "The tags assigned to the playback configuration.
", - "PutPlaybackConfigurationRequest$Tags": "The tags to assign to the playback configuration.
", - "TagsModel$Tags": "A comma-separated list of tag key:value pairs. For example: \n {\n \"Key1\": \"Value1\",\n \"Key2\": \"Value2\"\n }\n
" - } - }, - "__string": { - "base": null, - "refs": { - "AvailSuppression$Value": "Sets the mode for avail suppression, also known as ad suppression. By default, ad suppression is off and all ad breaks are filled by MediaTailor with ads or slate.", - "BadRequestException$Message": "One of the parameters in the request is invalid.
", - "CdnConfiguration$AdSegmentUrlPrefix": "A non-default content delivery network (CDN) to serve ad segments. By default, AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the following origin: ads.mediatailor.<region>.amazonaws.com. Then specify the rule's name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments.
", - "CdnConfiguration$ContentSegmentUrlPrefix": "A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server. First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in this ContentSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments.
", - "DashConfiguration$ManifestEndpointPrefix": "The URL generated by MediaTailor to initiate a playback session. The session uses server-side reporting. This setting is ignored in PUT operations.
", - "DashConfiguration$MpdLocation": "The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.
", - "DashConfigurationForPut$MpdLocation": "The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.
", - "GetPlaybackConfigurationResponse$AdDecisionServerUrl": "The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.
", - "GetPlaybackConfigurationResponse$Name": "The identifier for the playback configuration.
", - "GetPlaybackConfigurationResponse$PlaybackConfigurationArn": "The Amazon Resource Name (ARN) for the playback configuration.
", - "GetPlaybackConfigurationResponse$PlaybackEndpointPrefix": "The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.
", - "GetPlaybackConfigurationResponse$SessionInitializationEndpointPrefix": "The URL that the player uses to initialize a session that uses client-side reporting.
", - "GetPlaybackConfigurationResponse$SlateAdUrl": "The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
", - "GetPlaybackConfigurationResponse$TranscodeProfileName": "The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
", - "GetPlaybackConfigurationResponse$PersonalizationThresholdSeconds": "The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
", - "GetPlaybackConfigurationResponse$VideoContentSourceUrl": "The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
", - "HlsConfiguration$ManifestEndpointPrefix": "The URL that is used to initiate a playback session for devices that support Apple HLS. The session uses server-side reporting.
", - "ListPlaybackConfigurationsResponse$NextToken": "Pagination token returned by the GET list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
", - "LivePreRollConfiguration$AdDecisionServerUrl": "The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.
", - "PutPlaybackConfigurationRequest$AdDecisionServerUrl": "The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.
", - "PutPlaybackConfigurationRequest$Name": "The identifier for the playback configuration.
", - "PutPlaybackConfigurationRequest$SlateAdUrl": "The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID configurations. For VPAID, the slate is required because MediaTailor provides it in the slots that are designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
", - "PutPlaybackConfigurationRequest$TranscodeProfileName": "The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
", - "PutPlaybackConfigurationRequest$PersonalizationThresholdSeconds": "The maximum duration of underfilled ad time (in seconds) allowed in an ad break.
", - "PutPlaybackConfigurationRequest$VideoContentSourceUrl": "The URL prefix for the master playlist for the stream, minus the asset ID. The maximum length is 512 characters.
", - "__mapOf__string$member": null - } - } - }, - "version": "2.0" + "version": "2.0", + "service": "Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
", + "operations": { + "CreateChannel": "Creates a channel.
", + "CreateProgram": "Creates a program.
", + "CreateSourceLocation": "Creates a source location on a specific channel.
", + "CreateVodSource": "Creates name for a specific VOD source in a source location.
", + "DeleteChannel": "Deletes a channel. You must stop the channel before it can be deleted.
", + "DeleteChannelPolicy": "Deletes a channel's IAM policy.
", + "DeletePlaybackConfiguration": "Deletes the playback configuration for the specified name.
", + "DeleteProgram": "Deletes a specific program on a specific channel.
", + "DeleteSourceLocation": "Deletes a source location on a specific channel.
", + "DeleteVodSource": "Deletes a specific VOD source in a specific source location.
", + "DescribeChannel": "Describes the properties of a specific channel.
", + "DescribeProgram": "Retrieves the properties of the requested program.
", + "DescribeSourceLocation": "Retrieves the properties of the requested source location.
", + "DescribeVodSource": "Provides details about a specific VOD source in a specific source location.
", + "GetChannelPolicy": "Retrieves information about a channel's IAM policy.
", + "GetChannelSchedule": "Retrieves information about your channel's schedule.
", + "GetPlaybackConfiguration": "Returns the playback configuration for the specified name.
", + "ListChannels": "Retrieves a list of channels that are associated with this account.
", + "ListPlaybackConfigurations": "Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
", + "ListPrograms": "Retrieves a list of programs on a specific channel.
", + "ListSourceLocations": "Retrieves a list of source locations.
", + "ListTagsForResource": "Returns a list of the tags assigned to the specified playback configuration resource.
", + "ListVodSources": "Lists all the VOD sources in a source location.
", + "PutChannelPolicy": "Creates an IAM policy for the channel.
", + "PutPlaybackConfiguration": "Adds a new playback configuration to AWS Elemental MediaTailor.
", + "StartChannel": "Starts a specific channel.
", + "StopChannel": "Stops a specific channel.
", + "TagResource": "Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
", + "UntagResource": "Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
", + "UpdateChannel": "Updates an existing channel.
", + "UpdateSourceLocation": "Updates a source location on a specific channel.
", + "UpdateVodSource": "Updates a specific VOD source in a specific source location.
" + }, + "shapes": { + "AccessConfiguration": { + "base": "Access configuration parameters.
", + "refs": { + "CreateSourceLocationRequest$AccessConfiguration": "Access configuration parameters. Configures the type of authentication used to access content from your source location.
", + "DescribeSourceLocationResponse$AccessConfiguration": "The access configuration for the source location.
", + "SourceLocation$AccessConfiguration": "The access configuration for the source location.
", + "UpdateSourceLocationRequest$AccessConfiguration": "Access configuration parameters. Configures the type of authentication used to access content from your source location.
" + } + }, + "AccessType": { + "base": null, + "refs": { + "AccessConfiguration$AccessType": "The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4.
S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.
Before you can use S3_SIGV4, you must meet these requirements:
• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.
• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.
• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.
" + } + }, + "AdBreak": { + "base": "Ad break configuration parameters.
", + "refs": { + "__listOfAdBreak$member": null + } + }, + "AdMarkerPassthrough": { + "base": "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.
", + "refs": { + "ManifestProcessingRules$AdMarkerPassthrough": "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.
" + } + }, + "AvailSuppression": { + "base": "The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.
", + "refs": { + "GetPlaybackConfigurationResponse$AvailSuppression": "The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.
", + "PlaybackConfiguration$AvailSuppression": "The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.
", + "PutPlaybackConfigurationRequest$AvailSuppression": "The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.
" + } + }, + "BadRequestException": { + "base": "A request contains unexpected data.
", + "refs": {} + }, + "Bumper": { + "base": "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.
", + "refs": { + "GetPlaybackConfigurationResponse$Bumper": "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.
", + "PlaybackConfiguration$Bumper": "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.
", + "PutPlaybackConfigurationRequest$Bumper": "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.
" + } + }, + "CdnConfiguration": { + "base": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
", + "refs": { + "GetPlaybackConfigurationResponse$CdnConfiguration": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
", + "PlaybackConfiguration$CdnConfiguration": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
", + "PutPlaybackConfigurationRequest$CdnConfiguration": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
" + } + }, + "Channel": { + "base": "The configuration parameters for a channel.
", + "refs": { + "__listOfChannel$member": null + } + }, + "ChannelState": { + "base": null, + "refs": { + "DescribeChannelResponse$ChannelState": "Indicates whether the channel is in a running state or not.
" + } + }, + "ConfigurationAliasesRequest": { + "base": "The predefined aliases for dynamic variables.
", + "refs": { + "PutPlaybackConfigurationRequest$ConfigurationAliases": "The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.
" + } + }, + "ConfigurationAliasesResponse": { + "base": "The predefined aliases for dynamic variables.
", + "refs": { + "GetPlaybackConfigurationResponse$ConfigurationAliases": "The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.
", + "PlaybackConfiguration$ConfigurationAliases": "The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.
" + } + }, + "CreateChannelRequest": { + "base": "The configuration for this channel.
", + "refs": {} + }, + "CreateProgramRequest": { + "base": "Program configuration parameters.
", + "refs": {} + }, + "CreateSourceLocationRequest": { + "base": "Source location configuration parameters.
", + "refs": {} + }, + "CreateVodSourceRequest": { + "base": "The VOD source configuration parameters.
", + "refs": {} + }, + "DashConfiguration": { + "base": "The configuration for DASH content.
", + "refs": { + "GetPlaybackConfigurationResponse$DashConfiguration": "The configuration for DASH content.
", + "PlaybackConfiguration$DashConfiguration": "The configuration for a DASH source.
" + } + }, + "DashConfigurationForPut": { + "base": "The configuration for DASH PUT operations.
", + "refs": { + "PutPlaybackConfigurationRequest$DashConfiguration": "The configuration for DASH content.
" + } + }, + "DashPlaylistSettings": { + "base": "Dash manifest configuration parameters.
", + "refs": { + "RequestOutputItem$DashPlaylistSettings": "DASH manifest configuration parameters.
", + "ResponseOutputItem$DashPlaylistSettings": "DASH manifest configuration settings.
" + } + }, + "DefaultSegmentDeliveryConfiguration": { + "base": "The optional configuration for a server that serves segments. Use this if you want the segment delivery server to be different from the source location server. For example, you can configure your source location server to be an origination server, such as MediaPackage, and the segment delivery server to be a content delivery network (CDN), such as CloudFront. If you don't specify a segment delivery server, then the source location server is used.
", + "refs": { + "CreateSourceLocationRequest$DefaultSegmentDeliveryConfiguration": "The optional configuration for the server that serves segments.
", + "DescribeSourceLocationResponse$DefaultSegmentDeliveryConfiguration": "The default segment delivery configuration settings.
", + "SourceLocation$DefaultSegmentDeliveryConfiguration": "The default segment delivery configuration.
", + "UpdateSourceLocationRequest$DefaultSegmentDeliveryConfiguration": "The optional configuration for the host server that serves segments.
" + } + }, + "DeleteChannelPolicyRequest": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "DeleteChannelPolicyResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "DeleteChannelResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "DeletePlaybackConfigurationResponse": { + "base": null, + "refs": {} + }, + "DeleteProgramResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "DeleteSourceLocationResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "DeleteVodSourceResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "DescribeChannelResponse": { + "base": "Returns a channel's properties.
", + "refs": {} + }, + "DescribeProgramResponse": { + "base": "This program's configuration parameters.
", + "refs": {} + }, + "DescribeSourceLocationResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "DescribeVodSourceResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "GetChannelPolicyResponse": { + "base": "Returns the channel's IAM policy.
", + "refs": {} + }, + "GetChannelScheduleResponse": { + "base": "Returns the schedule entries for the channel.
", + "refs": {} + }, + "GetPlaybackConfigurationResponse": { + "base": "Returns the playback configuration for the specified name.
", + "refs": {} + }, + "HlsConfiguration": { + "base": "The configuration for HLS content.
", + "refs": { + "GetPlaybackConfigurationResponse$HlsConfiguration": "The configuration for HLS content.
", + "PlaybackConfiguration$HlsConfiguration": "The configuration for HLS content.
" + } + }, + "HlsPlaylistSettings": { + "base": "HLS playlist configuration parameters.
", + "refs": { + "RequestOutputItem$HlsPlaylistSettings": "HLS playlist configuration parameters.
", + "ResponseOutputItem$HlsPlaylistSettings": "HLS manifest configuration settings.
" + } + }, + "HttpConfiguration": { + "base": "The HTTP configuration for the source location.
", + "refs": { + "CreateSourceLocationRequest$HttpConfiguration": "The source's HTTP package configurations.
", + "DescribeSourceLocationResponse$HttpConfiguration": "The HTTP package configuration settings for the source location.
", + "SourceLocation$HttpConfiguration": "The HTTP configuration for the source location.
", + "UpdateSourceLocationRequest$HttpConfiguration": "The HTTP configuration for the source location.
" + } + }, + "HttpPackageConfiguration": { + "base": "The HTTP package configuration properties for the requested VOD source.
", + "refs": { + "HttpPackageConfigurations$member": null + } + }, + "HttpPackageConfigurations": { + "base": "The VOD source's HTTP package configuration settings.
", + "refs": { + "CreateVodSourceRequest$HttpPackageConfigurations": "An array of HTTP package configuration parameters for this VOD source.
", + "DescribeVodSourceResponse$HttpPackageConfigurations": "The HTTP package configurations.
", + "UpdateVodSourceRequest$HttpPackageConfigurations": "An array of HTTP package configurations for the VOD source on this account.
", + "VodSource$HttpPackageConfigurations": "The HTTP package configurations for the VOD source.
" + } + }, + "ListChannelsResponse": { + "base": "Returns a list of channels.
", + "refs": {} + }, + "ListPlaybackConfigurationsResponse": { + "base": "Returns a list of playback configurations.
", + "refs": {} + }, + "ListProgramsResponse": { + "base": "Returns a list of programs for a channel.
", + "refs": {} + }, + "ListSourceLocationsResponse": { + "base": "Lists the source locations.
", + "refs": {} + }, + "ListVodSourcesResponse": { + "base": "An array of VOD sources.
", + "refs": {} + }, + "LivePreRollConfiguration": { + "base": "The configuration for pre-roll ad insertion.
", + "refs": { + "GetPlaybackConfigurationResponse$LivePreRollConfiguration": "The configuration for pre-roll ad insertion.
", + "PlaybackConfiguration$LivePreRollConfiguration": "The configuration for pre-roll ad insertion.
", + "PutPlaybackConfigurationRequest$LivePreRollConfiguration": "The configuration for pre-roll ad insertion.
" + } + }, + "ManifestProcessingRules": { + "base": "The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
", + "refs": { + "GetPlaybackConfigurationResponse$ManifestProcessingRules": "The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
", + "PlaybackConfiguration$ManifestProcessingRules": "The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
", + "PutPlaybackConfigurationRequest$ManifestProcessingRules": "The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
" + } + }, + "MessageType": { + "base": null, + "refs": { + "AdBreak$MessageType": "The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.
" + } + }, + "Mode": { + "base": null, + "refs": { + "AvailSuppression$Mode": "Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to 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.
" + } + }, + "OriginManifestType": { + "base": null, + "refs": { + "DashConfiguration$OriginManifestType": "The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD.
", + "DashConfigurationForPut$OriginManifestType": "The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD.
" + } + }, + "PlaybackConfiguration": { + "base": "Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
", + "refs": { + "__listOfPlaybackConfiguration$member": "The AWSMediaTailor configuration.
" + } + }, + "PlaybackMode": { + "base": null, + "refs": { + "CreateChannelRequest$PlaybackMode": "The type of playback mode for this channel. The only supported value is LOOP.
" + } + }, + "Program": { + "base": "Program configuration parameters.
", + "refs": { + "__listOfProgram$member": null + } + }, + "PutChannelPolicyRequest": { + "base": "Adds an IAM policy for the channel.
", + "refs": {} + }, + "PutChannelPolicyResponse": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": {} + }, + "PutPlaybackConfigurationRequest": { + "base": "The configuration for creating a playback configuration.
", + "refs": {} + }, + "RelativePosition": { + "base": null, + "refs": { + "Transition$RelativePosition": "The position where this program will be inserted relative to the RelativeProgram. Possible values are: AFTER_PROGRAM, and BEFORE_PROGRAM.
" + } + }, + "RequestOutputItem": { + "base": "The ouput configuration for this channel.
", + "refs": { + "RequestOutputs$member": null + } + }, + "RequestOutputs": { + "base": "An object that represents an object in the CreateChannel request.
", + "refs": { + "CreateChannelRequest$Outputs": "The channel's output properties.
", + "UpdateChannelRequest$Outputs": "The channel's output properties.
" + } + }, + "ResponseOutputItem": { + "base": "This response includes only the \"property\" : \"type\" property.
", + "refs": { + "ResponseOutputs$member": null + } + }, + "ResponseOutputs": { + "base": null, + "refs": { + "Channel$Outputs": "The channel's output properties.
", + "DescribeChannelResponse$Outputs": "The channel's output properties.
" + } + }, + "ScheduleConfiguration": { + "base": "Schedule configuration parameters. A channel must be stopped before changes can be made to the schedule.
", + "refs": { + "CreateProgramRequest$ScheduleConfiguration": "The schedule configuration settings.
" + } + }, + "ScheduleEntry": { + "base": "The properties for a schedule.
", + "refs": { + "__listOfScheduleEntry$member": null + } + }, + "SlateSource": { + "base": "Slate VOD source configuration.
", + "refs": { + "AdBreak$Slate": "Ad break slate configuration.
" + } + }, + "SourceLocation": { + "base": "This response includes only the \"type\" : \"object\" property.
", + "refs": { + "__listOfSourceLocation$member": null + } + }, + "SpliceInsertMessage": { + "base": "Splice insert message configuration.
", + "refs": { + "AdBreak$SpliceInsertMessage": "This defines the SCTE-35 splice_insert() message inserted around the ad. For information about using splice_insert(), see the SCTE-35 specficiaiton, section 9.7.3.1.
" + } + }, + "TagsModel": { + "base": "A set of tags assigned to a resource.
", + "refs": {} + }, + "Transition": { + "base": "Program transition configuration.
", + "refs": { + "ScheduleConfiguration$Transition": "Program transition configurations.
" + } + }, + "Type": { + "base": null, + "refs": { + "HttpPackageConfiguration$Type": "The streaming protocol for this package configuration. Supported values are HLS and DASH.
" + } + }, + "UpdateChannelRequest": { + "base": "Updates a channel's Outputs.
", + "refs": {} + }, + "UpdateSourceLocationRequest": { + "base": "Source location configuration parameters.
", + "refs": {} + }, + "UpdateVodSourceRequest": { + "base": "Updates a VOD source's configuration.
", + "refs": {} + }, + "VodSource": { + "base": "VOD source configuration parameters.
", + "refs": { + "__listOfVodSource$member": null + } + }, + "__boolean": { + "base": null, + "refs": { + "AdMarkerPassthrough$Enabled": "Enables ad marker passthrough for your configuration.
" + } + }, + "__integer": { + "base": null, + "refs": { + "DashPlaylistSettings$ManifestWindowSeconds": "The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.
", + "DashPlaylistSettings$MinBufferTimeSeconds": "Minimum amount of content (measured in seconds) that a player must keep available in the buffer. Minimum value: 2 seconds. Maximum value: 60 seconds.
", + "DashPlaylistSettings$MinUpdatePeriodSeconds": "Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.
", + "DashPlaylistSettings$SuggestedPresentationDelaySeconds": "Amount of time (in seconds) that the player should be from the live point at the end of the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.
", + "HlsPlaylistSettings$ManifestWindowSeconds": "The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.
", + "LivePreRollConfiguration$MaxDurationSeconds": "The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.", + "SpliceInsertMessage$AvailNum": "This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.
", + "SpliceInsertMessage$AvailsExpected": "This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.
", + "SpliceInsertMessage$SpliceEventId": "This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.
", + "SpliceInsertMessage$UniqueProgramId": "This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.
" + } + }, + "__integerMin1": { + "base": null, + "refs": { + "GetPlaybackConfigurationResponse$PersonalizationThresholdSeconds": "Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
", + "PlaybackConfiguration$PersonalizationThresholdSeconds": "Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
", + "PutPlaybackConfigurationRequest$PersonalizationThresholdSeconds": "Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.
" + } + }, + "__listOfAdBreak": { + "base": null, + "refs": { + "CreateProgramRequest$AdBreaks": "The ad break configuration settings.
", + "DescribeProgramResponse$AdBreaks": "The ad break configuration settings.
", + "Program$AdBreaks": "The ad break configuration settings.
" + } + }, + "__listOfChannel": { + "base": null, + "refs": { + "ListChannelsResponse$Items": "An array of channels that are associated with this account.
" + } + }, + "__listOfPlaybackConfiguration": { + "base": null, + "refs": { + "ListPlaybackConfigurationsResponse$Items": "Array of playback configurations. This might be all the available configurations or a subset, depending on the settings that you provide and the total number of configurations stored.
" + } + }, + "__listOfProgram": { + "base": null, + "refs": { + "ListProgramsResponse$Items": "An array containing the programs for a channel.
" + } + }, + "__listOfScheduleEntry": { + "base": null, + "refs": { + "GetChannelScheduleResponse$Items": "An array of schedule entries for the channel.
" + } + }, + "__listOfSourceLocation": { + "base": null, + "refs": { + "ListSourceLocationsResponse$Items": "An array of source locations.
" + } + }, + "__listOfVodSource": { + "base": null, + "refs": { + "ListVodSourcesResponse$Items": "Lists the VOD sources.
" + } + }, + "__long": { + "base": null, + "refs": { + "AdBreak$OffsetMillis": "How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.
", + "ScheduleEntry$ApproximateDurationSeconds": "The approximate duration of this program, in seconds.
" + } + }, + "__mapOf__string": { + "base": null, + "refs": { + "Channel$Tags": "The tags to assign to the channel.
", + "ConfigurationAliasesRequest$member": "Map of aliases to the value to be used at request time.
", + "ConfigurationAliasesResponse$member": "Map of aliases to the value to be used at request time.
", + "CreateChannelRequest$Tags": "The tags to assign to the channel.
", + "CreateSourceLocationRequest$Tags": "The tags to assign to the source location.
", + "CreateVodSourceRequest$Tags": "The tags to assign to the VOD source.
", + "DescribeChannelResponse$Tags": "The tags assigned to the channel.
", + "DescribeSourceLocationResponse$Tags": "The tags assigned to the source location.
", + "DescribeVodSourceResponse$Tags": "The tags assigned to the VOD source.
", + "GetPlaybackConfigurationResponse$Tags": "The tags assigned to the playback configuration.
", + "PlaybackConfiguration$Tags": "The tags to assign to the playback configuration.
", + "PutPlaybackConfigurationRequest$Tags": "The tags to assign to the playback configuration.
", + "SourceLocation$Tags": "The tags assigned to the source location.
", + "TagsModel$Tags": "A comma-separated list of tag key:value pairs.
", + "VodSource$Tags": "The tags assigned to the VOD source.
" + } + }, + "__string": { + "base": null, + "refs": { + "AvailSuppression$Value": "A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.
", + "BadRequestException$Message": "Constructs a new BadRequestException with the specified error message.
", + "Bumper$EndUrl": "The URL for the end bumper asset.
", + "Bumper$StartUrl": "The URL for the start bumper asset.
", + "CdnConfiguration$AdSegmentUrlPrefix": "A non-default content delivery network (CDN) to serve ad segments. By default, AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the origin ads.mediatailor.<region>.amazonaws.com. Then specify the rule's name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments.
", + "CdnConfiguration$ContentSegmentUrlPrefix": "A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server. First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in this ContentSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments.
", + "Channel$Arn": "The ARN of the channel.
", + "Channel$ChannelName": "The name of the channel.
", + "Channel$ChannelState": "Returns the state whether the channel is running or not.
", + "Channel$PlaybackMode": "The type of playback mode for this channel. Possible values: ONCE or LOOP.
", + "CreateProgramRequest$SourceLocationName": "The name of the source location.
", + "CreateProgramRequest$VodSourceName": "The name that's used to refer to a VOD source.
", + "DashConfiguration$ManifestEndpointPrefix": "The URL generated by MediaTailor to initiate a playback session. The session uses server-side reporting. This setting is ignored in PUT operations.
", + "DashConfiguration$MpdLocation": "The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.
", + "DashConfigurationForPut$MpdLocation": "The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.
", + "DefaultSegmentDeliveryConfiguration$BaseUrl": "The hostname of the server that will be used to serve segments. This string must include the protocol, such as https://.
", + "DescribeChannelResponse$Arn": "The ARN of the channel.
", + "DescribeChannelResponse$ChannelName": "The name of the channel.
", + "DescribeChannelResponse$PlaybackMode": "The type of playback for this channel. The only supported value is LOOP.
", + "DescribeProgramResponse$Arn": "The ARN of the program.
", + "DescribeProgramResponse$ChannelName": "The name of the channel that the program belongs to.
", + "DescribeProgramResponse$ProgramName": "The name of the program.
", + "DescribeProgramResponse$SourceLocationName": "The source location name.
", + "DescribeProgramResponse$VodSourceName": "The name that's used to refer to a VOD source.
", + "DescribeSourceLocationResponse$Arn": "The ARN of the source location.
", + "DescribeSourceLocationResponse$SourceLocationName": "The name of the source location.
", + "DescribeVodSourceResponse$Arn": "The ARN of the VOD source.
", + "DescribeVodSourceResponse$SourceLocationName": "The name of the source location associated with the VOD source.
", + "DescribeVodSourceResponse$VodSourceName": "The name of the VOD source.
", + "GetChannelPolicyResponse$Policy": "The IAM policy for the channel.
", + "GetChannelScheduleResponse$NextToken": "Pagination token from the GET list request. Use the token to fetch the next page of results.
", + "GetPlaybackConfigurationResponse$AdDecisionServerUrl": "The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.
", + "GetPlaybackConfigurationResponse$Name": "The identifier for the playback configuration.
", + "GetPlaybackConfigurationResponse$PlaybackConfigurationArn": "The Amazon Resource Name (ARN) for the playback configuration.
", + "GetPlaybackConfigurationResponse$PlaybackEndpointPrefix": "The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.
", + "GetPlaybackConfigurationResponse$SessionInitializationEndpointPrefix": "The URL that the player uses to initialize a session that uses client-side reporting.
", + "GetPlaybackConfigurationResponse$SlateAdUrl": "The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
", + "GetPlaybackConfigurationResponse$TranscodeProfileName": "The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
", + "GetPlaybackConfigurationResponse$VideoContentSourceUrl": "The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.
", + "HlsConfiguration$ManifestEndpointPrefix": "The URL that is used to initiate a playback session for devices that support Apple HLS. The session uses server-side reporting.
", + "HttpConfiguration$BaseUrl": "The base URL for the source location host server. This string must include the protocol, such as https://.
", + "HttpPackageConfiguration$Path": "The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.
", + "HttpPackageConfiguration$SourceGroup": "The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.
", + "ListChannelsResponse$NextToken": "Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
", + "ListPlaybackConfigurationsResponse$NextToken": "Pagination token returned by the GET list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
", + "ListProgramsResponse$NextToken": "Pagination token from the list request. Use the token to fetch the next page of results.
", + "ListSourceLocationsResponse$NextToken": "Pagination token from the list request. Use the token to fetch the next page of results.
", + "ListVodSourcesResponse$NextToken": "Pagination token from the list request. Use the token to fetch the next page of results.
", + "LivePreRollConfiguration$AdDecisionServerUrl": "The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.
", + "PlaybackConfiguration$AdDecisionServerUrl": "The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.
", + "PlaybackConfiguration$Name": "The identifier for the playback configuration.
", + "PlaybackConfiguration$PlaybackConfigurationArn": "The Amazon Resource Name (ARN) for the playback configuration.
", + "PlaybackConfiguration$PlaybackEndpointPrefix": "The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
", + "PlaybackConfiguration$SessionInitializationEndpointPrefix": "The URL that the player uses to initialize a session that uses client-side reporting.
", + "PlaybackConfiguration$SlateAdUrl": "The URL for a video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
", + "PlaybackConfiguration$TranscodeProfileName": "The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
", + "PlaybackConfiguration$VideoContentSourceUrl": "The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.
", + "Program$Arn": "The ARN of the program.
", + "Program$ChannelName": "The name of the channel that the program belongs to.
", + "Program$ProgramName": "The name of the program.
", + "Program$SourceLocationName": "The name of the source location.
", + "Program$VodSourceName": "The name that's used to refer to a VOD source.
", + "PutChannelPolicyRequest$Policy": "Adds an IAM role that determines the permissions of your channel.
", + "PutPlaybackConfigurationRequest$AdDecisionServerUrl": "The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.
", + "PutPlaybackConfigurationRequest$Name": "The identifier for the playback configuration.
", + "PutPlaybackConfigurationRequest$SlateAdUrl": "The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID configurations. For VPAID, the slate is required because MediaTailor provides it in the slots that are designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
", + "PutPlaybackConfigurationRequest$TranscodeProfileName": "The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
", + "PutPlaybackConfigurationRequest$VideoContentSourceUrl": "The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.
", + "RequestOutputItem$ManifestName": "The name of the manifest for the channel. The name appears in the PlaybackUrl.
", + "RequestOutputItem$SourceGroup": "A string used to match which HttpPackageConfiguration is used for each VodSource.
", + "ResponseOutputItem$ManifestName": "The name of the manifest for the channel that will appear in the channel output's playback URL.
", + "ResponseOutputItem$PlaybackUrl": "The URL used for playback by content players.
", + "ResponseOutputItem$SourceGroup": "A string used to associate a package configuration source group with a channel output.
", + "ScheduleEntry$Arn": "The ARN of the program.
", + "ScheduleEntry$ChannelName": "The name of the channel that uses this schedule.
", + "ScheduleEntry$ProgramName": "The name of the program.
", + "ScheduleEntry$SourceLocationName": "The name of the source location.
", + "ScheduleEntry$VodSourceName": "The name of the VOD source.
", + "SlateSource$SourceLocationName": "The name of the source location where the slate VOD source is stored.
", + "SlateSource$VodSourceName": "The slate VOD source name. The VOD source must already exist in a source location before it can be used for slate.
", + "SourceLocation$Arn": "The ARN of the SourceLocation.
", + "SourceLocation$SourceLocationName": "The name of the source location.
", + "Transition$RelativeProgram": "The name of the program that this program will be inserted next to, as defined by RelativePosition.
", + "Transition$Type": "When the program should be played. RELATIVE means that programs will be played back-to-back.
", + "VodSource$Arn": "The ARN for the VOD source.
", + "VodSource$SourceLocationName": "The name of the source location that the VOD source is associated with.
", + "VodSource$VodSourceName": "The name of the VOD source.
", + "__mapOf__string$member": null + } + }, + "__timestampUnix": { + "base": null, + "refs": { + "Channel$CreationTime": "The timestamp of when the channel was created.
", + "Channel$LastModifiedTime": "The timestamp of when the channel was last modified.
", + "DescribeChannelResponse$CreationTime": "The timestamp of when the channel was created.
", + "DescribeChannelResponse$LastModifiedTime": "The timestamp of when the channel was last modified.
", + "DescribeProgramResponse$CreationTime": "The timestamp of when the program was created.
", + "DescribeSourceLocationResponse$CreationTime": "The timestamp that indicates when the source location was created.
", + "DescribeSourceLocationResponse$LastModifiedTime": "The timestamp that indicates when the source location was last modified.
", + "DescribeVodSourceResponse$CreationTime": "The timestamp that indicates when the VOD source was created.
", + "DescribeVodSourceResponse$LastModifiedTime": "The ARN for the VOD source.
", + "Program$CreationTime": "The timestamp of when the program was created.
", + "Program$LastModifiedTime": "The timestamp of when the program was last modified.
", + "ScheduleEntry$ApproximateStartTime": "The approximate time that the program will start playing.
", + "SourceLocation$CreationTime": "The timestamp that indicates when the source location was created.
", + "SourceLocation$LastModifiedTime": "The timestamp that indicates when the source location was last modified.
", + "VodSource$CreationTime": "The timestamp that indicates when the VOD source was created.
", + "VodSource$LastModifiedTime": "The timestamp that indicates when the VOD source was last modified.
" + } + } + } } \ No newline at end of file diff --git a/models/apis/mediatailor/2018-04-23/paginators-1.json b/models/apis/mediatailor/2018-04-23/paginators-1.json index bd92a8a6852..60852f2252d 100644 --- a/models/apis/mediatailor/2018-04-23/paginators-1.json +++ b/models/apis/mediatailor/2018-04-23/paginators-1.json @@ -1,10 +1,40 @@ { - "pagination": { - "ListPlaybackConfigurations": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Items" + "pagination": { + "GetChannelSchedule": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Items" + }, + "ListChannels": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Items" + }, + "ListPlaybackConfigurations": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Items" + }, + "ListPrograms": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Items" + }, + "ListSourceLocations": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Items" + }, + "ListVodSources": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Items" + } } - } } \ No newline at end of file diff --git a/models/apis/workspaces/2015-04-08/api-2.json b/models/apis/workspaces/2015-04-08/api-2.json index ebf3de00450..0473ba64185 100644 --- a/models/apis/workspaces/2015-04-08/api-2.json +++ b/models/apis/workspaces/2015-04-08/api-2.json @@ -127,6 +127,23 @@ {"shape":"ResourceLimitExceededException"} ] }, + "CreateWorkspaceBundle":{ + "name":"CreateWorkspaceBundle", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateWorkspaceBundleRequest"}, + "output":{"shape":"CreateWorkspaceBundleResult"}, + "errors":[ + {"shape":"ResourceUnavailableException"}, + {"shape":"ResourceAlreadyExistsException"}, + {"shape":"ResourceLimitExceededException"}, + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, "CreateWorkspaces":{ "name":"CreateWorkspaces", "http":{ @@ -185,6 +202,21 @@ {"shape":"InvalidParameterValuesException"} ] }, + "DeleteWorkspaceBundle":{ + "name":"DeleteWorkspaceBundle", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteWorkspaceBundleRequest"}, + "output":{"shape":"DeleteWorkspaceBundleResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceAssociatedException"}, + {"shape":"AccessDeniedException"} + ] + }, "DeleteWorkspaceImage":{ "name":"DeleteWorkspaceImage", "http":{ @@ -705,6 +737,21 @@ {"shape":"AccessDeniedException"} ] }, + "UpdateWorkspaceBundle":{ + "name":"UpdateWorkspaceBundle", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateWorkspaceBundleRequest"}, + "output":{"shape":"UpdateWorkspaceBundleResult"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceUnavailableException"} + ] + }, "UpdateWorkspaceImagePermission":{ "name":"UpdateWorkspaceImagePermission", "http":{ @@ -1040,6 +1087,31 @@ "members":{ } }, + "CreateWorkspaceBundleRequest":{ + "type":"structure", + "required":[ + "BundleName", + "BundleDescription", + "ImageId", + "ComputeType", + "UserStorage" + ], + "members":{ + "BundleName":{"shape":"WorkspaceBundleName"}, + "BundleDescription":{"shape":"WorkspaceBundleDescription"}, + "ImageId":{"shape":"WorkspaceImageId"}, + "ComputeType":{"shape":"ComputeType"}, + "UserStorage":{"shape":"UserStorage"}, + "RootStorage":{"shape":"RootStorage"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateWorkspaceBundleResult":{ + "type":"structure", + "members":{ + "WorkspaceBundle":{"shape":"WorkspaceBundle"} + } + }, "CreateWorkspacesRequest":{ "type":"structure", "required":["Workspaces"], @@ -1133,6 +1205,17 @@ "members":{ } }, + "DeleteWorkspaceBundleRequest":{ + "type":"structure", + "members":{ + "BundleId":{"shape":"BundleId"} + } + }, + "DeleteWorkspaceBundleResult":{ + "type":"structure", + "members":{ + } + }, "DeleteWorkspaceImageRequest":{ "type":"structure", "required":["ImageId"], @@ -2143,6 +2226,18 @@ "members":{ } }, + "UpdateWorkspaceBundleRequest":{ + "type":"structure", + "members":{ + "BundleId":{"shape":"BundleId"}, + "ImageId":{"shape":"WorkspaceImageId"} + } + }, + "UpdateWorkspaceBundleResult":{ + "type":"structure", + "members":{ + } + }, "UpdateWorkspaceImagePermissionRequest":{ "type":"structure", "required":[ @@ -2217,9 +2312,22 @@ "RootStorage":{"shape":"RootStorage"}, "UserStorage":{"shape":"UserStorage"}, "ComputeType":{"shape":"ComputeType"}, - "LastUpdatedTime":{"shape":"Timestamp"} + "LastUpdatedTime":{"shape":"Timestamp"}, + "CreationTime":{"shape":"Timestamp"} } }, + "WorkspaceBundleDescription":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^[a-zA-Z0-9_./() -]+$" + }, + "WorkspaceBundleName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[a-zA-Z0-9_./()\\\\-]+$" + }, "WorkspaceConnectionStatus":{ "type":"structure", "members":{ diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index 47e8cc53281..1f867f723fd 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -9,10 +9,12 @@ "CreateConnectionAlias": "Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
", "CreateIpGroup": "Creates an IP access control group.
An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.
There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.
", "CreateTags": "Creates the specified tags for the specified WorkSpaces resource.
", + "CreateWorkspaceBundle": "Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.
", "CreateWorkspaces": "Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
", "DeleteConnectionAlias": "Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
", "DeleteTags": "Deletes the specified tags from the specified WorkSpaces resource.
", + "DeleteWorkspaceBundle": "Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see Delete a Custom WorkSpaces Bundle or Image.
", "DeleteWorkspaceImage": "Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and unshare the image if it is shared with other accounts.
", "DeregisterWorkspaceDirectory": "Deregisters the specified directory. This operation is asynchronous and returns before the WorkSpace directory is deregistered. If any WorkSpaces are registered to this directory, you must remove them before you can deregister the directory.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the AWS Directory Services pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
", @@ -51,6 +53,7 @@ "TerminateWorkspaces": "Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact AWS Support before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except SUSPENDED
.
This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the TERMINATED
state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the AWS Directory Services pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED
.
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
Replaces the current rules of the specified IP access control group with the specified rules.
", + "UpdateWorkspaceBundle": "Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.
Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.
Shares or unshares an image with one account in the same AWS Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.
After an image has been shared, the recipient account can copy the image to other AWS Regions as needed.
In the China (Ningxia) Region, you can copy images only within the same Region.
In the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions, contact AWS Support.
For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.
To delete an image that has been shared, you must unshare the image before you delete it.
Sharing Bring Your Own License (BYOL) images across AWS accounts isn't supported at this time in the AWS GovCloud (US-West) Region. To share BYOL images across accounts in the AWS GovCloud (US-West) Region, contact AWS Support.
The identifier of the bundle.
", "DescribeWorkspacesRequest$BundleId": "The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
", "MigrateWorkspaceRequest$BundleId": "The identifier of the target bundle type to migrate the WorkSpace to.
", + "UpdateWorkspaceBundleRequest$BundleId": "The identifier of the bundle.
", "Workspace$BundleId": "The identifier of the bundle used to create the WorkSpace.
", - "WorkspaceBundle$BundleId": "The bundle identifier.
", + "WorkspaceBundle$BundleId": "The identifier of the bundle.
", "WorkspaceRequest$BundleId": "The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
" } }, @@ -201,7 +206,7 @@ "BundleOwner": { "base": null, "refs": { - "DescribeWorkspaceBundlesRequest$Owner": "The owner of the bundles. You cannot combine this parameter with any other filter.
Specify AMAZON
to describe the bundles provided by AWS or null to describe the bundles that belong to your account.
The owner of the bundles. You cannot combine this parameter with any other filter.
To describe the bundles provided by AWS, specify AMAZON
. To describe the bundles that belong to your account, don't specify a value.
The owner of the bundle. This is the account identifier of the owner, or AMAZON
if the bundle is provided by AWS.
Describes the compute type.
", + "base": "Describes the compute type of the bundle.
", "refs": { - "WorkspaceBundle$ComputeType": "The compute type. For more information, see Amazon WorkSpaces Bundles.
" + "CreateWorkspaceBundleRequest$ComputeType": null, + "WorkspaceBundle$ComputeType": "The compute type of the bundle. For more information, see Amazon WorkSpaces Bundles.
" } }, "ComputerName": { @@ -366,6 +372,16 @@ "refs": { } }, + "CreateWorkspaceBundleRequest": { + "base": null, + "refs": { + } + }, + "CreateWorkspaceBundleResult": { + "base": null, + "refs": { + } + }, "CreateWorkspacesRequest": { "base": null, "refs": { @@ -453,6 +469,16 @@ "refs": { } }, + "DeleteWorkspaceBundleRequest": { + "base": null, + "refs": { + } + }, + "DeleteWorkspaceBundleResult": { + "base": null, + "refs": { + } + }, "DeleteWorkspaceImageRequest": { "base": null, "refs": { @@ -620,7 +646,7 @@ "FailedCreateWorkspaceRequest$ErrorMessage": "The text of the error message that is returned if the WorkSpace cannot be created.
", "FailedWorkspaceChangeRequest$ErrorMessage": "The text of the error message that is returned if the WorkSpace cannot be rebooted.
", "Workspace$ErrorMessage": "The text of the error message that is returned if the WorkSpace cannot be created.
", - "WorkspaceBundle$Description": "A description.
", + "WorkspaceBundle$Description": "The description of the bundle.
", "WorkspaceImage$ErrorMessage": "The text of the error message that is returned for the image.
" } }, @@ -1037,7 +1063,7 @@ "ResourceUnavailableException$ResourceId": "The identifier of the resource that is not available.
", "RootStorage$Capacity": "The size of the root volume.
", "TagKeyList$member": null, - "UserStorage$Capacity": "The size of the user storage.
", + "UserStorage$Capacity": "The size of the user volume.
", "WorkspaceBundle$Name": "The name of the bundle.
" } }, @@ -1067,27 +1093,27 @@ "base": null, "refs": { "DescribeAccountModificationsRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeAccountModificationsResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeConnectionAliasPermissionsRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeConnectionAliasPermissionsResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeConnectionAliasesRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeConnectionAliasesResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeIpGroupsRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeIpGroupsResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeWorkspaceBundlesRequest$NextToken": "The token for the next set of results. (You received this token from a previous call.)
", - "DescribeWorkspaceBundlesResult$NextToken": "The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.
", + "DescribeWorkspaceBundlesResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return. This token is valid for one day and must be used within that time frame.
", "DescribeWorkspaceDirectoriesRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeWorkspaceDirectoriesResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeWorkspaceImagePermissionsRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeWorkspaceImagePermissionsResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeWorkspaceImagesRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeWorkspaceImagesResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeWorkspacesConnectionStatusRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeWorkspacesConnectionStatusResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeWorkspacesRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
", + "DescribeWorkspacesResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "ListAvailableManagementCidrRangesRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next set of results, or null if no more results are available.
" + "ListAvailableManagementCidrRangesResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
" } }, "RebootRequest": { @@ -1226,6 +1252,7 @@ "RootStorage": { "base": "Describes the root volume for a WorkSpace bundle.
", "refs": { + "CreateWorkspaceBundleRequest$RootStorage": null, "WorkspaceBundle$RootStorage": "The size of the root volume.
" } }, @@ -1358,6 +1385,7 @@ "CreateConnectionAliasRequest$Tags": "The tags to associate with the connection alias.
", "CreateIpGroupRequest$Tags": "The tags. Each WorkSpaces resource can have a maximum of 50 tags.
", "CreateTagsRequest$Tags": "The tags. Each WorkSpaces resource can have a maximum of 50 tags.
", + "CreateWorkspaceBundleRequest$Tags": "The tags associated with the bundle.
To add tags at the same time that you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags
.
The tags.
", "ImportWorkspaceImageRequest$Tags": "The tags. Each WorkSpaces resource can have a maximum of 50 tags.
", "RegisterWorkspaceDirectoryRequest$Tags": "The tags associated with the directory.
", @@ -1411,6 +1439,7 @@ "AccountModification$StartTime": "The timestamp when the modification of the BYOL configuration was started.
", "Snapshot$SnapshotTime": "The time when the snapshot was created.
", "WorkspaceBundle$LastUpdatedTime": "The last time that the bundle was updated.
", + "WorkspaceBundle$CreationTime": "The time when the bundle was created.
", "WorkspaceConnectionStatus$ConnectionStateCheckTimestamp": "The timestamp of the connection status check.
", "WorkspaceConnectionStatus$LastKnownUserConnectionTimestamp": "The timestamp of the last known user connection.
", "WorkspaceImage$Created": "The date when the image was created. If the image has been shared, the AWS account that the image has been shared with sees the original creation date of the image.
" @@ -1446,6 +1475,16 @@ "refs": { } }, + "UpdateWorkspaceBundleRequest": { + "base": null, + "refs": { + } + }, + "UpdateWorkspaceBundleResult": { + "base": null, + "refs": { + } + }, "UpdateWorkspaceImagePermissionRequest": { "base": null, "refs": { @@ -1466,9 +1505,10 @@ } }, "UserStorage": { - "base": "Describes the user storage for a WorkSpace bundle.
", + "base": "Describes the user volume for a WorkSpace bundle.
", "refs": { - "WorkspaceBundle$UserStorage": "The size of the user storage.
" + "CreateWorkspaceBundleRequest$UserStorage": null, + "WorkspaceBundle$UserStorage": "The size of the user volume.
" } }, "UserVolumeSizeGib": { @@ -1500,7 +1540,20 @@ "WorkspaceBundle": { "base": "Describes a WorkSpace bundle.
", "refs": { - "BundleList$member": null + "BundleList$member": null, + "CreateWorkspaceBundleResult$WorkspaceBundle": null + } + }, + "WorkspaceBundleDescription": { + "base": null, + "refs": { + "CreateWorkspaceBundleRequest$BundleDescription": "The description of the bundle.
" + } + }, + "WorkspaceBundleName": { + "base": null, + "refs": { + "CreateWorkspaceBundleRequest$BundleName": "The name of the bundle.
" } }, "WorkspaceConnectionStatus": { @@ -1599,12 +1652,14 @@ "refs": { "CopyWorkspaceImageRequest$SourceImageId": "The identifier of the source image.
", "CopyWorkspaceImageResult$ImageId": "The identifier of the image.
", + "CreateWorkspaceBundleRequest$ImageId": "The identifier of the image that is used to create the bundle.
", "DeleteWorkspaceImageRequest$ImageId": "The identifier of the image.
", "DescribeWorkspaceImagePermissionsRequest$ImageId": "The identifier of the image.
", "DescribeWorkspaceImagePermissionsResult$ImageId": "The identifier of the image.
", "ImportWorkspaceImageResult$ImageId": "The identifier of the WorkSpace image.
", + "UpdateWorkspaceBundleRequest$ImageId": "The identifier of the image.
", "UpdateWorkspaceImagePermissionRequest$ImageId": "The identifier of the image.
", - "WorkspaceBundle$ImageId": "The image identifier of the bundle.
", + "WorkspaceBundle$ImageId": "The identifier of the image that was used to create the bundle.
", "WorkspaceImage$ImageId": "The identifier of the image.
", "WorkspaceImageIdList$member": null } diff --git a/service/costandusagereportservice/api.go b/service/costandusagereportservice/api.go index c9499e7729c..c2993996efd 100644 --- a/service/costandusagereportservice/api.go +++ b/service/costandusagereportservice/api.go @@ -804,6 +804,10 @@ type ReportDefinition struct { // AdditionalSchemaElements is a required field AdditionalSchemaElements []*string `type:"list" required:"true"` + // The Amazon resource name of the billing view. You can get this value by using + // the billing view service public APIs. + BillingViewArn *string `type:"string"` + // The compression format that AWS uses for the report. // // Compression is a required field @@ -907,6 +911,12 @@ func (s *ReportDefinition) SetAdditionalSchemaElements(v []*string) *ReportDefin return s } +// SetBillingViewArn sets the BillingViewArn field's value. +func (s *ReportDefinition) SetBillingViewArn(v string) *ReportDefinition { + s.BillingViewArn = &v + return s +} + // SetCompression sets the Compression field's value. func (s *ReportDefinition) SetCompression(v string) *ReportDefinition { s.Compression = &v diff --git a/service/mediatailor/api.go b/service/mediatailor/api.go index 6b2243cb19a..543f29b4647 100644 --- a/service/mediatailor/api.go +++ b/service/mediatailor/api.go @@ -4,6 +4,7 @@ package mediatailor import ( "fmt" + "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" @@ -12,917 +13,6462 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restjson" ) -const opDeletePlaybackConfiguration = "DeletePlaybackConfiguration" +const opCreateChannel = "CreateChannel" -// DeletePlaybackConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the DeletePlaybackConfiguration operation. The "output" return +// CreateChannelRequest generates a "aws/request.Request" representing the +// client's request for the CreateChannel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeletePlaybackConfiguration for more information on using the DeletePlaybackConfiguration +// See CreateChannel for more information on using the CreateChannel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeletePlaybackConfigurationRequest method. -// req, resp := client.DeletePlaybackConfigurationRequest(params) +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration -func (c *MediaTailor) DeletePlaybackConfigurationRequest(input *DeletePlaybackConfigurationInput) (req *request.Request, output *DeletePlaybackConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannel +func (c *MediaTailor) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { op := &request.Operation{ - Name: opDeletePlaybackConfiguration, - HTTPMethod: "DELETE", - HTTPPath: "/playbackConfiguration/{Name}", + Name: opCreateChannel, + HTTPMethod: "POST", + HTTPPath: "/channel/{channelName}", } if input == nil { - input = &DeletePlaybackConfigurationInput{} + input = &CreateChannelInput{} } - output = &DeletePlaybackConfigurationOutput{} + output = &CreateChannelOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeletePlaybackConfiguration API operation for AWS MediaTailor. +// CreateChannel API operation for AWS MediaTailor. // -// Deletes the playback configuration for the specified name. +// Creates a channel. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS MediaTailor's -// API operation DeletePlaybackConfiguration for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration -func (c *MediaTailor) DeletePlaybackConfiguration(input *DeletePlaybackConfigurationInput) (*DeletePlaybackConfigurationOutput, error) { - req, out := c.DeletePlaybackConfigurationRequest(input) +// API operation CreateChannel for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannel +func (c *MediaTailor) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { + req, out := c.CreateChannelRequest(input) return out, req.Send() } -// DeletePlaybackConfigurationWithContext is the same as DeletePlaybackConfiguration with the addition of +// CreateChannelWithContext is the same as CreateChannel with the addition of // the ability to pass a context and additional request options. // -// See DeletePlaybackConfiguration for details on how to use this API operation. +// See CreateChannel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaTailor) DeletePlaybackConfigurationWithContext(ctx aws.Context, input *DeletePlaybackConfigurationInput, opts ...request.Option) (*DeletePlaybackConfigurationOutput, error) { - req, out := c.DeletePlaybackConfigurationRequest(input) +func (c *MediaTailor) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error) { + req, out := c.CreateChannelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetPlaybackConfiguration = "GetPlaybackConfiguration" +const opCreateProgram = "CreateProgram" -// GetPlaybackConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the GetPlaybackConfiguration operation. The "output" return +// CreateProgramRequest generates a "aws/request.Request" representing the +// client's request for the CreateProgram operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetPlaybackConfiguration for more information on using the GetPlaybackConfiguration +// See CreateProgram for more information on using the CreateProgram // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetPlaybackConfigurationRequest method. -// req, resp := client.GetPlaybackConfigurationRequest(params) +// // Example sending a request using the CreateProgramRequest method. +// req, resp := client.CreateProgramRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration -func (c *MediaTailor) GetPlaybackConfigurationRequest(input *GetPlaybackConfigurationInput) (req *request.Request, output *GetPlaybackConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgram +func (c *MediaTailor) CreateProgramRequest(input *CreateProgramInput) (req *request.Request, output *CreateProgramOutput) { op := &request.Operation{ - Name: opGetPlaybackConfiguration, - HTTPMethod: "GET", - HTTPPath: "/playbackConfiguration/{Name}", + Name: opCreateProgram, + HTTPMethod: "POST", + HTTPPath: "/channel/{channelName}/program/{programName}", } if input == nil { - input = &GetPlaybackConfigurationInput{} + input = &CreateProgramInput{} } - output = &GetPlaybackConfigurationOutput{} + output = &CreateProgramOutput{} req = c.newRequest(op, input, output) return } -// GetPlaybackConfiguration API operation for AWS MediaTailor. +// CreateProgram API operation for AWS MediaTailor. // -// Returns the playback configuration for the specified name. +// Creates a program. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS MediaTailor's -// API operation GetPlaybackConfiguration for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration -func (c *MediaTailor) GetPlaybackConfiguration(input *GetPlaybackConfigurationInput) (*GetPlaybackConfigurationOutput, error) { - req, out := c.GetPlaybackConfigurationRequest(input) +// API operation CreateProgram for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgram +func (c *MediaTailor) CreateProgram(input *CreateProgramInput) (*CreateProgramOutput, error) { + req, out := c.CreateProgramRequest(input) return out, req.Send() } -// GetPlaybackConfigurationWithContext is the same as GetPlaybackConfiguration with the addition of +// CreateProgramWithContext is the same as CreateProgram with the addition of // the ability to pass a context and additional request options. // -// See GetPlaybackConfiguration for details on how to use this API operation. +// See CreateProgram for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaTailor) GetPlaybackConfigurationWithContext(ctx aws.Context, input *GetPlaybackConfigurationInput, opts ...request.Option) (*GetPlaybackConfigurationOutput, error) { - req, out := c.GetPlaybackConfigurationRequest(input) +func (c *MediaTailor) CreateProgramWithContext(ctx aws.Context, input *CreateProgramInput, opts ...request.Option) (*CreateProgramOutput, error) { + req, out := c.CreateProgramRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListPlaybackConfigurations = "ListPlaybackConfigurations" +const opCreateSourceLocation = "CreateSourceLocation" -// ListPlaybackConfigurationsRequest generates a "aws/request.Request" representing the -// client's request for the ListPlaybackConfigurations operation. The "output" return +// CreateSourceLocationRequest generates a "aws/request.Request" representing the +// client's request for the CreateSourceLocation operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListPlaybackConfigurations for more information on using the ListPlaybackConfigurations +// See CreateSourceLocation for more information on using the CreateSourceLocation // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListPlaybackConfigurationsRequest method. -// req, resp := client.ListPlaybackConfigurationsRequest(params) +// // Example sending a request using the CreateSourceLocationRequest method. +// req, resp := client.CreateSourceLocationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurations -func (c *MediaTailor) ListPlaybackConfigurationsRequest(input *ListPlaybackConfigurationsInput) (req *request.Request, output *ListPlaybackConfigurationsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocation +func (c *MediaTailor) CreateSourceLocationRequest(input *CreateSourceLocationInput) (req *request.Request, output *CreateSourceLocationOutput) { op := &request.Operation{ - Name: opListPlaybackConfigurations, - HTTPMethod: "GET", - HTTPPath: "/playbackConfigurations", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, + Name: opCreateSourceLocation, + HTTPMethod: "POST", + HTTPPath: "/sourceLocation/{sourceLocationName}", } if input == nil { - input = &ListPlaybackConfigurationsInput{} + input = &CreateSourceLocationInput{} } - output = &ListPlaybackConfigurationsOutput{} + output = &CreateSourceLocationOutput{} req = c.newRequest(op, input, output) return } -// ListPlaybackConfigurations API operation for AWS MediaTailor. +// CreateSourceLocation API operation for AWS MediaTailor. // -// Returns a list of the playback configurations defined in AWS Elemental MediaTailor. -// You can specify a maximum number of configurations to return at a time. The -// default maximum is 50. Results are returned in pagefuls. If MediaTailor has -// more configurations than the specified maximum, it provides parameters in -// the response that you can use to retrieve the next pageful. +// Creates a source location on a specific channel. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS MediaTailor's -// API operation ListPlaybackConfigurations for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurations -func (c *MediaTailor) ListPlaybackConfigurations(input *ListPlaybackConfigurationsInput) (*ListPlaybackConfigurationsOutput, error) { - req, out := c.ListPlaybackConfigurationsRequest(input) +// API operation CreateSourceLocation for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocation +func (c *MediaTailor) CreateSourceLocation(input *CreateSourceLocationInput) (*CreateSourceLocationOutput, error) { + req, out := c.CreateSourceLocationRequest(input) return out, req.Send() } -// ListPlaybackConfigurationsWithContext is the same as ListPlaybackConfigurations with the addition of +// CreateSourceLocationWithContext is the same as CreateSourceLocation with the addition of // the ability to pass a context and additional request options. // -// See ListPlaybackConfigurations for details on how to use this API operation. +// See CreateSourceLocation for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaTailor) ListPlaybackConfigurationsWithContext(ctx aws.Context, input *ListPlaybackConfigurationsInput, opts ...request.Option) (*ListPlaybackConfigurationsOutput, error) { - req, out := c.ListPlaybackConfigurationsRequest(input) +func (c *MediaTailor) CreateSourceLocationWithContext(ctx aws.Context, input *CreateSourceLocationInput, opts ...request.Option) (*CreateSourceLocationOutput, error) { + req, out := c.CreateSourceLocationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListPlaybackConfigurationsPages iterates over the pages of a ListPlaybackConfigurations operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListPlaybackConfigurations method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListPlaybackConfigurations operation. -// pageNum := 0 -// err := client.ListPlaybackConfigurationsPages(params, -// func(page *mediatailor.ListPlaybackConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *MediaTailor) ListPlaybackConfigurationsPages(input *ListPlaybackConfigurationsInput, fn func(*ListPlaybackConfigurationsOutput, bool) bool) error { - return c.ListPlaybackConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListPlaybackConfigurationsPagesWithContext same as ListPlaybackConfigurationsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *MediaTailor) ListPlaybackConfigurationsPagesWithContext(ctx aws.Context, input *ListPlaybackConfigurationsInput, fn func(*ListPlaybackConfigurationsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListPlaybackConfigurationsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListPlaybackConfigurationsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListPlaybackConfigurationsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListTagsForResource = "ListTagsForResource" +const opCreateVodSource = "CreateVodSource" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// CreateVodSourceRequest generates a "aws/request.Request" representing the +// client's request for the CreateVodSource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTagsForResource for more information on using the ListTagsForResource +// See CreateVodSource for more information on using the CreateVodSource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the CreateVodSourceRequest method. +// req, resp := client.CreateVodSourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource -func (c *MediaTailor) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSource +func (c *MediaTailor) CreateVodSourceRequest(input *CreateVodSourceInput) (req *request.Request, output *CreateVodSourceOutput) { op := &request.Operation{ - Name: opListTagsForResource, - HTTPMethod: "GET", - HTTPPath: "/tags/{ResourceArn}", + Name: opCreateVodSource, + HTTPMethod: "POST", + HTTPPath: "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", } if input == nil { - input = &ListTagsForResourceInput{} + input = &CreateVodSourceInput{} } - output = &ListTagsForResourceOutput{} + output = &CreateVodSourceOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for AWS MediaTailor. +// CreateVodSource API operation for AWS MediaTailor. // -// Returns a list of the tags assigned to the specified playback configuration -// resource. +// Creates name for a specific VOD source in a source location. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS MediaTailor's -// API operation ListTagsForResource for usage and error information. -// -// Returned Error Types: -// * BadRequestException -// One of the parameters in the request is invalid. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource -func (c *MediaTailor) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// API operation CreateVodSource for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSource +func (c *MediaTailor) CreateVodSource(input *CreateVodSourceInput) (*CreateVodSourceOutput, error) { + req, out := c.CreateVodSourceRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// CreateVodSourceWithContext is the same as CreateVodSource with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See CreateVodSource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaTailor) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *MediaTailor) CreateVodSourceWithContext(ctx aws.Context, input *CreateVodSourceInput, opts ...request.Option) (*CreateVodSourceOutput, error) { + req, out := c.CreateVodSourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPutPlaybackConfiguration = "PutPlaybackConfiguration" +const opDeleteChannel = "DeleteChannel" -// PutPlaybackConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the PutPlaybackConfiguration operation. The "output" return +// DeleteChannelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteChannel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PutPlaybackConfiguration for more information on using the PutPlaybackConfiguration +// See DeleteChannel for more information on using the DeleteChannel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the PutPlaybackConfigurationRequest method. -// req, resp := client.PutPlaybackConfigurationRequest(params) +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration -func (c *MediaTailor) PutPlaybackConfigurationRequest(input *PutPlaybackConfigurationInput) (req *request.Request, output *PutPlaybackConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannel +func (c *MediaTailor) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { op := &request.Operation{ - Name: opPutPlaybackConfiguration, - HTTPMethod: "PUT", - HTTPPath: "/playbackConfiguration", + Name: opDeleteChannel, + HTTPMethod: "DELETE", + HTTPPath: "/channel/{channelName}", } if input == nil { - input = &PutPlaybackConfigurationInput{} + input = &DeleteChannelInput{} } - output = &PutPlaybackConfigurationOutput{} + output = &DeleteChannelOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// PutPlaybackConfiguration API operation for AWS MediaTailor. +// DeleteChannel API operation for AWS MediaTailor. // -// Adds a new playback configuration to AWS Elemental MediaTailor. +// Deletes a channel. You must stop the channel before it can be deleted. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS MediaTailor's -// API operation PutPlaybackConfiguration for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration -func (c *MediaTailor) PutPlaybackConfiguration(input *PutPlaybackConfigurationInput) (*PutPlaybackConfigurationOutput, error) { - req, out := c.PutPlaybackConfigurationRequest(input) +// API operation DeleteChannel for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannel +func (c *MediaTailor) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { + req, out := c.DeleteChannelRequest(input) return out, req.Send() } -// PutPlaybackConfigurationWithContext is the same as PutPlaybackConfiguration with the addition of +// DeleteChannelWithContext is the same as DeleteChannel with the addition of // the ability to pass a context and additional request options. // -// See PutPlaybackConfiguration for details on how to use this API operation. +// See DeleteChannel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaTailor) PutPlaybackConfigurationWithContext(ctx aws.Context, input *PutPlaybackConfigurationInput, opts ...request.Option) (*PutPlaybackConfigurationOutput, error) { - req, out := c.PutPlaybackConfigurationRequest(input) +func (c *MediaTailor) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error) { + req, out := c.DeleteChannelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTagResource = "TagResource" +const opDeleteChannelPolicy = "DeleteChannelPolicy" -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// DeleteChannelPolicyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteChannelPolicy operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TagResource for more information on using the TagResource +// See DeleteChannelPolicy for more information on using the DeleteChannelPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the DeleteChannelPolicyRequest method. +// req, resp := client.DeleteChannelPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource -func (c *MediaTailor) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicy +func (c *MediaTailor) DeleteChannelPolicyRequest(input *DeleteChannelPolicyInput) (req *request.Request, output *DeleteChannelPolicyOutput) { op := &request.Operation{ - Name: opTagResource, - HTTPMethod: "POST", - HTTPPath: "/tags/{ResourceArn}", + Name: opDeleteChannelPolicy, + HTTPMethod: "DELETE", + HTTPPath: "/channel/{channelName}/policy", } if input == nil { - input = &TagResourceInput{} + input = &DeleteChannelPolicyInput{} } - output = &TagResourceOutput{} + output = &DeleteChannelPolicyOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for AWS MediaTailor. +// DeleteChannelPolicy API operation for AWS MediaTailor. // -// Adds tags to the specified playback configuration resource. You can specify -// one or more tags to add. +// Deletes a channel's IAM policy. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS MediaTailor's -// API operation TagResource for usage and error information. -// -// Returned Error Types: -// * BadRequestException -// One of the parameters in the request is invalid. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource -func (c *MediaTailor) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// API operation DeleteChannelPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicy +func (c *MediaTailor) DeleteChannelPolicy(input *DeleteChannelPolicyInput) (*DeleteChannelPolicyOutput, error) { + req, out := c.DeleteChannelPolicyRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// DeleteChannelPolicyWithContext is the same as DeleteChannelPolicy with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See DeleteChannelPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaTailor) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *MediaTailor) DeleteChannelPolicyWithContext(ctx aws.Context, input *DeleteChannelPolicyInput, opts ...request.Option) (*DeleteChannelPolicyOutput, error) { + req, out := c.DeleteChannelPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +const opDeletePlaybackConfiguration = "DeletePlaybackConfiguration" -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// DeletePlaybackConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DeletePlaybackConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UntagResource for more information on using the UntagResource +// See DeletePlaybackConfiguration for more information on using the DeletePlaybackConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the DeletePlaybackConfigurationRequest method. +// req, resp := client.DeletePlaybackConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource -func (c *MediaTailor) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration +func (c *MediaTailor) DeletePlaybackConfigurationRequest(input *DeletePlaybackConfigurationInput) (req *request.Request, output *DeletePlaybackConfigurationOutput) { op := &request.Operation{ - Name: opUntagResource, + Name: opDeletePlaybackConfiguration, HTTPMethod: "DELETE", - HTTPPath: "/tags/{ResourceArn}", + HTTPPath: "/playbackConfiguration/{Name}", } if input == nil { - input = &UntagResourceInput{} + input = &DeletePlaybackConfigurationInput{} } - output = &UntagResourceOutput{} + output = &DeletePlaybackConfigurationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for AWS MediaTailor. +// DeletePlaybackConfiguration API operation for AWS MediaTailor. // -// Removes tags from the specified playback configuration resource. You can -// specify one or more tags to remove. +// Deletes the playback configuration for the specified name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS MediaTailor's -// API operation UntagResource for usage and error information. -// -// Returned Error Types: -// * BadRequestException -// One of the parameters in the request is invalid. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource -func (c *MediaTailor) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) - return out, req.Send() +// API operation DeletePlaybackConfiguration for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration +func (c *MediaTailor) DeletePlaybackConfiguration(input *DeletePlaybackConfigurationInput) (*DeletePlaybackConfigurationOutput, error) { + req, out := c.DeletePlaybackConfigurationRequest(input) + return out, req.Send() +} + +// DeletePlaybackConfigurationWithContext is the same as DeletePlaybackConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DeletePlaybackConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DeletePlaybackConfigurationWithContext(ctx aws.Context, input *DeletePlaybackConfigurationInput, opts ...request.Option) (*DeletePlaybackConfigurationOutput, error) { + req, out := c.DeletePlaybackConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteProgram = "DeleteProgram" + +// DeleteProgramRequest generates a "aws/request.Request" representing the +// client's request for the DeleteProgram operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteProgram for more information on using the DeleteProgram +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteProgramRequest method. +// req, resp := client.DeleteProgramRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgram +func (c *MediaTailor) DeleteProgramRequest(input *DeleteProgramInput) (req *request.Request, output *DeleteProgramOutput) { + op := &request.Operation{ + Name: opDeleteProgram, + HTTPMethod: "DELETE", + HTTPPath: "/channel/{channelName}/program/{programName}", + } + + if input == nil { + input = &DeleteProgramInput{} + } + + output = &DeleteProgramOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteProgram API operation for AWS MediaTailor. +// +// Deletes a specific program on a specific channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation DeleteProgram for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgram +func (c *MediaTailor) DeleteProgram(input *DeleteProgramInput) (*DeleteProgramOutput, error) { + req, out := c.DeleteProgramRequest(input) + return out, req.Send() +} + +// DeleteProgramWithContext is the same as DeleteProgram with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteProgram for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DeleteProgramWithContext(ctx aws.Context, input *DeleteProgramInput, opts ...request.Option) (*DeleteProgramOutput, error) { + req, out := c.DeleteProgramRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteSourceLocation = "DeleteSourceLocation" + +// DeleteSourceLocationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteSourceLocation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteSourceLocation for more information on using the DeleteSourceLocation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteSourceLocationRequest method. +// req, resp := client.DeleteSourceLocationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocation +func (c *MediaTailor) DeleteSourceLocationRequest(input *DeleteSourceLocationInput) (req *request.Request, output *DeleteSourceLocationOutput) { + op := &request.Operation{ + Name: opDeleteSourceLocation, + HTTPMethod: "DELETE", + HTTPPath: "/sourceLocation/{sourceLocationName}", + } + + if input == nil { + input = &DeleteSourceLocationInput{} + } + + output = &DeleteSourceLocationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteSourceLocation API operation for AWS MediaTailor. +// +// Deletes a source location on a specific channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation DeleteSourceLocation for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocation +func (c *MediaTailor) DeleteSourceLocation(input *DeleteSourceLocationInput) (*DeleteSourceLocationOutput, error) { + req, out := c.DeleteSourceLocationRequest(input) + return out, req.Send() +} + +// DeleteSourceLocationWithContext is the same as DeleteSourceLocation with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteSourceLocation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DeleteSourceLocationWithContext(ctx aws.Context, input *DeleteSourceLocationInput, opts ...request.Option) (*DeleteSourceLocationOutput, error) { + req, out := c.DeleteSourceLocationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteVodSource = "DeleteVodSource" + +// DeleteVodSourceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVodSource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVodSource for more information on using the DeleteVodSource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteVodSourceRequest method. +// req, resp := client.DeleteVodSourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSource +func (c *MediaTailor) DeleteVodSourceRequest(input *DeleteVodSourceInput) (req *request.Request, output *DeleteVodSourceOutput) { + op := &request.Operation{ + Name: opDeleteVodSource, + HTTPMethod: "DELETE", + HTTPPath: "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", + } + + if input == nil { + input = &DeleteVodSourceInput{} + } + + output = &DeleteVodSourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteVodSource API operation for AWS MediaTailor. +// +// Deletes a specific VOD source in a specific source location. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation DeleteVodSource for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSource +func (c *MediaTailor) DeleteVodSource(input *DeleteVodSourceInput) (*DeleteVodSourceOutput, error) { + req, out := c.DeleteVodSourceRequest(input) + return out, req.Send() +} + +// DeleteVodSourceWithContext is the same as DeleteVodSource with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVodSource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DeleteVodSourceWithContext(ctx aws.Context, input *DeleteVodSourceInput, opts ...request.Option) (*DeleteVodSourceOutput, error) { + req, out := c.DeleteVodSourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeChannel = "DescribeChannel" + +// DescribeChannelRequest generates a "aws/request.Request" representing the +// client's request for the DescribeChannel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeChannel for more information on using the DescribeChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel +func (c *MediaTailor) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { + op := &request.Operation{ + Name: opDescribeChannel, + HTTPMethod: "GET", + HTTPPath: "/channel/{channelName}", + } + + if input == nil { + input = &DescribeChannelInput{} + } + + output = &DescribeChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeChannel API operation for AWS MediaTailor. +// +// Describes the properties of a specific channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation DescribeChannel for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel +func (c *MediaTailor) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { + req, out := c.DescribeChannelRequest(input) + return out, req.Send() +} + +// DescribeChannelWithContext is the same as DescribeChannel with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error) { + req, out := c.DescribeChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeProgram = "DescribeProgram" + +// DescribeProgramRequest generates a "aws/request.Request" representing the +// client's request for the DescribeProgram operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeProgram for more information on using the DescribeProgram +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeProgramRequest method. +// req, resp := client.DescribeProgramRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgram +func (c *MediaTailor) DescribeProgramRequest(input *DescribeProgramInput) (req *request.Request, output *DescribeProgramOutput) { + op := &request.Operation{ + Name: opDescribeProgram, + HTTPMethod: "GET", + HTTPPath: "/channel/{channelName}/program/{programName}", + } + + if input == nil { + input = &DescribeProgramInput{} + } + + output = &DescribeProgramOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeProgram API operation for AWS MediaTailor. +// +// Retrieves the properties of the requested program. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation DescribeProgram for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgram +func (c *MediaTailor) DescribeProgram(input *DescribeProgramInput) (*DescribeProgramOutput, error) { + req, out := c.DescribeProgramRequest(input) + return out, req.Send() +} + +// DescribeProgramWithContext is the same as DescribeProgram with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeProgram for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DescribeProgramWithContext(ctx aws.Context, input *DescribeProgramInput, opts ...request.Option) (*DescribeProgramOutput, error) { + req, out := c.DescribeProgramRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeSourceLocation = "DescribeSourceLocation" + +// DescribeSourceLocationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeSourceLocation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeSourceLocation for more information on using the DescribeSourceLocation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeSourceLocationRequest method. +// req, resp := client.DescribeSourceLocationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocation +func (c *MediaTailor) DescribeSourceLocationRequest(input *DescribeSourceLocationInput) (req *request.Request, output *DescribeSourceLocationOutput) { + op := &request.Operation{ + Name: opDescribeSourceLocation, + HTTPMethod: "GET", + HTTPPath: "/sourceLocation/{sourceLocationName}", + } + + if input == nil { + input = &DescribeSourceLocationInput{} + } + + output = &DescribeSourceLocationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeSourceLocation API operation for AWS MediaTailor. +// +// Retrieves the properties of the requested source location. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation DescribeSourceLocation for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocation +func (c *MediaTailor) DescribeSourceLocation(input *DescribeSourceLocationInput) (*DescribeSourceLocationOutput, error) { + req, out := c.DescribeSourceLocationRequest(input) + return out, req.Send() +} + +// DescribeSourceLocationWithContext is the same as DescribeSourceLocation with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeSourceLocation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DescribeSourceLocationWithContext(ctx aws.Context, input *DescribeSourceLocationInput, opts ...request.Option) (*DescribeSourceLocationOutput, error) { + req, out := c.DescribeSourceLocationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeVodSource = "DescribeVodSource" + +// DescribeVodSourceRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVodSource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVodSource for more information on using the DescribeVodSource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeVodSourceRequest method. +// req, resp := client.DescribeVodSourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSource +func (c *MediaTailor) DescribeVodSourceRequest(input *DescribeVodSourceInput) (req *request.Request, output *DescribeVodSourceOutput) { + op := &request.Operation{ + Name: opDescribeVodSource, + HTTPMethod: "GET", + HTTPPath: "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", + } + + if input == nil { + input = &DescribeVodSourceInput{} + } + + output = &DescribeVodSourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVodSource API operation for AWS MediaTailor. +// +// Provides details about a specific VOD source in a specific source location. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation DescribeVodSource for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSource +func (c *MediaTailor) DescribeVodSource(input *DescribeVodSourceInput) (*DescribeVodSourceOutput, error) { + req, out := c.DescribeVodSourceRequest(input) + return out, req.Send() +} + +// DescribeVodSourceWithContext is the same as DescribeVodSource with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVodSource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) DescribeVodSourceWithContext(ctx aws.Context, input *DescribeVodSourceInput, opts ...request.Option) (*DescribeVodSourceOutput, error) { + req, out := c.DescribeVodSourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetChannelPolicy = "GetChannelPolicy" + +// GetChannelPolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetChannelPolicy operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetChannelPolicy for more information on using the GetChannelPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetChannelPolicyRequest method. +// req, resp := client.GetChannelPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy +func (c *MediaTailor) GetChannelPolicyRequest(input *GetChannelPolicyInput) (req *request.Request, output *GetChannelPolicyOutput) { + op := &request.Operation{ + Name: opGetChannelPolicy, + HTTPMethod: "GET", + HTTPPath: "/channel/{channelName}/policy", + } + + if input == nil { + input = &GetChannelPolicyInput{} + } + + output = &GetChannelPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetChannelPolicy API operation for AWS MediaTailor. +// +// Retrieves information about a channel's IAM policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation GetChannelPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy +func (c *MediaTailor) GetChannelPolicy(input *GetChannelPolicyInput) (*GetChannelPolicyOutput, error) { + req, out := c.GetChannelPolicyRequest(input) + return out, req.Send() +} + +// GetChannelPolicyWithContext is the same as GetChannelPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See GetChannelPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) GetChannelPolicyWithContext(ctx aws.Context, input *GetChannelPolicyInput, opts ...request.Option) (*GetChannelPolicyOutput, error) { + req, out := c.GetChannelPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetChannelSchedule = "GetChannelSchedule" + +// GetChannelScheduleRequest generates a "aws/request.Request" representing the +// client's request for the GetChannelSchedule operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetChannelSchedule for more information on using the GetChannelSchedule +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetChannelScheduleRequest method. +// req, resp := client.GetChannelScheduleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule +func (c *MediaTailor) GetChannelScheduleRequest(input *GetChannelScheduleInput) (req *request.Request, output *GetChannelScheduleOutput) { + op := &request.Operation{ + Name: opGetChannelSchedule, + HTTPMethod: "GET", + HTTPPath: "/channel/{channelName}/schedule", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetChannelScheduleInput{} + } + + output = &GetChannelScheduleOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetChannelSchedule API operation for AWS MediaTailor. +// +// Retrieves information about your channel's schedule. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation GetChannelSchedule for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule +func (c *MediaTailor) GetChannelSchedule(input *GetChannelScheduleInput) (*GetChannelScheduleOutput, error) { + req, out := c.GetChannelScheduleRequest(input) + return out, req.Send() +} + +// GetChannelScheduleWithContext is the same as GetChannelSchedule with the addition of +// the ability to pass a context and additional request options. +// +// See GetChannelSchedule for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) GetChannelScheduleWithContext(ctx aws.Context, input *GetChannelScheduleInput, opts ...request.Option) (*GetChannelScheduleOutput, error) { + req, out := c.GetChannelScheduleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetChannelSchedulePages iterates over the pages of a GetChannelSchedule operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetChannelSchedule method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetChannelSchedule operation. +// pageNum := 0 +// err := client.GetChannelSchedulePages(params, +// func(page *mediatailor.GetChannelScheduleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaTailor) GetChannelSchedulePages(input *GetChannelScheduleInput, fn func(*GetChannelScheduleOutput, bool) bool) error { + return c.GetChannelSchedulePagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetChannelSchedulePagesWithContext same as GetChannelSchedulePages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) GetChannelSchedulePagesWithContext(ctx aws.Context, input *GetChannelScheduleInput, fn func(*GetChannelScheduleOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetChannelScheduleInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetChannelScheduleRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetChannelScheduleOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opGetPlaybackConfiguration = "GetPlaybackConfiguration" + +// GetPlaybackConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the GetPlaybackConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetPlaybackConfiguration for more information on using the GetPlaybackConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetPlaybackConfigurationRequest method. +// req, resp := client.GetPlaybackConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration +func (c *MediaTailor) GetPlaybackConfigurationRequest(input *GetPlaybackConfigurationInput) (req *request.Request, output *GetPlaybackConfigurationOutput) { + op := &request.Operation{ + Name: opGetPlaybackConfiguration, + HTTPMethod: "GET", + HTTPPath: "/playbackConfiguration/{Name}", + } + + if input == nil { + input = &GetPlaybackConfigurationInput{} + } + + output = &GetPlaybackConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetPlaybackConfiguration API operation for AWS MediaTailor. +// +// Returns the playback configuration for the specified name. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation GetPlaybackConfiguration for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration +func (c *MediaTailor) GetPlaybackConfiguration(input *GetPlaybackConfigurationInput) (*GetPlaybackConfigurationOutput, error) { + req, out := c.GetPlaybackConfigurationRequest(input) + return out, req.Send() +} + +// GetPlaybackConfigurationWithContext is the same as GetPlaybackConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See GetPlaybackConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) GetPlaybackConfigurationWithContext(ctx aws.Context, input *GetPlaybackConfigurationInput, opts ...request.Option) (*GetPlaybackConfigurationOutput, error) { + req, out := c.GetPlaybackConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListChannels = "ListChannels" + +// ListChannelsRequest generates a "aws/request.Request" representing the +// client's request for the ListChannels operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListChannels for more information on using the ListChannels +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels +func (c *MediaTailor) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { + op := &request.Operation{ + Name: opListChannels, + HTTPMethod: "GET", + HTTPPath: "/channels", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListChannelsInput{} + } + + output = &ListChannelsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListChannels API operation for AWS MediaTailor. +// +// Retrieves a list of channels that are associated with this account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation ListChannels for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels +func (c *MediaTailor) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { + req, out := c.ListChannelsRequest(input) + return out, req.Send() +} + +// ListChannelsWithContext is the same as ListChannels with the addition of +// the ability to pass a context and additional request options. +// +// See ListChannels for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error) { + req, out := c.ListChannelsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListChannelsPages iterates over the pages of a ListChannels operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListChannels method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *mediatailor.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaTailor) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { + return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListChannelsPagesWithContext same as ListChannelsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListChannelsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListChannelsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListChannelsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListPlaybackConfigurations = "ListPlaybackConfigurations" + +// ListPlaybackConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the ListPlaybackConfigurations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPlaybackConfigurations for more information on using the ListPlaybackConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListPlaybackConfigurationsRequest method. +// req, resp := client.ListPlaybackConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurations +func (c *MediaTailor) ListPlaybackConfigurationsRequest(input *ListPlaybackConfigurationsInput) (req *request.Request, output *ListPlaybackConfigurationsOutput) { + op := &request.Operation{ + Name: opListPlaybackConfigurations, + HTTPMethod: "GET", + HTTPPath: "/playbackConfigurations", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListPlaybackConfigurationsInput{} + } + + output = &ListPlaybackConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPlaybackConfigurations API operation for AWS MediaTailor. +// +// Returns a list of the playback configurations defined in AWS Elemental MediaTailor. +// You can specify a maximum number of configurations to return at a time. The +// default maximum is 50. Results are returned in pagefuls. If MediaTailor has +// more configurations than the specified maximum, it provides parameters in +// the response that you can use to retrieve the next pageful. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation ListPlaybackConfigurations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurations +func (c *MediaTailor) ListPlaybackConfigurations(input *ListPlaybackConfigurationsInput) (*ListPlaybackConfigurationsOutput, error) { + req, out := c.ListPlaybackConfigurationsRequest(input) + return out, req.Send() +} + +// ListPlaybackConfigurationsWithContext is the same as ListPlaybackConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See ListPlaybackConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListPlaybackConfigurationsWithContext(ctx aws.Context, input *ListPlaybackConfigurationsInput, opts ...request.Option) (*ListPlaybackConfigurationsOutput, error) { + req, out := c.ListPlaybackConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListPlaybackConfigurationsPages iterates over the pages of a ListPlaybackConfigurations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPlaybackConfigurations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPlaybackConfigurations operation. +// pageNum := 0 +// err := client.ListPlaybackConfigurationsPages(params, +// func(page *mediatailor.ListPlaybackConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaTailor) ListPlaybackConfigurationsPages(input *ListPlaybackConfigurationsInput, fn func(*ListPlaybackConfigurationsOutput, bool) bool) error { + return c.ListPlaybackConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListPlaybackConfigurationsPagesWithContext same as ListPlaybackConfigurationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListPlaybackConfigurationsPagesWithContext(ctx aws.Context, input *ListPlaybackConfigurationsInput, fn func(*ListPlaybackConfigurationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPlaybackConfigurationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPlaybackConfigurationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListPlaybackConfigurationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListPrograms = "ListPrograms" + +// ListProgramsRequest generates a "aws/request.Request" representing the +// client's request for the ListPrograms operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPrograms for more information on using the ListPrograms +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListProgramsRequest method. +// req, resp := client.ListProgramsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPrograms +func (c *MediaTailor) ListProgramsRequest(input *ListProgramsInput) (req *request.Request, output *ListProgramsOutput) { + op := &request.Operation{ + Name: opListPrograms, + HTTPMethod: "GET", + HTTPPath: "/channel/{channelName}/programs", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListProgramsInput{} + } + + output = &ListProgramsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPrograms API operation for AWS MediaTailor. +// +// Retrieves a list of programs on a specific channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation ListPrograms for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPrograms +func (c *MediaTailor) ListPrograms(input *ListProgramsInput) (*ListProgramsOutput, error) { + req, out := c.ListProgramsRequest(input) + return out, req.Send() +} + +// ListProgramsWithContext is the same as ListPrograms with the addition of +// the ability to pass a context and additional request options. +// +// See ListPrograms for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListProgramsWithContext(ctx aws.Context, input *ListProgramsInput, opts ...request.Option) (*ListProgramsOutput, error) { + req, out := c.ListProgramsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListProgramsPages iterates over the pages of a ListPrograms operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPrograms method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPrograms operation. +// pageNum := 0 +// err := client.ListProgramsPages(params, +// func(page *mediatailor.ListProgramsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaTailor) ListProgramsPages(input *ListProgramsInput, fn func(*ListProgramsOutput, bool) bool) error { + return c.ListProgramsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListProgramsPagesWithContext same as ListProgramsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListProgramsPagesWithContext(ctx aws.Context, input *ListProgramsInput, fn func(*ListProgramsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListProgramsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListProgramsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListProgramsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSourceLocations = "ListSourceLocations" + +// ListSourceLocationsRequest generates a "aws/request.Request" representing the +// client's request for the ListSourceLocations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListSourceLocations for more information on using the ListSourceLocations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListSourceLocationsRequest method. +// req, resp := client.ListSourceLocationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations +func (c *MediaTailor) ListSourceLocationsRequest(input *ListSourceLocationsInput) (req *request.Request, output *ListSourceLocationsOutput) { + op := &request.Operation{ + Name: opListSourceLocations, + HTTPMethod: "GET", + HTTPPath: "/sourceLocations", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListSourceLocationsInput{} + } + + output = &ListSourceLocationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListSourceLocations API operation for AWS MediaTailor. +// +// Retrieves a list of source locations. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation ListSourceLocations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations +func (c *MediaTailor) ListSourceLocations(input *ListSourceLocationsInput) (*ListSourceLocationsOutput, error) { + req, out := c.ListSourceLocationsRequest(input) + return out, req.Send() +} + +// ListSourceLocationsWithContext is the same as ListSourceLocations with the addition of +// the ability to pass a context and additional request options. +// +// See ListSourceLocations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListSourceLocationsWithContext(ctx aws.Context, input *ListSourceLocationsInput, opts ...request.Option) (*ListSourceLocationsOutput, error) { + req, out := c.ListSourceLocationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListSourceLocationsPages iterates over the pages of a ListSourceLocations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSourceLocations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSourceLocations operation. +// pageNum := 0 +// err := client.ListSourceLocationsPages(params, +// func(page *mediatailor.ListSourceLocationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaTailor) ListSourceLocationsPages(input *ListSourceLocationsInput, fn func(*ListSourceLocationsOutput, bool) bool) error { + return c.ListSourceLocationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSourceLocationsPagesWithContext same as ListSourceLocationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListSourceLocationsPagesWithContext(ctx aws.Context, input *ListSourceLocationsInput, fn func(*ListSourceLocationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSourceLocationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSourceLocationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSourceLocationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource +func (c *MediaTailor) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{ResourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for AWS MediaTailor. +// +// Returns a list of the tags assigned to the specified playback configuration +// resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A request contains unexpected data. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource +func (c *MediaTailor) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListVodSources = "ListVodSources" + +// ListVodSourcesRequest generates a "aws/request.Request" representing the +// client's request for the ListVodSources operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListVodSources for more information on using the ListVodSources +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListVodSourcesRequest method. +// req, resp := client.ListVodSourcesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources +func (c *MediaTailor) ListVodSourcesRequest(input *ListVodSourcesInput) (req *request.Request, output *ListVodSourcesOutput) { + op := &request.Operation{ + Name: opListVodSources, + HTTPMethod: "GET", + HTTPPath: "/sourceLocation/{sourceLocationName}/vodSources", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListVodSourcesInput{} + } + + output = &ListVodSourcesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListVodSources API operation for AWS MediaTailor. +// +// Lists all the VOD sources in a source location. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation ListVodSources for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources +func (c *MediaTailor) ListVodSources(input *ListVodSourcesInput) (*ListVodSourcesOutput, error) { + req, out := c.ListVodSourcesRequest(input) + return out, req.Send() +} + +// ListVodSourcesWithContext is the same as ListVodSources with the addition of +// the ability to pass a context and additional request options. +// +// See ListVodSources for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListVodSourcesWithContext(ctx aws.Context, input *ListVodSourcesInput, opts ...request.Option) (*ListVodSourcesOutput, error) { + req, out := c.ListVodSourcesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListVodSourcesPages iterates over the pages of a ListVodSources operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListVodSources method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListVodSources operation. +// pageNum := 0 +// err := client.ListVodSourcesPages(params, +// func(page *mediatailor.ListVodSourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaTailor) ListVodSourcesPages(input *ListVodSourcesInput, fn func(*ListVodSourcesOutput, bool) bool) error { + return c.ListVodSourcesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListVodSourcesPagesWithContext same as ListVodSourcesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) ListVodSourcesPagesWithContext(ctx aws.Context, input *ListVodSourcesInput, fn func(*ListVodSourcesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListVodSourcesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListVodSourcesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListVodSourcesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opPutChannelPolicy = "PutChannelPolicy" + +// PutChannelPolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutChannelPolicy operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutChannelPolicy for more information on using the PutChannelPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutChannelPolicyRequest method. +// req, resp := client.PutChannelPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy +func (c *MediaTailor) PutChannelPolicyRequest(input *PutChannelPolicyInput) (req *request.Request, output *PutChannelPolicyOutput) { + op := &request.Operation{ + Name: opPutChannelPolicy, + HTTPMethod: "PUT", + HTTPPath: "/channel/{channelName}/policy", + } + + if input == nil { + input = &PutChannelPolicyInput{} + } + + output = &PutChannelPolicyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutChannelPolicy API operation for AWS MediaTailor. +// +// Creates an IAM policy for the channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation PutChannelPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy +func (c *MediaTailor) PutChannelPolicy(input *PutChannelPolicyInput) (*PutChannelPolicyOutput, error) { + req, out := c.PutChannelPolicyRequest(input) + return out, req.Send() +} + +// PutChannelPolicyWithContext is the same as PutChannelPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See PutChannelPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) PutChannelPolicyWithContext(ctx aws.Context, input *PutChannelPolicyInput, opts ...request.Option) (*PutChannelPolicyOutput, error) { + req, out := c.PutChannelPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutPlaybackConfiguration = "PutPlaybackConfiguration" + +// PutPlaybackConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the PutPlaybackConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutPlaybackConfiguration for more information on using the PutPlaybackConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutPlaybackConfigurationRequest method. +// req, resp := client.PutPlaybackConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration +func (c *MediaTailor) PutPlaybackConfigurationRequest(input *PutPlaybackConfigurationInput) (req *request.Request, output *PutPlaybackConfigurationOutput) { + op := &request.Operation{ + Name: opPutPlaybackConfiguration, + HTTPMethod: "PUT", + HTTPPath: "/playbackConfiguration", + } + + if input == nil { + input = &PutPlaybackConfigurationInput{} + } + + output = &PutPlaybackConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutPlaybackConfiguration API operation for AWS MediaTailor. +// +// Adds a new playback configuration to AWS Elemental MediaTailor. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation PutPlaybackConfiguration for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration +func (c *MediaTailor) PutPlaybackConfiguration(input *PutPlaybackConfigurationInput) (*PutPlaybackConfigurationOutput, error) { + req, out := c.PutPlaybackConfigurationRequest(input) + return out, req.Send() +} + +// PutPlaybackConfigurationWithContext is the same as PutPlaybackConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See PutPlaybackConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) PutPlaybackConfigurationWithContext(ctx aws.Context, input *PutPlaybackConfigurationInput, opts ...request.Option) (*PutPlaybackConfigurationOutput, error) { + req, out := c.PutPlaybackConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartChannel = "StartChannel" + +// StartChannelRequest generates a "aws/request.Request" representing the +// client's request for the StartChannel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartChannel for more information on using the StartChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartChannelRequest method. +// req, resp := client.StartChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel +func (c *MediaTailor) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput) { + op := &request.Operation{ + Name: opStartChannel, + HTTPMethod: "PUT", + HTTPPath: "/channel/{channelName}/start", + } + + if input == nil { + input = &StartChannelInput{} + } + + output = &StartChannelOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// StartChannel API operation for AWS MediaTailor. +// +// Starts a specific channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation StartChannel for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel +func (c *MediaTailor) StartChannel(input *StartChannelInput) (*StartChannelOutput, error) { + req, out := c.StartChannelRequest(input) + return out, req.Send() +} + +// StartChannelWithContext is the same as StartChannel with the addition of +// the ability to pass a context and additional request options. +// +// See StartChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) StartChannelWithContext(ctx aws.Context, input *StartChannelInput, opts ...request.Option) (*StartChannelOutput, error) { + req, out := c.StartChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopChannel = "StopChannel" + +// StopChannelRequest generates a "aws/request.Request" representing the +// client's request for the StopChannel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopChannel for more information on using the StopChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StopChannelRequest method. +// req, resp := client.StopChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel +func (c *MediaTailor) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput) { + op := &request.Operation{ + Name: opStopChannel, + HTTPMethod: "PUT", + HTTPPath: "/channel/{channelName}/stop", + } + + if input == nil { + input = &StopChannelInput{} + } + + output = &StopChannelOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// StopChannel API operation for AWS MediaTailor. +// +// Stops a specific channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation StopChannel for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel +func (c *MediaTailor) StopChannel(input *StopChannelInput) (*StopChannelOutput, error) { + req, out := c.StopChannelRequest(input) + return out, req.Send() +} + +// StopChannelWithContext is the same as StopChannel with the addition of +// the ability to pass a context and additional request options. +// +// See StopChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) StopChannelWithContext(ctx aws.Context, input *StopChannelInput, opts ...request.Option) (*StopChannelOutput, error) { + req, out := c.StopChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource +func (c *MediaTailor) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{ResourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for AWS MediaTailor. +// +// Adds tags to the specified playback configuration resource. You can specify +// one or more tags to add. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A request contains unexpected data. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource +func (c *MediaTailor) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource +func (c *MediaTailor) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{ResourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for AWS MediaTailor. +// +// Removes tags from the specified playback configuration resource. You can +// specify one or more tags to remove. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A request contains unexpected data. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource +func (c *MediaTailor) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateChannel = "UpdateChannel" + +// UpdateChannelRequest generates a "aws/request.Request" representing the +// client's request for the UpdateChannel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateChannel for more information on using the UpdateChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel +func (c *MediaTailor) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { + op := &request.Operation{ + Name: opUpdateChannel, + HTTPMethod: "PUT", + HTTPPath: "/channel/{channelName}", + } + + if input == nil { + input = &UpdateChannelInput{} + } + + output = &UpdateChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateChannel API operation for AWS MediaTailor. +// +// Updates an existing channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation UpdateChannel for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel +func (c *MediaTailor) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { + req, out := c.UpdateChannelRequest(input) + return out, req.Send() +} + +// UpdateChannelWithContext is the same as UpdateChannel with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error) { + req, out := c.UpdateChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateSourceLocation = "UpdateSourceLocation" + +// UpdateSourceLocationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateSourceLocation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateSourceLocation for more information on using the UpdateSourceLocation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateSourceLocationRequest method. +// req, resp := client.UpdateSourceLocationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation +func (c *MediaTailor) UpdateSourceLocationRequest(input *UpdateSourceLocationInput) (req *request.Request, output *UpdateSourceLocationOutput) { + op := &request.Operation{ + Name: opUpdateSourceLocation, + HTTPMethod: "PUT", + HTTPPath: "/sourceLocation/{sourceLocationName}", + } + + if input == nil { + input = &UpdateSourceLocationInput{} + } + + output = &UpdateSourceLocationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateSourceLocation API operation for AWS MediaTailor. +// +// Updates a source location on a specific channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation UpdateSourceLocation for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation +func (c *MediaTailor) UpdateSourceLocation(input *UpdateSourceLocationInput) (*UpdateSourceLocationOutput, error) { + req, out := c.UpdateSourceLocationRequest(input) + return out, req.Send() +} + +// UpdateSourceLocationWithContext is the same as UpdateSourceLocation with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateSourceLocation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) UpdateSourceLocationWithContext(ctx aws.Context, input *UpdateSourceLocationInput, opts ...request.Option) (*UpdateSourceLocationOutput, error) { + req, out := c.UpdateSourceLocationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateVodSource = "UpdateVodSource" + +// UpdateVodSourceRequest generates a "aws/request.Request" representing the +// client's request for the UpdateVodSource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateVodSource for more information on using the UpdateVodSource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateVodSourceRequest method. +// req, resp := client.UpdateVodSourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource +func (c *MediaTailor) UpdateVodSourceRequest(input *UpdateVodSourceInput) (req *request.Request, output *UpdateVodSourceOutput) { + op := &request.Operation{ + Name: opUpdateVodSource, + HTTPMethod: "PUT", + HTTPPath: "/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}", + } + + if input == nil { + input = &UpdateVodSourceInput{} + } + + output = &UpdateVodSourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateVodSource API operation for AWS MediaTailor. +// +// Updates a specific VOD source in a specific source location. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS MediaTailor's +// API operation UpdateVodSource for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource +func (c *MediaTailor) UpdateVodSource(input *UpdateVodSourceInput) (*UpdateVodSourceOutput, error) { + req, out := c.UpdateVodSourceRequest(input) + return out, req.Send() +} + +// UpdateVodSourceWithContext is the same as UpdateVodSource with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateVodSource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaTailor) UpdateVodSourceWithContext(ctx aws.Context, input *UpdateVodSourceInput, opts ...request.Option) (*UpdateVodSourceOutput, error) { + req, out := c.UpdateVodSourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Access configuration parameters. +type AccessConfiguration struct { + _ struct{} `type:"structure"` + + // The type of authentication used to access content from HttpConfiguration::BaseUrl + // on your source location. Accepted value: S3_SIGV4. + // + // S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style + // access. If your source location base URL is an Amazon S3 bucket, MediaTailor + // can use AWS Signature Version 4 (SigV4) authentication to access the bucket + // where your source content is stored. Your MediaTailor source location baseURL + // must follow the S3 virtual hosted-style request URL format. For example, + // https://bucket-name.s3.Region.amazonaws.com/key-name. + // + // Before you can use S3_SIGV4, you must meet these requirements: + // + // • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com + // principal access in IAM. For information about configuring access in IAM, + // see Access management in the IAM User Guide. + // + // • The mediatailor.amazonaws.com service principal must have permissions + // to read all top level manifests referenced by the VodSource packaging configurations. + // + // • The caller of the API must have s3:GetObject IAM permissions to read + // all top level manifests referenced by your MediaTailor VodSource packaging + // configurations. + AccessType *string `type:"string" enum:"AccessType"` +} + +// String returns the string representation +func (s AccessConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccessConfiguration) GoString() string { + return s.String() +} + +// SetAccessType sets the AccessType field's value. +func (s *AccessConfiguration) SetAccessType(v string) *AccessConfiguration { + s.AccessType = &v + return s +} + +// Ad break configuration parameters. +type AdBreak struct { + _ struct{} `type:"structure"` + + // The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT. + MessageType *string `type:"string" enum:"MessageType"` + + // How long (in milliseconds) after the beginning of the program that an ad + // starts. This value must fall within 100ms of a segment boundary, otherwise + // the ad break will be skipped. + OffsetMillis *int64 `type:"long"` + + // Ad break slate configuration. + Slate *SlateSource `type:"structure"` + + // This defines the SCTE-35 splice_insert() message inserted around the ad. + // For information about using splice_insert(), see the SCTE-35 specficiaiton, + // section 9.7.3.1. + SpliceInsertMessage *SpliceInsertMessage `type:"structure"` +} + +// String returns the string representation +func (s AdBreak) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdBreak) GoString() string { + return s.String() +} + +// SetMessageType sets the MessageType field's value. +func (s *AdBreak) SetMessageType(v string) *AdBreak { + s.MessageType = &v + return s +} + +// SetOffsetMillis sets the OffsetMillis field's value. +func (s *AdBreak) SetOffsetMillis(v int64) *AdBreak { + s.OffsetMillis = &v + return s +} + +// SetSlate sets the Slate field's value. +func (s *AdBreak) SetSlate(v *SlateSource) *AdBreak { + s.Slate = v + return s +} + +// SetSpliceInsertMessage sets the SpliceInsertMessage field's value. +func (s *AdBreak) SetSpliceInsertMessage(v *SpliceInsertMessage) *AdBreak { + s.SpliceInsertMessage = v + return s +} + +// 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. +type AdMarkerPassthrough struct { + _ struct{} `type:"structure"` + + // Enables ad marker passthrough for your configuration. + Enabled *bool `type:"boolean"` +} + +// String returns the string representation +func (s AdMarkerPassthrough) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdMarkerPassthrough) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *AdMarkerPassthrough) SetEnabled(v bool) *AdMarkerPassthrough { + s.Enabled = &v + return s +} + +// The configuration for avail suppression, also known as ad suppression. For +// more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html). +type AvailSuppression struct { + _ struct{} `type:"structure"` + + // Sets the ad suppression mode. By default, ad suppression is off and all ad + // breaks are filled with ads or slate. When Mode is set to 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. + Mode *string `type:"string" enum:"Mode"` + + // A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on + // or behind this time in the manifest lookback window. If Value is set to 00:00:00, + // it is in sync with the live edge, and MediaTailor won't fill any ad breaks + // on or behind the live edge. If you set a Value time, MediaTailor won't fill + // any ad breaks on or behind this time in the manifest lookback window. For + // example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur + // within 45 minutes behind the live edge, but won't fill ad breaks on or behind + // 45 minutes behind the live edge. + Value *string `type:"string"` +} + +// String returns the string representation +func (s AvailSuppression) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AvailSuppression) GoString() string { + return s.String() +} + +// SetMode sets the Mode field's value. +func (s *AvailSuppression) SetMode(v string) *AvailSuppression { + s.Mode = &v + return s +} + +// SetValue sets the Value field's value. +func (s *AvailSuppression) SetValue(v string) *AvailSuppression { + s.Value = &v + return s +} + +// A request contains unexpected data. +type BadRequestException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // Constructs a new BadRequestException with the specified error message. + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation +func (s BadRequestException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BadRequestException) GoString() string { + return s.String() +} + +func newErrorBadRequestException(v protocol.ResponseMetadata) error { + return &BadRequestException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *BadRequestException) Code() string { + return "BadRequestException" +} + +// Message returns the exception's message. +func (s *BadRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *BadRequestException) OrigErr() error { + return nil +} + +func (s *BadRequestException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *BadRequestException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *BadRequestException) RequestID() string { + return s.RespMetadata.RequestID +} + +// 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 (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html). +type Bumper struct { + _ struct{} `type:"structure"` + + // The URL for the end bumper asset. + EndUrl *string `type:"string"` + + // The URL for the start bumper asset. + StartUrl *string `type:"string"` +} + +// String returns the string representation +func (s Bumper) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Bumper) GoString() string { + return s.String() +} + +// SetEndUrl sets the EndUrl field's value. +func (s *Bumper) SetEndUrl(v string) *Bumper { + s.EndUrl = &v + return s +} + +// SetStartUrl sets the StartUrl field's value. +func (s *Bumper) SetStartUrl(v string) *Bumper { + s.StartUrl = &v + return s +} + +// The configuration for using a content delivery network (CDN), like Amazon +// CloudFront, for content and ad segment management. +type CdnConfiguration struct { + _ struct{} `type:"structure"` + + // A non-default content delivery network (CDN) to serve ad segments. By default, + // AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings + // as its CDN for ad segments. To set up an alternate CDN, create a rule in + // your CDN for the origin ads.mediatailor.