import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ListDomainsRequest, ListDomainsResponse } from "../models/models_4"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDomainsCommand}. */ export interface ListDomainsCommandInput extends ListDomainsRequest { } /** * @public * * The output of {@link ListDomainsCommand}. */ export interface ListDomainsCommandOutput extends ListDomainsResponse, __MetadataBearer { } declare const ListDomainsCommand_base: { new (input: ListDomainsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListDomainsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists the domains.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, ListDomainsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, ListDomainsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // ListDomainsRequest * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListDomainsCommand(input); * const response = await client.send(command); * // { // ListDomainsResponse * // Domains: [ // DomainList * // { // DomainDetails * // DomainArn: "STRING_VALUE", * // DomainId: "STRING_VALUE", * // DomainName: "STRING_VALUE", * // Status: "Deleting" || "Failed" || "InService" || "Pending" || "Updating" || "Update_Failed" || "Delete_Failed", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // Url: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDomainsCommandInput - {@link ListDomainsCommandInput} * @returns {@link ListDomainsCommandOutput} * @see {@link ListDomainsCommandInput} for command's `input` shape. * @see {@link ListDomainsCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class ListDomainsCommand extends ListDomainsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDomainsRequest; output: ListDomainsResponse; }; sdk: { input: ListDomainsCommandInput; output: ListDomainsCommandOutput; }; }; }