import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDomainsRequest, ListDomainsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @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/core/client").CommandImpl; new (...[input]: [] | [ListDomainsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all cases domains in the Amazon Web Services account. Each list item is a condensed summary object of the domain.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectCasesClient, ListDomainsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import * // const { ConnectCasesClient, ListDomainsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import * // import type { ConnectCasesClientConfig } from "@aws-sdk/client-connectcases"; * const config = {}; // type is ConnectCasesClientConfig * const client = new ConnectCasesClient(config); * const input = { // ListDomainsRequest * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListDomainsCommand(input); * const response = await client.send(command); * // { // ListDomainsResponse * // domains: [ // DomainSummaryList // required * // { // DomainSummary * // domainId: "STRING_VALUE", // required * // domainArn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // }, * // ], * // 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 ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

We couldn't process your request because of an issue with the server. Try again later.

* * @throws {@link ThrottlingException} (client fault) *

The rate has been exceeded for this API. Please try again after a few minutes.

* * @throws {@link ValidationException} (client fault) *

The request isn't valid. Check the syntax and try again.

* * @throws {@link ConnectCasesServiceException} *

Base exception class for all service exceptions from ConnectCases 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; }; }; }