Amazon CloudHSM Cloudhsm Tag API

The Cloudhsm Tag API from Amazon CloudHSM — 3 operation(s) for cloudhsm tag.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

POST /#AddTagsToResource Add Tags To Resource #
POST /#ListTagsForResource List Tags For Resource #
POST /#RemoveTagsFromResource Remove Tags From Resource #
POST /#ListTags List Tags #

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-cloudhsm:amazon-cloudhsm-tag-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-cloudhsm-tag-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon CloudHSM Tag API
  version: '2014-05-30'
  description: Generated from AWS's published Smithy model for Amazon CloudHSM. 4 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://cloudhsm.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#AddTagsToResource:
    post:
      operationId: AddTagsToResource
      summary: Add Tags To Resource
      description: This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the
        AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version
        of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Adds or overwrites
        one or more tags for the specified AWS CloudHSM resource. Each tag consists of a key and a value. Tag keys must be
        unique to each resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AddTagsToResourceResponse'
        '500':
          description: CloudHsmInternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmInternalException'
        '400':
          description: CloudHsmServiceException; InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmServiceException'
      deprecated: true
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - CloudHsmFrontendService.AddTagsToResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/AddTagsToResourceRequest'
      tags:
      - Tag
  /#ListTagsForResource:
    post:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the
        AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version
        of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Returns a list
        of all tags for the specified AWS CloudHSM resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceResponse'
        '500':
          description: CloudHsmInternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmInternalException'
        '400':
          description: CloudHsmServiceException; InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmServiceException'
      deprecated: true
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - CloudHsmFrontendService.ListTagsForResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListTagsForResourceRequest'
      tags:
      - Tag
  /#RemoveTagsFromResource:
    post:
      operationId: RemoveTagsFromResource
      summary: Remove Tags From Resource
      description: This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the
        AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version
        of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Removes one or
        more tags from the specified AWS CloudHSM resource. To remove a tag, specify only the tag key to remove (not the value).
        To overwrite the value for an existing tag, use AddTagsToResource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/RemoveTagsFromResourceResponse'
        '500':
          description: CloudHsmInternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmInternalException'
        '400':
          description: CloudHsmServiceException; InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmServiceException'
      deprecated: true
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - CloudHsmFrontendService.RemoveTagsFromResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/RemoveTagsFromResourceRequest'
      tags:
      - Tag
  /#ListTags:
    post:
      operationId: ListTags
      summary: List Tags
      description: 'Gets a list of tags for the specified CloudHSM cluster. This is a paginated operation, which means that
        each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes
        a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with
        no NextToken (or an empty or null value), that means there are no more tags to get. Cross-account use: No. You cannot
        perform this operation on an CloudHSM resource in a different Amazon Web Services account.'
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListTagsResponse'
        '400':
          description: CloudHsmAccessDeniedException; CloudHsmInvalidRequestException; CloudHsmResourceNotFoundException;
            CloudHsmServiceException; CloudHsmTagException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmAccessDeniedException'
        '500':
          description: CloudHsmInternalFailureException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CloudHsmInternalFailureException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - BaldrApiService.ListTags
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListTagsRequest'
      tags:
      - Tag
      servers:
      - url: https://cloudhsmv2.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
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: cloudhsm
  schemas:
    AddTagsToResourceRequest:
      type: object
      properties:
        ResourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
        TagList:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: One or more tags.
      required:
      - ResourceArn
      - TagList
    AddTagsToResourceResponse:
      type: object
      properties:
        Status:
          type: string
          description: The status of the operation.
      required:
      - Status
    CloudHsmAccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    CloudHsmInternalException:
      type: object
      properties:
        message:
          type: string
          description: Additional information about the error.
        retryable:
          type: boolean
          description: Indicates if the action can be retried.
    CloudHsmInternalFailureException:
      type: object
      properties:
        Message:
          type: string
    CloudHsmServiceException:
      type: object
      properties:
        message:
          type: string
          description: Additional information about the error.
        retryable:
          type: boolean
          description: Indicates if the action can be retried.
    ListTagsForResourceRequest:
      type: object
      properties:
        ResourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
      required:
      - ResourceArn
    ListTagsForResourceResponse:
      type: object
      properties:
        TagList:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: One or more tags.
      required:
      - TagList
    ListTagsRequest:
      type: object
      properties:
        ResourceId:
          type: string
          description: The cluster identifier (ID) for the cluster whose tags you are getting. To find the cluster ID, use
            DescribeClusters.
        NextToken:
          type: string
          description: The NextToken value that you received in the previous response. Use this value to get more tags.
        MaxResults:
          type: integer
          description: The maximum number of tags to return in the response. When there are more tags than the number you
            specify, the response contains a NextToken value.
      required:
      - ResourceId
    ListTagsResponse:
      type: object
      properties:
        TagList:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tags.
        NextToken:
          type: string
          description: An opaque string that indicates that the response contains only a subset of tags. Use this value in
            a subsequent ListTags request to get more tags.
      required:
      - TagList
    RemoveTagsFromResourceRequest:
      type: object
      properties:
        ResourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
        TagKeyList:
          type: array
          items:
            type: string
          description: The tag key or keys to remove. Specify only the tag key to remove (not the value). To overwrite the
            value for an existing tag, use AddTagsToResource.
      required:
      - ResourceArn
      - TagKeyList
    RemoveTagsFromResourceResponse:
      type: object
      properties:
        Status:
          type: string
          description: The status of the operation.
      required:
      - Status
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the tag.
        Value:
          type: string
          description: The value of the tag.
      required:
      - Key
      - Value
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/cloudhsm/service/2014-05-30/cloudhsm-2014-05-30.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/cloudhsm/service/2014-05-30/cloudhsm-2014-05-30.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/cloudhsm-v2/service/2017-04-28/cloudhsm-v2-2017-04-28.json