Amazon.ElastiCache.AmazonElastiCacheClient.ListTagsForResource C# (CSharp) Method

ListTagsForResource() public method

Lists all cost allocation tags currently on the named resource. A cost allocation tag is a key-value pair where the key is case-sensitive and the value is optional. You can use cost allocation tags to categorize and track your AWS costs.

You can have a maximum of 10 cost allocation tags on an ElastiCache resource. For more information, see Using Cost Allocation Tags in Amazon ElastiCache.

/// 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. ///
public ListTagsForResource ( ListTagsForResourceRequest request ) : ListTagsForResourceResponse
request ListTagsForResourceRequest Container for the necessary parameters to execute the ListTagsForResource service method.
return ListTagsForResourceResponse
        public ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
        {
            var marshaller = new ListTagsForResourceRequestMarshaller();
            var unmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;

            return Invoke<ListTagsForResourceRequest,ListTagsForResourceResponse>(request, marshaller, unmarshaller);
        }
AmazonElastiCacheClient