From 4df562d02c3d9502f612317dbd19fe03c233fa4e Mon Sep 17 00:00:00 2001 From: AWS <> Date: Fri, 8 Oct 2021 18:19:52 +0000 Subject: [PATCH] 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. --- ...ture-AWSElementalMediaConvert-bbc7b32.json | 6 + .../codegen-resources/service-2.json | 202 +++++++++++++++++- 2 files changed, 207 insertions(+), 1 deletion(-) create mode 100644 .changes/next-release/feature-AWSElementalMediaConvert-bbc7b32.json diff --git a/.changes/next-release/feature-AWSElementalMediaConvert-bbc7b32.json b/.changes/next-release/feature-AWSElementalMediaConvert-bbc7b32.json new file mode 100644 index 000000000000..42514e6de2a5 --- /dev/null +++ b/.changes/next-release/feature-AWSElementalMediaConvert-bbc7b32.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "AWS Elemental MediaConvert", + "contributor": "", + "description": "AWS Elemental MediaConvert has added the ability to set account policies which control access restrictions for HTTP, HTTPS, and S3 content sources." +} diff --git a/services/mediaconvert/src/main/resources/codegen-resources/service-2.json b/services/mediaconvert/src/main/resources/codegen-resources/service-2.json index b902f062754b..a945a93eda19 100644 --- a/services/mediaconvert/src/main/resources/codegen-resources/service-2.json +++ b/services/mediaconvert/src/main/resources/codegen-resources/service-2.json @@ -299,6 +299,47 @@ ], "documentation": "Permanently delete a job template you have created." }, + "DeletePolicy": { + "name": "DeletePolicy", + "http": { + "method": "DELETE", + "requestUri": "/2017-08-29/policy", + "responseCode": 200 + }, + "input": { + "shape": "DeletePolicyRequest" + }, + "output": { + "shape": "DeletePolicyResponse" + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "The service can't process your request because of a problem in the request. Please check your request form and syntax." + }, + { + "shape": "InternalServerErrorException", + "documentation": "The service encountered an unexpected condition and can't fulfill your request." + }, + { + "shape": "ForbiddenException", + "documentation": "You don't have permissions for this action with the credentials you sent." + }, + { + "shape": "NotFoundException", + "documentation": "The resource you requested doesn't exist." + }, + { + "shape": "TooManyRequestsException", + "documentation": "Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests." + }, + { + "shape": "ConflictException", + "documentation": "The service couldn't complete your request because there is a conflict with the current state of the resource." + } + ], + "documentation": "Permanently delete a policy that you created." + }, "DeletePreset": { "name": "DeletePreset", "http": { @@ -545,6 +586,47 @@ ], "documentation": "Retrieve the JSON for a specific job template." }, + "GetPolicy": { + "name": "GetPolicy", + "http": { + "method": "GET", + "requestUri": "/2017-08-29/policy", + "responseCode": 200 + }, + "input": { + "shape": "GetPolicyRequest" + }, + "output": { + "shape": "GetPolicyResponse" + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "The service can't process your request because of a problem in the request. Please check your request form and syntax." + }, + { + "shape": "InternalServerErrorException", + "documentation": "The service encountered an unexpected condition and can't fulfill your request." + }, + { + "shape": "ForbiddenException", + "documentation": "You don't have permissions for this action with the credentials you sent." + }, + { + "shape": "NotFoundException", + "documentation": "The resource you requested doesn't exist." + }, + { + "shape": "TooManyRequestsException", + "documentation": "Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests." + }, + { + "shape": "ConflictException", + "documentation": "The service couldn't complete your request because there is a conflict with the current state of the resource." + } + ], + "documentation": "Retrieve the JSON for your policy." + }, "GetPreset": { "name": "GetPreset", "http": { @@ -832,6 +914,47 @@ ], "documentation": "Retrieve the tags for a MediaConvert resource." }, + "PutPolicy": { + "name": "PutPolicy", + "http": { + "method": "PUT", + "requestUri": "/2017-08-29/policy", + "responseCode": 200 + }, + "input": { + "shape": "PutPolicyRequest" + }, + "output": { + "shape": "PutPolicyResponse" + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "The service can't process your request because of a problem in the request. Please check your request form and syntax." + }, + { + "shape": "InternalServerErrorException", + "documentation": "The service encountered an unexpected condition and can't fulfill your request." + }, + { + "shape": "ForbiddenException", + "documentation": "You don't have permissions for this action with the credentials you sent." + }, + { + "shape": "NotFoundException", + "documentation": "The resource you requested doesn't exist." + }, + { + "shape": "TooManyRequestsException", + "documentation": "Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests." + }, + { + "shape": "ConflictException", + "documentation": "The service couldn't complete your request because there is a conflict with the current state of the resource." + } + ], + "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" + }, "TagResource": { "name": "TagResource", "http": { @@ -3757,6 +3880,16 @@ "members": { } }, + "DeletePolicyRequest": { + "type": "structure", + "members": { + } + }, + "DeletePolicyResponse": { + "type": "structure", + "members": { + } + }, "DeletePresetRequest": { "type": "structure", "members": { @@ -4977,6 +5110,21 @@ } } }, + "GetPolicyRequest": { + "type": "structure", + "members": { + } + }, + "GetPolicyResponse": { + "type": "structure", + "members": { + "Policy": { + "shape": "Policy", + "locationName": "policy", + "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" + } + } + }, "GetPresetRequest": { "type": "structure", "members": { @@ -6799,6 +6947,14 @@ "FORCE" ] }, + "InputPolicy": { + "type": "string", + "documentation": "An input policy allows or disallows a job you submit to run based on the conditions that you specify.", + "enum": [ + "ALLOWED", + "DISALLOWED" + ] + }, "InputPsiControl": { "type": "string", "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 @@ }, "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." }, + "Policy": { + "type": "structure", + "members": { + "HttpInputs": { + "shape": "InputPolicy", + "locationName": "httpInputs", + "documentation": "Allow or disallow jobs that specify HTTP inputs." + }, + "HttpsInputs": { + "shape": "InputPolicy", + "locationName": "httpsInputs", + "documentation": "Allow or disallow jobs that specify HTTPS inputs." + }, + "S3Inputs": { + "shape": "InputPolicy", + "locationName": "s3Inputs", + "documentation": "Allow or disallow jobs that specify Amazon S3 inputs." + } + }, + "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" + }, "Preset": { "type": "structure", "members": { @@ -9905,6 +10082,29 @@ "HARD" ] }, + "PutPolicyRequest": { + "type": "structure", + "members": { + "Policy": { + "shape": "Policy", + "locationName": "policy", + "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" + } + }, + "required": [ + "Policy" + ] + }, + "PutPolicyResponse": { + "type": "structure", + "members": { + "Policy": { + "shape": "Policy", + "locationName": "policy", + "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" + } + } + }, "Queue": { "type": "structure", "members": { @@ -12866,4 +13066,4 @@ } }, "documentation": "AWS Elemental MediaConvert" -} \ No newline at end of file +}