@Override
    public ListAttacksResult listAttacks(ListAttacksRequest request) {
        request = beforeClientExecution(request);
        return executeListAttacks(request);
    }
<p>
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
</p>

@param listAttacksRequest
@return Result of the ListAttacks operation returned by the service.
@throws InternalErrorException
        Exception that indicates that a problem occurred with the service infrastructure. You can retry the
        request.
@throws InvalidParameterException
        Exception that indicates that the parameters passed to the API are invalid. If available, this exception
        includes details in additional properties.
@throws InvalidOperationException
        Exception that indicates that the operation would not cause any change to occur.
@sample AWSShield.ListAttacks
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacks" target="_top">AWS API
     Documentation</a>
aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/AWSShieldClient.java