Amazon.Shield.AmazonShieldClient.DeleteProtectionAsync C# (CSharp) Method

DeleteProtectionAsync() public method

Initiates the asynchronous execution of the DeleteProtection operation.
public DeleteProtectionAsync ( DeleteProtectionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Shield.Model.DeleteProtectionRequest Container for the necessary parameters to execute the DeleteProtection operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DeleteProtectionResponse> DeleteProtectionAsync(DeleteProtectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DeleteProtectionRequestMarshaller();
            var unmarshaller = DeleteProtectionResponseUnmarshaller.Instance;

            return InvokeAsync<DeleteProtectionRequest,DeleteProtectionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }