amazonka-mediaconvert-2.0: Amazon Elemental MediaConvert SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaConvert.CreateQueue

Description

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

Creating a Request

data CreateQueue Source #

See: newCreateQueue smart constructor.

Constructors

CreateQueue' 

Fields

  • description :: Maybe Text

    Optional. A description of the queue that you are creating.

  • pricingPlan :: Maybe 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.

  • reservationPlanSettings :: Maybe ReservationPlanSettings

    Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.

  • status :: Maybe QueueStatus

    Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.

  • tags :: Maybe (HashMap Text Text)

    The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.

  • name :: Text

    The name of the queue that you are creating.

Instances

Instances details
ToJSON CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

ToHeaders CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Methods

toHeaders :: CreateQueue -> [Header] #

ToPath CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

ToQuery CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

AWSRequest CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Associated Types

type AWSResponse CreateQueue #

Generic CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Associated Types

type Rep CreateQueue :: Type -> Type #

Read CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Show CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

NFData CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Methods

rnf :: CreateQueue -> () #

Eq CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Hashable CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

type AWSResponse CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

type Rep CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

newCreateQueue Source #

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:

CreateQueue, createQueue_description - Optional. A description of the queue that you are creating.

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:reservationPlanSettings:CreateQueue', createQueue_reservationPlanSettings - Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.

CreateQueue, createQueue_status - Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin.

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.

CreateQueue, createQueue_name - The name of the queue that you are creating.

Request Lenses

createQueue_description :: Lens' CreateQueue (Maybe Text) Source #

Optional. A description of the queue that you are creating.

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_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_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_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.

Constructors

CreateQueueResponse' 

Fields

  • queue :: Maybe 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Associated Types

type Rep CreateQueueResponse :: Type -> Type #

Read CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Show CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

NFData CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Methods

rnf :: CreateQueueResponse -> () #

Eq CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

type Rep CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

type Rep CreateQueueResponse = D1 ('MetaData "CreateQueueResponse" "Amazonka.MediaConvert.CreateQueue" "amazonka-mediaconvert-2.0-ClG8xHhlx4y6bdaCrZchqH" 'False) (C1 ('MetaCons "CreateQueueResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Queue)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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:

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.