AWS Elemental MediaConvert CreateJob Example Using the Amazon CLI - AWS Elemental MediaConvert API Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS Elemental MediaConvert CreateJob Example Using the Amazon CLI

To create a transcoding job using the Amazon CLI:

  1. Use describe-endpoints to get your endpoint and set your Region. In this example, the Region is set to ap-northeast-3:

    aws mediaconvert describe-endpoints --region ap-northeast-3
  2. Use the --endpoint-url option to send your request to your endpoint:

    aws --endpoint-url https://abcd1234.mediaconvert.region-name-1.amazonaws.com --region region-name-1 mediaconvert create-job --cli-input-json file://~/job.json

    In the preceding example, job.json specifies your transcoding job settings. You can use the MediaConvert console to generate the JSON job specification. For more information and sample job specifications, see Creating Your Job Specification.