aws-sdk-mediapackagevod 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b511be5164fbd6f0321c216f67c2bcca6ea44a87
4
- data.tar.gz: 0acfa65dba1d57d389bc82d22fd4128d1d2e82df
2
+ SHA256:
3
+ metadata.gz: c343ce41b2e9d47283b89eee4a41a600524be47f2c0bf5f90c4854faf5872daf
4
+ data.tar.gz: 4c852f61ad2d7b2d8dc9e49faafd7c3ce197ca679dd9aa27b421abac0a949637
5
5
  SHA512:
6
- metadata.gz: 9f1e54d42abb21b852c7f9fbf1e32d5b56e92b91ce9fcc6b8cf6b622b756c8008b0db34adf265fa23dbae9fcb146c135494a823fefe12baecb846b2de1d0166d
7
- data.tar.gz: 38f73c898d8278c4436d56876de3017ebdb32e16cae62039edc2b9cb451d16c77c19ba79554dbf85ab8081f26a963aff1bae5a1a129fe7cb284ce83cfaca66f1
6
+ metadata.gz: 3725c7163889d9340beba5c88a8515dd17715d852428a9c57bcdbd46a253ebb15ad147b90732b40763a6a3088ed55c88a2b7a369dc28d8e84a0206c1ad3638e4
7
+ data.tar.gz: c3ca8a8da54e2e639d259a4e47e1157c198d24cedfd0e9f2fec1a765bb47b022fb120517f7907cb4668d419c093514e053fa1a1913bb9870456fa38c953046b5
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-mediapackagevod/customizations'
45
45
  # @service
46
46
  module Aws::MediaPackageVod
47
47
 
48
- GEM_VERSION = '1.10.0'
48
+ GEM_VERSION = '1.11.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:mediapackagevod)
32
32
  module Aws::MediaPackageVod
33
33
  # An API client for MediaPackageVod. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::MediaPackageVod::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::MediaPackageVod::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::MediaPackageVod
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::MediaPackageVod
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::MediaPackageVod
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -317,6 +320,9 @@ module Aws::MediaPackageVod
317
320
  #
318
321
  # @option params [required, String] :source_role_arn
319
322
  #
323
+ # @option params [Hash<String,String>] :tags
324
+ # A collection of tags associated with a resource
325
+ #
320
326
  # @return [Types::CreateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
321
327
  #
322
328
  # * {Types::CreateAssetResponse#arn #arn} => String
@@ -327,6 +333,7 @@ module Aws::MediaPackageVod
327
333
  # * {Types::CreateAssetResponse#resource_id #resource_id} => String
328
334
  # * {Types::CreateAssetResponse#source_arn #source_arn} => String
329
335
  # * {Types::CreateAssetResponse#source_role_arn #source_role_arn} => String
336
+ # * {Types::CreateAssetResponse#tags #tags} => Hash&lt;String,String&gt;
330
337
  #
331
338
  # @example Request syntax with placeholder values
332
339
  #
@@ -336,6 +343,9 @@ module Aws::MediaPackageVod
336
343
  # resource_id: "__string",
337
344
  # source_arn: "__string", # required
338
345
  # source_role_arn: "__string", # required
346
+ # tags: {
347
+ # "__string" => "__string",
348
+ # },
339
349
  # })
340
350
  #
341
351
  # @example Response structure
@@ -350,6 +360,8 @@ module Aws::MediaPackageVod
350
360
  # resp.resource_id #=> String
351
361
  # resp.source_arn #=> String
352
362
  # resp.source_role_arn #=> String
363
+ # resp.tags #=> Hash
364
+ # resp.tags["__string"] #=> String
353
365
  #
354
366
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset AWS API Documentation
355
367
  #
@@ -378,6 +390,9 @@ module Aws::MediaPackageVod
378
390
  #
379
391
  # @option params [required, String] :packaging_group_id
380
392
  #
393
+ # @option params [Hash<String,String>] :tags
394
+ # A collection of tags associated with a resource
395
+ #
381
396
  # @return [Types::CreatePackagingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
382
397
  #
383
398
  # * {Types::CreatePackagingConfigurationResponse#arn #arn} => String
@@ -387,6 +402,7 @@ module Aws::MediaPackageVod
387
402
  # * {Types::CreatePackagingConfigurationResponse#id #id} => String
388
403
  # * {Types::CreatePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
389
404
  # * {Types::CreatePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
405
+ # * {Types::CreatePackagingConfigurationResponse#tags #tags} => Hash&lt;String,String&gt;
390
406
  #
391
407
  # @example Request syntax with placeholder values
392
408
  #
@@ -489,6 +505,9 @@ module Aws::MediaPackageVod
489
505
  # segment_duration_seconds: 1,
490
506
  # },
491
507
  # packaging_group_id: "__string", # required
508
+ # tags: {
509
+ # "__string" => "__string",
510
+ # },
492
511
  # })
493
512
  #
494
513
  # @example Response structure
@@ -553,6 +572,8 @@ module Aws::MediaPackageVod
553
572
  # resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
554
573
  # resp.mss_package.segment_duration_seconds #=> Integer
555
574
  # resp.packaging_group_id #=> String
575
+ # resp.tags #=> Hash
576
+ # resp.tags["__string"] #=> String
556
577
  #
557
578
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration AWS API Documentation
558
579
  #
@@ -567,16 +588,23 @@ module Aws::MediaPackageVod
567
588
  #
568
589
  # @option params [required, String] :id
569
590
  #
591
+ # @option params [Hash<String,String>] :tags
592
+ # A collection of tags associated with a resource
593
+ #
570
594
  # @return [Types::CreatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
571
595
  #
572
596
  # * {Types::CreatePackagingGroupResponse#arn #arn} => String
573
597
  # * {Types::CreatePackagingGroupResponse#domain_name #domain_name} => String
574
598
  # * {Types::CreatePackagingGroupResponse#id #id} => String
599
+ # * {Types::CreatePackagingGroupResponse#tags #tags} => Hash&lt;String,String&gt;
575
600
  #
576
601
  # @example Request syntax with placeholder values
577
602
  #
578
603
  # resp = client.create_packaging_group({
579
604
  # id: "__string", # required
605
+ # tags: {
606
+ # "__string" => "__string",
607
+ # },
580
608
  # })
581
609
  #
582
610
  # @example Response structure
@@ -584,6 +612,8 @@ module Aws::MediaPackageVod
584
612
  # resp.arn #=> String
585
613
  # resp.domain_name #=> String
586
614
  # resp.id #=> String
615
+ # resp.tags #=> Hash
616
+ # resp.tags["__string"] #=> String
587
617
  #
588
618
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup AWS API Documentation
589
619
  #
@@ -671,6 +701,7 @@ module Aws::MediaPackageVod
671
701
  # * {Types::DescribeAssetResponse#resource_id #resource_id} => String
672
702
  # * {Types::DescribeAssetResponse#source_arn #source_arn} => String
673
703
  # * {Types::DescribeAssetResponse#source_role_arn #source_role_arn} => String
704
+ # * {Types::DescribeAssetResponse#tags #tags} => Hash&lt;String,String&gt;
674
705
  #
675
706
  # @example Request syntax with placeholder values
676
707
  #
@@ -690,6 +721,8 @@ module Aws::MediaPackageVod
690
721
  # resp.resource_id #=> String
691
722
  # resp.source_arn #=> String
692
723
  # resp.source_role_arn #=> String
724
+ # resp.tags #=> Hash
725
+ # resp.tags["__string"] #=> String
693
726
  #
694
727
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset AWS API Documentation
695
728
  #
@@ -714,6 +747,7 @@ module Aws::MediaPackageVod
714
747
  # * {Types::DescribePackagingConfigurationResponse#id #id} => String
715
748
  # * {Types::DescribePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
716
749
  # * {Types::DescribePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
750
+ # * {Types::DescribePackagingConfigurationResponse#tags #tags} => Hash&lt;String,String&gt;
717
751
  #
718
752
  # @example Request syntax with placeholder values
719
753
  #
@@ -783,6 +817,8 @@ module Aws::MediaPackageVod
783
817
  # resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
784
818
  # resp.mss_package.segment_duration_seconds #=> Integer
785
819
  # resp.packaging_group_id #=> String
820
+ # resp.tags #=> Hash
821
+ # resp.tags["__string"] #=> String
786
822
  #
787
823
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration AWS API Documentation
788
824
  #
@@ -802,6 +838,7 @@ module Aws::MediaPackageVod
802
838
  # * {Types::DescribePackagingGroupResponse#arn #arn} => String
803
839
  # * {Types::DescribePackagingGroupResponse#domain_name #domain_name} => String
804
840
  # * {Types::DescribePackagingGroupResponse#id #id} => String
841
+ # * {Types::DescribePackagingGroupResponse#tags #tags} => Hash&lt;String,String&gt;
805
842
  #
806
843
  # @example Request syntax with placeholder values
807
844
  #
@@ -814,6 +851,8 @@ module Aws::MediaPackageVod
814
851
  # resp.arn #=> String
815
852
  # resp.domain_name #=> String
816
853
  # resp.id #=> String
854
+ # resp.tags #=> Hash
855
+ # resp.tags["__string"] #=> String
817
856
  #
818
857
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup AWS API Documentation
819
858
  #
@@ -837,6 +876,8 @@ module Aws::MediaPackageVod
837
876
  # * {Types::ListAssetsResponse#assets #assets} => Array&lt;Types::AssetShallow&gt;
838
877
  # * {Types::ListAssetsResponse#next_token #next_token} => String
839
878
  #
879
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
880
+ #
840
881
  # @example Request syntax with placeholder values
841
882
  #
842
883
  # resp = client.list_assets({
@@ -855,6 +896,8 @@ module Aws::MediaPackageVod
855
896
  # resp.assets[0].resource_id #=> String
856
897
  # resp.assets[0].source_arn #=> String
857
898
  # resp.assets[0].source_role_arn #=> String
899
+ # resp.assets[0].tags #=> Hash
900
+ # resp.assets[0].tags["__string"] #=> String
858
901
  # resp.next_token #=> String
859
902
  #
860
903
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets AWS API Documentation
@@ -880,6 +923,8 @@ module Aws::MediaPackageVod
880
923
  # * {Types::ListPackagingConfigurationsResponse#next_token #next_token} => String
881
924
  # * {Types::ListPackagingConfigurationsResponse#packaging_configurations #packaging_configurations} => Array&lt;Types::PackagingConfiguration&gt;
882
925
  #
926
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
927
+ #
883
928
  # @example Request syntax with placeholder values
884
929
  #
885
930
  # resp = client.list_packaging_configurations({
@@ -952,6 +997,8 @@ module Aws::MediaPackageVod
952
997
  # resp.packaging_configurations[0].mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
953
998
  # resp.packaging_configurations[0].mss_package.segment_duration_seconds #=> Integer
954
999
  # resp.packaging_configurations[0].packaging_group_id #=> String
1000
+ # resp.packaging_configurations[0].tags #=> Hash
1001
+ # resp.packaging_configurations[0].tags["__string"] #=> String
955
1002
  #
956
1003
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations AWS API Documentation
957
1004
  #
@@ -973,6 +1020,8 @@ module Aws::MediaPackageVod
973
1020
  # * {Types::ListPackagingGroupsResponse#next_token #next_token} => String
974
1021
  # * {Types::ListPackagingGroupsResponse#packaging_groups #packaging_groups} => Array&lt;Types::PackagingGroup&gt;
975
1022
  #
1023
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1024
+ #
976
1025
  # @example Request syntax with placeholder values
977
1026
  #
978
1027
  # resp = client.list_packaging_groups({
@@ -987,6 +1036,8 @@ module Aws::MediaPackageVod
987
1036
  # resp.packaging_groups[0].arn #=> String
988
1037
  # resp.packaging_groups[0].domain_name #=> String
989
1038
  # resp.packaging_groups[0].id #=> String
1039
+ # resp.packaging_groups[0].tags #=> Hash
1040
+ # resp.packaging_groups[0].tags["__string"] #=> String
990
1041
  #
991
1042
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups AWS API Documentation
992
1043
  #
@@ -997,6 +1048,78 @@ module Aws::MediaPackageVod
997
1048
  req.send_request(options)
998
1049
  end
999
1050
 
1051
+ # @option params [required, String] :resource_arn
1052
+ #
1053
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1054
+ #
1055
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1056
+ #
1057
+ # @example Request syntax with placeholder values
1058
+ #
1059
+ # resp = client.list_tags_for_resource({
1060
+ # resource_arn: "__string", # required
1061
+ # })
1062
+ #
1063
+ # @example Response structure
1064
+ #
1065
+ # resp.tags #=> Hash
1066
+ # resp.tags["__string"] #=> String
1067
+ #
1068
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResource AWS API Documentation
1069
+ #
1070
+ # @overload list_tags_for_resource(params = {})
1071
+ # @param [Hash] params ({})
1072
+ def list_tags_for_resource(params = {}, options = {})
1073
+ req = build_request(:list_tags_for_resource, params)
1074
+ req.send_request(options)
1075
+ end
1076
+
1077
+ # @option params [required, String] :resource_arn
1078
+ #
1079
+ # @option params [required, Hash<String,String>] :tags
1080
+ #
1081
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1082
+ #
1083
+ # @example Request syntax with placeholder values
1084
+ #
1085
+ # resp = client.tag_resource({
1086
+ # resource_arn: "__string", # required
1087
+ # tags: { # required
1088
+ # "__string" => "__string",
1089
+ # },
1090
+ # })
1091
+ #
1092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResource AWS API Documentation
1093
+ #
1094
+ # @overload tag_resource(params = {})
1095
+ # @param [Hash] params ({})
1096
+ def tag_resource(params = {}, options = {})
1097
+ req = build_request(:tag_resource, params)
1098
+ req.send_request(options)
1099
+ end
1100
+
1101
+ # @option params [required, String] :resource_arn
1102
+ #
1103
+ # @option params [required, Array<String>] :tag_keys
1104
+ #
1105
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1106
+ #
1107
+ # @example Request syntax with placeholder values
1108
+ #
1109
+ # resp = client.untag_resource({
1110
+ # resource_arn: "__string", # required
1111
+ # tag_keys: ["__string"], # required
1112
+ # })
1113
+ #
1114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResource AWS API Documentation
1115
+ #
1116
+ # @overload untag_resource(params = {})
1117
+ # @param [Hash] params ({})
1118
+ def untag_resource(params = {}, options = {})
1119
+ req = build_request(:untag_resource, params)
1120
+ req.send_request(options)
1121
+ end
1122
+
1000
1123
  # @!endgroup
1001
1124
 
1002
1125
  # @param params ({})
@@ -1010,7 +1133,7 @@ module Aws::MediaPackageVod
1010
1133
  params: params,
1011
1134
  config: config)
1012
1135
  context[:gem_name] = 'aws-sdk-mediapackagevod'
1013
- context[:gem_version] = '1.10.0'
1136
+ context[:gem_version] = '1.11.0'
1014
1137
  Seahorse::Client::Request.new(handlers, context)
1015
1138
  end
1016
1139
 
@@ -52,6 +52,8 @@ module Aws::MediaPackageVod
52
52
  ListPackagingConfigurationsResponse = Shapes::StructureShape.new(name: 'ListPackagingConfigurationsResponse')
53
53
  ListPackagingGroupsRequest = Shapes::StructureShape.new(name: 'ListPackagingGroupsRequest')
54
54
  ListPackagingGroupsResponse = Shapes::StructureShape.new(name: 'ListPackagingGroupsResponse')
55
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
56
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
55
57
  ManifestLayout = Shapes::StringShape.new(name: 'ManifestLayout')
56
58
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
57
59
  MssEncryption = Shapes::StructureShape.new(name: 'MssEncryption')
@@ -70,8 +72,12 @@ module Aws::MediaPackageVod
70
72
  SpekeKeyProvider = Shapes::StructureShape.new(name: 'SpekeKeyProvider')
71
73
  StreamOrder = Shapes::StringShape.new(name: 'StreamOrder')
72
74
  StreamSelection = Shapes::StructureShape.new(name: 'StreamSelection')
75
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
76
+ Tags = Shapes::MapShape.new(name: 'Tags')
77
+ TagsModel = Shapes::StructureShape.new(name: 'TagsModel')
73
78
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
74
79
  UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
80
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
75
81
  __PeriodTriggersElement = Shapes::StringShape.new(name: '__PeriodTriggersElement')
76
82
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
77
83
  __double = Shapes::FloatShape.new(name: '__double')
@@ -86,6 +92,7 @@ module Aws::MediaPackageVod
86
92
  __listOf__PeriodTriggersElement = Shapes::ListShape.new(name: '__listOf__PeriodTriggersElement')
87
93
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
88
94
  __long = Shapes::IntegerShape.new(name: '__long')
95
+ __mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
89
96
  __string = Shapes::StringShape.new(name: '__string')
90
97
 
91
98
  Asset.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -96,6 +103,7 @@ module Aws::MediaPackageVod
96
103
  Asset.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
97
104
  Asset.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
98
105
  Asset.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
106
+ Asset.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
99
107
  Asset.struct_class = Types::Asset
100
108
 
101
109
  AssetCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
@@ -103,6 +111,7 @@ module Aws::MediaPackageVod
103
111
  AssetCreateParameters.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
104
112
  AssetCreateParameters.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceArn"))
105
113
  AssetCreateParameters.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceRoleArn"))
114
+ AssetCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
106
115
  AssetCreateParameters.struct_class = Types::AssetCreateParameters
107
116
 
108
117
  AssetList.add_member(:assets, Shapes::ShapeRef.new(shape: __listOfAssetShallow, location_name: "assets"))
@@ -116,6 +125,7 @@ module Aws::MediaPackageVod
116
125
  AssetShallow.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
117
126
  AssetShallow.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
118
127
  AssetShallow.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
128
+ AssetShallow.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
119
129
  AssetShallow.struct_class = Types::AssetShallow
120
130
 
121
131
  CmafEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
@@ -131,6 +141,7 @@ module Aws::MediaPackageVod
131
141
  CreateAssetRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
132
142
  CreateAssetRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceArn"))
133
143
  CreateAssetRequest.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceRoleArn"))
144
+ CreateAssetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
134
145
  CreateAssetRequest.struct_class = Types::CreateAssetRequest
135
146
 
136
147
  CreateAssetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -141,6 +152,7 @@ module Aws::MediaPackageVod
141
152
  CreateAssetResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
142
153
  CreateAssetResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
143
154
  CreateAssetResponse.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
155
+ CreateAssetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
144
156
  CreateAssetResponse.struct_class = Types::CreateAssetResponse
145
157
 
146
158
  CreatePackagingConfigurationRequest.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
@@ -149,6 +161,7 @@ module Aws::MediaPackageVod
149
161
  CreatePackagingConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
150
162
  CreatePackagingConfigurationRequest.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
151
163
  CreatePackagingConfigurationRequest.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "packagingGroupId"))
164
+ CreatePackagingConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
152
165
  CreatePackagingConfigurationRequest.struct_class = Types::CreatePackagingConfigurationRequest
153
166
 
154
167
  CreatePackagingConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -158,14 +171,17 @@ module Aws::MediaPackageVod
158
171
  CreatePackagingConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
159
172
  CreatePackagingConfigurationResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
160
173
  CreatePackagingConfigurationResponse.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingGroupId"))
174
+ CreatePackagingConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
161
175
  CreatePackagingConfigurationResponse.struct_class = Types::CreatePackagingConfigurationResponse
162
176
 
163
177
  CreatePackagingGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
178
+ CreatePackagingGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
164
179
  CreatePackagingGroupRequest.struct_class = Types::CreatePackagingGroupRequest
165
180
 
166
181
  CreatePackagingGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
167
182
  CreatePackagingGroupResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, location_name: "domainName"))
168
183
  CreatePackagingGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
184
+ CreatePackagingGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
169
185
  CreatePackagingGroupResponse.struct_class = Types::CreatePackagingGroupResponse
170
186
 
171
187
  DashEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
@@ -211,6 +227,7 @@ module Aws::MediaPackageVod
211
227
  DescribeAssetResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
212
228
  DescribeAssetResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
213
229
  DescribeAssetResponse.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceRoleArn"))
230
+ DescribeAssetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
214
231
  DescribeAssetResponse.struct_class = Types::DescribeAssetResponse
215
232
 
216
233
  DescribePackagingConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
@@ -223,6 +240,7 @@ module Aws::MediaPackageVod
223
240
  DescribePackagingConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
224
241
  DescribePackagingConfigurationResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
225
242
  DescribePackagingConfigurationResponse.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingGroupId"))
243
+ DescribePackagingConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
226
244
  DescribePackagingConfigurationResponse.struct_class = Types::DescribePackagingConfigurationResponse
227
245
 
228
246
  DescribePackagingGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
@@ -231,6 +249,7 @@ module Aws::MediaPackageVod
231
249
  DescribePackagingGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
232
250
  DescribePackagingGroupResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, location_name: "domainName"))
233
251
  DescribePackagingGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
252
+ DescribePackagingGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
234
253
  DescribePackagingGroupResponse.struct_class = Types::DescribePackagingGroupResponse
235
254
 
236
255
  EgressEndpoint.add_member(:packaging_configuration_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingConfigurationId"))
@@ -288,6 +307,12 @@ module Aws::MediaPackageVod
288
307
  ListPackagingGroupsResponse.add_member(:packaging_groups, Shapes::ShapeRef.new(shape: __listOfPackagingGroup, location_name: "packagingGroups"))
289
308
  ListPackagingGroupsResponse.struct_class = Types::ListPackagingGroupsResponse
290
309
 
310
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
311
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
312
+
313
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
314
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
315
+
291
316
  MssEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
292
317
  MssEncryption.struct_class = Types::MssEncryption
293
318
 
@@ -310,6 +335,7 @@ module Aws::MediaPackageVod
310
335
  PackagingConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
311
336
  PackagingConfiguration.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
312
337
  PackagingConfiguration.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "packagingGroupId"))
338
+ PackagingConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
313
339
  PackagingConfiguration.struct_class = Types::PackagingConfiguration
314
340
 
315
341
  PackagingConfigurationCreateParameters.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
@@ -318,6 +344,7 @@ module Aws::MediaPackageVod
318
344
  PackagingConfigurationCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
319
345
  PackagingConfigurationCreateParameters.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
320
346
  PackagingConfigurationCreateParameters.add_member(:packaging_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "packagingGroupId"))
347
+ PackagingConfigurationCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
321
348
  PackagingConfigurationCreateParameters.struct_class = Types::PackagingConfigurationCreateParameters
322
349
 
323
350
  PackagingConfigurationList.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -327,9 +354,11 @@ module Aws::MediaPackageVod
327
354
  PackagingGroup.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
328
355
  PackagingGroup.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, location_name: "domainName"))
329
356
  PackagingGroup.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
357
+ PackagingGroup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
330
358
  PackagingGroup.struct_class = Types::PackagingGroup
331
359
 
332
360
  PackagingGroupCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
361
+ PackagingGroupCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
333
362
  PackagingGroupCreateParameters.struct_class = Types::PackagingGroupCreateParameters
334
363
 
335
364
  PackagingGroupList.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -349,12 +378,26 @@ module Aws::MediaPackageVod
349
378
  StreamSelection.add_member(:stream_order, Shapes::ShapeRef.new(shape: StreamOrder, location_name: "streamOrder"))
350
379
  StreamSelection.struct_class = Types::StreamSelection
351
380
 
381
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
382
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
383
+ TagResourceRequest.struct_class = Types::TagResourceRequest
384
+
385
+ Tags.key = Shapes::ShapeRef.new(shape: __string)
386
+ Tags.value = Shapes::ShapeRef.new(shape: __string)
387
+
388
+ TagsModel.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
389
+ TagsModel.struct_class = Types::TagsModel
390
+
352
391
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
353
392
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
354
393
 
355
394
  UnprocessableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
356
395
  UnprocessableEntityException.struct_class = Types::UnprocessableEntityException
357
396
 
397
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
398
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
399
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
400
+
358
401
  __listOfAssetShallow.member = Shapes::ShapeRef.new(shape: AssetShallow)
359
402
 
360
403
  __listOfDashManifest.member = Shapes::ShapeRef.new(shape: DashManifest)
@@ -373,6 +416,9 @@ module Aws::MediaPackageVod
373
416
 
374
417
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
375
418
 
419
+ __mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
420
+ __mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
421
+
376
422
 
377
423
  # @api private
378
424
  API = Seahorse::Model::Api.new.tap do |api|
@@ -577,6 +623,30 @@ module Aws::MediaPackageVod
577
623
  }
578
624
  )
579
625
  end)
626
+
627
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "ListTagsForResource"
629
+ o.http_method = "GET"
630
+ o.http_request_uri = "/tags/{resource-arn}"
631
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
632
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
633
+ end)
634
+
635
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
636
+ o.name = "TagResource"
637
+ o.http_method = "POST"
638
+ o.http_request_uri = "/tags/{resource-arn}"
639
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
640
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
641
+ end)
642
+
643
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
644
+ o.name = "UntagResource"
645
+ o.http_method = "DELETE"
646
+ o.http_request_uri = "/tags/{resource-arn}"
647
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
648
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
649
+ end)
580
650
  end
581
651
 
582
652
  end
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MediaPackageVod
9
- # This class provides a resource oriented interface for MediaPackageVod.
10
- # To create a resource object:
11
- # resource = Aws::MediaPackageVod::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::MediaPackageVod::Client.new(region: 'us-west-2')
15
- # resource = Aws::MediaPackageVod::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -42,6 +42,10 @@ module Aws::MediaPackageVod
42
42
  # The IAM role\_arn used to access the source S3 bucket.
43
43
  # @return [String]
44
44
  #
45
+ # @!attribute [rw] tags
46
+ # A collection of tags associated with a resource
47
+ # @return [Hash<String,String>]
48
+ #
45
49
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/Asset AWS API Documentation
46
50
  #
47
51
  class Asset < Struct.new(
@@ -52,7 +56,8 @@ module Aws::MediaPackageVod
52
56
  :packaging_group_id,
53
57
  :resource_id,
54
58
  :source_arn,
55
- :source_role_arn)
59
+ :source_role_arn,
60
+ :tags)
56
61
  include Aws::Structure
57
62
  end
58
63
 
@@ -78,6 +83,10 @@ module Aws::MediaPackageVod
78
83
  # The IAM role ARN used to access the source S3 bucket.
79
84
  # @return [String]
80
85
  #
86
+ # @!attribute [rw] tags
87
+ # A collection of tags associated with a resource
88
+ # @return [Hash<String,String>]
89
+ #
81
90
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/AssetCreateParameters AWS API Documentation
82
91
  #
83
92
  class AssetCreateParameters < Struct.new(
@@ -85,7 +94,8 @@ module Aws::MediaPackageVod
85
94
  :packaging_group_id,
86
95
  :resource_id,
87
96
  :source_arn,
88
- :source_role_arn)
97
+ :source_role_arn,
98
+ :tags)
89
99
  include Aws::Structure
90
100
  end
91
101
 
@@ -138,6 +148,10 @@ module Aws::MediaPackageVod
138
148
  # The IAM role ARN used to access the source S3 bucket.
139
149
  # @return [String]
140
150
  #
151
+ # @!attribute [rw] tags
152
+ # A collection of tags associated with a resource
153
+ # @return [Hash<String,String>]
154
+ #
141
155
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/AssetShallow AWS API Documentation
142
156
  #
143
157
  class AssetShallow < Struct.new(
@@ -147,7 +161,8 @@ module Aws::MediaPackageVod
147
161
  :packaging_group_id,
148
162
  :resource_id,
149
163
  :source_arn,
150
- :source_role_arn)
164
+ :source_role_arn,
165
+ :tags)
151
166
  include Aws::Structure
152
167
  end
153
168
 
@@ -238,6 +253,9 @@ module Aws::MediaPackageVod
238
253
  # resource_id: "__string",
239
254
  # source_arn: "__string", # required
240
255
  # source_role_arn: "__string", # required
256
+ # tags: {
257
+ # "__string" => "__string",
258
+ # },
241
259
  # }
242
260
  #
243
261
  # @!attribute [rw] id
@@ -255,6 +273,10 @@ module Aws::MediaPackageVod
255
273
  # @!attribute [rw] source_role_arn
256
274
  # @return [String]
257
275
  #
276
+ # @!attribute [rw] tags
277
+ # A collection of tags associated with a resource
278
+ # @return [Hash<String,String>]
279
+ #
258
280
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAssetRequest AWS API Documentation
259
281
  #
260
282
  class CreateAssetRequest < Struct.new(
@@ -262,7 +284,8 @@ module Aws::MediaPackageVod
262
284
  :packaging_group_id,
263
285
  :resource_id,
264
286
  :source_arn,
265
- :source_role_arn)
287
+ :source_role_arn,
288
+ :tags)
266
289
  include Aws::Structure
267
290
  end
268
291
 
@@ -290,6 +313,10 @@ module Aws::MediaPackageVod
290
313
  # @!attribute [rw] source_role_arn
291
314
  # @return [String]
292
315
  #
316
+ # @!attribute [rw] tags
317
+ # A collection of tags associated with a resource
318
+ # @return [Hash<String,String>]
319
+ #
293
320
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAssetResponse AWS API Documentation
294
321
  #
295
322
  class CreateAssetResponse < Struct.new(
@@ -300,7 +327,8 @@ module Aws::MediaPackageVod
300
327
  :packaging_group_id,
301
328
  :resource_id,
302
329
  :source_arn,
303
- :source_role_arn)
330
+ :source_role_arn,
331
+ :tags)
304
332
  include Aws::Structure
305
333
  end
306
334
 
@@ -406,6 +434,9 @@ module Aws::MediaPackageVod
406
434
  # segment_duration_seconds: 1,
407
435
  # },
408
436
  # packaging_group_id: "__string", # required
437
+ # tags: {
438
+ # "__string" => "__string",
439
+ # },
409
440
  # }
410
441
  #
411
442
  # @!attribute [rw] cmaf_package
@@ -431,6 +462,10 @@ module Aws::MediaPackageVod
431
462
  # @!attribute [rw] packaging_group_id
432
463
  # @return [String]
433
464
  #
465
+ # @!attribute [rw] tags
466
+ # A collection of tags associated with a resource
467
+ # @return [Hash<String,String>]
468
+ #
434
469
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfigurationRequest AWS API Documentation
435
470
  #
436
471
  class CreatePackagingConfigurationRequest < Struct.new(
@@ -439,7 +474,8 @@ module Aws::MediaPackageVod
439
474
  :hls_package,
440
475
  :id,
441
476
  :mss_package,
442
- :packaging_group_id)
477
+ :packaging_group_id,
478
+ :tags)
443
479
  include Aws::Structure
444
480
  end
445
481
 
@@ -469,6 +505,10 @@ module Aws::MediaPackageVod
469
505
  # @!attribute [rw] packaging_group_id
470
506
  # @return [String]
471
507
  #
508
+ # @!attribute [rw] tags
509
+ # A collection of tags associated with a resource
510
+ # @return [Hash<String,String>]
511
+ #
472
512
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfigurationResponse AWS API Documentation
473
513
  #
474
514
  class CreatePackagingConfigurationResponse < Struct.new(
@@ -478,7 +518,8 @@ module Aws::MediaPackageVod
478
518
  :hls_package,
479
519
  :id,
480
520
  :mss_package,
481
- :packaging_group_id)
521
+ :packaging_group_id,
522
+ :tags)
482
523
  include Aws::Structure
483
524
  end
484
525
 
@@ -487,15 +528,23 @@ module Aws::MediaPackageVod
487
528
  #
488
529
  # {
489
530
  # id: "__string", # required
531
+ # tags: {
532
+ # "__string" => "__string",
533
+ # },
490
534
  # }
491
535
  #
492
536
  # @!attribute [rw] id
493
537
  # @return [String]
494
538
  #
539
+ # @!attribute [rw] tags
540
+ # A collection of tags associated with a resource
541
+ # @return [Hash<String,String>]
542
+ #
495
543
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroupRequest AWS API Documentation
496
544
  #
497
545
  class CreatePackagingGroupRequest < Struct.new(
498
- :id)
546
+ :id,
547
+ :tags)
499
548
  include Aws::Structure
500
549
  end
501
550
 
@@ -508,12 +557,17 @@ module Aws::MediaPackageVod
508
557
  # @!attribute [rw] id
509
558
  # @return [String]
510
559
  #
560
+ # @!attribute [rw] tags
561
+ # A collection of tags associated with a resource
562
+ # @return [Hash<String,String>]
563
+ #
511
564
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroupResponse AWS API Documentation
512
565
  #
513
566
  class CreatePackagingGroupResponse < Struct.new(
514
567
  :arn,
515
568
  :domain_name,
516
- :id)
569
+ :id,
570
+ :tags)
517
571
  include Aws::Structure
518
572
  end
519
573
 
@@ -777,6 +831,10 @@ module Aws::MediaPackageVod
777
831
  # @!attribute [rw] source_role_arn
778
832
  # @return [String]
779
833
  #
834
+ # @!attribute [rw] tags
835
+ # A collection of tags associated with a resource
836
+ # @return [Hash<String,String>]
837
+ #
780
838
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAssetResponse AWS API Documentation
781
839
  #
782
840
  class DescribeAssetResponse < Struct.new(
@@ -787,7 +845,8 @@ module Aws::MediaPackageVod
787
845
  :packaging_group_id,
788
846
  :resource_id,
789
847
  :source_arn,
790
- :source_role_arn)
848
+ :source_role_arn,
849
+ :tags)
791
850
  include Aws::Structure
792
851
  end
793
852
 
@@ -834,6 +893,10 @@ module Aws::MediaPackageVod
834
893
  # @!attribute [rw] packaging_group_id
835
894
  # @return [String]
836
895
  #
896
+ # @!attribute [rw] tags
897
+ # A collection of tags associated with a resource
898
+ # @return [Hash<String,String>]
899
+ #
837
900
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfigurationResponse AWS API Documentation
838
901
  #
839
902
  class DescribePackagingConfigurationResponse < Struct.new(
@@ -843,7 +906,8 @@ module Aws::MediaPackageVod
843
906
  :hls_package,
844
907
  :id,
845
908
  :mss_package,
846
- :packaging_group_id)
909
+ :packaging_group_id,
910
+ :tags)
847
911
  include Aws::Structure
848
912
  end
849
913
 
@@ -873,12 +937,17 @@ module Aws::MediaPackageVod
873
937
  # @!attribute [rw] id
874
938
  # @return [String]
875
939
  #
940
+ # @!attribute [rw] tags
941
+ # A collection of tags associated with a resource
942
+ # @return [Hash<String,String>]
943
+ #
876
944
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroupResponse AWS API Documentation
877
945
  #
878
946
  class DescribePackagingGroupResponse < Struct.new(
879
947
  :arn,
880
948
  :domain_name,
881
- :id)
949
+ :id,
950
+ :tags)
882
951
  include Aws::Structure
883
952
  end
884
953
 
@@ -1208,6 +1277,33 @@ module Aws::MediaPackageVod
1208
1277
  include Aws::Structure
1209
1278
  end
1210
1279
 
1280
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1281
+ # data as a hash:
1282
+ #
1283
+ # {
1284
+ # resource_arn: "__string", # required
1285
+ # }
1286
+ #
1287
+ # @!attribute [rw] resource_arn
1288
+ # @return [String]
1289
+ #
1290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResourceRequest AWS API Documentation
1291
+ #
1292
+ class ListTagsForResourceRequest < Struct.new(
1293
+ :resource_arn)
1294
+ include Aws::Structure
1295
+ end
1296
+
1297
+ # @!attribute [rw] tags
1298
+ # @return [Hash<String,String>]
1299
+ #
1300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResourceResponse AWS API Documentation
1301
+ #
1302
+ class ListTagsForResourceResponse < Struct.new(
1303
+ :tags)
1304
+ include Aws::Structure
1305
+ end
1306
+
1211
1307
  # A Microsoft Smooth Streaming (MSS) encryption configuration.
1212
1308
  #
1213
1309
  # @note When making an API call, you may pass MssEncryption
@@ -1352,6 +1448,10 @@ module Aws::MediaPackageVod
1352
1448
  # The ID of a PackagingGroup.
1353
1449
  # @return [String]
1354
1450
  #
1451
+ # @!attribute [rw] tags
1452
+ # A collection of tags associated with a resource
1453
+ # @return [Hash<String,String>]
1454
+ #
1355
1455
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingConfiguration AWS API Documentation
1356
1456
  #
1357
1457
  class PackagingConfiguration < Struct.new(
@@ -1361,7 +1461,8 @@ module Aws::MediaPackageVod
1361
1461
  :hls_package,
1362
1462
  :id,
1363
1463
  :mss_package,
1364
- :packaging_group_id)
1464
+ :packaging_group_id,
1465
+ :tags)
1365
1466
  include Aws::Structure
1366
1467
  end
1367
1468
 
@@ -1393,6 +1494,10 @@ module Aws::MediaPackageVod
1393
1494
  # The ID of a PackagingGroup.
1394
1495
  # @return [String]
1395
1496
  #
1497
+ # @!attribute [rw] tags
1498
+ # A collection of tags associated with a resource
1499
+ # @return [Hash<String,String>]
1500
+ #
1396
1501
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingConfigurationCreateParameters AWS API Documentation
1397
1502
  #
1398
1503
  class PackagingConfigurationCreateParameters < Struct.new(
@@ -1401,7 +1506,8 @@ module Aws::MediaPackageVod
1401
1506
  :hls_package,
1402
1507
  :id,
1403
1508
  :mss_package,
1404
- :packaging_group_id)
1509
+ :packaging_group_id,
1510
+ :tags)
1405
1511
  include Aws::Structure
1406
1512
  end
1407
1513
 
@@ -1438,12 +1544,17 @@ module Aws::MediaPackageVod
1438
1544
  # The ID of the PackagingGroup.
1439
1545
  # @return [String]
1440
1546
  #
1547
+ # @!attribute [rw] tags
1548
+ # A collection of tags associated with a resource
1549
+ # @return [Hash<String,String>]
1550
+ #
1441
1551
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingGroup AWS API Documentation
1442
1552
  #
1443
1553
  class PackagingGroup < Struct.new(
1444
1554
  :arn,
1445
1555
  :domain_name,
1446
- :id)
1556
+ :id,
1557
+ :tags)
1447
1558
  include Aws::Structure
1448
1559
  end
1449
1560
 
@@ -1454,10 +1565,15 @@ module Aws::MediaPackageVod
1454
1565
  # The ID of the PackagingGroup.
1455
1566
  # @return [String]
1456
1567
  #
1568
+ # @!attribute [rw] tags
1569
+ # A collection of tags associated with a resource
1570
+ # @return [Hash<String,String>]
1571
+ #
1457
1572
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingGroupCreateParameters AWS API Documentation
1458
1573
  #
1459
1574
  class PackagingGroupCreateParameters < Struct.new(
1460
- :id)
1575
+ :id,
1576
+ :tags)
1461
1577
  include Aws::Structure
1462
1578
  end
1463
1579
 
@@ -1556,6 +1672,40 @@ module Aws::MediaPackageVod
1556
1672
  include Aws::Structure
1557
1673
  end
1558
1674
 
1675
+ # @note When making an API call, you may pass TagResourceRequest
1676
+ # data as a hash:
1677
+ #
1678
+ # {
1679
+ # resource_arn: "__string", # required
1680
+ # tags: { # required
1681
+ # "__string" => "__string",
1682
+ # },
1683
+ # }
1684
+ #
1685
+ # @!attribute [rw] resource_arn
1686
+ # @return [String]
1687
+ #
1688
+ # @!attribute [rw] tags
1689
+ # @return [Hash<String,String>]
1690
+ #
1691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResourceRequest AWS API Documentation
1692
+ #
1693
+ class TagResourceRequest < Struct.new(
1694
+ :resource_arn,
1695
+ :tags)
1696
+ include Aws::Structure
1697
+ end
1698
+
1699
+ # @!attribute [rw] tags
1700
+ # @return [Hash<String,String>]
1701
+ #
1702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagsModel AWS API Documentation
1703
+ #
1704
+ class TagsModel < Struct.new(
1705
+ :tags)
1706
+ include Aws::Structure
1707
+ end
1708
+
1559
1709
  # @!attribute [rw] message
1560
1710
  # @return [String]
1561
1711
  #
@@ -1576,5 +1726,27 @@ module Aws::MediaPackageVod
1576
1726
  include Aws::Structure
1577
1727
  end
1578
1728
 
1729
+ # @note When making an API call, you may pass UntagResourceRequest
1730
+ # data as a hash:
1731
+ #
1732
+ # {
1733
+ # resource_arn: "__string", # required
1734
+ # tag_keys: ["__string"], # required
1735
+ # }
1736
+ #
1737
+ # @!attribute [rw] resource_arn
1738
+ # @return [String]
1739
+ #
1740
+ # @!attribute [rw] tag_keys
1741
+ # @return [Array<String>]
1742
+ #
1743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResourceRequest AWS API Documentation
1744
+ #
1745
+ class UntagResourceRequest < Struct.new(
1746
+ :resource_arn,
1747
+ :tag_keys)
1748
+ include Aws::Structure
1749
+ end
1750
+
1579
1751
  end
1580
1752
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediapackagevod
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - MediaPackage Vod