Amazon.ElastiCache.AmazonElastiCacheClient.AddTagsToResource C# (CSharp) 메소드

AddTagsToResource() 공개 메소드

Adds up to 10 cost allocation tags to the named resource. A cost allocation tag is a key-value pair where the key and value are case-sensitive. You can use cost allocation tags to categorize and track your AWS costs.

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 in the ElastiCache User Guide.

/// The requested cache cluster ID does not refer to an existing cache cluster. /// /// The requested Amazon Resource Name (ARN) does not refer to an existing resource. /// /// The requested snapshot name does not refer to an existing snapshot. /// /// 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. ///
public AddTagsToResource ( AddTagsToResourceRequest request ) : Amazon.ElastiCache.Model.AddTagsToResourceResponse
request Amazon.ElastiCache.Model.AddTagsToResourceRequest Container for the necessary parameters to execute the AddTagsToResource service method.
리턴 Amazon.ElastiCache.Model.AddTagsToResourceResponse
        public AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request)
        {
            var marshaller = new AddTagsToResourceRequestMarshaller();
            var unmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;

            return Invoke<AddTagsToResourceRequest,AddTagsToResourceResponse>(request, marshaller, unmarshaller);
        }
AmazonElastiCacheClient