You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaConvert::Types::CreateQueueRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateQueueRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  description: "__string",
  name: "__string", # required
  pricing_plan: "ON_DEMAND", # accepts ON_DEMAND, RESERVED
  reservation_plan_settings: {
    commitment: "ONE_YEAR", # required, accepts ONE_YEAR
    renewal_type: "AUTO_RENEW", # required, accepts AUTO_RENEW, EXPIRE
    reserved_slots: 1, # required
  },
  tags: {
    "__string" => "__string",
  },
}

Create an on-demand queue by sending a CreateQueue request with the name of the queue. Create a reserved queue by sending a CreateQueue request with the pricing plan set to RESERVED and with values specified for the settings under reservationPlanSettings. When you create a reserved queue, you enter into a 12-month commitment to purchase the RTS that you specify. You can't cancel this commitment.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)

    Optional.

#nameString

The name of the queue that you are creating.

Returns:

  • (String)

    The name of the queue that you are creating.

#pricing_planString

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.

Possible values:

  • ON_DEMAND
  • RESERVED

Returns:

  • (String)

    Specifies whether the pricing plan for the queue is on-demand or reserved.

#reservation_plan_settingsTypes::ReservationPlanSettings

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

Returns:

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)

    The tags that you want to add to the resource.