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

ListAttacks() public method

Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
/// Exception that indicates that a problem occurred with the service infrastructure. /// You can retry the request. /// /// Exception that indicates that the operation would not cause any change to occur. /// /// Exception that indicates that the parameters passed to the API are invalid. ///
public ListAttacks ( ListAttacksRequest request ) : ListAttacksResponse
request Amazon.Shield.Model.ListAttacksRequest Container for the necessary parameters to execute the ListAttacks service method.
return Amazon.Shield.Model.ListAttacksResponse
        public ListAttacksResponse ListAttacks(ListAttacksRequest request)
        {
            var marshaller = new ListAttacksRequestMarshaller();
            var unmarshaller = ListAttacksResponseUnmarshaller.Instance;

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