MediaConvert.Client.
get_policy
()¶Retrieve the JSON for your policy.
See also: AWS API Documentation
Request Syntax
response = client.get_policy()
{
'Policy': {
'HttpInputs': 'ALLOWED'|'DISALLOWED',
'HttpsInputs': 'ALLOWED'|'DISALLOWED',
'S3Inputs': 'ALLOWED'|'DISALLOWED'
}
}
Response Structure
Exceptions
MediaConvert.Client.exceptions.BadRequestException
MediaConvert.Client.exceptions.InternalServerErrorException
MediaConvert.Client.exceptions.ForbiddenException
MediaConvert.Client.exceptions.NotFoundException
MediaConvert.Client.exceptions.TooManyRequestsException
MediaConvert.Client.exceptions.ConflictException