Copyright | (c) 2013-2021 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 |
Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
Synopsis
- data CreateQueue = CreateQueue' {}
- newCreateQueue :: Text -> CreateQueue
- createQueue_status :: Lens' CreateQueue (Maybe QueueStatus)
- createQueue_pricingPlan :: Lens' CreateQueue (Maybe PricingPlan)
- createQueue_description :: Lens' CreateQueue (Maybe Text)
- createQueue_reservationPlanSettings :: Lens' CreateQueue (Maybe ReservationPlanSettings)
- createQueue_tags :: Lens' CreateQueue (Maybe (HashMap Text Text))
- createQueue_name :: Lens' CreateQueue Text
- data CreateQueueResponse = CreateQueueResponse' {
- queue :: Maybe Queue
- httpStatus :: Int
- newCreateQueueResponse :: Int -> CreateQueueResponse
- createQueueResponse_queue :: Lens' CreateQueueResponse (Maybe Queue)
- createQueueResponse_httpStatus :: Lens' CreateQueueResponse Int
Creating a Request
data CreateQueue Source #
See: newCreateQueue
smart constructor.
CreateQueue' | |
|
Instances
Create a value of CreateQueue
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:CreateQueue'
, createQueue_status
- Initial state of the queue. If you create a paused queue, then jobs in
that queue won't begin.
$sel:pricingPlan:CreateQueue'
, createQueue_pricingPlan
- Specifies whether the pricing plan for the queue is on-demand or
reserved. For on-demand, you pay per minute, billed in increments of .01
minute. For reserved, you pay for the transcoding capacity of the entire
queue, regardless of how much or how little you use it. Reserved pricing
requires a 12-month commitment. When you use the API to create a queue,
the default is on-demand.
$sel:description:CreateQueue'
, createQueue_description
- Optional. A description of the queue that you are creating.
$sel:reservationPlanSettings:CreateQueue'
, createQueue_reservationPlanSettings
- Details about the pricing plan for your reserved queue. Required for
reserved queues and not applicable to on-demand queues.
$sel:tags:CreateQueue'
, createQueue_tags
- The tags that you want to add to the resource. You can tag resources
with a key-value pair or with only a key.
$sel:name:CreateQueue'
, createQueue_name
- The name of the queue that you are creating.
Request Lenses
createQueue_status :: Lens' CreateQueue (Maybe QueueStatus) Source #
Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.
createQueue_pricingPlan :: Lens' CreateQueue (Maybe PricingPlan) Source #
Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.
createQueue_description :: Lens' CreateQueue (Maybe Text) Source #
Optional. A description of the queue that you are creating.
createQueue_reservationPlanSettings :: Lens' CreateQueue (Maybe ReservationPlanSettings) Source #
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
createQueue_tags :: Lens' CreateQueue (Maybe (HashMap Text Text)) Source #
The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
createQueue_name :: Lens' CreateQueue Text Source #
The name of the queue that you are creating.
Destructuring the Response
data CreateQueueResponse Source #
See: newCreateQueueResponse
smart constructor.
CreateQueueResponse' | |
|
Instances
newCreateQueueResponse Source #
Create a value of CreateQueueResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queue:CreateQueueResponse'
, createQueueResponse_queue
- You can use queues to manage the resources that are available to your
AWS account for running multiple transcoding jobs at the same time. If
you don't specify a queue, the service sends all jobs through the
default queue. For more information, see
https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.
$sel:httpStatus:CreateQueueResponse'
, createQueueResponse_httpStatus
- The response's http status code.
Response Lenses
createQueueResponse_queue :: Lens' CreateQueueResponse (Maybe Queue) Source #
You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.
createQueueResponse_httpStatus :: Lens' CreateQueueResponse Int Source #
The response's http status code.