Amazon WorkSpaces Workspaces Tags API

The Workspaces Tags API from Amazon WorkSpaces — 1 operation(s) for workspaces tags.

GitHub OpenAPI

Operations 7

POST /#CreateTags Create Tags #
POST /#DeleteTags Delete Tags #
POST /#DescribeTags Describe Tags #
POST /#ListTagsForResource List Tags For Resource #
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-workspaces:amazon-workspaces-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-workspaces-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon WorkSpaces Tags API
  version: '2015-04-08'
  description: Generated from AWS's published Smithy model for Amazon WorkSpaces. 7 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://workspaces.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateTags:
    post:
      operationId: CreateTags
      summary: Create Tags
      description: Creates the specified tags for the specified WorkSpaces resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateTagsResult'
        '400':
          description: InvalidParameterValuesException; ResourceLimitExceededException; ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidParameterValuesException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - WorkspacesService.CreateTags
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateTagsRequest'
      tags:
      - Tags
  /#DeleteTags:
    post:
      operationId: DeleteTags
      summary: Delete Tags
      description: Deletes the specified tags from the specified WorkSpaces resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteTagsResult'
        '400':
          description: InvalidParameterValuesException; ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidParameterValuesException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - WorkspacesService.DeleteTags
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteTagsRequest'
      tags:
      - Tags
  /#DescribeTags:
    post:
      operationId: DescribeTags
      summary: Describe Tags
      description: Describes the specified tags for the specified WorkSpaces resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeTagsResult'
        '400':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - WorkspacesService.DescribeTags
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeTagsRequest'
      tags:
      - Tags
  /#ListTagsForResource:
    post:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Retrieves tags for a WorkSpace Instance.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/WorkspacesInstancesAccessDeniedException'
        '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/WorkspacesInstancesResourceNotFoundException'
        '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:
          - EUCMIFrontendAPIService.ListTagsForResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListTagsForResourceRequest'
      tags:
      - Tags
      servers:
      - url: https://workspaces-instances.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_workspaces_instances: []
  /tags/{resourceArn}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Returns a list of tags for a resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientListTagsForResourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientValidationException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags.
      tags:
      - Tags
      servers:
      - url: https://thinclient.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_thinclient: []
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Assigns one or more tags (key-value pairs) to the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientValidationException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource that you want to tag.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A map of the key-value pairs of the tag or tags to assign to the resource.
              required:
              - tags
      tags:
      - Tags
      servers:
      - url: https://thinclient.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_thinclient: []
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes a tag or tags from a resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThinclientValidationException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource that you want to untag.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: The keys of the key-value pairs for the tag or tags you want to remove from the specified resource.
      tags:
      - Tags
      servers:
      - url: https://thinclient.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_thinclient: []
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: workspaces
    sigv4_workspaces_instances:
      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: workspaces-instances
    sigv4_thinclient:
      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: thinclient
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    CreateTagsRequest:
      type: object
      properties:
        ResourceId:
          type: string
          description: The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered
            directories, images, custom bundles, IP access control groups, and connection aliases.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags. Each WorkSpaces resource can have a maximum of 50 tags.
      required:
      - ResourceId
      - Tags
    CreateTagsResult:
      type: object
      properties: {}
    DeleteTagsRequest:
      type: object
      properties:
        ResourceId:
          type: string
          description: The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered
            directories, images, custom bundles, IP access control groups, and connection aliases.
        TagKeys:
          type: array
          items:
            type: string
          description: The tag keys.
      required:
      - ResourceId
      - TagKeys
    DeleteTagsResult:
      type: object
      properties: {}
    DescribeTagsRequest:
      type: object
      properties:
        ResourceId:
          type: string
          description: The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered
            directories, images, custom bundles, IP access control groups, and connection aliases.
      required:
      - ResourceId
    DescribeTagsResult:
      type: object
      properties:
        TagList:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags.
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
          description: Description of the internal server error.
        RetryAfterSeconds:
          type: integer
          description: Recommended wait time before retrying the request.
      required:
      - Message
    InvalidParameterValuesException:
      type: object
      properties:
        message:
          type: string
          description: The exception error message.
    ListTagsForResourceRequest:
      type: object
      properties:
        WorkspaceInstanceId:
          type: string
          description: Unique identifier of the WorkSpace Instance.
      required:
      - WorkspaceInstanceId
    ListTagsForResourceResponse:
      type: object
      properties:
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/WorkspacesInstancesTag'
          description: Collection of tags associated with the WorkSpace Instance.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The resource could not be found.
        ResourceId:
          type: string
          description: The ID of the resource that could not be found.
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the tag.
        Value:
          type: string
          description: The value of the tag.
      required:
      - Key
    TagResourceResponse:
      type: object
      properties: {}
    ThinclientConflictException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the resource associated with the request.
        resourceType:
          type: string
          description: The type of the resource associated with the request.
    ThinclientInternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the next request.
    ThinclientListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: A map of the key-value pairs for the tag or tags assigned to the specified resource.
    ThinclientResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the resource associated with the request.
        resourceType:
          type: string
          description: The type of the resource associated with the request.
    ThinclientThrottlingException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The code for the service in Service Quotas.
        quotaCode:
          type: string
          description: The code for the quota in Service Quotas.
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the next request.
    ThinclientValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          enum:
          - unknownOperation
          - cannotParse
          - fieldValidationFailed
          - other
          description: The reason for the exception.
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ThinclientValidationExceptionField'
          description: A list of fields that didn't validate.
    ThinclientValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the exception.
        message:
          type: string
          description: A message that describes the reason for the exception.
      required:
      - name
      - message
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
          description: Description of the throttling event.
        ServiceCode:
          type: string
          description: Code identifying the service experiencing throttling.
        QuotaCode:
          type: string
          description: Specific code for the throttling quota.
        RetryAfterSeconds:
          type: integer
          description: Recommended wait time before retrying the request.
      required:
      - Message
    UntagResourceResponse:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        Message:
          type: string
          description: Overall description of validation failures.
        Reason:
          type: string
          enum:
          - UNKNOWN_OPERATION
          - UNSUPPORTED_OPERATION
          - CANNOT_PARSE
          - FIELD_VALIDATION_FAILED
          - DEPENDENCY_FAILURE
          - OTHER
          description: Specific reason for the validation failure.
        FieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: List of fields that failed validation.
      required:
      - Message
      - Reason
    ValidationExceptionField:
      type: object
      properties:
        Name:
          type: string
          description: Name of the field that failed validation.
        Reason:
          type: string
          description: Reason for the validation failure.
        Message:
          type: string
          description: Detailed error message describing the validation issue.
      required:
      - Name
      - Reason
      - Message
    WorkspacesInstancesAccessDeniedException:
      type: object
      properties:
        Message:
          type: string
          description: Detailed explanation of the access denial.
      required:
      - Message
    WorkspacesInstancesResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: Details about the missing resource.
        ResourceId:
          type: string
          description: Identifier of the resource that was not found.
        ResourceType:
          type: string
          description: Type of the resource that was not found.
      required:
      - Message
      - ResourceId
      - ResourceType
    WorkspacesInstancesTag:
      type: object
      properties:
        Key:
          type: string
          description: Unique identifier for the tag.
        Value:
          type: string
          description: Value associated with the tag key.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/workspaces/service/2015-04-08/workspaces-2015-04-08.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/workspaces/service/2015-04-08/workspaces-2015-04-08.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/workspaces-instances/service/2022-07-26/workspaces-instances-2022-07-26.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/workspaces-thin-client/service/2023-08-22/workspaces-thin-client-2023-08-22.json