Amazon EMR Emr Tags API

The Emr Tags API from Amazon EMR — 1 operation(s) for emr tags.

GitHub OpenAPI

Operations 5

POST /#AddTags Add Tags #
POST /#RemoveTags Remove Tags #
GET /tags/{resourceArn} List Tags For Resource #
POST /tags/{resourceArn} Tag Resource #
DELETE /tags/{resourceArn} Untag Resource #

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-tags-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-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon EMR Tags 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:
  /#AddTags:
    post:
      operationId: AddTags
      summary: Add Tags
      description: Adds tags to an Amazon EMR resource, such as a cluster or an Amazon EMR Studio. Tags make it easier to
        associate resources in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs.
        For more information, see Tag Clusters.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AddTagsOutput'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - ElasticMapReduce.AddTags
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/AddTagsInput'
      tags:
      - Tags
      servers:
      - url: https://elasticmapreduce.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_elasticmapreduce: []
  /#RemoveTags:
    post:
      operationId: RemoveTags
      summary: Remove Tags
      description: 'Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. Tags make it easier
        to associate resources in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs.
        For more information, see Tag Clusters. The following example removes the stack tag with value Prod from a cluster:'
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/RemoveTagsOutput'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - ElasticMapReduce.RemoveTags
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/RemoveTagsInput'
      tags:
      - Tags
      servers:
      - url: https://elasticmapreduce.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_elasticmapreduce: []
  /tags/{resourceArn}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Lists the tags assigned to the resources.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceResponse'
        '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: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of tagged resources.
      tags:
      - Tags
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
        consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services
        resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you
        can quickly identify a specific resource based on the tags you've assigned to it. For example, you can define a set
        of tags for your Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We recommend that
        you devise a consistent set of tag keys for each resource type. You can then search and filter the resources based
        on the tags that you add.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '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: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of resources.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags assigned to resources.
              required:
              - tags
      tags:
      - Tags
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes tags from resources.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '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: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of resources.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: The tag keys of the resources.
      tags:
      - Tags
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_elasticmapreduce:
      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: elasticmapreduce
  schemas:
    AddTagsInput:
      type: object
      properties:
        ResourceId:
          type: string
          description: The Amazon EMR resource identifier to which tags will be added. For example, a cluster identifier or
            an Amazon EMR Studio ID.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tags to associate with a resource. Tags are user-defined key-value pairs that consist of
            a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
        ClusterId:
          type: string
          description: The ID of the cluster that scopes the tag operation. Required when the resource being tagged is a session-scoped
            resource.
      required:
      - ResourceId
      - Tags
    AddTagsOutput:
      type: object
      properties: {}
    EmrContainersInternalServerException:
      type: object
      properties:
        message:
          type: string
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
          description: The message associated with the exception.
    InvalidRequestException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: The error code associated with the exception.
        Message:
          type: string
          description: The message associated with the exception.
    ListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags assigned to resources.
    RemoveTagsInput:
      type: object
      properties:
        ResourceId:
          type: string
          description: The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier
            or an Amazon EMR Studio ID.
        TagKeys:
          type: array
          items:
            type: string
          description: A list of tag keys to remove from the resource.
        ClusterId:
          type: string
          description: The ID of the cluster that scopes the tag operation. Required when the resource being untagged is a
            session-scoped resource.
      required:
      - ResourceId
      - TagKeys
    RemoveTagsOutput:
      type: object
      properties: {}
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: A user-defined key, which is the minimum required information for a valid tag. For more information,
            see Tag.
        Value:
          type: string
          description: A user-defined value, which is optional in a tag. For more information, see Tag Clusters.
    TagResourceResponse:
      type: object
      properties: {}
    UntagResourceResponse:
      type: object
      properties: {}
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/service/2009-03-31/emr-2009-03-31.json