INNER CODE UNIT · Python

AutoTranscodeError

miztiik/AWS-Demos · how-to-examples/iam-s3-sqs-sns-video-transcoder.py:26

class AutoTranscodeError(Exception):
    pass


class AutoTranscode(object):
    """
    This is the main transcoder class, which exposes a ``run`` method
    to put everything into motion. It watches for new files, uploads
    them to S3, converts them using Elastic Transcoder and downloads
    the output from S3 back to your computer.
    """
    # The following policies are for the IAM role.
    basic_role_policy = {
        'Statement': [
            {
                'Principal': {
                    'Service': ['elastictranscoder.amazonaws.com']
                },

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…