Amazon ElastiCache Elasticache Tag API
The Elasticache Tag API from Amazon ElastiCache — 3 operation(s) for elasticache tag.
The Elasticache Tag API from Amazon ElastiCache — 3 operation(s) for elasticache 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-elasticache:amazon-elasticache-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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Amazon ElastiCache Tag API
version: '2015-02-02'
description: Generated from AWS's published Smithy model for Amazon ElastiCache. 3 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://elasticache.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
tags:
- name: Tag
paths:
/?Action=AddTagsToResource:
post:
operationId: AddTagsToResource
summary: Add Tags To Resource
description: A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your ElastiCache resources. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the replication group. For more information, see Resource-level permissions. For example, you can use cost-allocation tags to your ElastiCache resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags in Amazon ElastiCache in the ElastiCache User Guide.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/TagListMessage'
example:
TagList:
- Value: '20150202'
Key: APIVersion
- Value: ElastiCache
Key: Service
'404':
description: CacheClusterNotFoundFault; CacheParameterGroupNotFoundFault; CacheSecurityGroupNotFoundFault; GlobalReplicationGroupNotFoundFault; ReplicationGroupNotFoundFault; ReservedCacheNodeNotFoundFault; ServerlessCacheNotFoundFault; ServerlessCacheSnapshotNotFoundFault; SnapshotNotFoundFault; UserGroupNotFoundFault; UserNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/CacheClusterNotFoundFault'
'400':
description: CacheSubnetGroupNotFoundFault; InvalidARNFault; InvalidParameterValueException; InvalidReplicationGroupStateFault; InvalidServerlessCacheSnapshotStateFault; InvalidServerlessCacheStateFault; TagQuotaPerResourceExceeded
content:
text/xml:
schema:
$ref: '#/components/schemas/CacheSubnetGroupNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: AddTagsToResource
Version:
type: string
const: '2015-02-02'
- $ref: '#/components/schemas/AddTagsToResourceMessage'
example:
ResourceName: arn:aws:elasticache:us-east-1:1234567890:cluster:my-mem-cluster
Tags:
- Value: '20150202'
Key: APIVersion
- Value: ElastiCache
Key: Service
tags:
- Tag
/?Action=ListTagsForResource:
post:
operationId: ListTagsForResource
summary: List Tags For Resource
description: Lists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your ElastiCache resources. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the replication group. For more information, see Resource-level permissions. If the cluster is not in the available state, ListTagsForResource returns an error.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/TagListMessage'
example:
TagList:
- Value: '20150202'
Key: APIVersion
- Value: ElastiCache
Key: Service
'404':
description: CacheClusterNotFoundFault; CacheParameterGroupNotFoundFault; CacheSecurityGroupNotFoundFault; GlobalReplicationGroupNotFoundFault; ReplicationGroupNotFoundFault; ReservedCacheNodeNotFoundFault; ServerlessCacheNotFoundFault; ServerlessCacheSnapshotNotFoundFault; SnapshotNotFoundFault; UserGroupNotFoundFault; UserNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/CacheClusterNotFoundFault'
'400':
description: CacheSubnetGroupNotFoundFault; InvalidARNFault; InvalidParameterValueException; InvalidReplicationGroupStateFault; InvalidServerlessCacheSnapshotStateFault; InvalidServerlessCacheStateFault
content:
text/xml:
schema:
$ref: '#/components/schemas/CacheSubnetGroupNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: ListTagsForResource
Version:
type: string
const: '2015-02-02'
- $ref: '#/components/schemas/ListTagsForResourceMessage'
example:
ResourceName: arn:aws:elasticache:us-west-2:<my-account-id>:cluster:mycluster
tags:
- Tag
/?Action=RemoveTagsFromResource:
post:
operationId: RemoveTagsFromResource
summary: Remove Tags From Resource
description: Removes the tags identified by the TagKeys list from the named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your ElastiCache resources. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the replication group. For more information, see Resource-level permissions.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/TagListMessage'
example:
TagList:
- Value: Banana
Key: B
- Value: Dog
Key: D
- Value: Fox
Key: F
- Value: ''
Key: I
- Value: Kite
Key: K
'404':
description: CacheClusterNotFoundFault; CacheParameterGroupNotFoundFault; CacheSecurityGroupNotFoundFault; GlobalReplicationGroupNotFoundFault; ReplicationGroupNotFoundFault; ReservedCacheNodeNotFoundFault; ServerlessCacheNotFoundFault; ServerlessCacheSnapshotNotFoundFault; SnapshotNotFoundFault; TagNotFoundFault; UserGroupNotFoundFault; UserNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/CacheClusterNotFoundFault'
'400':
description: CacheSubnetGroupNotFoundFault; InvalidARNFault; InvalidParameterValueException; InvalidReplicationGroupStateFault; InvalidServerlessCacheSnapshotStateFault; InvalidServerlessCacheStateFault
content:
text/xml:
schema:
$ref: '#/components/schemas/CacheSubnetGroupNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: RemoveTagsFromResource
Version:
type: string
const: '2015-02-02'
- $ref: '#/components/schemas/RemoveTagsFromResourceMessage'
example:
ResourceName: arn:aws:elasticache:us-east-1:1234567890:cluster:my-mem-cluster
TagKeys:
- A
- C
- E
tags:
- Tag
components:
schemas:
AddTagsToResourceMessage:
type: object
properties:
ResourceName:
type: string
description: The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. ElastiCache resources are cluster and snapshot. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
required:
- ResourceName
- Tags
ListTagsForResourceMessage:
type: object
properties:
ResourceName:
type: string
description: The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
required:
- ResourceName
CacheClusterNotFoundFault:
type: object
properties:
message:
type: string
RemoveTagsFromResourceMessage:
type: object
properties:
ResourceName:
type: string
description: The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
TagKeys:
type: array
items:
type: string
description: A list of TagKeys identifying the tags you want removed from the named resource.
required:
- ResourceName
- TagKeys
CacheSubnetGroupNotFoundFault:
type: object
properties:
message:
type: string
TagListMessage:
type: object
properties:
TagList:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of tags as key-value pairs.
Tag:
type: object
properties:
Key:
type: string
description: The key for the tag. May not be null.
Value:
type: string
description: The tag's value. May be null.
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: elasticache
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/elasticache/service/2015-02-02/elasticache-2015-02-02.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)