Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
Synopsis
- createJob :: CreateJob
- data CreateJob
- cjJobTemplate :: Lens' CreateJob (Maybe Text)
- cjSettings :: Lens' CreateJob (Maybe JobSettings)
- cjQueue :: Lens' CreateJob (Maybe Text)
- cjUserMetadata :: Lens' CreateJob (HashMap Text Text)
- cjRole :: Lens' CreateJob (Maybe Text)
- cjClientRequestToken :: Lens' CreateJob (Maybe Text)
- createJobResponse :: Int -> CreateJobResponse
- data CreateJobResponse
- cjrsJob :: Lens' CreateJobResponse (Maybe Job)
- cjrsResponseStatus :: Lens' CreateJobResponse Int
Creating a Request
createJob :: CreateJob Source #
Creates a value of CreateJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cjJobTemplate
- When you create a job, you can either specify a job template or specify the transcoding settings individuallycjSettings
- Undocumented member.cjQueue
- Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.cjUserMetadata
- User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.cjRole
- Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.cjClientRequestToken
- Idempotency token for CreateJob operation.
See: createJob
smart constructor.
Instances
Request Lenses
cjJobTemplate :: Lens' CreateJob (Maybe Text) Source #
When you create a job, you can either specify a job template or specify the transcoding settings individually
cjSettings :: Lens' CreateJob (Maybe JobSettings) Source #
Undocumented member.
cjQueue :: Lens' CreateJob (Maybe Text) Source #
Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.
cjUserMetadata :: Lens' CreateJob (HashMap Text Text) Source #
User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.
cjRole :: Lens' CreateJob (Maybe Text) Source #
Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.
cjClientRequestToken :: Lens' CreateJob (Maybe Text) Source #
Idempotency token for CreateJob operation.
Destructuring the Response
Creates a value of CreateJobResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cjrsJob
- Undocumented member.cjrsResponseStatus
- -- | The response status code.
data CreateJobResponse Source #
See: createJobResponse
smart constructor.
Instances
Response Lenses
cjrsResponseStatus :: Lens' CreateJobResponse Int Source #
- - | The response status code.