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

ListAttacksAsync() public method

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

            return InvokeAsync<ListAttacksRequest,ListAttacksResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }