Amazon.CodeDeploy.AmazonCodeDeployClient.AddTagsToOnPremisesInstancesAsync C# (CSharp) Method

AddTagsToOnPremisesInstancesAsync() public method

Initiates the asynchronous execution of the AddTagsToOnPremisesInstances operation.
public AddTagsToOnPremisesInstancesAsync ( AddTagsToOnPremisesInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeDeploy.Model.AddTagsToOnPremisesInstancesRequest Container for the necessary parameters to execute the AddTagsToOnPremisesInstances operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AddTagsToOnPremisesInstancesResponse> AddTagsToOnPremisesInstancesAsync(AddTagsToOnPremisesInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AddTagsToOnPremisesInstancesRequestMarshaller();
            var unmarshaller = AddTagsToOnPremisesInstancesResponseUnmarshaller.Instance;

            return InvokeAsync<AddTagsToOnPremisesInstancesRequest,AddTagsToOnPremisesInstancesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient