libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • status :: Maybe QueueStatus

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

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

  • description :: Maybe Text

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

  • reservationPlanSettings :: Maybe ReservationPlanSettings

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

  • 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
Eq CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Read CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Show CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Generic CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Associated Types

type Rep CreateQueue :: Type -> Type #

NFData CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Methods

rnf :: CreateQueue -> () #

Hashable CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

ToJSON CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

AWSRequest CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Associated Types

type AWSResponse 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

type Rep CreateQueue Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

type Rep CreateQueue = D1 ('MetaData "CreateQueue" "Amazonka.MediaConvert.CreateQueue" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "CreateQueue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueueStatus)) :*: (S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "reservationPlanSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationPlanSettings)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse 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:

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

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
Eq CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Read CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Show CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Generic CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Associated Types

type Rep CreateQueueResponse :: Type -> Type #

NFData CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

Methods

rnf :: CreateQueueResponse -> () #

type Rep CreateQueueResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreateQueue

type Rep CreateQueueResponse = D1 ('MetaData "CreateQueueResponse" "Amazonka.MediaConvert.CreateQueue" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" '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:

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