aws-sdk-mediatailor 1.9.0 → 1.10.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 +4 -4
- data/lib/aws-sdk-mediatailor.rb +1 -1
- data/lib/aws-sdk-mediatailor/client.rb +125 -18
- data/lib/aws-sdk-mediatailor/client_api.rb +69 -0
- data/lib/aws-sdk-mediatailor/types.rb +184 -28
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71546f11f000cd1ec091f260b4bdf16083f7e905
|
4
|
+
data.tar.gz: 9cdfc65dd8af2253d9c596b102bacdd96110d6b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f596c7013d1433bef80ff923a59474dfed33deb6aedabe4d196e627a878a416b7a10ab52bfe3ea0f290c4f1d7954ffa3f39dcb435a7c06e878025e4417e4e54
|
7
|
+
data.tar.gz: 91d199b6eae73fef4f0db7d0c643641c47a2fe7487839fa40981da1a8365687ee42770f5ad4e75e229237e3bbd2030294ba638ecb028b4d39a7364b96291c734
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
@@ -205,7 +205,7 @@ module Aws::MediaTailor
|
|
205
205
|
|
206
206
|
# @!group API Operations
|
207
207
|
|
208
|
-
# Deletes the configuration for the specified name.
|
208
|
+
# Deletes the playback configuration for the specified name.
|
209
209
|
#
|
210
210
|
# @option params [required, String] :name
|
211
211
|
#
|
@@ -226,7 +226,7 @@ module Aws::MediaTailor
|
|
226
226
|
req.send_request(options)
|
227
227
|
end
|
228
228
|
|
229
|
-
# Returns the configuration for the specified name.
|
229
|
+
# Returns the playback configuration for the specified name.
|
230
230
|
#
|
231
231
|
# @option params [required, String] :name
|
232
232
|
#
|
@@ -237,9 +237,11 @@ module Aws::MediaTailor
|
|
237
237
|
# * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
238
238
|
# * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
239
239
|
# * {Types::GetPlaybackConfigurationResponse#name #name} => String
|
240
|
+
# * {Types::GetPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
|
240
241
|
# * {Types::GetPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
|
241
242
|
# * {Types::GetPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
|
242
243
|
# * {Types::GetPlaybackConfigurationResponse#slate_ad_url #slate_ad_url} => String
|
244
|
+
# * {Types::GetPlaybackConfigurationResponse#tags #tags} => Hash<String,String>
|
243
245
|
# * {Types::GetPlaybackConfigurationResponse#transcode_profile_name #transcode_profile_name} => String
|
244
246
|
# * {Types::GetPlaybackConfigurationResponse#video_content_source_url #video_content_source_url} => String
|
245
247
|
#
|
@@ -258,9 +260,12 @@ module Aws::MediaTailor
|
|
258
260
|
# resp.dash_configuration.mpd_location #=> String
|
259
261
|
# resp.hls_configuration.manifest_endpoint_prefix #=> String
|
260
262
|
# resp.name #=> String
|
263
|
+
# resp.playback_configuration_arn #=> String
|
261
264
|
# resp.playback_endpoint_prefix #=> String
|
262
265
|
# resp.session_initialization_endpoint_prefix #=> String
|
263
266
|
# resp.slate_ad_url #=> String
|
267
|
+
# resp.tags #=> Hash
|
268
|
+
# resp.tags["__string"] #=> String
|
264
269
|
# resp.transcode_profile_name #=> String
|
265
270
|
# resp.video_content_source_url #=> String
|
266
271
|
#
|
@@ -273,11 +278,11 @@ module Aws::MediaTailor
|
|
273
278
|
req.send_request(options)
|
274
279
|
end
|
275
280
|
|
276
|
-
# Returns a list of the configurations defined in AWS Elemental
|
277
|
-
# MediaTailor. You can specify a
|
278
|
-
# at a time. The default
|
279
|
-
#
|
280
|
-
#
|
281
|
+
# Returns a list of the playback configurations defined in AWS Elemental
|
282
|
+
# MediaTailor. You can specify a maximum number of configurations to
|
283
|
+
# return at a time. The default maximum is 50. Results are returned in
|
284
|
+
# pagefuls. If MediaTailor has more configurations than the specified
|
285
|
+
# maximum, it provides parameters in the response that you can use to
|
281
286
|
# retrieve the next pageful.
|
282
287
|
#
|
283
288
|
# @option params [Integer] :max_results
|
@@ -302,8 +307,17 @@ module Aws::MediaTailor
|
|
302
307
|
# resp.items[0].ad_decision_server_url #=> String
|
303
308
|
# resp.items[0].cdn_configuration.ad_segment_url_prefix #=> String
|
304
309
|
# resp.items[0].cdn_configuration.content_segment_url_prefix #=> String
|
310
|
+
# resp.items[0].dash_configuration.manifest_endpoint_prefix #=> String
|
311
|
+
# resp.items[0].dash_configuration.mpd_location #=> String
|
312
|
+
# resp.items[0].hls_configuration.manifest_endpoint_prefix #=> String
|
305
313
|
# resp.items[0].name #=> String
|
314
|
+
# resp.items[0].playback_configuration_arn #=> String
|
315
|
+
# resp.items[0].playback_endpoint_prefix #=> String
|
316
|
+
# resp.items[0].session_initialization_endpoint_prefix #=> String
|
306
317
|
# resp.items[0].slate_ad_url #=> String
|
318
|
+
# resp.items[0].tags #=> Hash
|
319
|
+
# resp.items[0].tags["__string"] #=> String
|
320
|
+
# resp.items[0].transcode_profile_name #=> String
|
307
321
|
# resp.items[0].video_content_source_url #=> String
|
308
322
|
# resp.next_token #=> String
|
309
323
|
#
|
@@ -316,7 +330,36 @@ module Aws::MediaTailor
|
|
316
330
|
req.send_request(options)
|
317
331
|
end
|
318
332
|
|
319
|
-
#
|
333
|
+
# Returns a list of the tags assigned to the specified playback
|
334
|
+
# configuration resource.
|
335
|
+
#
|
336
|
+
# @option params [required, String] :resource_arn
|
337
|
+
#
|
338
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
339
|
+
#
|
340
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
341
|
+
#
|
342
|
+
# @example Request syntax with placeholder values
|
343
|
+
#
|
344
|
+
# resp = client.list_tags_for_resource({
|
345
|
+
# resource_arn: "__string", # required
|
346
|
+
# })
|
347
|
+
#
|
348
|
+
# @example Response structure
|
349
|
+
#
|
350
|
+
# resp.tags #=> Hash
|
351
|
+
# resp.tags["__string"] #=> String
|
352
|
+
#
|
353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource AWS API Documentation
|
354
|
+
#
|
355
|
+
# @overload list_tags_for_resource(params = {})
|
356
|
+
# @param [Hash] params ({})
|
357
|
+
def list_tags_for_resource(params = {}, options = {})
|
358
|
+
req = build_request(:list_tags_for_resource, params)
|
359
|
+
req.send_request(options)
|
360
|
+
end
|
361
|
+
|
362
|
+
# Adds a new playback configuration to AWS Elemental MediaTailor.
|
320
363
|
#
|
321
364
|
# @option params [String] :ad_decision_server_url
|
322
365
|
# The URL for the ad decision server (ADS). This includes the
|
@@ -324,31 +367,35 @@ module Aws::MediaTailor
|
|
324
367
|
# parameters. AWS Elemental MediaTailor substitutes player-specific and
|
325
368
|
# session-specific parameters as needed when calling the ADS.
|
326
369
|
# Alternately, for testing you can provide a static VAST URL. The
|
327
|
-
# maximum length is
|
370
|
+
# maximum length is 25,000 characters.
|
328
371
|
#
|
329
372
|
# @option params [Types::CdnConfiguration] :cdn_configuration
|
330
373
|
# The configuration for using a content delivery network (CDN), like
|
331
374
|
# Amazon CloudFront, for content and ad segment management.
|
332
375
|
#
|
333
376
|
# @option params [Types::DashConfigurationForPut] :dash_configuration
|
377
|
+
# The configuration for DASH content.
|
334
378
|
#
|
335
379
|
# @option params [String] :name
|
336
|
-
# The identifier for the configuration.
|
380
|
+
# The identifier for the playback configuration.
|
337
381
|
#
|
338
382
|
# @option params [String] :slate_ad_url
|
339
383
|
# The URL for a high-quality video asset to transcode and use to fill in
|
340
384
|
# time that's not used by ads. AWS Elemental MediaTailor shows the
|
341
385
|
# slate to fill in gaps in media content. Configuring the slate is
|
342
386
|
# optional for non-VPAID configurations. For VPAID, the slate is
|
343
|
-
# required because
|
344
|
-
#
|
345
|
-
#
|
387
|
+
# required because MediaTailor provides it in the slots that are
|
388
|
+
# designated for dynamic ad content. The slate must be a high-quality
|
389
|
+
# asset that contains both audio and video.
|
390
|
+
#
|
391
|
+
# @option params [Hash<String,String>] :tags
|
392
|
+
# The tags to assign to the playback configuration.
|
346
393
|
#
|
347
394
|
# @option params [String] :transcode_profile_name
|
348
|
-
#
|
349
|
-
#
|
350
|
-
# this
|
351
|
-
#
|
395
|
+
# The name that is used to associate this playback configuration with a
|
396
|
+
# custom transcode profile. This overrides the dynamic transcoding
|
397
|
+
# defaults of MediaTailor. Use this only if you have already set up
|
398
|
+
# custom profiles with the help of AWS Support.
|
352
399
|
#
|
353
400
|
# @option params [String] :video_content_source_url
|
354
401
|
# The URL prefix for the master playlist for the stream, minus the asset
|
@@ -361,9 +408,11 @@ module Aws::MediaTailor
|
|
361
408
|
# * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
362
409
|
# * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
363
410
|
# * {Types::PutPlaybackConfigurationResponse#name #name} => String
|
411
|
+
# * {Types::PutPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
|
364
412
|
# * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
|
365
413
|
# * {Types::PutPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
|
366
414
|
# * {Types::PutPlaybackConfigurationResponse#slate_ad_url #slate_ad_url} => String
|
415
|
+
# * {Types::PutPlaybackConfigurationResponse#tags #tags} => Hash<String,String>
|
367
416
|
# * {Types::PutPlaybackConfigurationResponse#transcode_profile_name #transcode_profile_name} => String
|
368
417
|
# * {Types::PutPlaybackConfigurationResponse#video_content_source_url #video_content_source_url} => String
|
369
418
|
#
|
@@ -380,6 +429,9 @@ module Aws::MediaTailor
|
|
380
429
|
# },
|
381
430
|
# name: "__string",
|
382
431
|
# slate_ad_url: "__string",
|
432
|
+
# tags: {
|
433
|
+
# "__string" => "__string",
|
434
|
+
# },
|
383
435
|
# transcode_profile_name: "__string",
|
384
436
|
# video_content_source_url: "__string",
|
385
437
|
# })
|
@@ -393,9 +445,12 @@ module Aws::MediaTailor
|
|
393
445
|
# resp.dash_configuration.mpd_location #=> String
|
394
446
|
# resp.hls_configuration.manifest_endpoint_prefix #=> String
|
395
447
|
# resp.name #=> String
|
448
|
+
# resp.playback_configuration_arn #=> String
|
396
449
|
# resp.playback_endpoint_prefix #=> String
|
397
450
|
# resp.session_initialization_endpoint_prefix #=> String
|
398
451
|
# resp.slate_ad_url #=> String
|
452
|
+
# resp.tags #=> Hash
|
453
|
+
# resp.tags["__string"] #=> String
|
399
454
|
# resp.transcode_profile_name #=> String
|
400
455
|
# resp.video_content_source_url #=> String
|
401
456
|
#
|
@@ -408,6 +463,58 @@ module Aws::MediaTailor
|
|
408
463
|
req.send_request(options)
|
409
464
|
end
|
410
465
|
|
466
|
+
# Adds tags to the specified playback configuration resource. You can
|
467
|
+
# specify one or more tags to add.
|
468
|
+
#
|
469
|
+
# @option params [required, String] :resource_arn
|
470
|
+
#
|
471
|
+
# @option params [required, Hash<String,String>] :tags
|
472
|
+
#
|
473
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
474
|
+
#
|
475
|
+
# @example Request syntax with placeholder values
|
476
|
+
#
|
477
|
+
# resp = client.tag_resource({
|
478
|
+
# resource_arn: "__string", # required
|
479
|
+
# tags: { # required
|
480
|
+
# "__string" => "__string",
|
481
|
+
# },
|
482
|
+
# })
|
483
|
+
#
|
484
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource AWS API Documentation
|
485
|
+
#
|
486
|
+
# @overload tag_resource(params = {})
|
487
|
+
# @param [Hash] params ({})
|
488
|
+
def tag_resource(params = {}, options = {})
|
489
|
+
req = build_request(:tag_resource, params)
|
490
|
+
req.send_request(options)
|
491
|
+
end
|
492
|
+
|
493
|
+
# Removes tags from the specified playback configuration resource. You
|
494
|
+
# can specify one or more tags to remove.
|
495
|
+
#
|
496
|
+
# @option params [required, String] :resource_arn
|
497
|
+
#
|
498
|
+
# @option params [required, Array<String>] :tag_keys
|
499
|
+
#
|
500
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
501
|
+
#
|
502
|
+
# @example Request syntax with placeholder values
|
503
|
+
#
|
504
|
+
# resp = client.untag_resource({
|
505
|
+
# resource_arn: "__string", # required
|
506
|
+
# tag_keys: ["__string"], # required
|
507
|
+
# })
|
508
|
+
#
|
509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource AWS API Documentation
|
510
|
+
#
|
511
|
+
# @overload untag_resource(params = {})
|
512
|
+
# @param [Hash] params ({})
|
513
|
+
def untag_resource(params = {}, options = {})
|
514
|
+
req = build_request(:untag_resource, params)
|
515
|
+
req.send_request(options)
|
516
|
+
end
|
517
|
+
|
411
518
|
# @!endgroup
|
412
519
|
|
413
520
|
# @param params ({})
|
@@ -421,7 +528,7 @@ module Aws::MediaTailor
|
|
421
528
|
params: params,
|
422
529
|
config: config)
|
423
530
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
424
|
-
context[:gem_version] = '1.
|
531
|
+
context[:gem_version] = '1.10.0'
|
425
532
|
Seahorse::Client::Request.new(handlers, context)
|
426
533
|
end
|
427
534
|
|
@@ -11,6 +11,7 @@ module Aws::MediaTailor
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
14
15
|
CdnConfiguration = Shapes::StructureShape.new(name: 'CdnConfiguration')
|
15
16
|
DashConfiguration = Shapes::StructureShape.new(name: 'DashConfiguration')
|
16
17
|
DashConfigurationForPut = Shapes::StructureShape.new(name: 'DashConfigurationForPut')
|
@@ -20,15 +21,22 @@ module Aws::MediaTailor
|
|
20
21
|
HlsConfiguration = Shapes::StructureShape.new(name: 'HlsConfiguration')
|
21
22
|
ListPlaybackConfigurationsRequest = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsRequest')
|
22
23
|
ListPlaybackConfigurationsResponse = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsResponse')
|
24
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
25
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
23
26
|
PlaybackConfiguration = Shapes::StructureShape.new(name: 'PlaybackConfiguration')
|
24
27
|
PutPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'PutPlaybackConfigurationRequest')
|
25
28
|
PutPlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'PutPlaybackConfigurationResponse')
|
29
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
30
|
+
TagsModel = Shapes::StructureShape.new(name: 'TagsModel')
|
31
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
26
32
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
27
33
|
__double = Shapes::FloatShape.new(name: '__double')
|
28
34
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
29
35
|
__integerMin1Max100 = Shapes::IntegerShape.new(name: '__integerMin1Max100')
|
30
36
|
__listOfPlaybackConfigurations = Shapes::ListShape.new(name: '__listOfPlaybackConfigurations')
|
37
|
+
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
31
38
|
__long = Shapes::IntegerShape.new(name: '__long')
|
39
|
+
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
32
40
|
__string = Shapes::StringShape.new(name: '__string')
|
33
41
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
34
42
|
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
@@ -55,9 +63,11 @@ module Aws::MediaTailor
|
|
55
63
|
GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
56
64
|
GetPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
|
57
65
|
GetPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
66
|
+
GetPlaybackConfigurationResponse.add_member(:playback_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationArn"))
|
58
67
|
GetPlaybackConfigurationResponse.add_member(:playback_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackEndpointPrefix"))
|
59
68
|
GetPlaybackConfigurationResponse.add_member(:session_initialization_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "SessionInitializationEndpointPrefix"))
|
60
69
|
GetPlaybackConfigurationResponse.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
|
70
|
+
GetPlaybackConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
61
71
|
GetPlaybackConfigurationResponse.add_member(:transcode_profile_name, Shapes::ShapeRef.new(shape: __string, location_name: "TranscodeProfileName"))
|
62
72
|
GetPlaybackConfigurationResponse.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
|
63
73
|
GetPlaybackConfigurationResponse.struct_class = Types::GetPlaybackConfigurationResponse
|
@@ -73,10 +83,23 @@ module Aws::MediaTailor
|
|
73
83
|
ListPlaybackConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
74
84
|
ListPlaybackConfigurationsResponse.struct_class = Types::ListPlaybackConfigurationsResponse
|
75
85
|
|
86
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
|
87
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
88
|
+
|
89
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
90
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
91
|
+
|
76
92
|
PlaybackConfiguration.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
|
77
93
|
PlaybackConfiguration.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
|
94
|
+
PlaybackConfiguration.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
95
|
+
PlaybackConfiguration.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
|
78
96
|
PlaybackConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
97
|
+
PlaybackConfiguration.add_member(:playback_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationArn"))
|
98
|
+
PlaybackConfiguration.add_member(:playback_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackEndpointPrefix"))
|
99
|
+
PlaybackConfiguration.add_member(:session_initialization_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "SessionInitializationEndpointPrefix"))
|
79
100
|
PlaybackConfiguration.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
|
101
|
+
PlaybackConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
102
|
+
PlaybackConfiguration.add_member(:transcode_profile_name, Shapes::ShapeRef.new(shape: __string, location_name: "TranscodeProfileName"))
|
80
103
|
PlaybackConfiguration.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
|
81
104
|
PlaybackConfiguration.struct_class = Types::PlaybackConfiguration
|
82
105
|
|
@@ -85,6 +108,7 @@ module Aws::MediaTailor
|
|
85
108
|
PutPlaybackConfigurationRequest.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfigurationForPut, location_name: "DashConfiguration"))
|
86
109
|
PutPlaybackConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
87
110
|
PutPlaybackConfigurationRequest.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
|
111
|
+
PutPlaybackConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
88
112
|
PutPlaybackConfigurationRequest.add_member(:transcode_profile_name, Shapes::ShapeRef.new(shape: __string, location_name: "TranscodeProfileName"))
|
89
113
|
PutPlaybackConfigurationRequest.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
|
90
114
|
PutPlaybackConfigurationRequest.struct_class = Types::PutPlaybackConfigurationRequest
|
@@ -94,15 +118,33 @@ module Aws::MediaTailor
|
|
94
118
|
PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
95
119
|
PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
|
96
120
|
PutPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
121
|
+
PutPlaybackConfigurationResponse.add_member(:playback_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationArn"))
|
97
122
|
PutPlaybackConfigurationResponse.add_member(:playback_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackEndpointPrefix"))
|
98
123
|
PutPlaybackConfigurationResponse.add_member(:session_initialization_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "SessionInitializationEndpointPrefix"))
|
99
124
|
PutPlaybackConfigurationResponse.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
|
125
|
+
PutPlaybackConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
100
126
|
PutPlaybackConfigurationResponse.add_member(:transcode_profile_name, Shapes::ShapeRef.new(shape: __string, location_name: "TranscodeProfileName"))
|
101
127
|
PutPlaybackConfigurationResponse.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
|
102
128
|
PutPlaybackConfigurationResponse.struct_class = Types::PutPlaybackConfigurationResponse
|
103
129
|
|
130
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
|
131
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
|
132
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
133
|
+
|
134
|
+
TagsModel.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
|
135
|
+
TagsModel.struct_class = Types::TagsModel
|
136
|
+
|
137
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
|
138
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
139
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
140
|
+
|
104
141
|
__listOfPlaybackConfigurations.member = Shapes::ShapeRef.new(shape: PlaybackConfiguration)
|
105
142
|
|
143
|
+
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
144
|
+
|
145
|
+
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
146
|
+
__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
147
|
+
|
106
148
|
|
107
149
|
# @api private
|
108
150
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -146,6 +188,15 @@ module Aws::MediaTailor
|
|
146
188
|
o.output = Shapes::ShapeRef.new(shape: ListPlaybackConfigurationsResponse)
|
147
189
|
end)
|
148
190
|
|
191
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
192
|
+
o.name = "ListTagsForResource"
|
193
|
+
o.http_method = "GET"
|
194
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
195
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
196
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
197
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
198
|
+
end)
|
199
|
+
|
149
200
|
api.add_operation(:put_playback_configuration, Seahorse::Model::Operation.new.tap do |o|
|
150
201
|
o.name = "PutPlaybackConfiguration"
|
151
202
|
o.http_method = "PUT"
|
@@ -153,6 +204,24 @@ module Aws::MediaTailor
|
|
153
204
|
o.input = Shapes::ShapeRef.new(shape: PutPlaybackConfigurationRequest)
|
154
205
|
o.output = Shapes::ShapeRef.new(shape: PutPlaybackConfigurationResponse)
|
155
206
|
end)
|
207
|
+
|
208
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
209
|
+
o.name = "TagResource"
|
210
|
+
o.http_method = "POST"
|
211
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
212
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
213
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
214
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
215
|
+
end)
|
216
|
+
|
217
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
218
|
+
o.name = "UntagResource"
|
219
|
+
o.http_method = "DELETE"
|
220
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
221
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
222
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
223
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
224
|
+
end)
|
156
225
|
end
|
157
226
|
|
158
227
|
end
|
@@ -61,16 +61,17 @@ module Aws::MediaTailor
|
|
61
61
|
include Aws::Structure
|
62
62
|
end
|
63
63
|
|
64
|
-
# The configuration
|
64
|
+
# The configuration for DASH content.
|
65
65
|
#
|
66
66
|
# @!attribute [rw] manifest_endpoint_prefix
|
67
|
-
# The URL
|
68
|
-
#
|
67
|
+
# The URL generated by MediaTailor to initiate a playback session. The
|
68
|
+
# session uses server-side reporting. This setting is ignored in PUT
|
69
|
+
# operations.
|
69
70
|
# @return [String]
|
70
71
|
#
|
71
72
|
# @!attribute [rw] mpd_location
|
72
73
|
# The setting that controls whether MediaTailor includes the Location
|
73
|
-
# tag in DASH
|
74
|
+
# tag in DASH manifests. MediaTailor populates the Location tag with
|
74
75
|
# the URL for manifest update requests, to be used by players that
|
75
76
|
# don't support sticky redirects. Disable this if you have CDN
|
76
77
|
# routing rules set up for accessing MediaTailor manifests and you are
|
@@ -88,6 +89,8 @@ module Aws::MediaTailor
|
|
88
89
|
include Aws::Structure
|
89
90
|
end
|
90
91
|
|
92
|
+
# The configuration for DASH PUT operations.
|
93
|
+
#
|
91
94
|
# @note When making an API call, you may pass DashConfigurationForPut
|
92
95
|
# data as a hash:
|
93
96
|
#
|
@@ -96,6 +99,15 @@ module Aws::MediaTailor
|
|
96
99
|
# }
|
97
100
|
#
|
98
101
|
# @!attribute [rw] mpd_location
|
102
|
+
# The setting that controls whether MediaTailor includes the Location
|
103
|
+
# tag in DASH manifests. MediaTailor populates the Location tag with
|
104
|
+
# the URL for manifest update requests, to be used by players that
|
105
|
+
# don't support sticky redirects. Disable this if you have CDN
|
106
|
+
# routing rules set up for accessing MediaTailor manifests and you are
|
107
|
+
# either using client-side reporting or your players support sticky
|
108
|
+
# HTTP redirects. Valid values are DISABLED and EMT\_DEFAULT. The
|
109
|
+
# EMT\_DEFAULT setting enables the inclusion of the tag and is the
|
110
|
+
# default value.
|
99
111
|
# @return [String]
|
100
112
|
#
|
101
113
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DashConfigurationForPut AWS API Documentation
|
@@ -145,7 +157,7 @@ module Aws::MediaTailor
|
|
145
157
|
# parameters. AWS Elemental MediaTailor substitutes player-specific
|
146
158
|
# and session-specific parameters as needed when calling the ADS.
|
147
159
|
# Alternately, for testing, you can provide a static VAST URL. The
|
148
|
-
# maximum length is
|
160
|
+
# maximum length is 25,000 characters.
|
149
161
|
# @return [String]
|
150
162
|
#
|
151
163
|
# @!attribute [rw] cdn_configuration
|
@@ -154,7 +166,7 @@ module Aws::MediaTailor
|
|
154
166
|
# @return [Types::CdnConfiguration]
|
155
167
|
#
|
156
168
|
# @!attribute [rw] dash_configuration
|
157
|
-
# The configuration
|
169
|
+
# The configuration for DASH content.
|
158
170
|
# @return [Types::DashConfiguration]
|
159
171
|
#
|
160
172
|
# @!attribute [rw] hls_configuration
|
@@ -162,7 +174,11 @@ module Aws::MediaTailor
|
|
162
174
|
# @return [Types::HlsConfiguration]
|
163
175
|
#
|
164
176
|
# @!attribute [rw] name
|
165
|
-
# The identifier for the configuration.
|
177
|
+
# The identifier for the playback configuration.
|
178
|
+
# @return [String]
|
179
|
+
#
|
180
|
+
# @!attribute [rw] playback_configuration_arn
|
181
|
+
# The Amazon Resource Name (ARN) for the playback configuration.
|
166
182
|
# @return [String]
|
167
183
|
#
|
168
184
|
# @!attribute [rw] playback_endpoint_prefix
|
@@ -176,20 +192,24 @@ module Aws::MediaTailor
|
|
176
192
|
# @return [String]
|
177
193
|
#
|
178
194
|
# @!attribute [rw] slate_ad_url
|
179
|
-
# URL for a high-quality video asset to transcode and use to fill
|
180
|
-
# time that's not used by ads. AWS Elemental MediaTailor shows the
|
195
|
+
# The URL for a high-quality video asset to transcode and use to fill
|
196
|
+
# in time that's not used by ads. AWS Elemental MediaTailor shows the
|
181
197
|
# slate to fill in gaps in media content. Configuring the slate is
|
182
|
-
# optional for non-VPAID configurations. For VPAID, the slate
|
183
|
-
# required because
|
184
|
-
#
|
185
|
-
#
|
198
|
+
# optional for non-VPAID playback configurations. For VPAID, the slate
|
199
|
+
# is required because MediaTailor provides it in the slots designated
|
200
|
+
# for dynamic ad content. The slate must be a high-quality asset that
|
201
|
+
# contains both audio and video.
|
186
202
|
# @return [String]
|
187
203
|
#
|
204
|
+
# @!attribute [rw] tags
|
205
|
+
# The tags assigned to the playback configuration.
|
206
|
+
# @return [Hash<String,String>]
|
207
|
+
#
|
188
208
|
# @!attribute [rw] transcode_profile_name
|
189
|
-
#
|
190
|
-
# profile
|
191
|
-
#
|
192
|
-
# the
|
209
|
+
# The name that is used to associate this playback configuration with
|
210
|
+
# a custom transcode profile. This overrides the dynamic transcoding
|
211
|
+
# defaults of MediaTailor. Use this only if you have already set up
|
212
|
+
# custom profiles with the help of AWS Support.
|
193
213
|
# @return [String]
|
194
214
|
#
|
195
215
|
# @!attribute [rw] video_content_source_url
|
@@ -205,9 +225,11 @@ module Aws::MediaTailor
|
|
205
225
|
:dash_configuration,
|
206
226
|
:hls_configuration,
|
207
227
|
:name,
|
228
|
+
:playback_configuration_arn,
|
208
229
|
:playback_endpoint_prefix,
|
209
230
|
:session_initialization_endpoint_prefix,
|
210
231
|
:slate_ad_url,
|
232
|
+
:tags,
|
211
233
|
:transcode_profile_name,
|
212
234
|
:video_content_source_url)
|
213
235
|
include Aws::Structure
|
@@ -221,12 +243,35 @@ module Aws::MediaTailor
|
|
221
243
|
# Amazon CloudFront, for content and ad segment management.
|
222
244
|
# @return [Types::CdnConfiguration]
|
223
245
|
#
|
246
|
+
# @!attribute [rw] dash_configuration
|
247
|
+
# The configuration for DASH content.
|
248
|
+
# @return [Types::DashConfiguration]
|
249
|
+
#
|
250
|
+
# @!attribute [rw] hls_configuration
|
251
|
+
# The configuration for HLS content.
|
252
|
+
# @return [Types::HlsConfiguration]
|
253
|
+
#
|
224
254
|
# @!attribute [rw] name
|
225
255
|
# @return [String]
|
226
256
|
#
|
257
|
+
# @!attribute [rw] playback_configuration_arn
|
258
|
+
# @return [String]
|
259
|
+
#
|
260
|
+
# @!attribute [rw] playback_endpoint_prefix
|
261
|
+
# @return [String]
|
262
|
+
#
|
263
|
+
# @!attribute [rw] session_initialization_endpoint_prefix
|
264
|
+
# @return [String]
|
265
|
+
#
|
227
266
|
# @!attribute [rw] slate_ad_url
|
228
267
|
# @return [String]
|
229
268
|
#
|
269
|
+
# @!attribute [rw] tags
|
270
|
+
# @return [Hash<String,String>]
|
271
|
+
#
|
272
|
+
# @!attribute [rw] transcode_profile_name
|
273
|
+
# @return [String]
|
274
|
+
#
|
230
275
|
# @!attribute [rw] video_content_source_url
|
231
276
|
# @return [String]
|
232
277
|
#
|
@@ -235,8 +280,15 @@ module Aws::MediaTailor
|
|
235
280
|
class PlaybackConfiguration < Struct.new(
|
236
281
|
:ad_decision_server_url,
|
237
282
|
:cdn_configuration,
|
283
|
+
:dash_configuration,
|
284
|
+
:hls_configuration,
|
238
285
|
:name,
|
286
|
+
:playback_configuration_arn,
|
287
|
+
:playback_endpoint_prefix,
|
288
|
+
:session_initialization_endpoint_prefix,
|
239
289
|
:slate_ad_url,
|
290
|
+
:tags,
|
291
|
+
:transcode_profile_name,
|
240
292
|
:video_content_source_url)
|
241
293
|
include Aws::Structure
|
242
294
|
end
|
@@ -271,7 +323,7 @@ module Aws::MediaTailor
|
|
271
323
|
#
|
272
324
|
# @!attribute [rw] next_token
|
273
325
|
# Pagination token returned by the GET list request when results
|
274
|
-
#
|
326
|
+
# exceed the maximum allowed. Use the token to fetch the next page of
|
275
327
|
# results.
|
276
328
|
# @return [String]
|
277
329
|
#
|
@@ -283,6 +335,33 @@ module Aws::MediaTailor
|
|
283
335
|
include Aws::Structure
|
284
336
|
end
|
285
337
|
|
338
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
339
|
+
# data as a hash:
|
340
|
+
#
|
341
|
+
# {
|
342
|
+
# resource_arn: "__string", # required
|
343
|
+
# }
|
344
|
+
#
|
345
|
+
# @!attribute [rw] resource_arn
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResourceRequest AWS API Documentation
|
349
|
+
#
|
350
|
+
class ListTagsForResourceRequest < Struct.new(
|
351
|
+
:resource_arn)
|
352
|
+
include Aws::Structure
|
353
|
+
end
|
354
|
+
|
355
|
+
# @!attribute [rw] tags
|
356
|
+
# @return [Hash<String,String>]
|
357
|
+
#
|
358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResourceResponse AWS API Documentation
|
359
|
+
#
|
360
|
+
class ListTagsForResourceResponse < Struct.new(
|
361
|
+
:tags)
|
362
|
+
include Aws::Structure
|
363
|
+
end
|
364
|
+
|
286
365
|
# @note When making an API call, you may pass PutPlaybackConfigurationRequest
|
287
366
|
# data as a hash:
|
288
367
|
#
|
@@ -297,6 +376,9 @@ module Aws::MediaTailor
|
|
297
376
|
# },
|
298
377
|
# name: "__string",
|
299
378
|
# slate_ad_url: "__string",
|
379
|
+
# tags: {
|
380
|
+
# "__string" => "__string",
|
381
|
+
# },
|
300
382
|
# transcode_profile_name: "__string",
|
301
383
|
# video_content_source_url: "__string",
|
302
384
|
# }
|
@@ -307,7 +389,7 @@ module Aws::MediaTailor
|
|
307
389
|
# parameters. AWS Elemental MediaTailor substitutes player-specific
|
308
390
|
# and session-specific parameters as needed when calling the ADS.
|
309
391
|
# Alternately, for testing you can provide a static VAST URL. The
|
310
|
-
# maximum length is
|
392
|
+
# maximum length is 25,000 characters.
|
311
393
|
# @return [String]
|
312
394
|
#
|
313
395
|
# @!attribute [rw] cdn_configuration
|
@@ -316,10 +398,11 @@ module Aws::MediaTailor
|
|
316
398
|
# @return [Types::CdnConfiguration]
|
317
399
|
#
|
318
400
|
# @!attribute [rw] dash_configuration
|
401
|
+
# The configuration for DASH content.
|
319
402
|
# @return [Types::DashConfigurationForPut]
|
320
403
|
#
|
321
404
|
# @!attribute [rw] name
|
322
|
-
# The identifier for the configuration.
|
405
|
+
# The identifier for the playback configuration.
|
323
406
|
# @return [String]
|
324
407
|
#
|
325
408
|
# @!attribute [rw] slate_ad_url
|
@@ -327,16 +410,20 @@ module Aws::MediaTailor
|
|
327
410
|
# in time that's not used by ads. AWS Elemental MediaTailor shows the
|
328
411
|
# slate to fill in gaps in media content. Configuring the slate is
|
329
412
|
# optional for non-VPAID configurations. For VPAID, the slate is
|
330
|
-
# required because
|
331
|
-
#
|
332
|
-
#
|
413
|
+
# required because MediaTailor provides it in the slots that are
|
414
|
+
# designated for dynamic ad content. The slate must be a high-quality
|
415
|
+
# asset that contains both audio and video.
|
333
416
|
# @return [String]
|
334
417
|
#
|
418
|
+
# @!attribute [rw] tags
|
419
|
+
# The tags to assign to the playback configuration.
|
420
|
+
# @return [Hash<String,String>]
|
421
|
+
#
|
335
422
|
# @!attribute [rw] transcode_profile_name
|
336
|
-
#
|
337
|
-
# profile
|
338
|
-
#
|
339
|
-
# the
|
423
|
+
# The name that is used to associate this playback configuration with
|
424
|
+
# a custom transcode profile. This overrides the dynamic transcoding
|
425
|
+
# defaults of MediaTailor. Use this only if you have already set up
|
426
|
+
# custom profiles with the help of AWS Support.
|
340
427
|
# @return [String]
|
341
428
|
#
|
342
429
|
# @!attribute [rw] video_content_source_url
|
@@ -352,6 +439,7 @@ module Aws::MediaTailor
|
|
352
439
|
:dash_configuration,
|
353
440
|
:name,
|
354
441
|
:slate_ad_url,
|
442
|
+
:tags,
|
355
443
|
:transcode_profile_name,
|
356
444
|
:video_content_source_url)
|
357
445
|
include Aws::Structure
|
@@ -366,7 +454,7 @@ module Aws::MediaTailor
|
|
366
454
|
# @return [Types::CdnConfiguration]
|
367
455
|
#
|
368
456
|
# @!attribute [rw] dash_configuration
|
369
|
-
# The configuration
|
457
|
+
# The configuration for DASH content.
|
370
458
|
# @return [Types::DashConfiguration]
|
371
459
|
#
|
372
460
|
# @!attribute [rw] hls_configuration
|
@@ -376,6 +464,9 @@ module Aws::MediaTailor
|
|
376
464
|
# @!attribute [rw] name
|
377
465
|
# @return [String]
|
378
466
|
#
|
467
|
+
# @!attribute [rw] playback_configuration_arn
|
468
|
+
# @return [String]
|
469
|
+
#
|
379
470
|
# @!attribute [rw] playback_endpoint_prefix
|
380
471
|
# @return [String]
|
381
472
|
#
|
@@ -385,6 +476,9 @@ module Aws::MediaTailor
|
|
385
476
|
# @!attribute [rw] slate_ad_url
|
386
477
|
# @return [String]
|
387
478
|
#
|
479
|
+
# @!attribute [rw] tags
|
480
|
+
# @return [Hash<String,String>]
|
481
|
+
#
|
388
482
|
# @!attribute [rw] transcode_profile_name
|
389
483
|
# @return [String]
|
390
484
|
#
|
@@ -399,13 +493,75 @@ module Aws::MediaTailor
|
|
399
493
|
:dash_configuration,
|
400
494
|
:hls_configuration,
|
401
495
|
:name,
|
496
|
+
:playback_configuration_arn,
|
402
497
|
:playback_endpoint_prefix,
|
403
498
|
:session_initialization_endpoint_prefix,
|
404
499
|
:slate_ad_url,
|
500
|
+
:tags,
|
405
501
|
:transcode_profile_name,
|
406
502
|
:video_content_source_url)
|
407
503
|
include Aws::Structure
|
408
504
|
end
|
409
505
|
|
506
|
+
# @note When making an API call, you may pass TagResourceRequest
|
507
|
+
# data as a hash:
|
508
|
+
#
|
509
|
+
# {
|
510
|
+
# resource_arn: "__string", # required
|
511
|
+
# tags: { # required
|
512
|
+
# "__string" => "__string",
|
513
|
+
# },
|
514
|
+
# }
|
515
|
+
#
|
516
|
+
# @!attribute [rw] resource_arn
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @!attribute [rw] tags
|
520
|
+
# @return [Hash<String,String>]
|
521
|
+
#
|
522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResourceRequest AWS API Documentation
|
523
|
+
#
|
524
|
+
class TagResourceRequest < Struct.new(
|
525
|
+
:resource_arn,
|
526
|
+
:tags)
|
527
|
+
include Aws::Structure
|
528
|
+
end
|
529
|
+
|
530
|
+
# A set of tags assigned to a resource.
|
531
|
+
#
|
532
|
+
# @!attribute [rw] tags
|
533
|
+
# A comma-separated list of tag key:value pairs. For example: \\\{
|
534
|
+
# "Key1": "Value1", "Key2": "Value2" \\}
|
535
|
+
# @return [Hash<String,String>]
|
536
|
+
#
|
537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagsModel AWS API Documentation
|
538
|
+
#
|
539
|
+
class TagsModel < Struct.new(
|
540
|
+
:tags)
|
541
|
+
include Aws::Structure
|
542
|
+
end
|
543
|
+
|
544
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
545
|
+
# data as a hash:
|
546
|
+
#
|
547
|
+
# {
|
548
|
+
# resource_arn: "__string", # required
|
549
|
+
# tag_keys: ["__string"], # required
|
550
|
+
# }
|
551
|
+
#
|
552
|
+
# @!attribute [rw] resource_arn
|
553
|
+
# @return [String]
|
554
|
+
#
|
555
|
+
# @!attribute [rw] tag_keys
|
556
|
+
# @return [Array<String>]
|
557
|
+
#
|
558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResourceRequest AWS API Documentation
|
559
|
+
#
|
560
|
+
class UntagResourceRequest < Struct.new(
|
561
|
+
:resource_arn,
|
562
|
+
:tag_keys)
|
563
|
+
include Aws::Structure
|
564
|
+
end
|
565
|
+
|
410
566
|
end
|
411
567
|
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.
|
4
|
+
version: 1.10.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:
|
11
|
+
date: 2019-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|