aws-sdk-mediatailor 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2708a8366070002de357a456570f9238ab951caf
4
- data.tar.gz: c9a09b7e712c0a8709ea1c4208d888938131e9f2
3
+ metadata.gz: 8f0a94f1d146c67ce4c94aa887617c9c9167c3a8
4
+ data.tar.gz: 04ec7147324a54f939b7c53ec89cc63f3975bffc
5
5
  SHA512:
6
- metadata.gz: 56037da527c847671058035159cd58c501bc8e40d91a813867d80c2a18d8a0e63e8f511e2f29de05d85a33e795ac2387754d35615ab38427e323595ab7fcbe30
7
- data.tar.gz: 8a98ff12a21f866755e8a155acd54ab1ccf18a12492dc3bbab3f2d49ea9e9a5f9aec972bdb62ca497e338294825ba4d6874dad5239e2e61e9d399c8fa5518130
6
+ metadata.gz: 34dd9ff1ae7781ae7141540075bff22716c41ec463d5d85a53fc7f6c991e16460d1c0cbc797a61119f0329a11486aecc883e7a6b84529f206f578e4575ae2ae1
7
+ data.tar.gz: 560248861c5d8b0a8cb9f75d6af8798c18cefcc487df068b81527eccc2fdac919184210433fe5f03fc888c8d8354520a5dac9be319b9136dedc4746761762893
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
42
42
  # @service
43
43
  module Aws::MediaTailor
44
44
 
45
- GEM_VERSION = '1.6.0'
45
+ GEM_VERSION = '1.7.0'
46
46
 
47
47
  end
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
15
  require 'aws-sdk-core/plugins/retry_errors.rb'
16
16
  require 'aws-sdk-core/plugins/global_configuration.rb'
17
17
  require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
18
19
  require 'aws-sdk-core/plugins/response_paging.rb'
19
20
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
21
  require 'aws-sdk-core/plugins/idempotency_token.rb'
@@ -45,6 +46,7 @@ module Aws::MediaTailor
45
46
  add_plugin(Aws::Plugins::RetryErrors)
46
47
  add_plugin(Aws::Plugins::GlobalConfiguration)
47
48
  add_plugin(Aws::Plugins::RegionalEndpoint)
49
+ add_plugin(Aws::Plugins::EndpointDiscovery)
48
50
  add_plugin(Aws::Plugins::ResponsePaging)
49
51
  add_plugin(Aws::Plugins::StubResponses)
50
52
  add_plugin(Aws::Plugins::IdempotencyToken)
@@ -98,6 +100,10 @@ module Aws::MediaTailor
98
100
  #
99
101
  # @option options [String] :access_key_id
100
102
  #
103
+ # @option options [Boolean] :active_endpoint_cache (false)
104
+ # When set to `true`, a thread polling for endpoints will be running in
105
+ # the background every 60 secs (default). Defaults to `false`.
106
+ #
101
107
  # @option options [Boolean] :client_side_monitoring (false)
102
108
  # When `true`, client-side metrics will be collected for all API requests from
103
109
  # this client.
@@ -123,6 +129,21 @@ module Aws::MediaTailor
123
129
  # option. You should only configure an `:endpoint` when connecting
124
130
  # to test endpoints. This should be avalid HTTP(S) URI.
125
131
  #
132
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
133
+ # Used for the maximum size limit of the LRU cache storing endpoints data
134
+ # for endpoint discovery enabled operations. Defaults to 1000.
135
+ #
136
+ # @option options [Integer] :endpoint_cache_max_threads (10)
137
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
138
+ #
139
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
140
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
141
+ # Use this option to config the time interval in seconds for making
142
+ # requests fetching endpoints information. Defaults to 60 sec.
143
+ #
144
+ # @option options [Boolean] :endpoint_discovery (false)
145
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
146
+ #
126
147
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
127
148
  # The log formatter.
128
149
  #
@@ -207,11 +228,13 @@ module Aws::MediaTailor
207
228
  #
208
229
  # * {Types::GetPlaybackConfigurationResponse#ad_decision_server_url #ad_decision_server_url} => String
209
230
  # * {Types::GetPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
231
+ # * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
210
232
  # * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
211
233
  # * {Types::GetPlaybackConfigurationResponse#name #name} => String
212
234
  # * {Types::GetPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
213
235
  # * {Types::GetPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
214
236
  # * {Types::GetPlaybackConfigurationResponse#slate_ad_url #slate_ad_url} => String
237
+ # * {Types::GetPlaybackConfigurationResponse#transcode_profile_name #transcode_profile_name} => String
215
238
  # * {Types::GetPlaybackConfigurationResponse#video_content_source_url #video_content_source_url} => String
216
239
  #
217
240
  # @example Request syntax with placeholder values
@@ -225,11 +248,13 @@ module Aws::MediaTailor
225
248
  # resp.ad_decision_server_url #=> String
226
249
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
227
250
  # resp.cdn_configuration.content_segment_url_prefix #=> String
251
+ # resp.dash_configuration.manifest_endpoint_prefix #=> String
228
252
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
229
253
  # resp.name #=> String
230
254
  # resp.playback_endpoint_prefix #=> String
231
255
  # resp.session_initialization_endpoint_prefix #=> String
232
256
  # resp.slate_ad_url #=> String
257
+ # resp.transcode_profile_name #=> String
233
258
  # resp.video_content_source_url #=> String
234
259
  #
235
260
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration AWS API Documentation
@@ -310,6 +335,12 @@ module Aws::MediaTailor
310
335
  # that are designated for dynamic ad content. The slate must be a
311
336
  # high-quality asset that contains both audio and video.
312
337
  #
338
+ # @option params [String] :transcode_profile_name
339
+ # Associate this playbackConfiguration with a custom transcode profile,
340
+ # overriding MediaTailor's dynamic transcoding defaults. Do not include
341
+ # this field if you have not setup custom profiles with the MediaTailor
342
+ # service team.
343
+ #
313
344
  # @option params [String] :video_content_source_url
314
345
  # The URL prefix for the master playlist for the stream, minus the asset
315
346
  # ID. The maximum length is 512 characters.
@@ -318,11 +349,13 @@ module Aws::MediaTailor
318
349
  #
319
350
  # * {Types::PutPlaybackConfigurationResponse#ad_decision_server_url #ad_decision_server_url} => String
320
351
  # * {Types::PutPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
352
+ # * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
321
353
  # * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
322
354
  # * {Types::PutPlaybackConfigurationResponse#name #name} => String
323
355
  # * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
324
356
  # * {Types::PutPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
325
357
  # * {Types::PutPlaybackConfigurationResponse#slate_ad_url #slate_ad_url} => String
358
+ # * {Types::PutPlaybackConfigurationResponse#transcode_profile_name #transcode_profile_name} => String
326
359
  # * {Types::PutPlaybackConfigurationResponse#video_content_source_url #video_content_source_url} => String
327
360
  #
328
361
  # @example Request syntax with placeholder values
@@ -335,6 +368,7 @@ module Aws::MediaTailor
335
368
  # },
336
369
  # name: "__string",
337
370
  # slate_ad_url: "__string",
371
+ # transcode_profile_name: "__string",
338
372
  # video_content_source_url: "__string",
339
373
  # })
340
374
  #
@@ -343,11 +377,13 @@ module Aws::MediaTailor
343
377
  # resp.ad_decision_server_url #=> String
344
378
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
345
379
  # resp.cdn_configuration.content_segment_url_prefix #=> String
380
+ # resp.dash_configuration.manifest_endpoint_prefix #=> String
346
381
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
347
382
  # resp.name #=> String
348
383
  # resp.playback_endpoint_prefix #=> String
349
384
  # resp.session_initialization_endpoint_prefix #=> String
350
385
  # resp.slate_ad_url #=> String
386
+ # resp.transcode_profile_name #=> String
351
387
  # resp.video_content_source_url #=> String
352
388
  #
353
389
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration AWS API Documentation
@@ -372,7 +408,7 @@ module Aws::MediaTailor
372
408
  params: params,
373
409
  config: config)
374
410
  context[:gem_name] = 'aws-sdk-mediatailor'
375
- context[:gem_version] = '1.6.0'
411
+ context[:gem_version] = '1.7.0'
376
412
  Seahorse::Client::Request.new(handlers, context)
377
413
  end
378
414
 
@@ -12,6 +12,7 @@ module Aws::MediaTailor
12
12
  include Seahorse::Model
13
13
 
14
14
  CdnConfiguration = Shapes::StructureShape.new(name: 'CdnConfiguration')
15
+ DashConfiguration = Shapes::StructureShape.new(name: 'DashConfiguration')
15
16
  DeletePlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'DeletePlaybackConfigurationRequest')
16
17
  GetPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'GetPlaybackConfigurationRequest')
17
18
  GetPlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'GetPlaybackConfigurationResponse')
@@ -28,11 +29,16 @@ module Aws::MediaTailor
28
29
  __listOfPlaybackConfigurations = Shapes::ListShape.new(name: '__listOfPlaybackConfigurations')
29
30
  __long = Shapes::IntegerShape.new(name: '__long')
30
31
  __string = Shapes::StringShape.new(name: '__string')
32
+ __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
33
+ __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
31
34
 
32
35
  CdnConfiguration.add_member(:ad_segment_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "AdSegmentUrlPrefix"))
33
36
  CdnConfiguration.add_member(:content_segment_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "ContentSegmentUrlPrefix"))
34
37
  CdnConfiguration.struct_class = Types::CdnConfiguration
35
38
 
39
+ DashConfiguration.add_member(:manifest_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "ManifestEndpointPrefix"))
40
+ DashConfiguration.struct_class = Types::DashConfiguration
41
+
36
42
  DeletePlaybackConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "Name"))
37
43
  DeletePlaybackConfigurationRequest.struct_class = Types::DeletePlaybackConfigurationRequest
38
44
 
@@ -41,11 +47,13 @@ module Aws::MediaTailor
41
47
 
42
48
  GetPlaybackConfigurationResponse.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
43
49
  GetPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
50
+ GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
44
51
  GetPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
45
52
  GetPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
46
53
  GetPlaybackConfigurationResponse.add_member(:playback_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackEndpointPrefix"))
47
54
  GetPlaybackConfigurationResponse.add_member(:session_initialization_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "SessionInitializationEndpointPrefix"))
48
55
  GetPlaybackConfigurationResponse.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
56
+ GetPlaybackConfigurationResponse.add_member(:transcode_profile_name, Shapes::ShapeRef.new(shape: __string, location_name: "TranscodeProfileName"))
49
57
  GetPlaybackConfigurationResponse.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
50
58
  GetPlaybackConfigurationResponse.struct_class = Types::GetPlaybackConfigurationResponse
51
59
 
@@ -71,16 +79,19 @@ module Aws::MediaTailor
71
79
  PutPlaybackConfigurationRequest.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
72
80
  PutPlaybackConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
73
81
  PutPlaybackConfigurationRequest.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
82
+ PutPlaybackConfigurationRequest.add_member(:transcode_profile_name, Shapes::ShapeRef.new(shape: __string, location_name: "TranscodeProfileName"))
74
83
  PutPlaybackConfigurationRequest.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
75
84
  PutPlaybackConfigurationRequest.struct_class = Types::PutPlaybackConfigurationRequest
76
85
 
77
86
  PutPlaybackConfigurationResponse.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
78
87
  PutPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
88
+ PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
79
89
  PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
80
90
  PutPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
81
91
  PutPlaybackConfigurationResponse.add_member(:playback_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackEndpointPrefix"))
82
92
  PutPlaybackConfigurationResponse.add_member(:session_initialization_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "SessionInitializationEndpointPrefix"))
83
93
  PutPlaybackConfigurationResponse.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
94
+ PutPlaybackConfigurationResponse.add_member(:transcode_profile_name, Shapes::ShapeRef.new(shape: __string, location_name: "TranscodeProfileName"))
84
95
  PutPlaybackConfigurationResponse.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
85
96
  PutPlaybackConfigurationResponse.struct_class = Types::PutPlaybackConfigurationResponse
86
97
 
@@ -61,6 +61,20 @@ module Aws::MediaTailor
61
61
  include Aws::Structure
62
62
  end
63
63
 
64
+ # The configuration object for dash content.
65
+ #
66
+ # @!attribute [rw] manifest_endpoint_prefix
67
+ # The URL that is used to initiate a playback session for devices that
68
+ # support DASH.
69
+ # @return [String]
70
+ #
71
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DashConfiguration AWS API Documentation
72
+ #
73
+ class DashConfiguration < Struct.new(
74
+ :manifest_endpoint_prefix)
75
+ include Aws::Structure
76
+ end
77
+
64
78
  # @note When making an API call, you may pass DeletePlaybackConfigurationRequest
65
79
  # data as a hash:
66
80
  #
@@ -109,6 +123,10 @@ module Aws::MediaTailor
109
123
  # Amazon CloudFront, for content and ad segment management.
110
124
  # @return [Types::CdnConfiguration]
111
125
  #
126
+ # @!attribute [rw] dash_configuration
127
+ # The configuration object for dash content.
128
+ # @return [Types::DashConfiguration]
129
+ #
112
130
  # @!attribute [rw] hls_configuration
113
131
  # The configuration for HLS content.
114
132
  # @return [Types::HlsConfiguration]
@@ -137,6 +155,13 @@ module Aws::MediaTailor
137
155
  # asset that contains both audio and video.
138
156
  # @return [String]
139
157
  #
158
+ # @!attribute [rw] transcode_profile_name
159
+ # Associate this playbackConfiguration with a custom transcode
160
+ # profile, overriding MediaTailor's dynamic transcoding defaults. Do
161
+ # not include this field if you have not setup custom profiles with
162
+ # the MediaTailor service team.
163
+ # @return [String]
164
+ #
140
165
  # @!attribute [rw] video_content_source_url
141
166
  # The URL prefix for the master playlist for the stream, minus the
142
167
  # asset ID. The maximum length is 512 characters.
@@ -147,11 +172,13 @@ module Aws::MediaTailor
147
172
  class GetPlaybackConfigurationResponse < Struct.new(
148
173
  :ad_decision_server_url,
149
174
  :cdn_configuration,
175
+ :dash_configuration,
150
176
  :hls_configuration,
151
177
  :name,
152
178
  :playback_endpoint_prefix,
153
179
  :session_initialization_endpoint_prefix,
154
180
  :slate_ad_url,
181
+ :transcode_profile_name,
155
182
  :video_content_source_url)
156
183
  include Aws::Structure
157
184
  end
@@ -237,6 +264,7 @@ module Aws::MediaTailor
237
264
  # },
238
265
  # name: "__string",
239
266
  # slate_ad_url: "__string",
267
+ # transcode_profile_name: "__string",
240
268
  # video_content_source_url: "__string",
241
269
  # }
242
270
  #
@@ -268,6 +296,13 @@ module Aws::MediaTailor
268
296
  # high-quality asset that contains both audio and video.
269
297
  # @return [String]
270
298
  #
299
+ # @!attribute [rw] transcode_profile_name
300
+ # Associate this playbackConfiguration with a custom transcode
301
+ # profile, overriding MediaTailor's dynamic transcoding defaults. Do
302
+ # not include this field if you have not setup custom profiles with
303
+ # the MediaTailor service team.
304
+ # @return [String]
305
+ #
271
306
  # @!attribute [rw] video_content_source_url
272
307
  # The URL prefix for the master playlist for the stream, minus the
273
308
  # asset ID. The maximum length is 512 characters.
@@ -280,6 +315,7 @@ module Aws::MediaTailor
280
315
  :cdn_configuration,
281
316
  :name,
282
317
  :slate_ad_url,
318
+ :transcode_profile_name,
283
319
  :video_content_source_url)
284
320
  include Aws::Structure
285
321
  end
@@ -292,6 +328,10 @@ module Aws::MediaTailor
292
328
  # Amazon CloudFront, for content and ad segment management.
293
329
  # @return [Types::CdnConfiguration]
294
330
  #
331
+ # @!attribute [rw] dash_configuration
332
+ # The configuration object for dash content.
333
+ # @return [Types::DashConfiguration]
334
+ #
295
335
  # @!attribute [rw] hls_configuration
296
336
  # The configuration for HLS content.
297
337
  # @return [Types::HlsConfiguration]
@@ -308,6 +348,9 @@ module Aws::MediaTailor
308
348
  # @!attribute [rw] slate_ad_url
309
349
  # @return [String]
310
350
  #
351
+ # @!attribute [rw] transcode_profile_name
352
+ # @return [String]
353
+ #
311
354
  # @!attribute [rw] video_content_source_url
312
355
  # @return [String]
313
356
  #
@@ -316,11 +359,13 @@ module Aws::MediaTailor
316
359
  class PutPlaybackConfigurationResponse < Struct.new(
317
360
  :ad_decision_server_url,
318
361
  :cdn_configuration,
362
+ :dash_configuration,
319
363
  :hls_configuration,
320
364
  :name,
321
365
  :playback_endpoint_prefix,
322
366
  :session_initialization_endpoint_prefix,
323
367
  :slate_ad_url,
368
+ :transcode_profile_name,
324
369
  :video_content_source_url)
325
370
  include Aws::Structure
326
371
  end
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.6.0
4
+ version: 1.7.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: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core