Skip to content

Commit 4df562d

Browse files
author
AWS
committed
AWS Elemental MediaConvert Update: AWS Elemental MediaConvert has added the ability to set account policies which control access restrictions for HTTP, HTTPS, and S3 content sources.
1 parent 2654f64 commit 4df562d

File tree

2 files changed

+207
-1
lines changed

2 files changed

+207
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Elemental MediaConvert",
4+
"contributor": "",
5+
"description": "AWS Elemental MediaConvert has added the ability to set account policies which control access restrictions for HTTP, HTTPS, and S3 content sources."
6+
}

services/mediaconvert/src/main/resources/codegen-resources/service-2.json

+201-1
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,47 @@
299299
],
300300
"documentation": "Permanently delete a job template you have created."
301301
},
302+
"DeletePolicy": {
303+
"name": "DeletePolicy",
304+
"http": {
305+
"method": "DELETE",
306+
"requestUri": "/2017-08-29/policy",
307+
"responseCode": 200
308+
},
309+
"input": {
310+
"shape": "DeletePolicyRequest"
311+
},
312+
"output": {
313+
"shape": "DeletePolicyResponse"
314+
},
315+
"errors": [
316+
{
317+
"shape": "BadRequestException",
318+
"documentation": "The service can't process your request because of a problem in the request. Please check your request form and syntax."
319+
},
320+
{
321+
"shape": "InternalServerErrorException",
322+
"documentation": "The service encountered an unexpected condition and can't fulfill your request."
323+
},
324+
{
325+
"shape": "ForbiddenException",
326+
"documentation": "You don't have permissions for this action with the credentials you sent."
327+
},
328+
{
329+
"shape": "NotFoundException",
330+
"documentation": "The resource you requested doesn't exist."
331+
},
332+
{
333+
"shape": "TooManyRequestsException",
334+
"documentation": "Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests."
335+
},
336+
{
337+
"shape": "ConflictException",
338+
"documentation": "The service couldn't complete your request because there is a conflict with the current state of the resource."
339+
}
340+
],
341+
"documentation": "Permanently delete a policy that you created."
342+
},
302343
"DeletePreset": {
303344
"name": "DeletePreset",
304345
"http": {
@@ -545,6 +586,47 @@
545586
],
546587
"documentation": "Retrieve the JSON for a specific job template."
547588
},
589+
"GetPolicy": {
590+
"name": "GetPolicy",
591+
"http": {
592+
"method": "GET",
593+
"requestUri": "/2017-08-29/policy",
594+
"responseCode": 200
595+
},
596+
"input": {
597+
"shape": "GetPolicyRequest"
598+
},
599+
"output": {
600+
"shape": "GetPolicyResponse"
601+
},
602+
"errors": [
603+
{
604+
"shape": "BadRequestException",
605+
"documentation": "The service can't process your request because of a problem in the request. Please check your request form and syntax."
606+
},
607+
{
608+
"shape": "InternalServerErrorException",
609+
"documentation": "The service encountered an unexpected condition and can't fulfill your request."
610+
},
611+
{
612+
"shape": "ForbiddenException",
613+
"documentation": "You don't have permissions for this action with the credentials you sent."
614+
},
615+
{
616+
"shape": "NotFoundException",
617+
"documentation": "The resource you requested doesn't exist."
618+
},
619+
{
620+
"shape": "TooManyRequestsException",
621+
"documentation": "Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests."
622+
},
623+
{
624+
"shape": "ConflictException",
625+
"documentation": "The service couldn't complete your request because there is a conflict with the current state of the resource."
626+
}
627+
],
628+
"documentation": "Retrieve the JSON for your policy."
629+
},
548630
"GetPreset": {
549631
"name": "GetPreset",
550632
"http": {
@@ -832,6 +914,47 @@
832914
],
833915
"documentation": "Retrieve the tags for a MediaConvert resource."
834916
},
917+
"PutPolicy": {
918+
"name": "PutPolicy",
919+
"http": {
920+
"method": "PUT",
921+
"requestUri": "/2017-08-29/policy",
922+
"responseCode": 200
923+
},
924+
"input": {
925+
"shape": "PutPolicyRequest"
926+
},
927+
"output": {
928+
"shape": "PutPolicyResponse"
929+
},
930+
"errors": [
931+
{
932+
"shape": "BadRequestException",
933+
"documentation": "The service can't process your request because of a problem in the request. Please check your request form and syntax."
934+
},
935+
{
936+
"shape": "InternalServerErrorException",
937+
"documentation": "The service encountered an unexpected condition and can't fulfill your request."
938+
},
939+
{
940+
"shape": "ForbiddenException",
941+
"documentation": "You don't have permissions for this action with the credentials you sent."
942+
},
943+
{
944+
"shape": "NotFoundException",
945+
"documentation": "The resource you requested doesn't exist."
946+
},
947+
{
948+
"shape": "TooManyRequestsException",
949+
"documentation": "Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests."
950+
},
951+
{
952+
"shape": "ConflictException",
953+
"documentation": "The service couldn't complete your request because there is a conflict with the current state of the resource."
954+
}
955+
],
956+
"documentation": "Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html"
957+
},
835958
"TagResource": {
836959
"name": "TagResource",
837960
"http": {
@@ -3757,6 +3880,16 @@
37573880
"members": {
37583881
}
37593882
},
3883+
"DeletePolicyRequest": {
3884+
"type": "structure",
3885+
"members": {
3886+
}
3887+
},
3888+
"DeletePolicyResponse": {
3889+
"type": "structure",
3890+
"members": {
3891+
}
3892+
},
37603893
"DeletePresetRequest": {
37613894
"type": "structure",
37623895
"members": {
@@ -4977,6 +5110,21 @@
49775110
}
49785111
}
49795112
},
5113+
"GetPolicyRequest": {
5114+
"type": "structure",
5115+
"members": {
5116+
}
5117+
},
5118+
"GetPolicyResponse": {
5119+
"type": "structure",
5120+
"members": {
5121+
"Policy": {
5122+
"shape": "Policy",
5123+
"locationName": "policy",
5124+
"documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html"
5125+
}
5126+
}
5127+
},
49805128
"GetPresetRequest": {
49815129
"type": "structure",
49825130
"members": {
@@ -6799,6 +6947,14 @@
67996947
"FORCE"
68006948
]
68016949
},
6950+
"InputPolicy": {
6951+
"type": "string",
6952+
"documentation": "An input policy allows or disallows a job you submit to run based on the conditions that you specify.",
6953+
"enum": [
6954+
"ALLOWED",
6955+
"DISALLOWED"
6956+
]
6957+
},
68026958
"InputPsiControl": {
68036959
"type": "string",
68046960
"documentation": "Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.",
@@ -9661,6 +9817,27 @@
96619817
},
96629818
"documentation": "If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output."
96639819
},
9820+
"Policy": {
9821+
"type": "structure",
9822+
"members": {
9823+
"HttpInputs": {
9824+
"shape": "InputPolicy",
9825+
"locationName": "httpInputs",
9826+
"documentation": "Allow or disallow jobs that specify HTTP inputs."
9827+
},
9828+
"HttpsInputs": {
9829+
"shape": "InputPolicy",
9830+
"locationName": "httpsInputs",
9831+
"documentation": "Allow or disallow jobs that specify HTTPS inputs."
9832+
},
9833+
"S3Inputs": {
9834+
"shape": "InputPolicy",
9835+
"locationName": "s3Inputs",
9836+
"documentation": "Allow or disallow jobs that specify Amazon S3 inputs."
9837+
}
9838+
},
9839+
"documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html"
9840+
},
96649841
"Preset": {
96659842
"type": "structure",
96669843
"members": {
@@ -9905,6 +10082,29 @@
990510082
"HARD"
990610083
]
990710084
},
10085+
"PutPolicyRequest": {
10086+
"type": "structure",
10087+
"members": {
10088+
"Policy": {
10089+
"shape": "Policy",
10090+
"locationName": "policy",
10091+
"documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html"
10092+
}
10093+
},
10094+
"required": [
10095+
"Policy"
10096+
]
10097+
},
10098+
"PutPolicyResponse": {
10099+
"type": "structure",
10100+
"members": {
10101+
"Policy": {
10102+
"shape": "Policy",
10103+
"locationName": "policy",
10104+
"documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html"
10105+
}
10106+
}
10107+
},
990810108
"Queue": {
990910109
"type": "structure",
991010110
"members": {
@@ -12866,4 +13066,4 @@
1286613066
}
1286713067
},
1286813068
"documentation": "AWS Elemental MediaConvert"
12869-
}
13069+
}

0 commit comments

Comments
 (0)