{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconvert/json-schema/amazon-mediaconvert-create-queue-request-schema.json",
  "title": "CreateQueueRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconvert-queues-api-openapi.yml#/components/schemas/CreateQueueRequest",
  "type": "object",
  "properties": {
    "ConcurrentJobs": {
      "type": "integer",
      "description": "Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead."
    },
    "Description": {
      "type": "string",
      "description": "Optional. A description of the queue that you are creating."
    },
    "MaximumConcurrentFeeds": {
      "type": "integer",
      "description": "Specify the maximum number of Elemental Inference feeds MediaConvert can process concurrently."
    },
    "Name": {
      "type": "string",
      "description": "The name of the queue that you are creating."
    },
    "PricingPlan": {
      "type": "string",
      "enum": [
        "ON_DEMAND",
        "RESERVED"
      ],
      "description": "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": {
      "$ref": "#/$defs/ReservationPlanSettings"
    },
    "Status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "PAUSED"
      ],
      "description": "Initial state of the queue. If you create a paused queue, then jobs in that queue won't begin."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key."
    }
  },
  "required": [
    "Name"
  ],
  "$defs": {
    "ReservationPlanSettings": {
      "type": "object",
      "properties": {
        "Commitment": {
          "type": "string",
          "enum": [
            "ONE_YEAR"
          ],
          "description": "The length of the term of your reserved queue pricing plan commitment."
        },
        "RenewalType": {
          "type": "string",
          "enum": [
            "AUTO_RENEW",
            "EXPIRE"
          ],
          "description": "Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. When your term is auto renewed, you extend your commitment by 12 months from the auto renew date. You can cancel this commitment."
        },
        "ReservedSlots": {
          "type": "integer",
          "description": "Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity."
        }
      },
      "required": [
        "Commitment",
        "RenewalType",
        "ReservedSlots"
      ]
    }
  }
}