Amazon Parallel Computing Service ListClusters API

The ListClusters API from Amazon Parallel Computing Service — 1 operation(s) for listclusters.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 1

POST /#ListClusters List Clusters #

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-listclusters-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-listclusters-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Parallel Computing Service Listclusters 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:
  /#ListClusters:
    post:
      operationId: ListClusters
      summary: List Clusters
      description: Returns a list of running clusters in your account.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListClustersResponse'
        '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'
        '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.ListClusters
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListClustersRequest'
      tags:
      - Listclusters
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
    ClusterSummary:
      type: object
      properties:
        name:
          type: string
          description: The name that identifies the cluster.
        id:
          type: string
          description: The generated unique ID of the cluster.
        arn:
          type: string
          description: The unique Amazon Resource Name (ARN) of the cluster.
        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 cluster. The provisioning status doesn't indicate the overall health
            of the cluster. 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.
      required:
      - name
      - id
      - arn
      - createdAt
      - modifiedAt
      - status
    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
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListClustersRequest:
      type: object
      properties:
        nextToken:
          type: string
          description: The value of nextToken is a unique pagination token for each page of results returned. If nextToken
            is returned, there are more results available. Make the call again using the returned token to retrieve the next
            page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
            token returns an HTTP 400 InvalidToken error.
        maxResults:
          type: integer
          description: The maximum number of results that are returned per call. You can use nextToken to obtain further pages
            of results. The default is 10 results, and the maximum allowed page size is 100 results. A value of 0 uses the
            default.
    ListClustersResponse:
      type: object
      properties:
        clusters:
          type: array
          items:
            $ref: '#/components/schemas/ClusterSummary'
          description: The list of clusters.
        nextToken:
          type: string
          description: The value of nextToken is a unique pagination token for each page of results returned. If nextToken
            is returned, there are more results available. Make the call again using the returned token to retrieve the next
            page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
            token returns an HTTP 400 InvalidToken error.
      required:
      - clusters
    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
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the request.
      required:
      - message
    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)