Menu
Amazon ElastiCache
API Reference (API Version 2015-02-02)

RemoveTagsFromResource

Removes the tags identified by the TagKeys list from the named resource.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ResourceName

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 AWS Service Namespaces.

Type: String

Required: Yes

TagKeys.member.N

A list of TagKeys identifying the tags you want removed from the named resource.

Type: Array of strings

Required: Yes

Response Elements

The following element is returned by the service.

TagList.Tag.N

A list of cost allocation tags as key-value pairs.

Type: Array of Tag objects

Errors

For information about the errors that are common to all actions, see Common Errors.

CacheClusterNotFound

The requested cluster ID does not refer to an existing cluster.

HTTP Status Code: 404

InvalidARN

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

HTTP Status Code: 400

SnapshotNotFoundFault

The requested snapshot name does not refer to an existing snapshot.

HTTP Status Code: 404

TagNotFound

The requested tag was not found on this resource.

HTTP Status Code: 404

Example

RemoveTagsFromResource

Sample Request

https://elasticache.us-west-2.amazonaws.com/
   ?Action=RemoveTagsFromResource
   &ResourceName=arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
   &SignatureVersion=4
   &SignatureMethod=HmacSHA256
   &TagKeys.member.1=service
   &TagKeys.member.2=organization
   &Version=2015-02-02
   &Timestamp=20150202T192317Z
   &X-Amz-Credential=<credential>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: