Amazon EMR Emr Endpoints API

The Emr Endpoints API from Amazon EMR — 2 operation(s) for emr endpoints.

GitHub OpenAPI

Operations 5

POST /virtualclusters/{virtualClusterId}/endpoints Create Managed Endpoint #
GET /virtualclusters/{virtualClusterId}/endpoints List Managed Endpoints #
DELETE /virtualclusters/{virtualClusterId}/endpoints/{id} Delete Managed Endpoint #
GET /virtualclusters/{virtualClusterId}/endpoints/{id} Describe Managed Endpoint #
GET /applications/{applicationId}/sessions/{sessionId}/endpoint Get Session Endpoint #

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-emr:amazon-emr-endpoints-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-emr-endpoints-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon EMR Endpoints API
  version: '2009-03-31'
  description: Generated from AWS's published Smithy model for Amazon EMR. 5 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://emr-containers.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /virtualclusters/{virtualClusterId}/endpoints:
    post:
      operationId: CreateManagedEndpoint
      summary: Create Managed Endpoint
      description: Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR
        on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateManagedEndpointResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ResourceNotFoundException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: virtualClusterId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the virtual cluster for which a managed endpoint is created.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the managed endpoint.
                type:
                  type: string
                  description: The type of the managed endpoint.
                releaseLabel:
                  type: string
                  description: The Amazon EMR release version.
                executionRoleArn:
                  type: string
                  description: The ARN of the execution role.
                certificateArn:
                  type: string
                  description: The certificate ARN provided by users for the managed endpoint. This field is under deprecation
                    and will be removed in future releases.
                configurationOverrides:
                  $ref: '#/components/schemas/ConfigurationOverrides'
                clientToken:
                  type: string
                  description: The client idempotency token for this create call.
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags of the managed endpoint.
                sessionIdleTimeoutInMinutes:
                  type: integer
                  description: The number of idle minutes before the managed endpoint session times out.
              required:
              - name
              - type
              - releaseLabel
              - executionRoleArn
              - clientToken
      tags:
      - Endpoints
    get:
      operationId: ListManagedEndpoints
      summary: List Managed Endpoints
      description: Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects Amazon
        EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListManagedEndpointsResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: virtualClusterId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the virtual cluster.
      - name: createdBefore
        in: query
        schema:
          type: string
          format: date-time
        description: The date and time before which the endpoints are created.
      - name: createdAfter
        in: query
        schema:
          type: string
          format: date-time
        description: The date and time after which the endpoints are created.
      - name: types
        in: query
        schema:
          type: array
          items:
            type: string
        description: The types of the managed endpoints.
      - name: states
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - CREATING
            - ACTIVE
            - TERMINATING
            - TERMINATED
            - TERMINATED_WITH_ERRORS
        description: The states of the managed endpoints.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of managed endpoints that can be listed.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token for the next set of managed endpoints to return.
      tags:
      - Endpoints
  /virtualclusters/{virtualClusterId}/endpoints/{id}:
    delete:
      operationId: DeleteManagedEndpoint
      summary: Delete Managed Endpoint
      description: Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR
        on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteManagedEndpointResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The ID of the managed endpoint.
      - name: virtualClusterId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the endpoint's virtual cluster.
      tags:
      - Endpoints
    get:
      operationId: DescribeManagedEndpoint
      summary: Describe Managed Endpoint
      description: Displays detailed information about a managed endpoint. A managed endpoint is a gateway that connects Amazon
        EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeManagedEndpointResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrContainersInternalServerException'
        '400':
          description: ResourceNotFoundException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: This output displays ID of the managed endpoint.
      - name: virtualClusterId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the endpoint's virtual cluster.
      tags:
      - Endpoints
  /applications/{applicationId}/sessions/{sessionId}/endpoint:
    get:
      operationId: GetSessionEndpoint
      summary: Get Session Endpoint
      description: Returns the session endpoint URL and a time-limited authentication token for the specified session. Use
        the endpoint and token to connect a client to the session. Call this operation again when the authentication token
        expires to obtain a new token.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSessionEndpointResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrServerlessInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrServerlessResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmrServerlessValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the application that the session belongs to.
      - name: sessionId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the session.
      tags:
      - Endpoints
      servers:
      - url: https://emr-serverless.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_emr_serverless: []
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: emr-containers
    sigv4_emr_serverless:
      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: emr-serverless
  schemas:
    Certificate:
      type: object
      properties:
        certificateArn:
          type: string
          description: The ARN of the certificate generated for managed endpoint.
        certificateData:
          type: string
          description: The base64 encoded PEM certificate data generated for managed endpoint.
    CloudWatchMonitoringConfiguration:
      type: object
      properties:
        logGroupName:
          type: string
          description: The name of the log group for log publishing.
        logStreamNamePrefix:
          type: string
          description: The specified name prefix for log streams.
      required:
      - logGroupName
    ConfigurationOverrides:
      type: object
      properties:
        applicationConfiguration:
          type: array
          items:
            $ref: '#/components/schemas/EmrContainersConfiguration'
          description: The configurations for the application running by the job run.
        monitoringConfiguration:
          $ref: '#/components/schemas/EmrContainersMonitoringConfiguration'
    ContainerLogRotationConfiguration:
      type: object
      properties:
        rotationSize:
          type: string
          description: The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.
        maxFilesToKeep:
          type: integer
          description: The number of files to keep in container after rotation.
      required:
      - rotationSize
      - maxFilesToKeep
    CreateManagedEndpointResponse:
      type: object
      properties:
        id:
          type: string
          description: The output contains the ID of the managed endpoint.
        name:
          type: string
          description: The output contains the name of the managed endpoint.
        arn:
          type: string
          description: The output contains the ARN of the managed endpoint.
        virtualClusterId:
          type: string
          description: The output contains the ID of the virtual cluster.
    DeleteManagedEndpointResponse:
      type: object
      properties:
        id:
          type: string
          description: The output displays the ID of the managed endpoint.
        virtualClusterId:
          type: string
          description: The output displays the ID of the endpoint's virtual cluster.
    DescribeManagedEndpointResponse:
      type: object
      properties:
        endpoint:
          $ref: '#/components/schemas/Endpoint'
    EmrContainersConfiguration:
      type: object
      properties:
        classification:
          type: string
          description: The classification within a configuration.
        properties:
          type: object
          additionalProperties:
            type: string
          description: A set of properties specified within a configuration classification.
        configurations:
          type: array
          items:
            $ref: '#/components/schemas/EmrContainersConfiguration'
          description: A list of additional configurations to apply within a configuration object.
      required:
      - classification
    EmrContainersInternalServerException:
      type: object
      properties:
        message:
          type: string
    EmrContainersMonitoringConfiguration:
      type: object
      properties:
        managedLogs:
          $ref: '#/components/schemas/ManagedLogs'
        persistentAppUI:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Monitoring configurations for the persistent application UI.
        cloudWatchMonitoringConfiguration:
          $ref: '#/components/schemas/CloudWatchMonitoringConfiguration'
        s3MonitoringConfiguration:
          $ref: '#/components/schemas/EmrContainersS3MonitoringConfiguration'
        containerLogRotationConfiguration:
          $ref: '#/components/schemas/ContainerLogRotationConfiguration'
    EmrContainersS3MonitoringConfiguration:
      type: object
      properties:
        logUri:
          type: string
          description: Amazon S3 destination URI for log publishing.
        encryptionKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the encryption key for logs.
      required:
      - logUri
    EmrServerlessInternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    EmrServerlessResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    EmrServerlessValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    Endpoint:
      type: object
      properties:
        id:
          type: string
          description: The ID of the endpoint.
        name:
          type: string
          description: The name of the endpoint.
        arn:
          type: string
          description: The ARN of the endpoint.
        virtualClusterId:
          type: string
          description: The ID of the endpoint's virtual cluster.
        type:
          type: string
          description: The type of the endpoint.
        state:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - TERMINATING
          - TERMINATED
          - TERMINATED_WITH_ERRORS
          description: The state of the endpoint.
        releaseLabel:
          type: string
          description: The EMR release version to be used for the endpoint.
        executionRoleArn:
          type: string
          description: The execution role ARN of the endpoint.
        certificateArn:
          type: string
          description: The certificate ARN of the endpoint. This field is under deprecation and will be removed in future.
        certificateAuthority:
          $ref: '#/components/schemas/Certificate'
        configurationOverrides:
          $ref: '#/components/schemas/ConfigurationOverrides'
        serverUrl:
          type: string
          description: The server URL of the endpoint.
        authProxyUrl:
          type: string
          description: The authentication proxy URL of the endpoint.
        createdAt:
          type: string
          format: date-time
          description: The date and time when the endpoint was created.
        securityGroup:
          type: string
          description: The security group configuration of the endpoint.
        subnetIds:
          type: array
          items:
            type: string
          description: The subnet IDs of the endpoint.
        stateDetails:
          type: string
          description: Additional details of the endpoint state.
        failureReason:
          type: string
          enum:
          - INTERNAL_ERROR
          - USER_ERROR
          - VALIDATION_ERROR
          - CLUSTER_UNAVAILABLE
          description: The reasons why the endpoint has failed.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags of the endpoint.
    GetSessionEndpointResponse:
      type: object
      properties:
        applicationId:
          type: string
          description: The output contains the ID of the application.
        sessionId:
          type: string
          description: The output contains the ID of the session.
        endpoint:
          type: string
          description: The endpoint URL for connecting to the session.
        authToken:
          type: string
          description: The authentication token for connecting to the session endpoint. Call GetSessionEndpoint again to obtain
            a new token before it expires.
        authTokenExpiresAt:
          type: string
          format: date-time
          description: The expiration time of the authentication token.
      required:
      - applicationId
      - sessionId
      - endpoint
      - authToken
      - authTokenExpiresAt
    ListManagedEndpointsResponse:
      type: object
      properties:
        endpoints:
          type: array
          items:
            $ref: '#/components/schemas/Endpoint'
          description: The managed endpoints to be listed.
        nextToken:
          type: string
          description: The token for the next set of endpoints to return.
    ManagedLogs:
      type: object
      properties:
        allowAWSToRetainLogs:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Determines whether Amazon Web Services can retain logs.
        encryptionKeyArn:
          type: string
          description: The Amazon resource name (ARN) of the encryption key for logs.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ValidationException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/emr-containers/service/2020-10-01/emr-containers-2020-10-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)
  sources:
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/emr-containers/service/2020-10-01/emr-containers-2020-10-01.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/emr-serverless/service/2021-07-13/emr-serverless-2021-07-13.json