put_policy(**kwargs)¶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
See also: AWS API Documentation
Request Syntax
response = client.put_policy(
    Policy={
        'HttpInputs': 'ALLOWED'|'DISALLOWED',
        'HttpsInputs': 'ALLOWED'|'DISALLOWED',
        'S3Inputs': 'ALLOWED'|'DISALLOWED'
    }
)
[REQUIRED] 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
{
    'Policy': {
        'HttpInputs': 'ALLOWED'|'DISALLOWED',
        'HttpsInputs': 'ALLOWED'|'DISALLOWED',
        'S3Inputs': 'ALLOWED'|'DISALLOWED'
    }
}
Response Structure
Exceptions
MediaConvert.Client.exceptions.BadRequestExceptionMediaConvert.Client.exceptions.InternalServerErrorExceptionMediaConvert.Client.exceptions.ForbiddenExceptionMediaConvert.Client.exceptions.NotFoundExceptionMediaConvert.Client.exceptions.TooManyRequestsExceptionMediaConvert.Client.exceptions.ConflictException