aws-sdk-mediapackage 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79b8992d679625c9eb37c58001616a7468c529fd
4
- data.tar.gz: 51ff985c149aa2a06f864ee37d57fb3957eef66f
3
+ metadata.gz: 16d38f445b093e4c5902d9567802a6424625f479
4
+ data.tar.gz: 3eacf09f14c49c8ffd761efdc0bd3f7e9771415b
5
5
  SHA512:
6
- metadata.gz: 1196acf52a70f2723ac53a82726a3c950b081e6329ce6b0332930e513c28df3cffe30cc64e375c1347666bb3f9f677bb11522aafd8137b14238de2213c7c42fd
7
- data.tar.gz: f432c91f5233671e53560147fc17578177adba7983836458d7b550075095bc533457016ef8de3a652f7cb8e41657ad989ace85127d6330d50b86693d54059fec
6
+ metadata.gz: 7af3ea94ce9685a5e05cbe7d11b6e90a668fc446bc15e6e08a1afa5a3f56781162a6bc135fb25fba861751bad010489758559b573bbde6cf2a02db28c99342f6
7
+ data.tar.gz: 0dc2edcb4f1e90015ca3552ae5e80402983a3c590558712c74f62b0c2d95709f2759d5fe696154cff420e960fccc29c97d3ef433c67026e9f22033fe99e5b363
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediapackage/customizations'
42
42
  # @service
43
43
  module Aws::MediaPackage
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -211,18 +211,25 @@ module Aws::MediaPackage
211
211
  #
212
212
  # @option params [required, String] :id
213
213
  #
214
+ # @option params [Hash<String,String>] :tags
215
+ # A collection of tags associated with a resource
216
+ #
214
217
  # @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
215
218
  #
216
219
  # * {Types::CreateChannelResponse#arn #arn} => String
217
220
  # * {Types::CreateChannelResponse#description #description} => String
218
221
  # * {Types::CreateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
219
222
  # * {Types::CreateChannelResponse#id #id} => String
223
+ # * {Types::CreateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
220
224
  #
221
225
  # @example Request syntax with placeholder values
222
226
  #
223
227
  # resp = client.create_channel({
224
228
  # description: "__string",
225
229
  # id: "__string", # required
230
+ # tags: {
231
+ # "__string" => "__string",
232
+ # },
226
233
  # })
227
234
  #
228
235
  # @example Response structure
@@ -235,6 +242,8 @@ module Aws::MediaPackage
235
242
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
236
243
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
237
244
  # resp.id #=> String
245
+ # resp.tags #=> Hash
246
+ # resp.tags["__string"] #=> String
238
247
  #
239
248
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel AWS API Documentation
240
249
  #
@@ -269,6 +278,9 @@ module Aws::MediaPackage
269
278
  #
270
279
  # @option params [Integer] :startover_window_seconds
271
280
  #
281
+ # @option params [Hash<String,String>] :tags
282
+ # A collection of tags associated with a resource
283
+ #
272
284
  # @option params [Integer] :time_delay_seconds
273
285
  #
274
286
  # @option params [Array<String>] :whitelist
@@ -285,6 +297,7 @@ module Aws::MediaPackage
285
297
  # * {Types::CreateOriginEndpointResponse#manifest_name #manifest_name} => String
286
298
  # * {Types::CreateOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
287
299
  # * {Types::CreateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
300
+ # * {Types::CreateOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
288
301
  # * {Types::CreateOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
289
302
  # * {Types::CreateOriginEndpointResponse#url #url} => String
290
303
  # * {Types::CreateOriginEndpointResponse#whitelist #whitelist} => Array&lt;String&gt;
@@ -398,6 +411,9 @@ module Aws::MediaPackage
398
411
  # },
399
412
  # },
400
413
  # startover_window_seconds: 1,
414
+ # tags: {
415
+ # "__string" => "__string",
416
+ # },
401
417
  # time_delay_seconds: 1,
402
418
  # whitelist: ["__string"],
403
419
  # })
@@ -482,6 +498,8 @@ module Aws::MediaPackage
482
498
  # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
483
499
  # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
484
500
  # resp.startover_window_seconds #=> Integer
501
+ # resp.tags #=> Hash
502
+ # resp.tags["__string"] #=> String
485
503
  # resp.time_delay_seconds #=> Integer
486
504
  # resp.url #=> String
487
505
  # resp.whitelist #=> Array
@@ -548,6 +566,7 @@ module Aws::MediaPackage
548
566
  # * {Types::DescribeChannelResponse#description #description} => String
549
567
  # * {Types::DescribeChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
550
568
  # * {Types::DescribeChannelResponse#id #id} => String
569
+ # * {Types::DescribeChannelResponse#tags #tags} => Hash&lt;String,String&gt;
551
570
  #
552
571
  # @example Request syntax with placeholder values
553
572
  #
@@ -565,6 +584,8 @@ module Aws::MediaPackage
565
584
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
566
585
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
567
586
  # resp.id #=> String
587
+ # resp.tags #=> Hash
588
+ # resp.tags["__string"] #=> String
568
589
  #
569
590
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel AWS API Documentation
570
591
  #
@@ -591,6 +612,7 @@ module Aws::MediaPackage
591
612
  # * {Types::DescribeOriginEndpointResponse#manifest_name #manifest_name} => String
592
613
  # * {Types::DescribeOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
593
614
  # * {Types::DescribeOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
615
+ # * {Types::DescribeOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
594
616
  # * {Types::DescribeOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
595
617
  # * {Types::DescribeOriginEndpointResponse#url #url} => String
596
618
  # * {Types::DescribeOriginEndpointResponse#whitelist #whitelist} => Array&lt;String&gt;
@@ -681,6 +703,8 @@ module Aws::MediaPackage
681
703
  # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
682
704
  # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
683
705
  # resp.startover_window_seconds #=> Integer
706
+ # resp.tags #=> Hash
707
+ # resp.tags["__string"] #=> String
684
708
  # resp.time_delay_seconds #=> Integer
685
709
  # resp.url #=> String
686
710
  # resp.whitelist #=> Array
@@ -724,6 +748,8 @@ module Aws::MediaPackage
724
748
  # resp.channels[0].hls_ingest.ingest_endpoints[0].url #=> String
725
749
  # resp.channels[0].hls_ingest.ingest_endpoints[0].username #=> String
726
750
  # resp.channels[0].id #=> String
751
+ # resp.channels[0].tags #=> Hash
752
+ # resp.channels[0].tags["__string"] #=> String
727
753
  # resp.next_token #=> String
728
754
  #
729
755
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels AWS API Documentation
@@ -838,6 +864,8 @@ module Aws::MediaPackage
838
864
  # resp.origin_endpoints[0].mss_package.stream_selection.min_video_bits_per_second #=> Integer
839
865
  # resp.origin_endpoints[0].mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
840
866
  # resp.origin_endpoints[0].startover_window_seconds #=> Integer
867
+ # resp.origin_endpoints[0].tags #=> Hash
868
+ # resp.origin_endpoints[0].tags["__string"] #=> String
841
869
  # resp.origin_endpoints[0].time_delay_seconds #=> Integer
842
870
  # resp.origin_endpoints[0].url #=> String
843
871
  # resp.origin_endpoints[0].whitelist #=> Array
@@ -852,6 +880,32 @@ module Aws::MediaPackage
852
880
  req.send_request(options)
853
881
  end
854
882
 
883
+ # @option params [required, String] :resource_arn
884
+ #
885
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
886
+ #
887
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
888
+ #
889
+ # @example Request syntax with placeholder values
890
+ #
891
+ # resp = client.list_tags_for_resource({
892
+ # resource_arn: "__string", # required
893
+ # })
894
+ #
895
+ # @example Response structure
896
+ #
897
+ # resp.tags #=> Hash
898
+ # resp.tags["__string"] #=> String
899
+ #
900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResource AWS API Documentation
901
+ #
902
+ # @overload list_tags_for_resource(params = {})
903
+ # @param [Hash] params ({})
904
+ def list_tags_for_resource(params = {}, options = {})
905
+ req = build_request(:list_tags_for_resource, params)
906
+ req.send_request(options)
907
+ end
908
+
855
909
  # Changes the Channel's first IngestEndpoint's username and password.
856
910
  # WARNING - This API is deprecated. Please use
857
911
  # RotateIngestEndpointCredentials instead
@@ -864,6 +918,7 @@ module Aws::MediaPackage
864
918
  # * {Types::RotateChannelCredentialsResponse#description #description} => String
865
919
  # * {Types::RotateChannelCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
866
920
  # * {Types::RotateChannelCredentialsResponse#id #id} => String
921
+ # * {Types::RotateChannelCredentialsResponse#tags #tags} => Hash&lt;String,String&gt;
867
922
  #
868
923
  # @example Request syntax with placeholder values
869
924
  #
@@ -881,6 +936,8 @@ module Aws::MediaPackage
881
936
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
882
937
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
883
938
  # resp.id #=> String
939
+ # resp.tags #=> Hash
940
+ # resp.tags["__string"] #=> String
884
941
  #
885
942
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials AWS API Documentation
886
943
  #
@@ -904,6 +961,7 @@ module Aws::MediaPackage
904
961
  # * {Types::RotateIngestEndpointCredentialsResponse#description #description} => String
905
962
  # * {Types::RotateIngestEndpointCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
906
963
  # * {Types::RotateIngestEndpointCredentialsResponse#id #id} => String
964
+ # * {Types::RotateIngestEndpointCredentialsResponse#tags #tags} => Hash&lt;String,String&gt;
907
965
  #
908
966
  # @example Request syntax with placeholder values
909
967
  #
@@ -922,6 +980,8 @@ module Aws::MediaPackage
922
980
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
923
981
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
924
982
  # resp.id #=> String
983
+ # resp.tags #=> Hash
984
+ # resp.tags["__string"] #=> String
925
985
  #
926
986
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials AWS API Documentation
927
987
  #
@@ -932,6 +992,52 @@ module Aws::MediaPackage
932
992
  req.send_request(options)
933
993
  end
934
994
 
995
+ # @option params [required, String] :resource_arn
996
+ #
997
+ # @option params [required, Hash<String,String>] :tags
998
+ #
999
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1000
+ #
1001
+ # @example Request syntax with placeholder values
1002
+ #
1003
+ # resp = client.tag_resource({
1004
+ # resource_arn: "__string", # required
1005
+ # tags: { # required
1006
+ # "__string" => "__string",
1007
+ # },
1008
+ # })
1009
+ #
1010
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagResource AWS API Documentation
1011
+ #
1012
+ # @overload tag_resource(params = {})
1013
+ # @param [Hash] params ({})
1014
+ def tag_resource(params = {}, options = {})
1015
+ req = build_request(:tag_resource, params)
1016
+ req.send_request(options)
1017
+ end
1018
+
1019
+ # @option params [required, String] :resource_arn
1020
+ #
1021
+ # @option params [required, Array<String>] :tag_keys
1022
+ #
1023
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1024
+ #
1025
+ # @example Request syntax with placeholder values
1026
+ #
1027
+ # resp = client.untag_resource({
1028
+ # resource_arn: "__string", # required
1029
+ # tag_keys: ["__string"], # required
1030
+ # })
1031
+ #
1032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UntagResource AWS API Documentation
1033
+ #
1034
+ # @overload untag_resource(params = {})
1035
+ # @param [Hash] params ({})
1036
+ def untag_resource(params = {}, options = {})
1037
+ req = build_request(:untag_resource, params)
1038
+ req.send_request(options)
1039
+ end
1040
+
935
1041
  # Updates an existing Channel.
936
1042
  #
937
1043
  # @option params [String] :description
@@ -944,6 +1050,7 @@ module Aws::MediaPackage
944
1050
  # * {Types::UpdateChannelResponse#description #description} => String
945
1051
  # * {Types::UpdateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
946
1052
  # * {Types::UpdateChannelResponse#id #id} => String
1053
+ # * {Types::UpdateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
947
1054
  #
948
1055
  # @example Request syntax with placeholder values
949
1056
  #
@@ -962,6 +1069,8 @@ module Aws::MediaPackage
962
1069
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
963
1070
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
964
1071
  # resp.id #=> String
1072
+ # resp.tags #=> Hash
1073
+ # resp.tags["__string"] #=> String
965
1074
  #
966
1075
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel AWS API Documentation
967
1076
  #
@@ -1010,6 +1119,7 @@ module Aws::MediaPackage
1010
1119
  # * {Types::UpdateOriginEndpointResponse#manifest_name #manifest_name} => String
1011
1120
  # * {Types::UpdateOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
1012
1121
  # * {Types::UpdateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
1122
+ # * {Types::UpdateOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
1013
1123
  # * {Types::UpdateOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
1014
1124
  # * {Types::UpdateOriginEndpointResponse#url #url} => String
1015
1125
  # * {Types::UpdateOriginEndpointResponse#whitelist #whitelist} => Array&lt;String&gt;
@@ -1206,6 +1316,8 @@ module Aws::MediaPackage
1206
1316
  # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
1207
1317
  # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
1208
1318
  # resp.startover_window_seconds #=> Integer
1319
+ # resp.tags #=> Hash
1320
+ # resp.tags["__string"] #=> String
1209
1321
  # resp.time_delay_seconds #=> Integer
1210
1322
  # resp.url #=> String
1211
1323
  # resp.whitelist #=> Array
@@ -1233,7 +1345,7 @@ module Aws::MediaPackage
1233
1345
  params: params,
1234
1346
  config: config)
1235
1347
  context[:gem_name] = 'aws-sdk-mediapackage'
1236
- context[:gem_version] = '1.11.0'
1348
+ context[:gem_version] = '1.12.0'
1237
1349
  Seahorse::Client::Request.new(handlers, context)
1238
1350
  end
1239
1351
 
@@ -46,6 +46,8 @@ module Aws::MediaPackage
46
46
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
47
47
  ListOriginEndpointsRequest = Shapes::StructureShape.new(name: 'ListOriginEndpointsRequest')
48
48
  ListOriginEndpointsResponse = Shapes::StructureShape.new(name: 'ListOriginEndpointsResponse')
49
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
50
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
49
51
  ManifestLayout = Shapes::StringShape.new(name: 'ManifestLayout')
50
52
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
51
53
  MssEncryption = Shapes::StructureShape.new(name: 'MssEncryption')
@@ -66,8 +68,12 @@ module Aws::MediaPackage
66
68
  SpekeKeyProvider = Shapes::StructureShape.new(name: 'SpekeKeyProvider')
67
69
  StreamOrder = Shapes::StringShape.new(name: 'StreamOrder')
68
70
  StreamSelection = Shapes::StructureShape.new(name: 'StreamSelection')
71
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
72
+ Tags = Shapes::MapShape.new(name: 'Tags')
73
+ TagsModel = Shapes::StructureShape.new(name: 'TagsModel')
69
74
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
70
75
  UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
76
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
71
77
  UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
72
78
  UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
73
79
  UpdateOriginEndpointRequest = Shapes::StructureShape.new(name: 'UpdateOriginEndpointRequest')
@@ -84,16 +90,19 @@ module Aws::MediaPackage
84
90
  __listOf__PeriodTriggersElement = Shapes::ListShape.new(name: '__listOf__PeriodTriggersElement')
85
91
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
86
92
  __long = Shapes::IntegerShape.new(name: '__long')
93
+ __mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
87
94
  __string = Shapes::StringShape.new(name: '__string')
88
95
 
89
96
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
90
97
  Channel.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
91
98
  Channel.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
92
99
  Channel.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
100
+ Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
93
101
  Channel.struct_class = Types::Channel
94
102
 
95
103
  ChannelCreateParameters.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
96
104
  ChannelCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
105
+ ChannelCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
97
106
  ChannelCreateParameters.struct_class = Types::ChannelCreateParameters
98
107
 
99
108
  ChannelList.add_member(:channels, Shapes::ShapeRef.new(shape: __listOfChannel, location_name: "channels"))
@@ -123,12 +132,14 @@ module Aws::MediaPackage
123
132
 
124
133
  CreateChannelRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
125
134
  CreateChannelRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
135
+ CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
126
136
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
127
137
 
128
138
  CreateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
129
139
  CreateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
130
140
  CreateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
131
141
  CreateChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
142
+ CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
132
143
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
133
144
 
134
145
  CreateOriginEndpointRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "channelId"))
@@ -140,6 +151,7 @@ module Aws::MediaPackage
140
151
  CreateOriginEndpointRequest.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
141
152
  CreateOriginEndpointRequest.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
142
153
  CreateOriginEndpointRequest.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
154
+ CreateOriginEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
143
155
  CreateOriginEndpointRequest.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
144
156
  CreateOriginEndpointRequest.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
145
157
  CreateOriginEndpointRequest.struct_class = Types::CreateOriginEndpointRequest
@@ -154,6 +166,7 @@ module Aws::MediaPackage
154
166
  CreateOriginEndpointResponse.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
155
167
  CreateOriginEndpointResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
156
168
  CreateOriginEndpointResponse.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
169
+ CreateOriginEndpointResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
157
170
  CreateOriginEndpointResponse.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
158
171
  CreateOriginEndpointResponse.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
159
172
  CreateOriginEndpointResponse.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
@@ -193,6 +206,7 @@ module Aws::MediaPackage
193
206
  DescribeChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
194
207
  DescribeChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
195
208
  DescribeChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
209
+ DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
196
210
  DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
197
211
 
198
212
  DescribeOriginEndpointRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
@@ -208,6 +222,7 @@ module Aws::MediaPackage
208
222
  DescribeOriginEndpointResponse.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
209
223
  DescribeOriginEndpointResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
210
224
  DescribeOriginEndpointResponse.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
225
+ DescribeOriginEndpointResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
211
226
  DescribeOriginEndpointResponse.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
212
227
  DescribeOriginEndpointResponse.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
213
228
  DescribeOriginEndpointResponse.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
@@ -276,6 +291,12 @@ module Aws::MediaPackage
276
291
  ListOriginEndpointsResponse.add_member(:origin_endpoints, Shapes::ShapeRef.new(shape: __listOfOriginEndpoint, location_name: "originEndpoints"))
277
292
  ListOriginEndpointsResponse.struct_class = Types::ListOriginEndpointsResponse
278
293
 
294
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
295
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
296
+
297
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
298
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
299
+
279
300
  MssEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
280
301
  MssEncryption.struct_class = Types::MssEncryption
281
302
 
@@ -295,6 +316,7 @@ module Aws::MediaPackage
295
316
  OriginEndpoint.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
296
317
  OriginEndpoint.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
297
318
  OriginEndpoint.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
319
+ OriginEndpoint.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
298
320
  OriginEndpoint.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
299
321
  OriginEndpoint.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
300
322
  OriginEndpoint.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
@@ -309,6 +331,7 @@ module Aws::MediaPackage
309
331
  OriginEndpointCreateParameters.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
310
332
  OriginEndpointCreateParameters.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
311
333
  OriginEndpointCreateParameters.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
334
+ OriginEndpointCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
312
335
  OriginEndpointCreateParameters.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
313
336
  OriginEndpointCreateParameters.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
314
337
  OriginEndpointCreateParameters.struct_class = Types::OriginEndpointCreateParameters
@@ -335,6 +358,7 @@ module Aws::MediaPackage
335
358
  RotateChannelCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
336
359
  RotateChannelCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
337
360
  RotateChannelCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
361
+ RotateChannelCredentialsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
338
362
  RotateChannelCredentialsResponse.struct_class = Types::RotateChannelCredentialsResponse
339
363
 
340
364
  RotateIngestEndpointCredentialsRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
@@ -345,6 +369,7 @@ module Aws::MediaPackage
345
369
  RotateIngestEndpointCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
346
370
  RotateIngestEndpointCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
347
371
  RotateIngestEndpointCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
372
+ RotateIngestEndpointCredentialsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
348
373
  RotateIngestEndpointCredentialsResponse.struct_class = Types::RotateIngestEndpointCredentialsResponse
349
374
 
350
375
  SpekeKeyProvider.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __string, location_name: "certificateArn"))
@@ -359,6 +384,20 @@ module Aws::MediaPackage
359
384
  StreamSelection.add_member(:stream_order, Shapes::ShapeRef.new(shape: StreamOrder, location_name: "streamOrder"))
360
385
  StreamSelection.struct_class = Types::StreamSelection
361
386
 
387
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
388
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
389
+ TagResourceRequest.struct_class = Types::TagResourceRequest
390
+
391
+ Tags.key = Shapes::ShapeRef.new(shape: __string)
392
+ Tags.value = Shapes::ShapeRef.new(shape: __string)
393
+
394
+ TagsModel.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
395
+ TagsModel.struct_class = Types::TagsModel
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
+
362
401
  UpdateChannelRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
363
402
  UpdateChannelRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
364
403
  UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
@@ -367,6 +406,7 @@ module Aws::MediaPackage
367
406
  UpdateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
368
407
  UpdateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
369
408
  UpdateChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
409
+ UpdateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
370
410
  UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
371
411
 
372
412
  UpdateOriginEndpointRequest.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackageCreateOrUpdateParameters, location_name: "cmafPackage"))
@@ -391,6 +431,7 @@ module Aws::MediaPackage
391
431
  UpdateOriginEndpointResponse.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
392
432
  UpdateOriginEndpointResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
393
433
  UpdateOriginEndpointResponse.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
434
+ UpdateOriginEndpointResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
394
435
  UpdateOriginEndpointResponse.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
395
436
  UpdateOriginEndpointResponse.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
396
437
  UpdateOriginEndpointResponse.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
@@ -410,6 +451,9 @@ module Aws::MediaPackage
410
451
 
411
452
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
412
453
 
454
+ __mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
455
+ __mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
456
+
413
457
 
414
458
  # @api private
415
459
  API = Seahorse::Model::Api.new.tap do |api|
@@ -553,6 +597,14 @@ module Aws::MediaPackage
553
597
  )
554
598
  end)
555
599
 
600
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
601
+ o.name = "ListTagsForResource"
602
+ o.http_method = "GET"
603
+ o.http_request_uri = "/tags/{resource-arn}"
604
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
605
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
606
+ end)
607
+
556
608
  api.add_operation(:rotate_channel_credentials, Seahorse::Model::Operation.new.tap do |o|
557
609
  o.name = "RotateChannelCredentials"
558
610
  o.http_method = "PUT"
@@ -582,6 +634,22 @@ module Aws::MediaPackage
582
634
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
583
635
  end)
584
636
 
637
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
638
+ o.name = "TagResource"
639
+ o.http_method = "POST"
640
+ o.http_request_uri = "/tags/{resource-arn}"
641
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
642
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
643
+ end)
644
+
645
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
646
+ o.name = "UntagResource"
647
+ o.http_method = "DELETE"
648
+ o.http_request_uri = "/tags/{resource-arn}"
649
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
650
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
651
+ end)
652
+
585
653
  api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
586
654
  o.name = "UpdateChannel"
587
655
  o.http_method = "PUT"
@@ -26,13 +26,18 @@ module Aws::MediaPackage
26
26
  # The ID of the Channel.
27
27
  # @return [String]
28
28
  #
29
+ # @!attribute [rw] tags
30
+ # A collection of tags associated with a resource
31
+ # @return [Hash<String,String>]
32
+ #
29
33
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/Channel AWS API Documentation
30
34
  #
31
35
  class Channel < Struct.new(
32
36
  :arn,
33
37
  :description,
34
38
  :hls_ingest,
35
- :id)
39
+ :id,
40
+ :tags)
36
41
  include Aws::Structure
37
42
  end
38
43
 
@@ -47,11 +52,16 @@ module Aws::MediaPackage
47
52
  # it cannot be changed after a Channel is created.
48
53
  # @return [String]
49
54
  #
55
+ # @!attribute [rw] tags
56
+ # A collection of tags associated with a resource
57
+ # @return [Hash<String,String>]
58
+ #
50
59
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ChannelCreateParameters AWS API Documentation
51
60
  #
52
61
  class ChannelCreateParameters < Struct.new(
53
62
  :description,
54
- :id)
63
+ :id,
64
+ :tags)
55
65
  include Aws::Structure
56
66
  end
57
67
 
@@ -231,6 +241,9 @@ module Aws::MediaPackage
231
241
  # {
232
242
  # description: "__string",
233
243
  # id: "__string", # required
244
+ # tags: {
245
+ # "__string" => "__string",
246
+ # },
234
247
  # }
235
248
  #
236
249
  # @!attribute [rw] description
@@ -239,11 +252,16 @@ module Aws::MediaPackage
239
252
  # @!attribute [rw] id
240
253
  # @return [String]
241
254
  #
255
+ # @!attribute [rw] tags
256
+ # A collection of tags associated with a resource
257
+ # @return [Hash<String,String>]
258
+ #
242
259
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelRequest AWS API Documentation
243
260
  #
244
261
  class CreateChannelRequest < Struct.new(
245
262
  :description,
246
- :id)
263
+ :id,
264
+ :tags)
247
265
  include Aws::Structure
248
266
  end
249
267
 
@@ -260,13 +278,18 @@ module Aws::MediaPackage
260
278
  # @!attribute [rw] id
261
279
  # @return [String]
262
280
  #
281
+ # @!attribute [rw] tags
282
+ # A collection of tags associated with a resource
283
+ # @return [Hash<String,String>]
284
+ #
263
285
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelResponse AWS API Documentation
264
286
  #
265
287
  class CreateChannelResponse < Struct.new(
266
288
  :arn,
267
289
  :description,
268
290
  :hls_ingest,
269
- :id)
291
+ :id,
292
+ :tags)
270
293
  include Aws::Structure
271
294
  end
272
295
 
@@ -380,6 +403,9 @@ module Aws::MediaPackage
380
403
  # },
381
404
  # },
382
405
  # startover_window_seconds: 1,
406
+ # tags: {
407
+ # "__string" => "__string",
408
+ # },
383
409
  # time_delay_seconds: 1,
384
410
  # whitelist: ["__string"],
385
411
  # }
@@ -416,6 +442,10 @@ module Aws::MediaPackage
416
442
  # @!attribute [rw] startover_window_seconds
417
443
  # @return [Integer]
418
444
  #
445
+ # @!attribute [rw] tags
446
+ # A collection of tags associated with a resource
447
+ # @return [Hash<String,String>]
448
+ #
419
449
  # @!attribute [rw] time_delay_seconds
420
450
  # @return [Integer]
421
451
  #
@@ -434,6 +464,7 @@ module Aws::MediaPackage
434
464
  :manifest_name,
435
465
  :mss_package,
436
466
  :startover_window_seconds,
467
+ :tags,
437
468
  :time_delay_seconds,
438
469
  :whitelist)
439
470
  include Aws::Structure
@@ -474,6 +505,10 @@ module Aws::MediaPackage
474
505
  # @!attribute [rw] startover_window_seconds
475
506
  # @return [Integer]
476
507
  #
508
+ # @!attribute [rw] tags
509
+ # A collection of tags associated with a resource
510
+ # @return [Hash<String,String>]
511
+ #
477
512
  # @!attribute [rw] time_delay_seconds
478
513
  # @return [Integer]
479
514
  #
@@ -496,6 +531,7 @@ module Aws::MediaPackage
496
531
  :manifest_name,
497
532
  :mss_package,
498
533
  :startover_window_seconds,
534
+ :tags,
499
535
  :time_delay_seconds,
500
536
  :url,
501
537
  :whitelist)
@@ -721,13 +757,18 @@ module Aws::MediaPackage
721
757
  # @!attribute [rw] id
722
758
  # @return [String]
723
759
  #
760
+ # @!attribute [rw] tags
761
+ # A collection of tags associated with a resource
762
+ # @return [Hash<String,String>]
763
+ #
724
764
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelResponse AWS API Documentation
725
765
  #
726
766
  class DescribeChannelResponse < Struct.new(
727
767
  :arn,
728
768
  :description,
729
769
  :hls_ingest,
730
- :id)
770
+ :id,
771
+ :tags)
731
772
  include Aws::Structure
732
773
  end
733
774
 
@@ -783,6 +824,10 @@ module Aws::MediaPackage
783
824
  # @!attribute [rw] startover_window_seconds
784
825
  # @return [Integer]
785
826
  #
827
+ # @!attribute [rw] tags
828
+ # A collection of tags associated with a resource
829
+ # @return [Hash<String,String>]
830
+ #
786
831
  # @!attribute [rw] time_delay_seconds
787
832
  # @return [Integer]
788
833
  #
@@ -805,6 +850,7 @@ module Aws::MediaPackage
805
850
  :manifest_name,
806
851
  :mss_package,
807
852
  :startover_window_seconds,
853
+ :tags,
808
854
  :time_delay_seconds,
809
855
  :url,
810
856
  :whitelist)
@@ -1227,6 +1273,33 @@ module Aws::MediaPackage
1227
1273
  include Aws::Structure
1228
1274
  end
1229
1275
 
1276
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1277
+ # data as a hash:
1278
+ #
1279
+ # {
1280
+ # resource_arn: "__string", # required
1281
+ # }
1282
+ #
1283
+ # @!attribute [rw] resource_arn
1284
+ # @return [String]
1285
+ #
1286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResourceRequest AWS API Documentation
1287
+ #
1288
+ class ListTagsForResourceRequest < Struct.new(
1289
+ :resource_arn)
1290
+ include Aws::Structure
1291
+ end
1292
+
1293
+ # @!attribute [rw] tags
1294
+ # @return [Hash<String,String>]
1295
+ #
1296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResourceResponse AWS API Documentation
1297
+ #
1298
+ class ListTagsForResourceResponse < Struct.new(
1299
+ :tags)
1300
+ include Aws::Structure
1301
+ end
1302
+
1230
1303
  # A Microsoft Smooth Streaming (MSS) encryption configuration.
1231
1304
  #
1232
1305
  # @note When making an API call, you may pass MssEncryption
@@ -1350,6 +1423,10 @@ module Aws::MediaPackage
1350
1423
  # the OriginEndpoint.
1351
1424
  # @return [Integer]
1352
1425
  #
1426
+ # @!attribute [rw] tags
1427
+ # A collection of tags associated with a resource
1428
+ # @return [Hash<String,String>]
1429
+ #
1353
1430
  # @!attribute [rw] time_delay_seconds
1354
1431
  # Amount of delay (seconds) to enforce on the playback of live
1355
1432
  # content. If not specified, there will be no time delay in effect for
@@ -1378,6 +1455,7 @@ module Aws::MediaPackage
1378
1455
  :manifest_name,
1379
1456
  :mss_package,
1380
1457
  :startover_window_seconds,
1458
+ :tags,
1381
1459
  :time_delay_seconds,
1382
1460
  :url,
1383
1461
  :whitelist)
@@ -1428,6 +1506,10 @@ module Aws::MediaPackage
1428
1506
  # the OriginEndpoint.
1429
1507
  # @return [Integer]
1430
1508
  #
1509
+ # @!attribute [rw] tags
1510
+ # A collection of tags associated with a resource
1511
+ # @return [Hash<String,String>]
1512
+ #
1431
1513
  # @!attribute [rw] time_delay_seconds
1432
1514
  # Amount of delay (seconds) to enforce on the playback of live
1433
1515
  # content. If not specified, there will be no time delay in effect for
@@ -1451,6 +1533,7 @@ module Aws::MediaPackage
1451
1533
  :manifest_name,
1452
1534
  :mss_package,
1453
1535
  :startover_window_seconds,
1536
+ :tags,
1454
1537
  :time_delay_seconds,
1455
1538
  :whitelist)
1456
1539
  include Aws::Structure
@@ -1564,13 +1647,18 @@ module Aws::MediaPackage
1564
1647
  # @!attribute [rw] id
1565
1648
  # @return [String]
1566
1649
  #
1650
+ # @!attribute [rw] tags
1651
+ # A collection of tags associated with a resource
1652
+ # @return [Hash<String,String>]
1653
+ #
1567
1654
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsResponse AWS API Documentation
1568
1655
  #
1569
1656
  class RotateChannelCredentialsResponse < Struct.new(
1570
1657
  :arn,
1571
1658
  :description,
1572
1659
  :hls_ingest,
1573
- :id)
1660
+ :id,
1661
+ :tags)
1574
1662
  include Aws::Structure
1575
1663
  end
1576
1664
 
@@ -1609,13 +1697,18 @@ module Aws::MediaPackage
1609
1697
  # @!attribute [rw] id
1610
1698
  # @return [String]
1611
1699
  #
1700
+ # @!attribute [rw] tags
1701
+ # A collection of tags associated with a resource
1702
+ # @return [Hash<String,String>]
1703
+ #
1612
1704
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentialsResponse AWS API Documentation
1613
1705
  #
1614
1706
  class RotateIngestEndpointCredentialsResponse < Struct.new(
1615
1707
  :arn,
1616
1708
  :description,
1617
1709
  :hls_ingest,
1618
- :id)
1710
+ :id,
1711
+ :tags)
1619
1712
  include Aws::Structure
1620
1713
  end
1621
1714
 
@@ -1699,6 +1792,62 @@ module Aws::MediaPackage
1699
1792
  include Aws::Structure
1700
1793
  end
1701
1794
 
1795
+ # @note When making an API call, you may pass TagResourceRequest
1796
+ # data as a hash:
1797
+ #
1798
+ # {
1799
+ # resource_arn: "__string", # required
1800
+ # tags: { # required
1801
+ # "__string" => "__string",
1802
+ # },
1803
+ # }
1804
+ #
1805
+ # @!attribute [rw] resource_arn
1806
+ # @return [String]
1807
+ #
1808
+ # @!attribute [rw] tags
1809
+ # @return [Hash<String,String>]
1810
+ #
1811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagResourceRequest AWS API Documentation
1812
+ #
1813
+ class TagResourceRequest < Struct.new(
1814
+ :resource_arn,
1815
+ :tags)
1816
+ include Aws::Structure
1817
+ end
1818
+
1819
+ # @!attribute [rw] tags
1820
+ # @return [Hash<String,String>]
1821
+ #
1822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagsModel AWS API Documentation
1823
+ #
1824
+ class TagsModel < Struct.new(
1825
+ :tags)
1826
+ include Aws::Structure
1827
+ end
1828
+
1829
+ # @note When making an API call, you may pass UntagResourceRequest
1830
+ # data as a hash:
1831
+ #
1832
+ # {
1833
+ # resource_arn: "__string", # required
1834
+ # tag_keys: ["__string"], # required
1835
+ # }
1836
+ #
1837
+ # @!attribute [rw] resource_arn
1838
+ # @return [String]
1839
+ #
1840
+ # @!attribute [rw] tag_keys
1841
+ # @return [Array<String>]
1842
+ #
1843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UntagResourceRequest AWS API Documentation
1844
+ #
1845
+ class UntagResourceRequest < Struct.new(
1846
+ :resource_arn,
1847
+ :tag_keys)
1848
+ include Aws::Structure
1849
+ end
1850
+
1702
1851
  # @note When making an API call, you may pass UpdateChannelRequest
1703
1852
  # data as a hash:
1704
1853
  #
@@ -1734,13 +1883,18 @@ module Aws::MediaPackage
1734
1883
  # @!attribute [rw] id
1735
1884
  # @return [String]
1736
1885
  #
1886
+ # @!attribute [rw] tags
1887
+ # A collection of tags associated with a resource
1888
+ # @return [Hash<String,String>]
1889
+ #
1737
1890
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelResponse AWS API Documentation
1738
1891
  #
1739
1892
  class UpdateChannelResponse < Struct.new(
1740
1893
  :arn,
1741
1894
  :description,
1742
1895
  :hls_ingest,
1743
- :id)
1896
+ :id,
1897
+ :tags)
1744
1898
  include Aws::Structure
1745
1899
  end
1746
1900
 
@@ -1943,6 +2097,10 @@ module Aws::MediaPackage
1943
2097
  # @!attribute [rw] startover_window_seconds
1944
2098
  # @return [Integer]
1945
2099
  #
2100
+ # @!attribute [rw] tags
2101
+ # A collection of tags associated with a resource
2102
+ # @return [Hash<String,String>]
2103
+ #
1946
2104
  # @!attribute [rw] time_delay_seconds
1947
2105
  # @return [Integer]
1948
2106
  #
@@ -1965,6 +2123,7 @@ module Aws::MediaPackage
1965
2123
  :manifest_name,
1966
2124
  :mss_package,
1967
2125
  :startover_window_seconds,
2126
+ :tags,
1968
2127
  :time_delay_seconds,
1969
2128
  :url,
1970
2129
  :whitelist)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediapackage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2019-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core