Amazon.DirectConnect.AmazonDirectConnectClient.TagResource C# (CSharp) Method

TagResource() public method

Adds the specified tags to the specified Direct Connect resource. Each Direct Connect resource can have a maximum of 50 tags.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the Direct Connect resource, this action updates its value.

/// The API was called with invalid parameters. The error message will contain additional /// details about the cause. /// /// A server-side error occurred during the API call. The error message will contain additional /// details about the cause. /// /// A tag key was specified more than once. /// /// You have reached the limit on the number of tags that can be assigned to a Direct /// Connect resource. ///
public TagResource ( TagResourceRequest request ) : TagResourceResponse
request TagResourceRequest Container for the necessary parameters to execute the TagResource service method.
return TagResourceResponse
        public TagResourceResponse TagResource(TagResourceRequest request)
        {
            var marshaller = new TagResourceRequestMarshaller();
            var unmarshaller = TagResourceResponseUnmarshaller.Instance;

            return Invoke<TagResourceRequest,TagResourceResponse>(request, marshaller, unmarshaller);
        }
AmazonDirectConnectClient