AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
When you apply tags to your ElastiCache resources, AWS 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.
Namespace: Amazon.ElastiCache
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual AddTagsToResourceResponse AddTagsToResource( AddTagsToResourceRequest request )
Container for the necessary parameters to execute the AddTagsToResource service method.
Exception | Condition |
---|---|
CacheClusterNotFoundException | The requested cache cluster ID does not refer to an existing cache cluster. |
InvalidARNException | The requested Amazon Resource Name (ARN) does not refer to an existing resource. |
SnapshotNotFoundException | The requested snapshot name does not refer to an existing snapshot. |
TagQuotaPerResourceExceededException | The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 10. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5