aws-sdk-mediaconvert 1.11.0 → 1.12.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
2
  SHA1:
3
- metadata.gz: eadf255a6a2685a28907e69ccfef76e97c7e2578
4
- data.tar.gz: a7ed23b6066da9ad79be346984862b15e3459fbf
3
+ metadata.gz: 3c0ad7b793942685d0d66b28f4be38ad6b25de52
4
+ data.tar.gz: c3bf68dcc463b4bf2a288c7291bf03b3b747d4a1
5
5
  SHA512:
6
- metadata.gz: 8d875cf4b31a2440b7610a830aef7231a02c21efa29fdb107caa31267c51d62f322b1191a4c86060325133d4a7596abe947b4131362f6b7207f8d38a3eb00f97
7
- data.tar.gz: e26f1fd58baefb5fe466f442cb3789b8835105e82368f9e3d438b3524b24df6f84f360e6acd5ef07d54993ba3d0bb0a83215e00ac2298d85023e3a49fba7bc01
6
+ metadata.gz: 2f38a8f0a29fd4cf95ebad44525c7bc31311b46e926f76774ed13c62f5cacc087e4295aa1c5b02e53378a8f2377f4c8a39686c650b3ffdb0237b6813cba55231
7
+ data.tar.gz: 54ded64c00030bcc6f001c3b41bb3062a27f433761fc7de983a3caea1aa2b2c199a3e2515889095cba27d4ad64dc01a08ae5539a514fdfc395683dfbee02349e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediaconvert/customizations'
42
42
  # @service
43
43
  module Aws::MediaConvert
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -203,6 +203,14 @@ module Aws::MediaConvert
203
203
  # settings, see the User Guide at
204
204
  # http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
205
205
  #
206
+ # @option params [String] :billing_tags_source
207
+ # Optional. Choose a tag type that AWS Billing and Cost Management will
208
+ # use to sort your AWS Elemental MediaConvert costs on any billing
209
+ # report that you set up. Any transcoding outputs that don't have an
210
+ # associated tag will appear in your billing report unsorted. If you
211
+ # don't choose a valid value for this field, your job outputs will
212
+ # appear on the billing report unsorted.
213
+ #
206
214
  # @option params [String] :client_request_token
207
215
  # Idempotency token for CreateJob operation.**A suitable default value is auto-generated.** You should normally
208
216
  # not need to pass this option.**
@@ -236,6 +244,7 @@ module Aws::MediaConvert
236
244
  # @example Request syntax with placeholder values
237
245
  #
238
246
  # resp = client.create_job({
247
+ # billing_tags_source: "QUEUE", # accepts QUEUE, PRESET, JOB_TEMPLATE
239
248
  # client_request_token: "__string",
240
249
  # job_template: "__string",
241
250
  # queue: "__string",
@@ -963,6 +972,7 @@ module Aws::MediaConvert
963
972
  # @example Response structure
964
973
  #
965
974
  # resp.job.arn #=> String
975
+ # resp.job.billing_tags_source #=> String, one of "QUEUE", "PRESET", "JOB_TEMPLATE"
966
976
  # resp.job.created_at #=> Time
967
977
  # resp.job.error_code #=> Integer
968
978
  # resp.job.error_message #=> String
@@ -3829,6 +3839,13 @@ module Aws::MediaConvert
3829
3839
  # Optional. Max number of endpoints, up to twenty, that will be returned
3830
3840
  # at one time.
3831
3841
  #
3842
+ # @option params [String] :mode
3843
+ # Optional field, defaults to DEFAULT. Specify DEFAULT for this
3844
+ # operation to return your endpoints if any exist, or to create an
3845
+ # endpoint for you and return it if one doesn't already exist. Specify
3846
+ # GET\_ONLY to return your endpoints if any exist, or an empty list if
3847
+ # none exist.
3848
+ #
3832
3849
  # @option params [String] :next_token
3833
3850
  # Use this string, provided with the response to a previous request, to
3834
3851
  # request the next batch of endpoints.
@@ -3842,6 +3859,7 @@ module Aws::MediaConvert
3842
3859
  #
3843
3860
  # resp = client.describe_endpoints({
3844
3861
  # max_results: 1,
3862
+ # mode: "DEFAULT", # accepts DEFAULT, GET_ONLY
3845
3863
  # next_token: "__string",
3846
3864
  # })
3847
3865
  #
@@ -3878,6 +3896,7 @@ module Aws::MediaConvert
3878
3896
  # @example Response structure
3879
3897
  #
3880
3898
  # resp.job.arn #=> String
3899
+ # resp.job.billing_tags_source #=> String, one of "QUEUE", "PRESET", "JOB_TEMPLATE"
3881
3900
  # resp.job.created_at #=> Time
3882
3901
  # resp.job.error_code #=> Integer
3883
3902
  # resp.job.error_message #=> String
@@ -6074,6 +6093,7 @@ module Aws::MediaConvert
6074
6093
  #
6075
6094
  # resp.jobs #=> Array
6076
6095
  # resp.jobs[0].arn #=> String
6096
+ # resp.jobs[0].billing_tags_source #=> String, one of "QUEUE", "PRESET", "JOB_TEMPLATE"
6077
6097
  # resp.jobs[0].created_at #=> Time
6078
6098
  # resp.jobs[0].error_code #=> Integer
6079
6099
  # resp.jobs[0].error_message #=> String
@@ -7150,9 +7170,9 @@ module Aws::MediaConvert
7150
7170
  req.send_request(options)
7151
7171
  end
7152
7172
 
7153
- # Tag a MediaConvert queue, preset, or job template. For information
7154
- # about these resource types, see the User Guide at
7155
- # http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
7173
+ # Add tags to a MediaConvert queue, preset, or job template. For
7174
+ # information about tagging, see the User Guide at
7175
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
7156
7176
  #
7157
7177
  # @option params [required, String] :arn
7158
7178
  # The Amazon Resource Name (ARN) of the resource that you want to tag.
@@ -7182,11 +7202,11 @@ module Aws::MediaConvert
7182
7202
  req.send_request(options)
7183
7203
  end
7184
7204
 
7185
- # Untag a MediaConvert queue, preset, or job template. For information
7186
- # about these resource types, see the User Guide at
7187
- # http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
7205
+ # Remove tags from a MediaConvert queue, preset, or job template. For
7206
+ # information about tagging, see the User Guide at
7207
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
7188
7208
  #
7189
- # @option params [String] :arn
7209
+ # @option params [required, String] :arn
7190
7210
  # The Amazon Resource Name (ARN) of the resource that you want to remove
7191
7211
  # tags from. To get the ARN, send a GET request with the resource name.
7192
7212
  #
@@ -7198,7 +7218,7 @@ module Aws::MediaConvert
7198
7218
  # @example Request syntax with placeholder values
7199
7219
  #
7200
7220
  # resp = client.untag_resource({
7201
- # arn: "__string",
7221
+ # arn: "__string", # required
7202
7222
  # tag_keys: ["__string"],
7203
7223
  # })
7204
7224
  #
@@ -9387,7 +9407,7 @@ module Aws::MediaConvert
9387
9407
  #
9388
9408
  # @option params [String] :status
9389
9409
  # Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that
9390
- # queue will not begin. Jobs running when a queue is paused continue to
9410
+ # queue won't begin. Jobs running when a queue is paused continue to
9391
9411
  # run until they finish or error out.
9392
9412
  #
9393
9413
  # @return [Types::UpdateQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -9436,7 +9456,7 @@ module Aws::MediaConvert
9436
9456
  params: params,
9437
9457
  config: config)
9438
9458
  context[:gem_name] = 'aws-sdk-mediaconvert'
9439
- context[:gem_version] = '1.11.0'
9459
+ context[:gem_version] = '1.12.0'
9440
9460
  Seahorse::Client::Request.new(handlers, context)
9441
9461
  end
9442
9462
 
@@ -45,6 +45,7 @@ module Aws::MediaConvert
45
45
  AudioTypeControl = Shapes::StringShape.new(name: 'AudioTypeControl')
46
46
  AvailBlanking = Shapes::StructureShape.new(name: 'AvailBlanking')
47
47
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
48
+ BillingTagsSource = Shapes::StringShape.new(name: 'BillingTagsSource')
48
49
  BurninDestinationSettings = Shapes::StructureShape.new(name: 'BurninDestinationSettings')
49
50
  BurninSubtitleAlignment = Shapes::StringShape.new(name: 'BurninSubtitleAlignment')
50
51
  BurninSubtitleBackgroundColor = Shapes::StringShape.new(name: 'BurninSubtitleBackgroundColor')
@@ -106,6 +107,7 @@ module Aws::MediaConvert
106
107
  DeletePresetResponse = Shapes::StructureShape.new(name: 'DeletePresetResponse')
107
108
  DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
108
109
  DeleteQueueResponse = Shapes::StructureShape.new(name: 'DeleteQueueResponse')
110
+ DescribeEndpointsMode = Shapes::StringShape.new(name: 'DescribeEndpointsMode')
109
111
  DescribeEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeEndpointsRequest')
110
112
  DescribeEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeEndpointsResponse')
111
113
  DropFrameTimecode = Shapes::StringShape.new(name: 'DropFrameTimecode')
@@ -685,6 +687,7 @@ module Aws::MediaConvert
685
687
  ContainerSettings.add_member(:mp_4_settings, Shapes::ShapeRef.new(shape: Mp4Settings, location_name: "mp4Settings"))
686
688
  ContainerSettings.struct_class = Types::ContainerSettings
687
689
 
690
+ CreateJobRequest.add_member(:billing_tags_source, Shapes::ShapeRef.new(shape: BillingTagsSource, location_name: "billingTagsSource"))
688
691
  CreateJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
689
692
  CreateJobRequest.add_member(:job_template, Shapes::ShapeRef.new(shape: __string, location_name: "jobTemplate"))
690
693
  CreateJobRequest.add_member(:queue, Shapes::ShapeRef.new(shape: __string, location_name: "queue"))
@@ -760,6 +763,7 @@ module Aws::MediaConvert
760
763
  DeleteQueueResponse.struct_class = Types::DeleteQueueResponse
761
764
 
762
765
  DescribeEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
766
+ DescribeEndpointsRequest.add_member(:mode, Shapes::ShapeRef.new(shape: DescribeEndpointsMode, location_name: "mode"))
763
767
  DescribeEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
764
768
  DescribeEndpointsRequest.struct_class = Types::DescribeEndpointsRequest
765
769
 
@@ -1081,6 +1085,7 @@ module Aws::MediaConvert
1081
1085
  InsertableImage.struct_class = Types::InsertableImage
1082
1086
 
1083
1087
  Job.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
1088
+ Job.add_member(:billing_tags_source, Shapes::ShapeRef.new(shape: BillingTagsSource, location_name: "billingTagsSource"))
1084
1089
  Job.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "createdAt"))
1085
1090
  Job.add_member(:error_code, Shapes::ShapeRef.new(shape: __integer, location_name: "errorCode"))
1086
1091
  Job.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
@@ -1445,7 +1450,7 @@ module Aws::MediaConvert
1445
1450
  TtmlDestinationSettings.add_member(:style_passthrough, Shapes::ShapeRef.new(shape: TtmlStylePassthrough, location_name: "stylePassthrough"))
1446
1451
  TtmlDestinationSettings.struct_class = Types::TtmlDestinationSettings
1447
1452
 
1448
- UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
1453
+ UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
1449
1454
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "tagKeys"))
1450
1455
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1451
1456
 
@@ -1878,8 +1883,8 @@ module Aws::MediaConvert
1878
1883
 
1879
1884
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1880
1885
  o.name = "UntagResource"
1881
- o.http_method = "DELETE"
1882
- o.http_request_uri = "/2017-08-29/tags"
1886
+ o.http_method = "PUT"
1887
+ o.http_request_uri = "/2017-08-29/tags/{arn}"
1883
1888
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1884
1889
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1885
1890
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -1825,6 +1825,7 @@ module Aws::MediaConvert
1825
1825
  # data as a hash:
1826
1826
  #
1827
1827
  # {
1828
+ # billing_tags_source: "QUEUE", # accepts QUEUE, PRESET, JOB_TEMPLATE
1828
1829
  # client_request_token: "__string",
1829
1830
  # job_template: "__string",
1830
1831
  # queue: "__string",
@@ -2549,6 +2550,15 @@ module Aws::MediaConvert
2549
2550
  # },
2550
2551
  # }
2551
2552
  #
2553
+ # @!attribute [rw] billing_tags_source
2554
+ # Optional. Choose a tag type that AWS Billing and Cost Management
2555
+ # will use to sort your AWS Elemental MediaConvert costs on any
2556
+ # billing report that you set up. Any transcoding outputs that don't
2557
+ # have an associated tag will appear in your billing report unsorted.
2558
+ # If you don't choose a valid value for this field, your job outputs
2559
+ # will appear on the billing report unsorted.
2560
+ # @return [String]
2561
+ #
2552
2562
  # @!attribute [rw] client_request_token
2553
2563
  # Idempotency token for CreateJob operation.**A suitable default value is auto-generated.** You should normally
2554
2564
  # not need to pass this option.
@@ -2584,6 +2594,7 @@ module Aws::MediaConvert
2584
2594
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobRequest AWS API Documentation
2585
2595
  #
2586
2596
  class CreateJobRequest < Struct.new(
2597
+ :billing_tags_source,
2587
2598
  :client_request_token,
2588
2599
  :job_template,
2589
2600
  :queue,
@@ -4231,6 +4242,7 @@ module Aws::MediaConvert
4231
4242
  #
4232
4243
  # {
4233
4244
  # max_results: 1,
4245
+ # mode: "DEFAULT", # accepts DEFAULT, GET_ONLY
4234
4246
  # next_token: "__string",
4235
4247
  # }
4236
4248
  #
@@ -4239,6 +4251,14 @@ module Aws::MediaConvert
4239
4251
  # returned at one time.
4240
4252
  # @return [Integer]
4241
4253
  #
4254
+ # @!attribute [rw] mode
4255
+ # Optional field, defaults to DEFAULT. Specify DEFAULT for this
4256
+ # operation to return your endpoints if any exist, or to create an
4257
+ # endpoint for you and return it if one doesn't already exist.
4258
+ # Specify GET\_ONLY to return your endpoints if any exist, or an empty
4259
+ # list if none exist.
4260
+ # @return [String]
4261
+ #
4242
4262
  # @!attribute [rw] next_token
4243
4263
  # Use this string, provided with the response to a previous request,
4244
4264
  # to request the next batch of endpoints.
@@ -4248,6 +4268,7 @@ module Aws::MediaConvert
4248
4268
  #
4249
4269
  class DescribeEndpointsRequest < Struct.new(
4250
4270
  :max_results,
4271
+ :mode,
4251
4272
  :next_token)
4252
4273
  include Aws::Structure
4253
4274
  end
@@ -4763,7 +4784,7 @@ module Aws::MediaConvert
4763
4784
  include Aws::Structure
4764
4785
  end
4765
4786
 
4766
- # Describes account specific API endpoint
4787
+ # Describes an account-specific API endpoint.
4767
4788
  #
4768
4789
  # @!attribute [rw] url
4769
4790
  # URL of endpoint
@@ -6976,6 +6997,15 @@ module Aws::MediaConvert
6976
6997
  # An identifier for this resource that is unique within all of AWS.
6977
6998
  # @return [String]
6978
6999
  #
7000
+ # @!attribute [rw] billing_tags_source
7001
+ # Optional. Choose a tag type that AWS Billing and Cost Management
7002
+ # will use to sort your AWS Elemental MediaConvert costs on any
7003
+ # billing report that you set up. Any transcoding outputs that don't
7004
+ # have an associated tag will appear in your billing report unsorted.
7005
+ # If you don't choose a valid value for this field, your job outputs
7006
+ # will appear on the billing report unsorted.
7007
+ # @return [String]
7008
+ #
6979
7009
  # @!attribute [rw] created_at
6980
7010
  # The time, in Unix epoch format in seconds, when the job got created.
6981
7011
  # @return [Time]
@@ -7038,6 +7068,7 @@ module Aws::MediaConvert
7038
7068
  #
7039
7069
  class Job < Struct.new(
7040
7070
  :arn,
7071
+ :billing_tags_source,
7041
7072
  :created_at,
7042
7073
  :error_code,
7043
7074
  :error_message,
@@ -8731,7 +8762,7 @@ module Aws::MediaConvert
8731
8762
  end
8732
8763
 
8733
8764
  # Successful list job templates requests return a JSON array of job
8734
- # templates. If you do not specify how they are ordered, you will
8765
+ # templates. If you don't specify how they are ordered, you will
8735
8766
  # receive them in alphabetical order by name.
8736
8767
  #
8737
8768
  # @!attribute [rw] job_templates
@@ -8802,9 +8833,9 @@ module Aws::MediaConvert
8802
8833
  include Aws::Structure
8803
8834
  end
8804
8835
 
8805
- # Successful list jobs requests return a JSON array of jobs. If you do
8806
- # not specify how they are ordered, you will receive the most recently
8807
- # created first.
8836
+ # Successful list jobs requests return a JSON array of jobs. If you
8837
+ # don't specify how they are ordered, you will receive the most
8838
+ # recently created first.
8808
8839
  #
8809
8840
  # @!attribute [rw] jobs
8810
8841
  # List of jobs
@@ -8877,7 +8908,7 @@ module Aws::MediaConvert
8877
8908
  end
8878
8909
 
8879
8910
  # Successful list presets requests return a JSON array of presets. If
8880
- # you do not specify how they are ordered, you will receive them
8911
+ # you don't specify how they are ordered, you will receive them
8881
8912
  # alphabetically by name.
8882
8913
  #
8883
8914
  # @!attribute [rw] next_token
@@ -8942,7 +8973,7 @@ module Aws::MediaConvert
8942
8973
  include Aws::Structure
8943
8974
  end
8944
8975
 
8945
- # Successful list queues return a JSON array of queues. If you do not
8976
+ # Successful list queues return a JSON array of queues. If you don't
8946
8977
  # specify how they are ordered, you will receive them alphabetically by
8947
8978
  # name.
8948
8979
  #
@@ -12182,8 +12213,8 @@ module Aws::MediaConvert
12182
12213
  #
12183
12214
  # @!attribute [rw] status
12184
12215
  # Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that
12185
- # queue will not begin. Jobs running when a queue is paused continue
12186
- # to run until they finish or error out.
12216
+ # queue won't begin. Jobs running when a queue is paused continue to
12217
+ # run until they finish or error out.
12187
12218
  # @return [String]
12188
12219
  #
12189
12220
  # @!attribute [rw] submitted_jobs_count
@@ -12423,9 +12454,9 @@ module Aws::MediaConvert
12423
12454
  include Aws::Structure
12424
12455
  end
12425
12456
 
12426
- # To tag a queue, preset, or job template, send a request with the tags
12427
- # and the Amazon Resource Name (ARN) of the resource that you want to
12428
- # tag.
12457
+ # To add tags to a queue, preset, or job template, send a request with
12458
+ # the Amazon Resource Name (ARN) of the resource and the tags that you
12459
+ # want to add.
12429
12460
  #
12430
12461
  # @note When making an API call, you may pass TagResourceRequest
12431
12462
  # data as a hash:
@@ -12455,7 +12486,7 @@ module Aws::MediaConvert
12455
12486
  include Aws::Structure
12456
12487
  end
12457
12488
 
12458
- # Successful tag resource requests return an OK message.
12489
+ # A successful request to add tags to a resource returns an OK message.
12459
12490
  #
12460
12491
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TagResourceResponse AWS API Documentation
12461
12492
  #
@@ -12703,7 +12734,7 @@ module Aws::MediaConvert
12703
12734
  # data as a hash:
12704
12735
  #
12705
12736
  # {
12706
- # arn: "__string",
12737
+ # arn: "__string", # required
12707
12738
  # tag_keys: ["__string"],
12708
12739
  # }
12709
12740
  #
@@ -12725,7 +12756,7 @@ module Aws::MediaConvert
12725
12756
  include Aws::Structure
12726
12757
  end
12727
12758
 
12728
- # A successful request to remove a tag from a resource returns an OK
12759
+ # A successful request to remove tags from a resource returns an OK
12729
12760
  # message.
12730
12761
  #
12731
12762
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UntagResourceResponse AWS API Documentation
@@ -14047,8 +14078,8 @@ module Aws::MediaConvert
14047
14078
  #
14048
14079
  # @!attribute [rw] status
14049
14080
  # Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that
14050
- # queue will not begin. Jobs running when a queue is paused continue
14051
- # to run until they finish or error out.
14081
+ # queue won't begin. Jobs running when a queue is paused continue to
14082
+ # run until they finish or error out.
14052
14083
  # @return [String]
14053
14084
  #
14054
14085
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueueRequest AWS API Documentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediaconvert
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