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 |
Modify one of your existing queues.
Synopsis
- data UpdateQueue = UpdateQueue' {}
- newUpdateQueue :: Text -> UpdateQueue
- updateQueue_status :: Lens' UpdateQueue (Maybe QueueStatus)
- updateQueue_description :: Lens' UpdateQueue (Maybe Text)
- updateQueue_reservationPlanSettings :: Lens' UpdateQueue (Maybe ReservationPlanSettings)
- updateQueue_name :: Lens' UpdateQueue Text
- data UpdateQueueResponse = UpdateQueueResponse' {
- queue :: Maybe Queue
- httpStatus :: Int
- newUpdateQueueResponse :: Int -> UpdateQueueResponse
- updateQueueResponse_queue :: Lens' UpdateQueueResponse (Maybe Queue)
- updateQueueResponse_httpStatus :: Lens' UpdateQueueResponse Int
Creating a Request
data UpdateQueue Source #
See: newUpdateQueue
smart constructor.
UpdateQueue' | |
|
Instances
Create a value of UpdateQueue
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:UpdateQueue'
, updateQueue_status
- Pause or activate a queue by changing its status between ACTIVE and
PAUSED. If you pause a queue, jobs in that queue won't begin. Jobs that
are running when you pause the queue continue to run until they finish
or result in an error.
$sel:description:UpdateQueue'
, updateQueue_description
- The new description for the queue, if you are changing it.
$sel:reservationPlanSettings:UpdateQueue'
, updateQueue_reservationPlanSettings
- The new details of your pricing plan for your reserved queue. When you
set up a new pricing plan to replace an expired one, you enter into
another 12-month commitment. When you add capacity to your queue by
increasing the number of RTS, you extend the term of your commitment to
12 months from when you add capacity. After you make these commitments,
you can't cancel them.
$sel:name:UpdateQueue'
, updateQueue_name
- The name of the queue that you are modifying.
Request Lenses
updateQueue_status :: Lens' UpdateQueue (Maybe QueueStatus) Source #
Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won't begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
updateQueue_description :: Lens' UpdateQueue (Maybe Text) Source #
The new description for the queue, if you are changing it.
updateQueue_reservationPlanSettings :: Lens' UpdateQueue (Maybe ReservationPlanSettings) Source #
The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can't cancel them.
updateQueue_name :: Lens' UpdateQueue Text Source #
The name of the queue that you are modifying.
Destructuring the Response
data UpdateQueueResponse Source #
See: newUpdateQueueResponse
smart constructor.
UpdateQueueResponse' | |
|
Instances
newUpdateQueueResponse Source #
Create a value of UpdateQueueResponse
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:UpdateQueueResponse'
, updateQueueResponse_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:UpdateQueueResponse'
, updateQueueResponse_httpStatus
- The response's http status code.
Response Lenses
updateQueueResponse_queue :: Lens' UpdateQueueResponse (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.
updateQueueResponse_httpStatus :: Lens' UpdateQueueResponse Int Source #
The response's http status code.