import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListDatasetsCommand}. */ export interface ListDatasetsCommandInput extends ListDatasetsRequest { } /** * @public * * The output of {@link ListDatasetsCommand}. */ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __MetadataBearer { } declare const ListDatasetsCommand_base: { new (input: ListDatasetsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListDatasetsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the list of datasets contained in the given dataset group. The * response provides the properties for each dataset, including the Amazon * Resource Name (ARN). For more information on datasets, see CreateDataset.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, ListDatasetsCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, ListDatasetsCommand } = 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 = { // ListDatasetsRequest * datasetGroupArn: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListDatasetsCommand(input); * const response = await client.send(command); * // { // ListDatasetsResponse * // datasets: [ // Datasets * // { // DatasetSummary * // name: "STRING_VALUE", * // datasetArn: "STRING_VALUE", * // datasetType: "STRING_VALUE", * // status: "STRING_VALUE", * // creationDateTime: new Date("TIMESTAMP"), * // lastUpdatedDateTime: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDatasetsCommandInput - {@link ListDatasetsCommandInput} * @returns {@link ListDatasetsCommandOutput} * @see {@link ListDatasetsCommandInput} for command's `input` shape. * @see {@link ListDatasetsCommandOutput} for command's `response` shape. * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

* * @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 ListDatasetsCommand extends ListDatasetsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDatasetsRequest; output: ListDatasetsResponse; }; sdk: { input: ListDatasetsCommandInput; output: ListDatasetsCommandOutput; }; }; }