import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDatasetGroupsRequest, ListDatasetGroupsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListDatasetGroupsCommand}. */ export interface ListDatasetGroupsCommandInput extends ListDatasetGroupsRequest { } /** * @public * * The output of {@link ListDatasetGroupsCommand}. */ export interface ListDatasetGroupsCommandOutput extends ListDatasetGroupsResponse, __MetadataBearer { } declare const ListDatasetGroupsCommand_base: { new (input: ListDatasetGroupsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListDatasetGroupsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of dataset groups. The response provides the properties * for each dataset group, including the Amazon Resource Name (ARN). For more * information on dataset groups, see CreateDatasetGroup.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, ListDatasetGroupsCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, ListDatasetGroupsCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(config); * const input = { // ListDatasetGroupsRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListDatasetGroupsCommand(input); * const response = await client.send(command); * // { // ListDatasetGroupsResponse * // datasetGroups: [ // DatasetGroups * // { // DatasetGroupSummary * // name: "STRING_VALUE", * // datasetGroupArn: "STRING_VALUE", * // status: "STRING_VALUE", * // creationDateTime: new Date("TIMESTAMP"), * // lastUpdatedDateTime: new Date("TIMESTAMP"), * // failureReason: "STRING_VALUE", * // domain: "ECOMMERCE" || "VIDEO_ON_DEMAND", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDatasetGroupsCommandInput - {@link ListDatasetGroupsCommandInput} * @returns {@link ListDatasetGroupsCommandOutput} * @see {@link ListDatasetGroupsCommandInput} for command's `input` shape. * @see {@link ListDatasetGroupsCommandOutput} for command's `response` shape. * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The token is not valid.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize service.

* * * @public */ export declare class ListDatasetGroupsCommand extends ListDatasetGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDatasetGroupsRequest; output: ListDatasetGroupsResponse; }; sdk: { input: ListDatasetGroupsCommandInput; output: ListDatasetGroupsCommandOutput; }; }; }