@Override
    public ListDatasetGroupsResult listDatasetGroups(ListDatasetGroupsRequest request) {
        request = beforeClientExecution(request);
        return executeListDatasetGroups(request);
    }
<p>
Returns a list of dataset groups created using the <a
href="https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html">CreateDatasetGroup</a>
operation. For each dataset group, this operation returns a summary of its properties, including its Amazon
Resource Name (ARN). You can retrieve the complete set of properties by using the dataset group ARN with the <a
href="https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html">DescribeDatasetGroup</a>
operation.
</p>

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