@Override
    public ListDatasetsResult listDatasets(ListDatasetsRequest request) {
        request = beforeClientExecution(request);
        return executeListDatasets(request);
    }
<p>
Returns a list of datasets created using the <a
href="https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html">CreateDataset</a> operation. For
each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned. To retrieve the
complete set of properties, use the ARN with the <a
href="https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDataset.html">DescribeDataset</a> operation.
</p>

@param listDatasetsRequest
@return Result of the ListDatasets operation returned by the service.
@throws InvalidNextTokenException
        The token is not valid. Tokens expire after 24 hours.
@sample AmazonForecast.ListDatasets
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasets" target="_top">AWS API
     Documentation</a>
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/AmazonForecastClient.java