Getting Started with AWS Elemental MediaConvert Using the Amazon SDKs or the Amazon CLI
To get started with AWS Elemental MediaConvert using one of the Amazon SDKS or the Amazon Command Line Interface (Amazon CLI), follow this general procedure.
-
Set up Amazon Identity and Access Management (IAM) permissions for both yourself and for the MediaConvert service to access your resources on your behalf:
-
For information about setting up permissions for yourself, see Overview of Identity Management: Users in the IAM User Guide.
-
For information about setting up permissions for the service to access your resources, see Set Up IAM Permissions in the MediaConvert User Guide.
-
-
In your client configuration, specify your authentication credentials and your Amazon Region. For instructions that are specific to the programming language that you use, choose from this list of links to open the relevant topics in the Amazon CLI or SDK guides:
-
C++: credentials and Region
-
Python: credentials
and Region
-
To prevent duplicate jobs from being created, use client request tokens. For more information see Preventing duplicate jobs.
Choosing the correct case for requests
When you send requests, use camelCase or PascalCase as appropriate for the language you are using. All examples in this guide use PascalCase, which is the correct casing for the Amazon CLI and Amazon SDK for Python (Boto3). The MediaConvert console JSON export function also generates JSON job specifications in PascalCase.
When you use a language that specifies camelCase, such as JavaScript, you must convert the casing of your properties before you submit your requests. For example, if you use the properties "Settings" and "TimecodeConfig" in your call through the Amazon CLI, you must change those to "settings" and "timecodeConfig" for your call through the Amazon SDK for JavaScript.