Amazon Parallel Computing Service GetCluster API

The GetCluster API from Amazon Parallel Computing Service — 1 operation(s) for getcluster.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 1

POST /#GetCluster Get Cluster #

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-getcluster-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-getcluster-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Parallel Computing Service Getcluster 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:
  /#GetCluster:
    post:
      operationId: GetCluster
      summary: Get Cluster
      description: Returns detailed information about a running cluster in your account. This API action provides networking
        information, endpoint information for communication with the scheduler, and provisioning status.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetClusterResponse'
        '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.GetCluster
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetClusterRequest'
      tags:
      - Getcluster
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
    Accounting:
      type: object
      properties:
        defaultPurgeTimeInDays:
          type: integer
          description: The default value for all purge settings for slurmdbd.conf. For more information, see the slurmdbd.conf
            documentation at SchedMD. The default value for defaultPurgeTimeInDays is -1. A value of -1 means there is no
            purge time and records persist as long as the cluster exists. 0 isn't a valid value.
        mode:
          type: string
          enum:
          - STANDARD
          - NONE
          description: The default value for mode is NONE. A value of STANDARD means Slurm accounting is enabled.
      required:
      - mode
    CgroupCustomSetting:
      type: object
      properties:
        parameterName:
          type: string
          description: PCS supports custom Cgroup settings for clusters. For more information, see Configuring custom Cgroup
            settings in PCS in the PCS User Guide.
        parameterValue:
          type: string
          description: The values for the configured Cgroup settings.
      required:
      - parameterName
      - parameterValue
    Cluster:
      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.
        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.
        createdAt:
          type: string
          description: The date and time the resource was created.
        modifiedAt:
          type: string
          description: The date and time the resource was modified.
        scheduler:
          $ref: '#/components/schemas/Scheduler'
        size:
          type: string
          enum:
          - SMALL
          - MEDIUM
          - LARGE
          description: 'The size of the cluster. SMALL: 32 compute nodes and 256 jobs MEDIUM: 512 compute nodes and 8192 jobs
            LARGE: 2048 compute nodes and 16,384 jobs'
        slurmConfiguration:
          $ref: '#/components/schemas/ClusterSlurmConfiguration'
        networking:
          $ref: '#/components/schemas/Networking'
        endpoints:
          type: array
          items:
            $ref: '#/components/schemas/Endpoint'
          description: The list of endpoints available for interaction with the scheduler.
        errorInfo:
          type: array
          items:
            $ref: '#/components/schemas/ErrorInfo'
          description: The list of errors that occurred during cluster provisioning.
      required:
      - name
      - id
      - arn
      - status
      - createdAt
      - modifiedAt
      - scheduler
      - size
      - networking
    ClusterSlurmConfiguration:
      type: object
      properties:
        scaleDownIdleTimeInSeconds:
          type: integer
          description: 'The time (in seconds) before an idle node is scaled down. Default: 600'
        slurmCustomSettings:
          type: array
          items:
            $ref: '#/components/schemas/SlurmCustomSetting'
          description: Additional Slurm-specific configuration that directly maps to Slurm settings.
        slurmdbdCustomSettings:
          type: array
          items:
            $ref: '#/components/schemas/SlurmdbdCustomSetting'
          description: Additional SlurmDBD-specific configuration that directly maps to SlurmDBD settings.
        cgroupCustomSettings:
          type: array
          items:
            $ref: '#/components/schemas/CgroupCustomSetting'
          description: Additional Cgroup-specific configuration that directly maps to Cgroup settings.
        authKey:
          $ref: '#/components/schemas/SlurmAuthKey'
        jwtAuth:
          $ref: '#/components/schemas/JwtAuth'
        accounting:
          $ref: '#/components/schemas/Accounting'
        slurmRest:
          $ref: '#/components/schemas/SlurmRest'
    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
    Endpoint:
      type: object
      properties:
        type:
          type: string
          enum:
          - SLURMCTLD
          - SLURMDBD
          - SLURMRESTD
          description: Indicates the type of endpoint running at the specific IP address.
        privateIpAddress:
          type: string
          description: 'For clusters that use IPv4, this is the endpoint''s private IP address. Example: 10.1.2.3 For clusters
            configured to use IPv6, this is an empty string.'
        publicIpAddress:
          type: string
          description: 'The endpoint''s public IP address. Example: 192.0.2.1'
        ipv6Address:
          type: string
          description: 'The endpoint''s IPv6 address. Example: 2001:db8::1'
        port:
          type: string
          description: 'The endpoint''s connection port number. Example: 1234'
      required:
      - type
      - privateIpAddress
      - port
    ErrorInfo:
      type: object
      properties:
        code:
          type: string
          description: The short-form error code.
        message:
          type: string
          description: The detailed error information.
    GetClusterRequest:
      type: object
      properties:
        clusterIdentifier:
          type: string
          description: The name or ID of the cluster.
      required:
      - clusterIdentifier
    GetClusterResponse:
      type: object
      properties:
        cluster:
          $ref: '#/components/schemas/Cluster'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    JwtAuth:
      type: object
      properties:
        jwtKey:
          $ref: '#/components/schemas/JwtKey'
    JwtKey:
      type: object
      properties:
        secretArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the JWT
            key.
        secretVersion:
          type: string
          description: The version of the Amazon Web Services Secrets Manager secret containing the JWT key.
      required:
      - secretArn
      - secretVersion
    Networking:
      type: object
      properties:
        subnetIds:
          type: array
          items:
            type: string
          description: 'The ID of the subnet where PCS creates an Elastic Network Interface (ENI) to enable communication
            between managed controllers and PCS resources. The subnet must have an available IP address, cannot reside in
            Outposts, Wavelength, or an Amazon Web Services Local Zone. Example: subnet-abcd1234'
        securityGroupIds:
          type: array
          items:
            type: string
          description: 'The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
            The following rules are required: Inbound rule 1 Protocol: All Ports: All Source: Self Outbound rule 1 Protocol:
            All Ports: All Destination: 0.0.0.0/0 (IPv4) or ::/0 (IPv6) Outbound rule 2 Protocol: All Ports: All Destination:
            Self'
        networkType:
          type: string
          enum:
          - IPV4
          - IPV6
          description: The IP address version the cluster uses. The default is IPV4.
    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
    Scheduler:
      type: object
      properties:
        type:
          type: string
          enum:
          - SLURM
          description: The software PCS uses to manage cluster scaling and job scheduling.
        version:
          type: string
          description: 'The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling.
            You can update this version using the UpdateCluster API action. For more information, see Updating the scheduler
            version on a cluster and Slurm versions in PCS in the PCS User Guide. Valid Values: 23.11 | 24.05 | 24.11 | 25.05
            | 25.11 | 26.05'
      required:
      - type
      - version
    SlurmAuthKey:
      type: object
      properties:
        secretArn:
          type: string
          description: The Amazon Resource Name (ARN) of the shared Slurm key.
        secretVersion:
          type: string
          description: The version of the shared Slurm key.
      required:
      - secretArn
      - secretVersion
    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
    SlurmRest:
      type: object
      properties:
        mode:
          type: string
          enum:
          - STANDARD
          - NONE
          description: The default value for mode is NONE. A value of STANDARD means the Slurm REST API is enabled.
      required:
      - mode
    SlurmdbdCustomSetting:
      type: object
      properties:
        parameterName:
          type: string
          description: PCS supports custom SlurmDBD settings for clusters. For more information, see Configuring custom SlurmDBD
            settings in PCS in the PCS User Guide.
        parameterValue:
          type: string
          description: The values for the configured SlurmDBD 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
    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)