MediaConvert / Client / get_policy

get_policy#

MediaConvert.Client.get_policy()#

Retrieve the JSON for your policy.

See also: AWS API Documentation

Request Syntax

response = client.get_policy()
Return type:

dict

Returns:

Response Syntax

{
    'Policy': {
        'HttpInputs': 'ALLOWED'|'DISALLOWED',
        'HttpsInputs': 'ALLOWED'|'DISALLOWED',
        'S3Inputs': 'ALLOWED'|'DISALLOWED'
    }
}

Response Structure

  • (dict) –

    • Policy (dict) – 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

      • HttpInputs (string) – Allow or disallow jobs that specify HTTP inputs.

      • HttpsInputs (string) – Allow or disallow jobs that specify HTTPS inputs.

      • S3Inputs (string) – Allow or disallow jobs that specify Amazon S3 inputs.

Exceptions