Amazon Parallel Computing Service UpdateQueue API

The UpdateQueue API from Amazon Parallel Computing Service — 1 operation(s) for updatequeue.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 1

POST /#UpdateQueue Update Queue #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-parallel-computing-service:amazon-parallel-computing-service-updatequeue-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-parallel-computing-service-updatequeue-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Parallel Computing Service Updatequeue API
  version: '2023-02-10'
  description: Generated from AWS's published Smithy model for AWS Parallel Computing Service. 1 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://pcs.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#UpdateQueue:
    post:
      operationId: UpdateQueue
      summary: Update Queue
      description: Updates the compute node group configuration of a queue. Use this API to change the compute node groups
        that the queue can send jobs to.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/UpdateQueueResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSParallelComputingService.UpdateQueue
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UpdateQueueRequest'
      tags:
      - Updatequeue
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: pcs
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ComputeNodeGroupConfiguration:
      type: object
      properties:
        computeNodeGroupId:
          type: string
          description: The compute node group ID for the compute node group configuration.
    ConflictException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The unique identifier of the resource that caused the conflict exception.
        resourceType:
          type: string
          description: The type or category of the resource that caused the conflict exception."
      required:
      - message
      - resourceId
      - resourceType
    ErrorInfo:
      type: object
      properties:
        code:
          type: string
          description: The short-form error code.
        message:
          type: string
          description: The detailed error information.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    Queue:
      type: object
      properties:
        name:
          type: string
          description: The name that identifies the queue.
        id:
          type: string
          description: The generated unique ID of the queue.
        arn:
          type: string
          description: The unique Amazon Resource Name (ARN) of the queue.
        clusterId:
          type: string
          description: The ID of the cluster of the queue.
        createdAt:
          type: string
          description: The date and time the resource was created.
        modifiedAt:
          type: string
          description: The date and time the resource was modified.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - UPDATING
          - DELETING
          - CREATE_FAILED
          - DELETE_FAILED
          - UPDATE_FAILED
          - SUSPENDING
          - SUSPENDED
          - RESUMING
          description: The provisioning status of the queue. The provisioning status doesn't indicate the overall health of
            the queue. The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and
            we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down
            and all compute instances are terminated. The resources still count toward your service quotas. You can delete
            a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions
            in PCS in the PCS User Guide.
        computeNodeGroupConfigurations:
          type: array
          items:
            $ref: '#/components/schemas/ComputeNodeGroupConfiguration'
          description: The list of compute node group configurations associated with the queue. Queues assign jobs to associated
            compute node groups.
        slurmConfiguration:
          $ref: '#/components/schemas/QueueSlurmConfiguration'
        errorInfo:
          type: array
          items:
            $ref: '#/components/schemas/ErrorInfo'
          description: The list of errors that occurred during queue provisioning.
      required:
      - name
      - id
      - arn
      - clusterId
      - createdAt
      - modifiedAt
      - status
      - computeNodeGroupConfigurations
    QueueSlurmConfiguration:
      type: object
      properties:
        slurmCustomSettings:
          type: array
          items:
            $ref: '#/components/schemas/SlurmCustomSetting'
          description: Additional Slurm-specific configuration that directly maps to Slurm settings.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The unique identifier of the resource that was not found.
        resourceType:
          type: string
          description: The type or category of the resource that was not found.
      required:
      - message
      - resourceId
      - resourceType
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The service code associated with the quota that was exceeded.
        resourceId:
          type: string
          description: The unique identifier of the resource that caused the quota to be exceeded.
        resourceType:
          type: string
          description: The type or category of the resource that caused the quota to be exceeded.
        quotaCode:
          type: string
          description: The quota code of the service quota that was exceeded.
      required:
      - message
      - serviceCode
    SlurmCustomSetting:
      type: object
      properties:
        parameterName:
          type: string
          description: PCS supports custom Slurm settings for clusters, compute node groups, and queues. For more information,
            see Configuring custom Slurm settings in PCS in the PCS User Guide.
        parameterValue:
          type: string
          description: The values for the configured Slurm settings.
      required:
      - parameterName
      - parameterValue
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the request.
      required:
      - message
    UpdateQueueRequest:
      type: object
      properties:
        clusterIdentifier:
          type: string
          description: The name or ID of the cluster of the queue.
        queueIdentifier:
          type: string
          description: The name or ID of the queue.
        computeNodeGroupConfigurations:
          type: array
          items:
            $ref: '#/components/schemas/ComputeNodeGroupConfiguration'
          description: The list of compute node group configurations to associate with the queue. Queues assign jobs to associated
            compute node groups.
        slurmConfiguration:
          $ref: '#/components/schemas/UpdateQueueSlurmConfigurationRequest'
        clientToken:
          type: string
          description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency
            ensures that an API request completes only once. With an idempotent request, if the original request completes
            successfully, the subsequent retries with the same client token return the result from the original successful
            request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically
            generate one for you.
      required:
      - clusterIdentifier
      - queueIdentifier
    UpdateQueueResponse:
      type: object
      properties:
        queue:
          $ref: '#/components/schemas/Queue'
    UpdateQueueSlurmConfigurationRequest:
      type: object
      properties:
        slurmCustomSettings:
          type: array
          items:
            $ref: '#/components/schemas/SlurmCustomSetting'
          description: Additional Slurm-specific configuration that directly maps to Slurm settings.
    ValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          enum:
          - unknownOperation
          - cannotParse
          - fieldValidationFailed
          - other
          description: The specific reason or cause of the validation error.
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: A list of fields or properties that failed validation.
      required:
      - message
      - reason
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the exception.
        message:
          type: string
          description: The message body of the exception.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/pcs/service/2023-02-10/pcs-2023-02-10.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)