aws-sdk-mediatailor 1.37.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediatailor.rb +1 -1
- data/lib/aws-sdk-mediatailor/client.rb +1 -54
- data/lib/aws-sdk-mediatailor/client_api.rb +0 -39
- data/lib/aws-sdk-mediatailor/types.rb +0 -97
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f53b1de18cb14958e5282b0b02934c54c48ca6bf0121b118aaec63131bcca4b3
|
4
|
+
data.tar.gz: 9fe01d9d6afb7603fdf1f1cd2a3b8d726890ccbdd3380673883727986c288333
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ad621c45a32e66245a55ed806a75af7ab28c8e89ec2b5149dedd3597f80909b95d63e856a9608cb284ab0e2ebf2776532d6a4d1f5bf79d54190c9a1155f9988
|
7
|
+
data.tar.gz: 34c8e372fdb06e33228b14f844defad28a4951c06ea8b99a6101898755d148affbd9220898d88e016cf684cf2547d2677e580b23d555634193120fe792e3ca5f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.38.0 (2021-03-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - MediaTailor channel assembly is a new manifest-only service that allows you to assemble linear streams using your existing VOD content.
|
8
|
+
|
4
9
|
1.37.0 (2021-03-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.38.0
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
@@ -1204,59 +1204,6 @@ module Aws::MediaTailor
|
|
1204
1204
|
req.send_request(options)
|
1205
1205
|
end
|
1206
1206
|
|
1207
|
-
# Retrieves a list of programs on a specific channel.
|
1208
|
-
#
|
1209
|
-
# @option params [required, String] :channel_name
|
1210
|
-
#
|
1211
|
-
# @option params [Integer] :max_results
|
1212
|
-
#
|
1213
|
-
# @option params [String] :next_token
|
1214
|
-
#
|
1215
|
-
# @return [Types::ListProgramsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1216
|
-
#
|
1217
|
-
# * {Types::ListProgramsResponse#items #items} => Array<Types::Program>
|
1218
|
-
# * {Types::ListProgramsResponse#next_token #next_token} => String
|
1219
|
-
#
|
1220
|
-
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1221
|
-
#
|
1222
|
-
# @example Request syntax with placeholder values
|
1223
|
-
#
|
1224
|
-
# resp = client.list_programs({
|
1225
|
-
# channel_name: "__string", # required
|
1226
|
-
# max_results: 1,
|
1227
|
-
# next_token: "__string",
|
1228
|
-
# })
|
1229
|
-
#
|
1230
|
-
# @example Response structure
|
1231
|
-
#
|
1232
|
-
# resp.items #=> Array
|
1233
|
-
# resp.items[0].ad_breaks #=> Array
|
1234
|
-
# resp.items[0].ad_breaks[0].message_type #=> String, one of "SPLICE_INSERT"
|
1235
|
-
# resp.items[0].ad_breaks[0].offset_millis #=> Integer
|
1236
|
-
# resp.items[0].ad_breaks[0].slate.source_location_name #=> String
|
1237
|
-
# resp.items[0].ad_breaks[0].slate.vod_source_name #=> String
|
1238
|
-
# resp.items[0].ad_breaks[0].splice_insert_message.avail_num #=> Integer
|
1239
|
-
# resp.items[0].ad_breaks[0].splice_insert_message.avails_expected #=> Integer
|
1240
|
-
# resp.items[0].ad_breaks[0].splice_insert_message.splice_event_id #=> Integer
|
1241
|
-
# resp.items[0].ad_breaks[0].splice_insert_message.unique_program_id #=> Integer
|
1242
|
-
# resp.items[0].arn #=> String
|
1243
|
-
# resp.items[0].channel_name #=> String
|
1244
|
-
# resp.items[0].creation_time #=> Time
|
1245
|
-
# resp.items[0].last_modified_time #=> Time
|
1246
|
-
# resp.items[0].program_name #=> String
|
1247
|
-
# resp.items[0].source_location_name #=> String
|
1248
|
-
# resp.items[0].vod_source_name #=> String
|
1249
|
-
# resp.next_token #=> String
|
1250
|
-
#
|
1251
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPrograms AWS API Documentation
|
1252
|
-
#
|
1253
|
-
# @overload list_programs(params = {})
|
1254
|
-
# @param [Hash] params ({})
|
1255
|
-
def list_programs(params = {}, options = {})
|
1256
|
-
req = build_request(:list_programs, params)
|
1257
|
-
req.send_request(options)
|
1258
|
-
end
|
1259
|
-
|
1260
1207
|
# Retrieves a list of source locations.
|
1261
1208
|
#
|
1262
1209
|
# @option params [Integer] :max_results
|
@@ -1889,7 +1836,7 @@ module Aws::MediaTailor
|
|
1889
1836
|
params: params,
|
1890
1837
|
config: config)
|
1891
1838
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
1892
|
-
context[:gem_version] = '1.
|
1839
|
+
context[:gem_version] = '1.38.0'
|
1893
1840
|
Seahorse::Client::Request.new(handlers, context)
|
1894
1841
|
end
|
1895
1842
|
|
@@ -72,8 +72,6 @@ module Aws::MediaTailor
|
|
72
72
|
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
73
73
|
ListPlaybackConfigurationsRequest = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsRequest')
|
74
74
|
ListPlaybackConfigurationsResponse = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsResponse')
|
75
|
-
ListProgramsRequest = Shapes::StructureShape.new(name: 'ListProgramsRequest')
|
76
|
-
ListProgramsResponse = Shapes::StructureShape.new(name: 'ListProgramsResponse')
|
77
75
|
ListSourceLocationsRequest = Shapes::StructureShape.new(name: 'ListSourceLocationsRequest')
|
78
76
|
ListSourceLocationsResponse = Shapes::StructureShape.new(name: 'ListSourceLocationsResponse')
|
79
77
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -88,7 +86,6 @@ module Aws::MediaTailor
|
|
88
86
|
OriginManifestType = Shapes::StringShape.new(name: 'OriginManifestType')
|
89
87
|
PlaybackConfiguration = Shapes::StructureShape.new(name: 'PlaybackConfiguration')
|
90
88
|
PlaybackMode = Shapes::StringShape.new(name: 'PlaybackMode')
|
91
|
-
Program = Shapes::StructureShape.new(name: 'Program')
|
92
89
|
PutChannelPolicyRequest = Shapes::StructureShape.new(name: 'PutChannelPolicyRequest')
|
93
90
|
PutChannelPolicyResponse = Shapes::StructureShape.new(name: 'PutChannelPolicyResponse')
|
94
91
|
PutPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'PutPlaybackConfigurationRequest')
|
@@ -124,7 +121,6 @@ module Aws::MediaTailor
|
|
124
121
|
__listOfAdBreak = Shapes::ListShape.new(name: '__listOfAdBreak')
|
125
122
|
__listOfChannel = Shapes::ListShape.new(name: '__listOfChannel')
|
126
123
|
__listOfPlaybackConfiguration = Shapes::ListShape.new(name: '__listOfPlaybackConfiguration')
|
127
|
-
__listOfProgram = Shapes::ListShape.new(name: '__listOfProgram')
|
128
124
|
__listOfScheduleEntry = Shapes::ListShape.new(name: '__listOfScheduleEntry')
|
129
125
|
__listOfSourceLocation = Shapes::ListShape.new(name: '__listOfSourceLocation')
|
130
126
|
__listOfVodSource = Shapes::ListShape.new(name: '__listOfVodSource')
|
@@ -415,15 +411,6 @@ module Aws::MediaTailor
|
|
415
411
|
ListPlaybackConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
416
412
|
ListPlaybackConfigurationsResponse.struct_class = Types::ListPlaybackConfigurationsResponse
|
417
413
|
|
418
|
-
ListProgramsRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelName"))
|
419
|
-
ListProgramsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
420
|
-
ListProgramsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
421
|
-
ListProgramsRequest.struct_class = Types::ListProgramsRequest
|
422
|
-
|
423
|
-
ListProgramsResponse.add_member(:items, Shapes::ShapeRef.new(shape: __listOfProgram, location_name: "Items"))
|
424
|
-
ListProgramsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
425
|
-
ListProgramsResponse.struct_class = Types::ListProgramsResponse
|
426
|
-
|
427
414
|
ListSourceLocationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
428
415
|
ListSourceLocationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
429
416
|
ListSourceLocationsRequest.struct_class = Types::ListSourceLocationsRequest
|
@@ -474,16 +461,6 @@ module Aws::MediaTailor
|
|
474
461
|
PlaybackConfiguration.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
|
475
462
|
PlaybackConfiguration.struct_class = Types::PlaybackConfiguration
|
476
463
|
|
477
|
-
Program.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
|
478
|
-
Program.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
|
479
|
-
Program.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelName"))
|
480
|
-
Program.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
|
481
|
-
Program.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "LastModifiedTime"))
|
482
|
-
Program.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProgramName"))
|
483
|
-
Program.add_member(:source_location_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "SourceLocationName"))
|
484
|
-
Program.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "VodSourceName"))
|
485
|
-
Program.struct_class = Types::Program
|
486
|
-
|
487
464
|
PutChannelPolicyRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelName"))
|
488
465
|
PutChannelPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Policy"))
|
489
466
|
PutChannelPolicyRequest.struct_class = Types::PutChannelPolicyRequest
|
@@ -657,8 +634,6 @@ module Aws::MediaTailor
|
|
657
634
|
|
658
635
|
__listOfPlaybackConfiguration.member = Shapes::ShapeRef.new(shape: PlaybackConfiguration)
|
659
636
|
|
660
|
-
__listOfProgram.member = Shapes::ShapeRef.new(shape: Program)
|
661
|
-
|
662
637
|
__listOfScheduleEntry.member = Shapes::ShapeRef.new(shape: ScheduleEntry)
|
663
638
|
|
664
639
|
__listOfSourceLocation.member = Shapes::ShapeRef.new(shape: SourceLocation)
|
@@ -859,20 +834,6 @@ module Aws::MediaTailor
|
|
859
834
|
)
|
860
835
|
end)
|
861
836
|
|
862
|
-
api.add_operation(:list_programs, Seahorse::Model::Operation.new.tap do |o|
|
863
|
-
o.name = "ListPrograms"
|
864
|
-
o.http_method = "GET"
|
865
|
-
o.http_request_uri = "/channel/{channelName}/programs"
|
866
|
-
o.input = Shapes::ShapeRef.new(shape: ListProgramsRequest)
|
867
|
-
o.output = Shapes::ShapeRef.new(shape: ListProgramsResponse)
|
868
|
-
o[:pager] = Aws::Pager.new(
|
869
|
-
limit_key: "max_results",
|
870
|
-
tokens: {
|
871
|
-
"next_token" => "next_token"
|
872
|
-
}
|
873
|
-
)
|
874
|
-
end)
|
875
|
-
|
876
837
|
api.add_operation(:list_source_locations, Seahorse::Model::Operation.new.tap do |o|
|
877
838
|
o.name = "ListSourceLocations"
|
878
839
|
o.http_method = "GET"
|
@@ -1713,54 +1713,6 @@ module Aws::MediaTailor
|
|
1713
1713
|
include Aws::Structure
|
1714
1714
|
end
|
1715
1715
|
|
1716
|
-
# @note When making an API call, you may pass ListProgramsRequest
|
1717
|
-
# data as a hash:
|
1718
|
-
#
|
1719
|
-
# {
|
1720
|
-
# channel_name: "__string", # required
|
1721
|
-
# max_results: 1,
|
1722
|
-
# next_token: "__string",
|
1723
|
-
# }
|
1724
|
-
#
|
1725
|
-
# @!attribute [rw] channel_name
|
1726
|
-
# @return [String]
|
1727
|
-
#
|
1728
|
-
# @!attribute [rw] max_results
|
1729
|
-
# @return [Integer]
|
1730
|
-
#
|
1731
|
-
# @!attribute [rw] next_token
|
1732
|
-
# @return [String]
|
1733
|
-
#
|
1734
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListProgramsRequest AWS API Documentation
|
1735
|
-
#
|
1736
|
-
class ListProgramsRequest < Struct.new(
|
1737
|
-
:channel_name,
|
1738
|
-
:max_results,
|
1739
|
-
:next_token)
|
1740
|
-
SENSITIVE = []
|
1741
|
-
include Aws::Structure
|
1742
|
-
end
|
1743
|
-
|
1744
|
-
# Returns a list of programs for a channel.
|
1745
|
-
#
|
1746
|
-
# @!attribute [rw] items
|
1747
|
-
# An array containing the programs for a channel.
|
1748
|
-
# @return [Array<Types::Program>]
|
1749
|
-
#
|
1750
|
-
# @!attribute [rw] next_token
|
1751
|
-
# Pagination token from the list request. Use the token to fetch the
|
1752
|
-
# next page of results.
|
1753
|
-
# @return [String]
|
1754
|
-
#
|
1755
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListProgramsResponse AWS API Documentation
|
1756
|
-
#
|
1757
|
-
class ListProgramsResponse < Struct.new(
|
1758
|
-
:items,
|
1759
|
-
:next_token)
|
1760
|
-
SENSITIVE = []
|
1761
|
-
include Aws::Structure
|
1762
|
-
end
|
1763
|
-
|
1764
1716
|
# @note When making an API call, you may pass ListSourceLocationsRequest
|
1765
1717
|
# data as a hash:
|
1766
1718
|
#
|
@@ -2102,55 +2054,6 @@ module Aws::MediaTailor
|
|
2102
2054
|
include Aws::Structure
|
2103
2055
|
end
|
2104
2056
|
|
2105
|
-
# Program configuration parameters.
|
2106
|
-
#
|
2107
|
-
# @!attribute [rw] ad_breaks
|
2108
|
-
# The ad break configuration settings.
|
2109
|
-
# @return [Array<Types::AdBreak>]
|
2110
|
-
#
|
2111
|
-
# @!attribute [rw] arn
|
2112
|
-
# The ARN of the program.
|
2113
|
-
# @return [String]
|
2114
|
-
#
|
2115
|
-
# @!attribute [rw] channel_name
|
2116
|
-
# The name of the channel that the program belongs to.
|
2117
|
-
# @return [String]
|
2118
|
-
#
|
2119
|
-
# @!attribute [rw] creation_time
|
2120
|
-
# The timestamp of when the program was created.
|
2121
|
-
# @return [Time]
|
2122
|
-
#
|
2123
|
-
# @!attribute [rw] last_modified_time
|
2124
|
-
# The timestamp of when the program was last modified.
|
2125
|
-
# @return [Time]
|
2126
|
-
#
|
2127
|
-
# @!attribute [rw] program_name
|
2128
|
-
# The name of the program.
|
2129
|
-
# @return [String]
|
2130
|
-
#
|
2131
|
-
# @!attribute [rw] source_location_name
|
2132
|
-
# The name of the source location.
|
2133
|
-
# @return [String]
|
2134
|
-
#
|
2135
|
-
# @!attribute [rw] vod_source_name
|
2136
|
-
# The name that's used to refer to a VOD source.
|
2137
|
-
# @return [String]
|
2138
|
-
#
|
2139
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/Program AWS API Documentation
|
2140
|
-
#
|
2141
|
-
class Program < Struct.new(
|
2142
|
-
:ad_breaks,
|
2143
|
-
:arn,
|
2144
|
-
:channel_name,
|
2145
|
-
:creation_time,
|
2146
|
-
:last_modified_time,
|
2147
|
-
:program_name,
|
2148
|
-
:source_location_name,
|
2149
|
-
:vod_source_name)
|
2150
|
-
SENSITIVE = []
|
2151
|
-
include Aws::Structure
|
2152
|
-
end
|
2153
|
-
|
2154
2057
|
# Adds an IAM policy for the channel.
|
2155
2058
|
#
|
2156
2059
|
# @note When making an API call, you may pass PutChannelPolicyRequest
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mediatailor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|