@Override
    public ListTasksResult listTasks(ListTasksRequest request) {
        request = beforeClientExecution(request);
        return executeListTasks(request);
    }
<p>
Returns a list of tasks that can be filtered by state.
</p>

@param listTasksRequest
@return Result of the ListTasks operation returned by the service.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws InternalServerException
        An unexpected error occurred while processing the request.
@throws ValidationException
        The input fails to satisfy the constraints specified by an Amazon Web Services service.
@throws AccessDeniedException
        You don't have sufficient access to perform this action.
@sample AWSSnowDeviceManagement.ListTasks
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListTasks"
     target="_top">AWS API Documentation</a>
aws-java-sdk-snowdevicemanagement/src/main/java/com/amazonaws/services/snowdevicemanagement/AWSSnowDeviceManagementClient.java