Amazon Systems Manager Systems Manager Tag API
The Systems Manager Tag API from Amazon Systems Manager — 3 operation(s) for systems manager tag.
The Systems Manager Tag API from Amazon Systems Manager — 3 operation(s) for systems manager tag.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-systems-manager:amazon-systems-manager-tag-api"
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.
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: 3.1.0
info:
title: Amazon Simple Systems Manager (SSM) Tag API
version: '2014-11-06'
description: Generated from AWS's published Smithy model for Amazon Simple Systems Manager (SSM). 10 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://ssm.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#AddTagsToResource:
post:
operationId: AddTagsToResource
summary: Add Tags To Resource
description: 'Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign
to your automations, documents, managed nodes, maintenance windows, Parameter Store parameters, and patch baselines.
Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each
tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags
for your account''s managed nodes that helps you track each node''s owner and stack level. For example: Key=Owner,Value=DbAdmin
Key=Owner,Value=SysAdmin Key=Owner,Value=Dev Key=Stack,Value=Production Key=Stack,Value=Pre-Production Key=Stack,Value=Test
Most resources can have a maximum of 50 tags. Automations can have a maximum of 5 tags. We recommend that you devise
a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier
for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don''t have
any semantic meaning to and are interpreted strictly as a string of characters. For more information about using tags
with Amazon Elastic Compute Clou'
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AddTagsToResourceResult'
'500':
description: InternalServerError
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InternalServerError'
'400':
description: InvalidResourceId; InvalidResourceType; TooManyTagsError; TooManyUpdates
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InvalidResourceId'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AmazonSSM.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: Returns a list of the tags assigned to the specified resource. For information about the ID format for
each supported resource type, see AddTagsToResource.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListTagsForResourceResult'
'500':
description: InternalServerError
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InternalServerError'
'400':
description: InvalidResourceId; InvalidResourceType
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InvalidResourceId'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AmazonSSM.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: Removes tag keys from the specified resource.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RemoveTagsFromResourceResult'
'500':
description: InternalServerError
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InternalServerError'
'400':
description: InvalidResourceId; InvalidResourceType; TooManyUpdates
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InvalidResourceId'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AmazonSSM.RemoveTagsFromResource
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RemoveTagsFromResourceRequest'
tags:
- Tag
/tags/{ResourceArn}:
get:
operationId: ListTagsForResource
summary: List Tags For Resource
description: Returns tags assigned to the resource.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ListTagsForResourceResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupAccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupValidationException'
parameters:
- name: ResourceArn
in: path
required: true
schema:
type: string
description: The ARN of the resource the tag is assigned to.
tags:
- Tag
servers:
- url: https://ssm-quicksetup.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_ssm_quicksetup: []
put:
operationId: TagResource
summary: Tag Resource
description: Assigns key-value pairs of metadata to Amazon Web Services resources.
responses:
'200':
description: Success
content:
application/json:
schema:
type: string
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupAccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupValidationException'
parameters:
- name: ResourceArn
in: path
required: true
schema:
type: string
description: The ARN of the resource to tag.
requestBody:
content:
application/json:
schema:
type: object
properties:
Tags:
type: object
additionalProperties:
type: string
description: Key-value pairs of metadata to assign to the resource.
required:
- Tags
tags:
- Tag
servers:
- url: https://ssm-quicksetup.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_ssm_quicksetup: []
delete:
operationId: UntagResource
summary: Untag Resource
description: Removes tags from the specified resource.
responses:
'200':
description: Success
content:
application/json:
schema:
type: string
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupAccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmQuicksetupValidationException'
parameters:
- name: ResourceArn
in: path
required: true
schema:
type: string
description: The ARN of the resource to remove tags from.
- name: tagKeys
in: query
required: true
schema:
type: array
items:
type: string
description: The keys of the tags to remove from the resource.
tags:
- Tag
servers:
- url: https://ssm-quicksetup.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_ssm_quicksetup: []
post:
operationId: TagResource
summary: Tag Resource
description: Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources.
Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for
a resource.
responses:
'200':
description: Success
content:
application/json:
schema:
type: string
'400':
description: BadRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/AppconfigInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/AppconfigResourceNotFoundException'
parameters:
- name: ResourceArn
in: path
required: true
schema:
type: string
description: The ARN of the resource for which to retrieve tags.
requestBody:
content:
application/json:
schema:
type: object
properties:
Tags:
type: object
additionalProperties:
type: string
description: The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up
to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
required:
- Tags
example:
ResourceArn: arn:aws:appconfig:us-east-1:111122223333:application/339ohji
Tags:
group1: '1'
tags:
- Tag
servers:
- url: https://appconfig.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_appconfig: []
/tags/{resourceArn}:
get:
operationId: ListTagsForResource
summary: List Tags For Resource
description: Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/SsmSapListTagsForResourceResponse'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmSapValidationException'
parameters:
- name: resourceArn
in: path
required: true
schema:
type: string
description: The Amazon Resource Name (ARN) of the resource.
tags:
- Tag
servers:
- url: https://ssm-sap.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_ssm_sap: []
post:
operationId: TagResource
summary: Tag Resource
description: Creates tag for a resource by specifying the ARN.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/TagResourceResponse'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmSapValidationException'
parameters:
- name: resourceArn
in: path
required: true
schema:
type: string
description: The Amazon Resource Name (ARN) of the resource.
requestBody:
content:
application/json:
schema:
type: object
properties:
tags:
type: object
additionalProperties:
type: string
description: The tags on a resource.
required:
- tags
tags:
- Tag
servers:
- url: https://ssm-sap.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_ssm_sap: []
delete:
operationId: UntagResource
summary: Untag Resource
description: Delete the tags for a resource.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UntagResourceResponse'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/SsmSapValidationException'
parameters:
- name: resourceArn
in: path
required: true
schema:
type: string
description: The Amazon Resource Name (ARN) of the resource.
- name: tagKeys
in: query
required: true
schema:
type: array
items:
type: string
description: Adds/updates or removes credentials for applications registered with AWS Systems Manager for SAP.
tags:
- Tag
servers:
- url: https://ssm-sap.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_ssm_sap: []
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: ssm
sigv4_ssm_quicksetup:
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: ssm-quicksetup
sigv4_ssm_sap:
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: ssm-sap
sigv4_appconfig:
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: appconfig
schemas:
AddTagsToResourceRequest:
type: object
properties:
ResourceType:
type: string
enum:
- Document
- ManagedInstance
- MaintenanceWindow
- Parameter
- PatchBaseline
- OpsItem
- OpsMetadata
- Automation
- Association
- CloudConnector
description: 'Specifies the type of resource you are tagging. The ManagedInstance type for this API operation is
for on-premises managed nodes. You must specify the name of the managed node in the following format: mi-ID_number
. For example, mi-1a2b3c4d5e6f.'
ResourceId:
type: string
description: 'The resource ID you want to tag. Use the ID of the resource. Here are some examples: MaintenanceWindow:
mw-012345abcde PatchBaseline: pb-012345abcde Automation: example-c160-4567-8519-012345abcde OpsMetadata object:
ResourceID for tagging is created from the Amazon Resource Name (ARN) for the object. Specifically, ResourceID
is created from the strings that come after the word opsmetadata in the ARN. For example, an OpsMetadata object
with an ARN of arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a ResourceID of either
aws/ssm/MyGroup/appmanager or /aws/ssm/MyGroup/'
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: One or more tags. The value parameter is required. Don't enter personally identifiable information
in this field.
required:
- ResourceType
- ResourceId
- Tags
AddTagsToResourceResult:
type: object
properties: {}
AppconfigInternalServerException:
type: object
properties:
Message:
type: string
AppconfigResourceNotFoundException:
type: object
properties:
Message:
type: string
ResourceName:
type: string
BadRequestDetails:
type: object
properties:
InvalidConfiguration:
type: array
items:
$ref: '#/components/schemas/InvalidConfigurationDetail'
description: Detailed information about the bad request exception error when creating a hosted configuration version.
description: Exactly one member is set.
BadRequestException:
type: object
properties:
Message:
type: string
Reason:
type: string
enum:
- InvalidConfiguration
Details:
$ref: '#/components/schemas/BadRequestDetails'
ConflictException:
type: object
properties:
Message:
type: string
InternalServerError:
type: object
properties:
Message:
type: string
InvalidConfigurationDetail:
type: object
properties:
Constraint:
type: string
description: The invalid or out-of-range validation constraint in your JSON schema that failed validation.
Location:
type: string
description: Location of the validation constraint in the configuration JSON schema that failed validation.
Reason:
type: string
description: The reason for an invalid configuration error.
Type:
type: string
description: The type of error for an invalid configuration.
Value:
type: string
description: Details about an error with Lambda when a synchronous extension experiences an error during an invocation.
InvalidResourceId:
type: object
properties: {}
ListTagsForResourceRequest:
type: object
properties:
ResourceType:
type: string
enum:
- Document
- ManagedInstance
- MaintenanceWindow
- Parameter
- PatchBaseline
- OpsItem
- OpsMetadata
- Automation
- Association
- CloudConnector
description: Returns a list of tags for a specific resource type.
ResourceId:
type: string
description: The resource ID for which you want to see a list of tags.
required:
- ResourceType
- ResourceId
ListTagsForResourceResponse:
type: object
properties:
Tags:
type: array
items:
$ref: '#/components/schemas/TagEntry'
description: Key-value pairs of metadata assigned to the resource.
ListTagsForResourceResult:
type: object
properties:
TagList:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of tags.
RemoveTagsFromResourceRequest:
type: object
properties:
ResourceType:
type: string
enum:
- Document
- ManagedInstance
- MaintenanceWindow
- Parameter
- PatchBaseline
- OpsItem
- OpsMetadata
- Automation
- Association
- CloudConnector
description: 'The type of resource from which you want to remove a tag. The ManagedInstance type for this API operation
is only for on-premises managed nodes. Specify the name of the managed node in the following format: mi-ID_number
. For example, mi-1a2b3c4d5e6f.'
ResourceId:
type: string
description: 'The ID of the resource from which you want to remove tags. For example: ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde Automation: example-c160-4567-8519-012345abcde PatchBaseline: pb-012345abcde
OpsMetadata object: ResourceID for tagging is created from the Amazon Resource Name (ARN) for the object. Specifically,
ResourceID is created from the strings that come after the word opsmetadata in the ARN. For example, an OpsMetadata
object with an ARN of arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a ResourceID
of either aws/ssm/MyGroup/appmanager o'
TagKeys:
type: array
items:
type: string
description: Tag keys that you want to remove from the specified resource.
required:
- ResourceType
- ResourceId
- TagKeys
RemoveTagsFromResourceResult:
type: object
properties: {}
ResourceNotFoundException:
type: object
properties:
Message:
type: string
SsmQuicksetupAccessDeniedException:
type: object
properties:
Message:
type: string
SsmQuicksetupInternalServerException:
type: object
properties:
Message:
type: string
SsmQuicksetupThrottlingException:
type: object
properties:
Message:
type: string
required:
- Message
SsmQuicksetupValidationException:
type: object
properties:
Message:
type: string
SsmSapListTagsForResourceResponse:
type: object
properties:
tags:
type: object
additionalProperties:
type: string
SsmSapValidationException:
type: object
properties:
Message:
type: string
Tag:
type: object
properties:
Key:
type: string
description: The name of the tag.
Value:
type: string
description: The value of the tag.
required:
- Key
- Value
TagEntry:
type: object
properties:
Key:
type: string
description: The key for the tag.
Value:
type: string
description: The value for the tag.
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/ssm/service/2014-11-06/ssm-2014-11-06.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/ssm/service/2014-11-06/ssm-2014-11-06.json
- https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/ssm-quicksetup/service/2018-05-10/ssm-quicksetup-2018-05-10.json
- https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/ssm-sap/service/2018-05-10/ssm-sap-2018-05-10.json
- https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/appconfig/service/2019-10-09/appconfig-2019-10-09.json