Amazon.ECS.AmazonECSClient.UpdateContainerAgentAsync C# (CSharp) Method

UpdateContainerAgentAsync() public method

Initiates the asynchronous execution of the UpdateContainerAgent operation.
public UpdateContainerAgentAsync ( UpdateContainerAgentRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECS.Model.UpdateContainerAgentRequest Container for the necessary parameters to execute the UpdateContainerAgent operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<UpdateContainerAgentResponse> UpdateContainerAgentAsync(UpdateContainerAgentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new UpdateContainerAgentRequestMarshaller();
            var unmarshaller = UpdateContainerAgentResponseUnmarshaller.Instance;

            return InvokeAsync<UpdateContainerAgentRequest,UpdateContainerAgentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonECSClient