aws-sdk-mediaconvert 1.75.0 → 1.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediaconvert/client.rb +74 -1
- data/lib/aws-sdk-mediaconvert/client_api.rb +70 -0
- data/lib/aws-sdk-mediaconvert/types.rb +121 -0
- data/lib/aws-sdk-mediaconvert.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3ddad35046fdf7e17b28dd0a2227d6e2235e70c1cdc6f60df4163b5f7a0ac2a
|
4
|
+
data.tar.gz: fbaba7e1c01238000bfc32a297a91102757074053d47039d0cc392c2113f0250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11ef9f542467f4d06b8f8c298510fff67f7dcdce87cd63bd58e91c3a22d945a238de45a9f49346892ec8d06e404c0dec622ba79b7a83da4344f6a10f5b6619b8
|
7
|
+
data.tar.gz: e07eac7a15f4c3900cc9b6bc4caf6c35466ba2c708d99b812cf7531211f746a7285ea8be21e4b6048990b28b4f47c1925f4230236d741b34b4383297dbae7c7a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2021-10-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Elemental MediaConvert has added the ability to set account policies which control access restrictions for HTTP, HTTPS, and S3 content sources.
|
8
|
+
|
4
9
|
1.75.0 (2021-09-23)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
@@ -6320,6 +6320,19 @@ module Aws::MediaConvert
|
|
6320
6320
|
req.send_request(options)
|
6321
6321
|
end
|
6322
6322
|
|
6323
|
+
# Permanently delete a policy that you created.
|
6324
|
+
#
|
6325
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6326
|
+
#
|
6327
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePolicy AWS API Documentation
|
6328
|
+
#
|
6329
|
+
# @overload delete_policy(params = {})
|
6330
|
+
# @param [Hash] params ({})
|
6331
|
+
def delete_policy(params = {}, options = {})
|
6332
|
+
req = build_request(:delete_policy, params)
|
6333
|
+
req.send_request(options)
|
6334
|
+
end
|
6335
|
+
|
6323
6336
|
# Permanently delete a preset you have created.
|
6324
6337
|
#
|
6325
6338
|
# @option params [required, String] :name
|
@@ -8327,6 +8340,27 @@ module Aws::MediaConvert
|
|
8327
8340
|
req.send_request(options)
|
8328
8341
|
end
|
8329
8342
|
|
8343
|
+
# Retrieve the JSON for your policy.
|
8344
|
+
#
|
8345
|
+
# @return [Types::GetPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8346
|
+
#
|
8347
|
+
# * {Types::GetPolicyResponse#policy #policy} => Types::Policy
|
8348
|
+
#
|
8349
|
+
# @example Response structure
|
8350
|
+
#
|
8351
|
+
# resp.policy.http_inputs #=> String, one of "ALLOWED", "DISALLOWED"
|
8352
|
+
# resp.policy.https_inputs #=> String, one of "ALLOWED", "DISALLOWED"
|
8353
|
+
# resp.policy.s3_inputs #=> String, one of "ALLOWED", "DISALLOWED"
|
8354
|
+
#
|
8355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPolicy AWS API Documentation
|
8356
|
+
#
|
8357
|
+
# @overload get_policy(params = {})
|
8358
|
+
# @param [Hash] params ({})
|
8359
|
+
def get_policy(params = {}, options = {})
|
8360
|
+
req = build_request(:get_policy, params)
|
8361
|
+
req.send_request(options)
|
8362
|
+
end
|
8363
|
+
|
8330
8364
|
# Retrieve the JSON for a specific preset.
|
8331
8365
|
#
|
8332
8366
|
# @option params [required, String] :name
|
@@ -11631,6 +11665,45 @@ module Aws::MediaConvert
|
|
11631
11665
|
req.send_request(options)
|
11632
11666
|
end
|
11633
11667
|
|
11668
|
+
# Create or change your policy. For more information about policies, see
|
11669
|
+
# the user guide at
|
11670
|
+
# http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
|
11671
|
+
#
|
11672
|
+
# @option params [required, Types::Policy] :policy
|
11673
|
+
# A policy configures behavior that you allow or disallow for your
|
11674
|
+
# account. For information about MediaConvert policies, see the user
|
11675
|
+
# guide at
|
11676
|
+
# http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
|
11677
|
+
#
|
11678
|
+
# @return [Types::PutPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11679
|
+
#
|
11680
|
+
# * {Types::PutPolicyResponse#policy #policy} => Types::Policy
|
11681
|
+
#
|
11682
|
+
# @example Request syntax with placeholder values
|
11683
|
+
#
|
11684
|
+
# resp = client.put_policy({
|
11685
|
+
# policy: { # required
|
11686
|
+
# http_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
11687
|
+
# https_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
11688
|
+
# s3_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
11689
|
+
# },
|
11690
|
+
# })
|
11691
|
+
#
|
11692
|
+
# @example Response structure
|
11693
|
+
#
|
11694
|
+
# resp.policy.http_inputs #=> String, one of "ALLOWED", "DISALLOWED"
|
11695
|
+
# resp.policy.https_inputs #=> String, one of "ALLOWED", "DISALLOWED"
|
11696
|
+
# resp.policy.s3_inputs #=> String, one of "ALLOWED", "DISALLOWED"
|
11697
|
+
#
|
11698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PutPolicy AWS API Documentation
|
11699
|
+
#
|
11700
|
+
# @overload put_policy(params = {})
|
11701
|
+
# @param [Hash] params ({})
|
11702
|
+
def put_policy(params = {}, options = {})
|
11703
|
+
req = build_request(:put_policy, params)
|
11704
|
+
req.send_request(options)
|
11705
|
+
end
|
11706
|
+
|
11634
11707
|
# Add tags to a MediaConvert queue, preset, or job template. For
|
11635
11708
|
# information about tagging, see the User Guide at
|
11636
11709
|
# https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
|
@@ -15300,7 +15373,7 @@ module Aws::MediaConvert
|
|
15300
15373
|
params: params,
|
15301
15374
|
config: config)
|
15302
15375
|
context[:gem_name] = 'aws-sdk-mediaconvert'
|
15303
|
-
context[:gem_version] = '1.
|
15376
|
+
context[:gem_version] = '1.76.0'
|
15304
15377
|
Seahorse::Client::Request.new(handlers, context)
|
15305
15378
|
end
|
15306
15379
|
|
@@ -168,6 +168,8 @@ module Aws::MediaConvert
|
|
168
168
|
DeinterlacerMode = Shapes::StringShape.new(name: 'DeinterlacerMode')
|
169
169
|
DeleteJobTemplateRequest = Shapes::StructureShape.new(name: 'DeleteJobTemplateRequest')
|
170
170
|
DeleteJobTemplateResponse = Shapes::StructureShape.new(name: 'DeleteJobTemplateResponse')
|
171
|
+
DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
|
172
|
+
DeletePolicyResponse = Shapes::StructureShape.new(name: 'DeletePolicyResponse')
|
171
173
|
DeletePresetRequest = Shapes::StructureShape.new(name: 'DeletePresetRequest')
|
172
174
|
DeletePresetResponse = Shapes::StructureShape.new(name: 'DeletePresetResponse')
|
173
175
|
DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
|
@@ -247,6 +249,8 @@ module Aws::MediaConvert
|
|
247
249
|
GetJobResponse = Shapes::StructureShape.new(name: 'GetJobResponse')
|
248
250
|
GetJobTemplateRequest = Shapes::StructureShape.new(name: 'GetJobTemplateRequest')
|
249
251
|
GetJobTemplateResponse = Shapes::StructureShape.new(name: 'GetJobTemplateResponse')
|
252
|
+
GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
|
253
|
+
GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
|
250
254
|
GetPresetRequest = Shapes::StructureShape.new(name: 'GetPresetRequest')
|
251
255
|
GetPresetResponse = Shapes::StructureShape.new(name: 'GetPresetResponse')
|
252
256
|
GetQueueRequest = Shapes::StructureShape.new(name: 'GetQueueRequest')
|
@@ -349,6 +353,7 @@ module Aws::MediaConvert
|
|
349
353
|
InputDecryptionSettings = Shapes::StructureShape.new(name: 'InputDecryptionSettings')
|
350
354
|
InputDenoiseFilter = Shapes::StringShape.new(name: 'InputDenoiseFilter')
|
351
355
|
InputFilterEnable = Shapes::StringShape.new(name: 'InputFilterEnable')
|
356
|
+
InputPolicy = Shapes::StringShape.new(name: 'InputPolicy')
|
352
357
|
InputPsiControl = Shapes::StringShape.new(name: 'InputPsiControl')
|
353
358
|
InputRotate = Shapes::StringShape.new(name: 'InputRotate')
|
354
359
|
InputSampleRange = Shapes::StringShape.new(name: 'InputSampleRange')
|
@@ -479,6 +484,7 @@ module Aws::MediaConvert
|
|
479
484
|
OutputSdt = Shapes::StringShape.new(name: 'OutputSdt')
|
480
485
|
OutputSettings = Shapes::StructureShape.new(name: 'OutputSettings')
|
481
486
|
PartnerWatermarking = Shapes::StructureShape.new(name: 'PartnerWatermarking')
|
487
|
+
Policy = Shapes::StructureShape.new(name: 'Policy')
|
482
488
|
Preset = Shapes::StructureShape.new(name: 'Preset')
|
483
489
|
PresetListBy = Shapes::StringShape.new(name: 'PresetListBy')
|
484
490
|
PresetSettings = Shapes::StructureShape.new(name: 'PresetSettings')
|
@@ -493,6 +499,8 @@ module Aws::MediaConvert
|
|
493
499
|
ProresSettings = Shapes::StructureShape.new(name: 'ProresSettings')
|
494
500
|
ProresSlowPal = Shapes::StringShape.new(name: 'ProresSlowPal')
|
495
501
|
ProresTelecine = Shapes::StringShape.new(name: 'ProresTelecine')
|
502
|
+
PutPolicyRequest = Shapes::StructureShape.new(name: 'PutPolicyRequest')
|
503
|
+
PutPolicyResponse = Shapes::StructureShape.new(name: 'PutPolicyResponse')
|
496
504
|
Queue = Shapes::StructureShape.new(name: 'Queue')
|
497
505
|
QueueListBy = Shapes::StringShape.new(name: 'QueueListBy')
|
498
506
|
QueueStatus = Shapes::StringShape.new(name: 'QueueStatus')
|
@@ -1193,6 +1201,10 @@ module Aws::MediaConvert
|
|
1193
1201
|
|
1194
1202
|
DeleteJobTemplateResponse.struct_class = Types::DeleteJobTemplateResponse
|
1195
1203
|
|
1204
|
+
DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
|
1205
|
+
|
1206
|
+
DeletePolicyResponse.struct_class = Types::DeletePolicyResponse
|
1207
|
+
|
1196
1208
|
DeletePresetRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "name"))
|
1197
1209
|
DeletePresetRequest.struct_class = Types::DeletePresetRequest
|
1198
1210
|
|
@@ -1382,6 +1394,11 @@ module Aws::MediaConvert
|
|
1382
1394
|
GetJobTemplateResponse.add_member(:job_template, Shapes::ShapeRef.new(shape: JobTemplate, location_name: "jobTemplate"))
|
1383
1395
|
GetJobTemplateResponse.struct_class = Types::GetJobTemplateResponse
|
1384
1396
|
|
1397
|
+
GetPolicyRequest.struct_class = Types::GetPolicyRequest
|
1398
|
+
|
1399
|
+
GetPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "policy"))
|
1400
|
+
GetPolicyResponse.struct_class = Types::GetPolicyResponse
|
1401
|
+
|
1385
1402
|
GetPresetRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "name"))
|
1386
1403
|
GetPresetRequest.struct_class = Types::GetPresetRequest
|
1387
1404
|
|
@@ -2066,6 +2083,11 @@ module Aws::MediaConvert
|
|
2066
2083
|
PartnerWatermarking.add_member(:nexguard_file_marker_settings, Shapes::ShapeRef.new(shape: NexGuardFileMarkerSettings, location_name: "nexguardFileMarkerSettings"))
|
2067
2084
|
PartnerWatermarking.struct_class = Types::PartnerWatermarking
|
2068
2085
|
|
2086
|
+
Policy.add_member(:http_inputs, Shapes::ShapeRef.new(shape: InputPolicy, location_name: "httpInputs"))
|
2087
|
+
Policy.add_member(:https_inputs, Shapes::ShapeRef.new(shape: InputPolicy, location_name: "httpsInputs"))
|
2088
|
+
Policy.add_member(:s3_inputs, Shapes::ShapeRef.new(shape: InputPolicy, location_name: "s3Inputs"))
|
2089
|
+
Policy.struct_class = Types::Policy
|
2090
|
+
|
2069
2091
|
Preset.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
2070
2092
|
Preset.add_member(:category, Shapes::ShapeRef.new(shape: __string, location_name: "category"))
|
2071
2093
|
Preset.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "createdAt"))
|
@@ -2097,6 +2119,12 @@ module Aws::MediaConvert
|
|
2097
2119
|
ProresSettings.add_member(:telecine, Shapes::ShapeRef.new(shape: ProresTelecine, location_name: "telecine"))
|
2098
2120
|
ProresSettings.struct_class = Types::ProresSettings
|
2099
2121
|
|
2122
|
+
PutPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
|
2123
|
+
PutPolicyRequest.struct_class = Types::PutPolicyRequest
|
2124
|
+
|
2125
|
+
PutPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "policy"))
|
2126
|
+
PutPolicyResponse.struct_class = Types::PutPolicyResponse
|
2127
|
+
|
2100
2128
|
Queue.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
2101
2129
|
Queue.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "createdAt"))
|
2102
2130
|
Queue.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
@@ -2623,6 +2651,20 @@ module Aws::MediaConvert
|
|
2623
2651
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2624
2652
|
end)
|
2625
2653
|
|
2654
|
+
api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
|
2655
|
+
o.name = "DeletePolicy"
|
2656
|
+
o.http_method = "DELETE"
|
2657
|
+
o.http_request_uri = "/2017-08-29/policy"
|
2658
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePolicyRequest)
|
2659
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePolicyResponse)
|
2660
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2661
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2662
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2663
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2664
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2665
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2666
|
+
end)
|
2667
|
+
|
2626
2668
|
api.add_operation(:delete_preset, Seahorse::Model::Operation.new.tap do |o|
|
2627
2669
|
o.name = "DeletePreset"
|
2628
2670
|
o.http_method = "DELETE"
|
@@ -2713,6 +2755,20 @@ module Aws::MediaConvert
|
|
2713
2755
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2714
2756
|
end)
|
2715
2757
|
|
2758
|
+
api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
|
2759
|
+
o.name = "GetPolicy"
|
2760
|
+
o.http_method = "GET"
|
2761
|
+
o.http_request_uri = "/2017-08-29/policy"
|
2762
|
+
o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
|
2763
|
+
o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
|
2764
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2765
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2766
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2767
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2768
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2769
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2770
|
+
end)
|
2771
|
+
|
2716
2772
|
api.add_operation(:get_preset, Seahorse::Model::Operation.new.tap do |o|
|
2717
2773
|
o.name = "GetPreset"
|
2718
2774
|
o.http_method = "GET"
|
@@ -2835,6 +2891,20 @@ module Aws::MediaConvert
|
|
2835
2891
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2836
2892
|
end)
|
2837
2893
|
|
2894
|
+
api.add_operation(:put_policy, Seahorse::Model::Operation.new.tap do |o|
|
2895
|
+
o.name = "PutPolicy"
|
2896
|
+
o.http_method = "PUT"
|
2897
|
+
o.http_request_uri = "/2017-08-29/policy"
|
2898
|
+
o.input = Shapes::ShapeRef.new(shape: PutPolicyRequest)
|
2899
|
+
o.output = Shapes::ShapeRef.new(shape: PutPolicyResponse)
|
2900
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2901
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2902
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2903
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2904
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2905
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2906
|
+
end)
|
2907
|
+
|
2838
2908
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2839
2909
|
o.name = "TagResource"
|
2840
2910
|
o.http_method = "POST"
|
@@ -7625,6 +7625,20 @@ module Aws::MediaConvert
|
|
7625
7625
|
#
|
7626
7626
|
class DeleteJobTemplateResponse < Aws::EmptyStructure; end
|
7627
7627
|
|
7628
|
+
# Send a request to permanently delete a policy that you created.
|
7629
|
+
#
|
7630
|
+
# @api private
|
7631
|
+
#
|
7632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePolicyRequest AWS API Documentation
|
7633
|
+
#
|
7634
|
+
class DeletePolicyRequest < Aws::EmptyStructure; end
|
7635
|
+
|
7636
|
+
# Successful DELETE policy requests will return an OK message.
|
7637
|
+
#
|
7638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePolicyResponse AWS API Documentation
|
7639
|
+
#
|
7640
|
+
class DeletePolicyResponse < Aws::EmptyStructure; end
|
7641
|
+
|
7628
7642
|
# Delete a preset by sending a request with the preset name
|
7629
7643
|
#
|
7630
7644
|
# @note When making an API call, you may pass DeletePresetRequest
|
@@ -9286,6 +9300,31 @@ module Aws::MediaConvert
|
|
9286
9300
|
include Aws::Structure
|
9287
9301
|
end
|
9288
9302
|
|
9303
|
+
# Send a request to retrieve the JSON for your policy.
|
9304
|
+
#
|
9305
|
+
# @api private
|
9306
|
+
#
|
9307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPolicyRequest AWS API Documentation
|
9308
|
+
#
|
9309
|
+
class GetPolicyRequest < Aws::EmptyStructure; end
|
9310
|
+
|
9311
|
+
# Successful GET policy requests will return the JSON for your policy.
|
9312
|
+
#
|
9313
|
+
# @!attribute [rw] policy
|
9314
|
+
# A policy configures behavior that you allow or disallow for your
|
9315
|
+
# account. For information about MediaConvert policies, see the user
|
9316
|
+
# guide at
|
9317
|
+
# http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
|
9318
|
+
# @return [Types::Policy]
|
9319
|
+
#
|
9320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPolicyResponse AWS API Documentation
|
9321
|
+
#
|
9322
|
+
class GetPolicyResponse < Struct.new(
|
9323
|
+
:policy)
|
9324
|
+
SENSITIVE = []
|
9325
|
+
include Aws::Structure
|
9326
|
+
end
|
9327
|
+
|
9289
9328
|
# Query a preset by sending a request with the preset name.
|
9290
9329
|
#
|
9291
9330
|
# @note When making an API call, you may pass GetPresetRequest
|
@@ -20251,6 +20290,42 @@ module Aws::MediaConvert
|
|
20251
20290
|
include Aws::Structure
|
20252
20291
|
end
|
20253
20292
|
|
20293
|
+
# A policy configures behavior that you allow or disallow for your
|
20294
|
+
# account. For information about MediaConvert policies, see the user
|
20295
|
+
# guide at
|
20296
|
+
# http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
|
20297
|
+
#
|
20298
|
+
# @note When making an API call, you may pass Policy
|
20299
|
+
# data as a hash:
|
20300
|
+
#
|
20301
|
+
# {
|
20302
|
+
# http_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
20303
|
+
# https_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
20304
|
+
# s3_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
20305
|
+
# }
|
20306
|
+
#
|
20307
|
+
# @!attribute [rw] http_inputs
|
20308
|
+
# Allow or disallow jobs that specify HTTP inputs.
|
20309
|
+
# @return [String]
|
20310
|
+
#
|
20311
|
+
# @!attribute [rw] https_inputs
|
20312
|
+
# Allow or disallow jobs that specify HTTPS inputs.
|
20313
|
+
# @return [String]
|
20314
|
+
#
|
20315
|
+
# @!attribute [rw] s3_inputs
|
20316
|
+
# Allow or disallow jobs that specify Amazon S3 inputs.
|
20317
|
+
# @return [String]
|
20318
|
+
#
|
20319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Policy AWS API Documentation
|
20320
|
+
#
|
20321
|
+
class Policy < Struct.new(
|
20322
|
+
:http_inputs,
|
20323
|
+
:https_inputs,
|
20324
|
+
:s3_inputs)
|
20325
|
+
SENSITIVE = []
|
20326
|
+
include Aws::Structure
|
20327
|
+
end
|
20328
|
+
|
20254
20329
|
# A preset is a collection of preconfigured media conversion settings
|
20255
20330
|
# that you want MediaConvert to apply to the output during the
|
20256
20331
|
# conversion process.
|
@@ -21267,6 +21342,52 @@ module Aws::MediaConvert
|
|
21267
21342
|
include Aws::Structure
|
21268
21343
|
end
|
21269
21344
|
|
21345
|
+
# Create or change a policy by sending a request that includes your
|
21346
|
+
# policy in JSON.
|
21347
|
+
#
|
21348
|
+
# @note When making an API call, you may pass PutPolicyRequest
|
21349
|
+
# data as a hash:
|
21350
|
+
#
|
21351
|
+
# {
|
21352
|
+
# policy: { # required
|
21353
|
+
# http_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
21354
|
+
# https_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
21355
|
+
# s3_inputs: "ALLOWED", # accepts ALLOWED, DISALLOWED
|
21356
|
+
# },
|
21357
|
+
# }
|
21358
|
+
#
|
21359
|
+
# @!attribute [rw] policy
|
21360
|
+
# A policy configures behavior that you allow or disallow for your
|
21361
|
+
# account. For information about MediaConvert policies, see the user
|
21362
|
+
# guide at
|
21363
|
+
# http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
|
21364
|
+
# @return [Types::Policy]
|
21365
|
+
#
|
21366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PutPolicyRequest AWS API Documentation
|
21367
|
+
#
|
21368
|
+
class PutPolicyRequest < Struct.new(
|
21369
|
+
:policy)
|
21370
|
+
SENSITIVE = []
|
21371
|
+
include Aws::Structure
|
21372
|
+
end
|
21373
|
+
|
21374
|
+
# Successful PUT policy requests will return your policy.
|
21375
|
+
#
|
21376
|
+
# @!attribute [rw] policy
|
21377
|
+
# A policy configures behavior that you allow or disallow for your
|
21378
|
+
# account. For information about MediaConvert policies, see the user
|
21379
|
+
# guide at
|
21380
|
+
# http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
|
21381
|
+
# @return [Types::Policy]
|
21382
|
+
#
|
21383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PutPolicyResponse AWS API Documentation
|
21384
|
+
#
|
21385
|
+
class PutPolicyResponse < Struct.new(
|
21386
|
+
:policy)
|
21387
|
+
SENSITIVE = []
|
21388
|
+
include Aws::Structure
|
21389
|
+
end
|
21390
|
+
|
21270
21391
|
# You can use queues to manage the resources that are available to your
|
21271
21392
|
# AWS account for running multiple transcoding jobs at the same time. If
|
21272
21393
|
# you don't specify a queue, the service sends all jobs through the
|
data/lib/aws-sdk-mediaconvert.rb
CHANGED
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
|
+
version: 1.76.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: 2021-
|
11
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|