aws-sdk-mediaconvert 1.4.0 → 1.5.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: df71aeac8e1f1590d521891e3ff952b94be061de
4
- data.tar.gz: 186bfc02c8ac1bf00f8a1e2c835f7e93e3399f24
3
+ metadata.gz: 318a9f74eb4a908ccf493d741875703c8b7b129c
4
+ data.tar.gz: fc6e44b7292268ef93c22e11e2764fa29f325e5d
5
5
  SHA512:
6
- metadata.gz: 76da242818096e983b9c020d518a34e508db70a9370430f2995ab8e60cf9e23b5fa16c042258eb8a8e1a24ae9815f2839f847f2cb432e6eb5c11678c28f42d97
7
- data.tar.gz: f2b3b623290d89352c299fcb7f509df31e5bc13bed2cdfa1c6de79906f29a45ba7d91732af180043866c521b1777547f20ff65bab4ba688517aea61c9994936c
6
+ metadata.gz: 02bb2b4a3c3800fd2d314685e5f37155fb38e5a9268825cc2b6bda5c2746979932100eb7e846a586b935b97d7f07d4861575fbcbf01e81cd14af4889a0f31d9c
7
+ data.tar.gz: 02fef675eb4685a27519c7b97eefcd760c6d74a79fe57153c74bc9c79f9ecd94d10d12dc2475a27ceefb0e388ecf9629e88567915cea55598e6e70ab9766b151
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediaconvert/customizations'
42
42
  # @service
43
43
  module Aws::MediaConvert
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -1499,6 +1499,10 @@ module Aws::MediaConvert
1499
1499
  # JobTemplateSettings contains all the transcode settings saved in the
1500
1500
  # template that will be applied to jobs created from it.
1501
1501
  #
1502
+ # @option params [Hash<String,String>] :tags
1503
+ # The tags that you want to add to the resource. You can tag resources
1504
+ # with a key-value pair or with only a key.
1505
+ #
1502
1506
  # @return [Types::CreateJobTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1503
1507
  #
1504
1508
  # * {Types::CreateJobTemplateResponse#job_template #job_template} => Types::JobTemplate
@@ -2210,6 +2214,9 @@ module Aws::MediaConvert
2210
2214
  # ],
2211
2215
  # },
2212
2216
  # },
2217
+ # tags: {
2218
+ # "__string" => "__string",
2219
+ # },
2213
2220
  # })
2214
2221
  #
2215
2222
  # @example Response structure
@@ -2768,6 +2775,10 @@ module Aws::MediaConvert
2768
2775
  # @option params [required, Types::PresetSettings] :settings
2769
2776
  # Settings for preset
2770
2777
  #
2778
+ # @option params [Hash<String,String>] :tags
2779
+ # The tags that you want to add to the resource. You can tag resources
2780
+ # with a key-value pair or with only a key.
2781
+ #
2771
2782
  # @return [Types::CreatePresetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2772
2783
  #
2773
2784
  # * {Types::CreatePresetResponse#preset #preset} => Types::Preset
@@ -3230,6 +3241,9 @@ module Aws::MediaConvert
3230
3241
  # width: 1,
3231
3242
  # },
3232
3243
  # },
3244
+ # tags: {
3245
+ # "__string" => "__string",
3246
+ # },
3233
3247
  # })
3234
3248
  #
3235
3249
  # @example Response structure
@@ -3617,6 +3631,10 @@ module Aws::MediaConvert
3617
3631
  # @option params [required, String] :name
3618
3632
  # The name of the queue you are creating.
3619
3633
  #
3634
+ # @option params [Hash<String,String>] :tags
3635
+ # The tags that you want to add to the resource. You can tag resources
3636
+ # with a key-value pair or with only a key.
3637
+ #
3620
3638
  # @return [Types::CreateQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3621
3639
  #
3622
3640
  # * {Types::CreateQueueResponse#queue #queue} => Types::Queue
@@ -3626,6 +3644,9 @@ module Aws::MediaConvert
3626
3644
  # resp = client.create_queue({
3627
3645
  # description: "__string",
3628
3646
  # name: "__string", # required
3647
+ # tags: {
3648
+ # "__string" => "__string",
3649
+ # },
3629
3650
  # })
3630
3651
  #
3631
3652
  # @example Response structure
@@ -3635,7 +3656,9 @@ module Aws::MediaConvert
3635
3656
  # resp.queue.description #=> String
3636
3657
  # resp.queue.last_updated #=> Time
3637
3658
  # resp.queue.name #=> String
3659
+ # resp.queue.progressing_jobs_count #=> Integer
3638
3660
  # resp.queue.status #=> String, one of "ACTIVE", "PAUSED"
3661
+ # resp.queue.submitted_jobs_count #=> Integer
3639
3662
  # resp.queue.type #=> String, one of "SYSTEM", "CUSTOM"
3640
3663
  #
3641
3664
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueue AWS API Documentation
@@ -5285,7 +5308,9 @@ module Aws::MediaConvert
5285
5308
  # resp.queue.description #=> String
5286
5309
  # resp.queue.last_updated #=> Time
5287
5310
  # resp.queue.name #=> String
5311
+ # resp.queue.progressing_jobs_count #=> Integer
5288
5312
  # resp.queue.status #=> String, one of "ACTIVE", "PAUSED"
5313
+ # resp.queue.submitted_jobs_count #=> Integer
5289
5314
  # resp.queue.type #=> String, one of "SYSTEM", "CUSTOM"
5290
5315
  #
5291
5316
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueue AWS API Documentation
@@ -6940,7 +6965,9 @@ module Aws::MediaConvert
6940
6965
  # resp.queues[0].description #=> String
6941
6966
  # resp.queues[0].last_updated #=> Time
6942
6967
  # resp.queues[0].name #=> String
6968
+ # resp.queues[0].progressing_jobs_count #=> Integer
6943
6969
  # resp.queues[0].status #=> String, one of "ACTIVE", "PAUSED"
6970
+ # resp.queues[0].submitted_jobs_count #=> Integer
6944
6971
  # resp.queues[0].type #=> String, one of "SYSTEM", "CUSTOM"
6945
6972
  #
6946
6973
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueues AWS API Documentation
@@ -6952,6 +6979,98 @@ module Aws::MediaConvert
6952
6979
  req.send_request(options)
6953
6980
  end
6954
6981
 
6982
+ # Retrieve the tags for a MediaConvert resource.
6983
+ #
6984
+ # @option params [required, String] :arn
6985
+ # The Amazon Resource Name (ARN) of the resource that you want to list
6986
+ # tags for. To get the ARN, send a GET request with the resource name.
6987
+ #
6988
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6989
+ #
6990
+ # * {Types::ListTagsForResourceResponse#resource_tags #resource_tags} => Types::ResourceTags
6991
+ #
6992
+ # @example Request syntax with placeholder values
6993
+ #
6994
+ # resp = client.list_tags_for_resource({
6995
+ # arn: "__string", # required
6996
+ # })
6997
+ #
6998
+ # @example Response structure
6999
+ #
7000
+ # resp.resource_tags.arn #=> String
7001
+ # resp.resource_tags.tags #=> Hash
7002
+ # resp.resource_tags.tags["__string"] #=> String
7003
+ #
7004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListTagsForResource AWS API Documentation
7005
+ #
7006
+ # @overload list_tags_for_resource(params = {})
7007
+ # @param [Hash] params ({})
7008
+ def list_tags_for_resource(params = {}, options = {})
7009
+ req = build_request(:list_tags_for_resource, params)
7010
+ req.send_request(options)
7011
+ end
7012
+
7013
+ # Tag a MediaConvert queue, preset, or job template. For information
7014
+ # about these resource types, see the User Guide at
7015
+ # http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
7016
+ #
7017
+ # @option params [required, String] :arn
7018
+ # The Amazon Resource Name (ARN) of the resource that you want to tag.
7019
+ # To get the ARN, send a GET request with the resource name.
7020
+ #
7021
+ # @option params [required, Hash<String,String>] :tags
7022
+ # The tags that you want to add to the resource. You can tag resources
7023
+ # with a key-value pair or with only a key.
7024
+ #
7025
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7026
+ #
7027
+ # @example Request syntax with placeholder values
7028
+ #
7029
+ # resp = client.tag_resource({
7030
+ # arn: "__string", # required
7031
+ # tags: { # required
7032
+ # "__string" => "__string",
7033
+ # },
7034
+ # })
7035
+ #
7036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TagResource AWS API Documentation
7037
+ #
7038
+ # @overload tag_resource(params = {})
7039
+ # @param [Hash] params ({})
7040
+ def tag_resource(params = {}, options = {})
7041
+ req = build_request(:tag_resource, params)
7042
+ req.send_request(options)
7043
+ end
7044
+
7045
+ # Untag a MediaConvert queue, preset, or job template. For information
7046
+ # about these resource types, see the User Guide at
7047
+ # http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
7048
+ #
7049
+ # @option params [String] :arn
7050
+ # The Amazon Resource Name (ARN) of the resource that you want to remove
7051
+ # tags from. To get the ARN, send a GET request with the resource name.
7052
+ #
7053
+ # @option params [Array<String>] :tag_keys
7054
+ # The keys of the tags that you want to remove from the resource.
7055
+ #
7056
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7057
+ #
7058
+ # @example Request syntax with placeholder values
7059
+ #
7060
+ # resp = client.untag_resource({
7061
+ # arn: "__string",
7062
+ # tag_keys: ["__string"],
7063
+ # })
7064
+ #
7065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UntagResource AWS API Documentation
7066
+ #
7067
+ # @overload untag_resource(params = {})
7068
+ # @param [Hash] params ({})
7069
+ def untag_resource(params = {}, options = {})
7070
+ req = build_request(:untag_resource, params)
7071
+ req.send_request(options)
7072
+ end
7073
+
6955
7074
  # Modify one of your existing job templates.
6956
7075
  #
6957
7076
  # @option params [String] :category
@@ -9108,7 +9227,9 @@ module Aws::MediaConvert
9108
9227
  # resp.queue.description #=> String
9109
9228
  # resp.queue.last_updated #=> Time
9110
9229
  # resp.queue.name #=> String
9230
+ # resp.queue.progressing_jobs_count #=> Integer
9111
9231
  # resp.queue.status #=> String, one of "ACTIVE", "PAUSED"
9232
+ # resp.queue.submitted_jobs_count #=> Integer
9112
9233
  # resp.queue.type #=> String, one of "SYSTEM", "CUSTOM"
9113
9234
  #
9114
9235
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueue AWS API Documentation
@@ -9133,7 +9254,7 @@ module Aws::MediaConvert
9133
9254
  params: params,
9134
9255
  config: config)
9135
9256
  context[:gem_name] = 'aws-sdk-mediaconvert'
9136
- context[:gem_version] = '1.4.0'
9257
+ context[:gem_version] = '1.5.0'
9137
9258
  Seahorse::Client::Request.new(handlers, context)
9138
9259
  end
9139
9260
 
@@ -249,6 +249,8 @@ module Aws::MediaConvert
249
249
  ListPresetsResponse = Shapes::StructureShape.new(name: 'ListPresetsResponse')
250
250
  ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
251
251
  ListQueuesResponse = Shapes::StructureShape.new(name: 'ListQueuesResponse')
252
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
253
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
252
254
  M2tsAudioBufferModel = Shapes::StringShape.new(name: 'M2tsAudioBufferModel')
253
255
  M2tsBufferModel = Shapes::StringShape.new(name: 'M2tsBufferModel')
254
256
  M2tsEbpAudioInterval = Shapes::StringShape.new(name: 'M2tsEbpAudioInterval')
@@ -330,12 +332,15 @@ module Aws::MediaConvert
330
332
  QueueStatus = Shapes::StringShape.new(name: 'QueueStatus')
331
333
  Rectangle = Shapes::StructureShape.new(name: 'Rectangle')
332
334
  RemixSettings = Shapes::StructureShape.new(name: 'RemixSettings')
335
+ ResourceTags = Shapes::StructureShape.new(name: 'ResourceTags')
333
336
  RespondToAfd = Shapes::StringShape.new(name: 'RespondToAfd')
334
337
  ScalingBehavior = Shapes::StringShape.new(name: 'ScalingBehavior')
335
338
  SccDestinationFramerate = Shapes::StringShape.new(name: 'SccDestinationFramerate')
336
339
  SccDestinationSettings = Shapes::StructureShape.new(name: 'SccDestinationSettings')
337
340
  SpekeKeyProvider = Shapes::StructureShape.new(name: 'SpekeKeyProvider')
338
341
  StaticKeyProvider = Shapes::StructureShape.new(name: 'StaticKeyProvider')
342
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
343
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
339
344
  TeletextDestinationSettings = Shapes::StructureShape.new(name: 'TeletextDestinationSettings')
340
345
  TeletextSourceSettings = Shapes::StructureShape.new(name: 'TeletextSourceSettings')
341
346
  TimecodeBurnin = Shapes::StructureShape.new(name: 'TimecodeBurnin')
@@ -349,6 +354,8 @@ module Aws::MediaConvert
349
354
  TtmlDestinationSettings = Shapes::StructureShape.new(name: 'TtmlDestinationSettings')
350
355
  TtmlStylePassthrough = Shapes::StringShape.new(name: 'TtmlStylePassthrough')
351
356
  Type = Shapes::StringShape.new(name: 'Type')
357
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
358
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
352
359
  UpdateJobTemplateRequest = Shapes::StructureShape.new(name: 'UpdateJobTemplateRequest')
353
360
  UpdateJobTemplateResponse = Shapes::StructureShape.new(name: 'UpdateJobTemplateResponse')
354
361
  UpdatePresetRequest = Shapes::StructureShape.new(name: 'UpdatePresetRequest')
@@ -407,6 +414,7 @@ module Aws::MediaConvert
407
414
  __integerMin1Max1001 = Shapes::IntegerShape.new(name: '__integerMin1Max1001')
408
415
  __integerMin1Max16 = Shapes::IntegerShape.new(name: '__integerMin1Max16')
409
416
  __integerMin1Max2 = Shapes::IntegerShape.new(name: '__integerMin1Max2')
417
+ __integerMin1Max20 = Shapes::IntegerShape.new(name: '__integerMin1Max20')
410
418
  __integerMin1Max2147483647 = Shapes::IntegerShape.new(name: '__integerMin1Max2147483647')
411
419
  __integerMin1Max31 = Shapes::IntegerShape.new(name: '__integerMin1Max31')
412
420
  __integerMin1Max32 = Shapes::IntegerShape.new(name: '__integerMin1Max32')
@@ -457,6 +465,7 @@ module Aws::MediaConvert
457
465
  __listOf__integerMin1Max2147483647 = Shapes::ListShape.new(name: '__listOf__integerMin1Max2147483647')
458
466
  __listOf__integerMin32Max8182 = Shapes::ListShape.new(name: '__listOf__integerMin32Max8182')
459
467
  __listOf__integerMinNegative60Max6 = Shapes::ListShape.new(name: '__listOf__integerMinNegative60Max6')
468
+ __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
460
469
  __listOf__stringMin1 = Shapes::ListShape.new(name: '__listOf__stringMin1')
461
470
  __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = Shapes::ListShape.new(name: '__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12')
462
471
  __long = Shapes::IntegerShape.new(name: '__long')
@@ -682,6 +691,7 @@ module Aws::MediaConvert
682
691
  CreateJobTemplateRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
683
692
  CreateJobTemplateRequest.add_member(:queue, Shapes::ShapeRef.new(shape: __string, location_name: "queue"))
684
693
  CreateJobTemplateRequest.add_member(:settings, Shapes::ShapeRef.new(shape: JobTemplateSettings, required: true, location_name: "settings"))
694
+ CreateJobTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
685
695
  CreateJobTemplateRequest.struct_class = Types::CreateJobTemplateRequest
686
696
 
687
697
  CreateJobTemplateResponse.add_member(:job_template, Shapes::ShapeRef.new(shape: JobTemplate, location_name: "jobTemplate"))
@@ -691,6 +701,7 @@ module Aws::MediaConvert
691
701
  CreatePresetRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
692
702
  CreatePresetRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
693
703
  CreatePresetRequest.add_member(:settings, Shapes::ShapeRef.new(shape: PresetSettings, required: true, location_name: "settings"))
704
+ CreatePresetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
694
705
  CreatePresetRequest.struct_class = Types::CreatePresetRequest
695
706
 
696
707
  CreatePresetResponse.add_member(:preset, Shapes::ShapeRef.new(shape: Preset, location_name: "preset"))
@@ -698,6 +709,7 @@ module Aws::MediaConvert
698
709
 
699
710
  CreateQueueRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
700
711
  CreateQueueRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
712
+ CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
701
713
  CreateQueueRequest.struct_class = Types::CreateQueueRequest
702
714
 
703
715
  CreateQueueResponse.add_member(:queue, Shapes::ShapeRef.new(shape: Queue, location_name: "queue"))
@@ -1090,7 +1102,7 @@ module Aws::MediaConvert
1090
1102
 
1091
1103
  ListJobTemplatesRequest.add_member(:category, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "category"))
1092
1104
  ListJobTemplatesRequest.add_member(:list_by, Shapes::ShapeRef.new(shape: JobTemplateListBy, location: "querystring", location_name: "listBy"))
1093
- ListJobTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location: "querystring", location_name: "maxResults"))
1105
+ ListJobTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin1Max20, location: "querystring", location_name: "maxResults"))
1094
1106
  ListJobTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1095
1107
  ListJobTemplatesRequest.add_member(:order, Shapes::ShapeRef.new(shape: Order, location: "querystring", location_name: "order"))
1096
1108
  ListJobTemplatesRequest.struct_class = Types::ListJobTemplatesRequest
@@ -1099,7 +1111,7 @@ module Aws::MediaConvert
1099
1111
  ListJobTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1100
1112
  ListJobTemplatesResponse.struct_class = Types::ListJobTemplatesResponse
1101
1113
 
1102
- ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location: "querystring", location_name: "maxResults"))
1114
+ ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin1Max20, location: "querystring", location_name: "maxResults"))
1103
1115
  ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1104
1116
  ListJobsRequest.add_member(:order, Shapes::ShapeRef.new(shape: Order, location: "querystring", location_name: "order"))
1105
1117
  ListJobsRequest.add_member(:queue, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "queue"))
@@ -1112,7 +1124,7 @@ module Aws::MediaConvert
1112
1124
 
1113
1125
  ListPresetsRequest.add_member(:category, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "category"))
1114
1126
  ListPresetsRequest.add_member(:list_by, Shapes::ShapeRef.new(shape: PresetListBy, location: "querystring", location_name: "listBy"))
1115
- ListPresetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location: "querystring", location_name: "maxResults"))
1127
+ ListPresetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin1Max20, location: "querystring", location_name: "maxResults"))
1116
1128
  ListPresetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1117
1129
  ListPresetsRequest.add_member(:order, Shapes::ShapeRef.new(shape: Order, location: "querystring", location_name: "order"))
1118
1130
  ListPresetsRequest.struct_class = Types::ListPresetsRequest
@@ -1122,7 +1134,7 @@ module Aws::MediaConvert
1122
1134
  ListPresetsResponse.struct_class = Types::ListPresetsResponse
1123
1135
 
1124
1136
  ListQueuesRequest.add_member(:list_by, Shapes::ShapeRef.new(shape: QueueListBy, location: "querystring", location_name: "listBy"))
1125
- ListQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location: "querystring", location_name: "maxResults"))
1137
+ ListQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin1Max20, location: "querystring", location_name: "maxResults"))
1126
1138
  ListQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1127
1139
  ListQueuesRequest.add_member(:order, Shapes::ShapeRef.new(shape: Order, location: "querystring", location_name: "order"))
1128
1140
  ListQueuesRequest.struct_class = Types::ListQueuesRequest
@@ -1131,6 +1143,12 @@ module Aws::MediaConvert
1131
1143
  ListQueuesResponse.add_member(:queues, Shapes::ShapeRef.new(shape: __listOfQueue, location_name: "queues"))
1132
1144
  ListQueuesResponse.struct_class = Types::ListQueuesResponse
1133
1145
 
1146
+ ListTagsForResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
1147
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1148
+
1149
+ ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "resourceTags"))
1150
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1151
+
1134
1152
  M2tsSettings.add_member(:audio_buffer_model, Shapes::ShapeRef.new(shape: M2tsAudioBufferModel, location_name: "audioBufferModel"))
1135
1153
  M2tsSettings.add_member(:audio_frames_per_pes, Shapes::ShapeRef.new(shape: __integerMin0Max2147483647, location_name: "audioFramesPerPes"))
1136
1154
  M2tsSettings.add_member(:audio_pids, Shapes::ShapeRef.new(shape: __listOf__integerMin32Max8182, location_name: "audioPids"))
@@ -1333,7 +1351,9 @@ module Aws::MediaConvert
1333
1351
  Queue.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
1334
1352
  Queue.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
1335
1353
  Queue.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
1354
+ Queue.add_member(:progressing_jobs_count, Shapes::ShapeRef.new(shape: __integer, location_name: "progressingJobsCount"))
1336
1355
  Queue.add_member(:status, Shapes::ShapeRef.new(shape: QueueStatus, location_name: "status"))
1356
+ Queue.add_member(:submitted_jobs_count, Shapes::ShapeRef.new(shape: __integer, location_name: "submittedJobsCount"))
1337
1357
  Queue.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
1338
1358
  Queue.struct_class = Types::Queue
1339
1359
 
@@ -1348,6 +1368,10 @@ module Aws::MediaConvert
1348
1368
  RemixSettings.add_member(:channels_out, Shapes::ShapeRef.new(shape: __integerMin1Max8, required: true, location_name: "channelsOut"))
1349
1369
  RemixSettings.struct_class = Types::RemixSettings
1350
1370
 
1371
+ ResourceTags.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
1372
+ ResourceTags.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
1373
+ ResourceTags.struct_class = Types::ResourceTags
1374
+
1351
1375
  SccDestinationSettings.add_member(:framerate, Shapes::ShapeRef.new(shape: SccDestinationFramerate, location_name: "framerate"))
1352
1376
  SccDestinationSettings.struct_class = Types::SccDestinationSettings
1353
1377
 
@@ -1362,6 +1386,12 @@ module Aws::MediaConvert
1362
1386
  StaticKeyProvider.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "url"))
1363
1387
  StaticKeyProvider.struct_class = Types::StaticKeyProvider
1364
1388
 
1389
+ TagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
1390
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "tags"))
1391
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1392
+
1393
+ TagResourceResponse.struct_class = Types::TagResourceResponse
1394
+
1365
1395
  TeletextDestinationSettings.add_member(:page_number, Shapes::ShapeRef.new(shape: __stringMin3Max3Pattern1809aFAF09aEAE, location_name: "pageNumber"))
1366
1396
  TeletextDestinationSettings.struct_class = Types::TeletextDestinationSettings
1367
1397
 
@@ -1390,6 +1420,12 @@ module Aws::MediaConvert
1390
1420
  TtmlDestinationSettings.add_member(:style_passthrough, Shapes::ShapeRef.new(shape: TtmlStylePassthrough, location_name: "stylePassthrough"))
1391
1421
  TtmlDestinationSettings.struct_class = Types::TtmlDestinationSettings
1392
1422
 
1423
+ UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
1424
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "tagKeys"))
1425
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1426
+
1427
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
1428
+
1393
1429
  UpdateJobTemplateRequest.add_member(:category, Shapes::ShapeRef.new(shape: __string, location_name: "category"))
1394
1430
  UpdateJobTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
1395
1431
  UpdateJobTemplateRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "name"))
@@ -1512,6 +1548,8 @@ module Aws::MediaConvert
1512
1548
 
1513
1549
  __listOf__integerMinNegative60Max6.member = Shapes::ShapeRef.new(shape: __integerMinNegative60Max6)
1514
1550
 
1551
+ __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
1552
+
1515
1553
  __listOf__stringMin1.member = Shapes::ShapeRef.new(shape: __stringMin1)
1516
1554
 
1517
1555
  __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12.member = Shapes::ShapeRef.new(shape: __stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12)
@@ -1781,6 +1819,48 @@ module Aws::MediaConvert
1781
1819
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1782
1820
  end)
1783
1821
 
1822
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1823
+ o.name = "ListTagsForResource"
1824
+ o.http_method = "GET"
1825
+ o.http_request_uri = "/2017-08-29/tags/{arn}"
1826
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1827
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1828
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1829
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1831
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1832
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1833
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1834
+ end)
1835
+
1836
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1837
+ o.name = "TagResource"
1838
+ o.http_method = "POST"
1839
+ o.http_request_uri = "/2017-08-29/tags"
1840
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1841
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1842
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1843
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1844
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1845
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1846
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1847
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1848
+ end)
1849
+
1850
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1851
+ o.name = "UntagResource"
1852
+ o.http_method = "DELETE"
1853
+ o.http_request_uri = "/2017-08-29/tags"
1854
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1855
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1856
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1858
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1859
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1860
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1861
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1862
+ end)
1863
+
1784
1864
  api.add_operation(:update_job_template, Seahorse::Model::Operation.new.tap do |o|
1785
1865
  o.name = "UpdateJobTemplate"
1786
1866
  o.http_method = "PUT"
@@ -3289,6 +3289,9 @@ module Aws::MediaConvert
3289
3289
  # ],
3290
3290
  # },
3291
3291
  # },
3292
+ # tags: {
3293
+ # "__string" => "__string",
3294
+ # },
3292
3295
  # }
3293
3296
  #
3294
3297
  # @!attribute [rw] category
@@ -3314,6 +3317,11 @@ module Aws::MediaConvert
3314
3317
  # template that will be applied to jobs created from it.
3315
3318
  # @return [Types::JobTemplateSettings]
3316
3319
  #
3320
+ # @!attribute [rw] tags
3321
+ # The tags that you want to add to the resource. You can tag resources
3322
+ # with a key-value pair or with only a key.
3323
+ # @return [Hash<String,String>]
3324
+ #
3317
3325
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplateRequest AWS API Documentation
3318
3326
  #
3319
3327
  class CreateJobTemplateRequest < Struct.new(
@@ -3321,7 +3329,8 @@ module Aws::MediaConvert
3321
3329
  :description,
3322
3330
  :name,
3323
3331
  :queue,
3324
- :settings)
3332
+ :settings,
3333
+ :tags)
3325
3334
  include Aws::Structure
3326
3335
  end
3327
3336
 
@@ -3801,6 +3810,9 @@ module Aws::MediaConvert
3801
3810
  # width: 1,
3802
3811
  # },
3803
3812
  # },
3813
+ # tags: {
3814
+ # "__string" => "__string",
3815
+ # },
3804
3816
  # }
3805
3817
  #
3806
3818
  # @!attribute [rw] category
@@ -3819,13 +3831,19 @@ module Aws::MediaConvert
3819
3831
  # Settings for preset
3820
3832
  # @return [Types::PresetSettings]
3821
3833
  #
3834
+ # @!attribute [rw] tags
3835
+ # The tags that you want to add to the resource. You can tag resources
3836
+ # with a key-value pair or with only a key.
3837
+ # @return [Hash<String,String>]
3838
+ #
3822
3839
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePresetRequest AWS API Documentation
3823
3840
  #
3824
3841
  class CreatePresetRequest < Struct.new(
3825
3842
  :category,
3826
3843
  :description,
3827
3844
  :name,
3828
- :settings)
3845
+ :settings,
3846
+ :tags)
3829
3847
  include Aws::Structure
3830
3848
  end
3831
3849
 
@@ -3852,6 +3870,9 @@ module Aws::MediaConvert
3852
3870
  # {
3853
3871
  # description: "__string",
3854
3872
  # name: "__string", # required
3873
+ # tags: {
3874
+ # "__string" => "__string",
3875
+ # },
3855
3876
  # }
3856
3877
  #
3857
3878
  # @!attribute [rw] description
@@ -3862,11 +3883,17 @@ module Aws::MediaConvert
3862
3883
  # The name of the queue you are creating.
3863
3884
  # @return [String]
3864
3885
  #
3886
+ # @!attribute [rw] tags
3887
+ # The tags that you want to add to the resource. You can tag resources
3888
+ # with a key-value pair or with only a key.
3889
+ # @return [Hash<String,String>]
3890
+ #
3865
3891
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueueRequest AWS API Documentation
3866
3892
  #
3867
3893
  class CreateQueueRequest < Struct.new(
3868
3894
  :description,
3869
- :name)
3895
+ :name,
3896
+ :tags)
3870
3897
  include Aws::Structure
3871
3898
  end
3872
3899
 
@@ -8693,6 +8720,43 @@ module Aws::MediaConvert
8693
8720
  include Aws::Structure
8694
8721
  end
8695
8722
 
8723
+ # List the tags for your MediaConvert resource by sending a request with
8724
+ # the Amazon Resource Name (ARN) of the resource. To get the ARN, send a
8725
+ # GET request with the resource name.
8726
+ #
8727
+ # @note When making an API call, you may pass ListTagsForResourceRequest
8728
+ # data as a hash:
8729
+ #
8730
+ # {
8731
+ # arn: "__string", # required
8732
+ # }
8733
+ #
8734
+ # @!attribute [rw] arn
8735
+ # The Amazon Resource Name (ARN) of the resource that you want to list
8736
+ # tags for. To get the ARN, send a GET request with the resource name.
8737
+ # @return [String]
8738
+ #
8739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListTagsForResourceRequest AWS API Documentation
8740
+ #
8741
+ class ListTagsForResourceRequest < Struct.new(
8742
+ :arn)
8743
+ include Aws::Structure
8744
+ end
8745
+
8746
+ # Successful list tags for resource requests return a JSON map of tags.
8747
+ #
8748
+ # @!attribute [rw] resource_tags
8749
+ # The Amazon Resource Name (ARN) and tags for an AWS Elemental
8750
+ # MediaConvert resource.
8751
+ # @return [Types::ResourceTags]
8752
+ #
8753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListTagsForResourceResponse AWS API Documentation
8754
+ #
8755
+ class ListTagsForResourceResponse < Struct.new(
8756
+ :resource_tags)
8757
+ include Aws::Structure
8758
+ end
8759
+
8696
8760
  # Settings for M2TS Container.
8697
8761
  #
8698
8762
  # @note When making an API call, you may pass M2tsSettings
@@ -11818,12 +11882,20 @@ module Aws::MediaConvert
11818
11882
  # your account.
11819
11883
  # @return [String]
11820
11884
  #
11885
+ # @!attribute [rw] progressing_jobs_count
11886
+ # Estimated number of jobs in PROGRESSING status.
11887
+ # @return [Integer]
11888
+ #
11821
11889
  # @!attribute [rw] status
11822
11890
  # Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that
11823
11891
  # queue will not begin. Jobs running when a queue is paused continue
11824
11892
  # to run until they finish or error out.
11825
11893
  # @return [String]
11826
11894
  #
11895
+ # @!attribute [rw] submitted_jobs_count
11896
+ # Estimated number of jobs in SUBMITTED status.
11897
+ # @return [Integer]
11898
+ #
11827
11899
  # @!attribute [rw] type
11828
11900
  # A queue can be of two types: system or custom. System or built-in
11829
11901
  # queues can't be modified or deleted by the user.
@@ -11837,7 +11909,9 @@ module Aws::MediaConvert
11837
11909
  :description,
11838
11910
  :last_updated,
11839
11911
  :name,
11912
+ :progressing_jobs_count,
11840
11913
  :status,
11914
+ :submitted_jobs_count,
11841
11915
  :type)
11842
11916
  include Aws::Structure
11843
11917
  end
@@ -11931,6 +12005,25 @@ module Aws::MediaConvert
11931
12005
  include Aws::Structure
11932
12006
  end
11933
12007
 
12008
+ # The Amazon Resource Name (ARN) and tags for an AWS Elemental
12009
+ # MediaConvert resource.
12010
+ #
12011
+ # @!attribute [rw] arn
12012
+ # The Amazon Resource Name (ARN) of the resource.
12013
+ # @return [String]
12014
+ #
12015
+ # @!attribute [rw] tags
12016
+ # The tags for the resource.
12017
+ # @return [Hash<String,String>]
12018
+ #
12019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ResourceTags AWS API Documentation
12020
+ #
12021
+ class ResourceTags < Struct.new(
12022
+ :arn,
12023
+ :tags)
12024
+ include Aws::Structure
12025
+ end
12026
+
11934
12027
  # Settings for SCC caption output.
11935
12028
  #
11936
12029
  # @note When making an API call, you may pass SccDestinationSettings
@@ -12036,6 +12129,44 @@ module Aws::MediaConvert
12036
12129
  include Aws::Structure
12037
12130
  end
12038
12131
 
12132
+ # To tag a queue, preset, or job template, send a request with the tags
12133
+ # and the Amazon Resource Name (ARN) of the resource that you want to
12134
+ # tag.
12135
+ #
12136
+ # @note When making an API call, you may pass TagResourceRequest
12137
+ # data as a hash:
12138
+ #
12139
+ # {
12140
+ # arn: "__string", # required
12141
+ # tags: { # required
12142
+ # "__string" => "__string",
12143
+ # },
12144
+ # }
12145
+ #
12146
+ # @!attribute [rw] arn
12147
+ # The Amazon Resource Name (ARN) of the resource that you want to tag.
12148
+ # To get the ARN, send a GET request with the resource name.
12149
+ # @return [String]
12150
+ #
12151
+ # @!attribute [rw] tags
12152
+ # The tags that you want to add to the resource. You can tag resources
12153
+ # with a key-value pair or with only a key.
12154
+ # @return [Hash<String,String>]
12155
+ #
12156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TagResourceRequest AWS API Documentation
12157
+ #
12158
+ class TagResourceRequest < Struct.new(
12159
+ :arn,
12160
+ :tags)
12161
+ include Aws::Structure
12162
+ end
12163
+
12164
+ # Successful tag resource requests return an OK message.
12165
+ #
12166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TagResourceResponse AWS API Documentation
12167
+ #
12168
+ class TagResourceResponse < Aws::EmptyStructure; end
12169
+
12039
12170
  # Settings for Teletext caption output
12040
12171
  #
12041
12172
  # @note When making an API call, you may pass TeletextDestinationSettings
@@ -12270,6 +12401,42 @@ module Aws::MediaConvert
12270
12401
  include Aws::Structure
12271
12402
  end
12272
12403
 
12404
+ # To remove tags from a resource, send a request with the Amazon
12405
+ # Resource Name (ARN) of the resource and the keys of the tags that you
12406
+ # want to remove.
12407
+ #
12408
+ # @note When making an API call, you may pass UntagResourceRequest
12409
+ # data as a hash:
12410
+ #
12411
+ # {
12412
+ # arn: "__string",
12413
+ # tag_keys: ["__string"],
12414
+ # }
12415
+ #
12416
+ # @!attribute [rw] arn
12417
+ # The Amazon Resource Name (ARN) of the resource that you want to
12418
+ # remove tags from. To get the ARN, send a GET request with the
12419
+ # resource name.
12420
+ # @return [String]
12421
+ #
12422
+ # @!attribute [rw] tag_keys
12423
+ # The keys of the tags that you want to remove from the resource.
12424
+ # @return [Array<String>]
12425
+ #
12426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UntagResourceRequest AWS API Documentation
12427
+ #
12428
+ class UntagResourceRequest < Struct.new(
12429
+ :arn,
12430
+ :tag_keys)
12431
+ include Aws::Structure
12432
+ end
12433
+
12434
+ # Successful untag resource requests return an OK message.
12435
+ #
12436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UntagResourceResponse AWS API Documentation
12437
+ #
12438
+ class UntagResourceResponse < Aws::EmptyStructure; end
12439
+
12273
12440
  # Modify a job template by sending a request with the job template name
12274
12441
  # and any of the following that you wish to change: description,
12275
12442
  # category, and queue.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediaconvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core