Amazon.AutoScaling.AmazonAutoScalingClient.PutLifecycleHookAsync C# (CSharp) Method

PutLifecycleHookAsync() public method

Initiates the asynchronous execution of the PutLifecycleHook operation.
public PutLifecycleHookAsync ( PutLifecycleHookRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutLifecycleHookRequest Container for the necessary parameters to execute the PutLifecycleHook operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<PutLifecycleHookResponse> PutLifecycleHookAsync(PutLifecycleHookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PutLifecycleHookRequestMarshaller();
            var unmarshaller = PutLifecycleHookResponseUnmarshaller.Instance;

            return InvokeAsync<PutLifecycleHookRequest,PutLifecycleHookResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAutoScalingClient