import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListContactsRequest, ListContactsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListContactsCommand}. */ export interface ListContactsCommandInput extends ListContactsRequest { } /** * @public * * The output of {@link ListContactsCommand}. */ export interface ListContactsCommandOutput extends ListContactsResult, __MetadataBearer { } declare const ListContactsCommand_base: { new (input: ListContactsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListContactsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all contacts and escalation plans in Incident Manager.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMContactsClient, ListContactsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import * // const { SSMContactsClient, ListContactsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import * // import type { SSMContactsClientConfig } from "@aws-sdk/client-ssm-contacts"; * const config = {}; // type is SSMContactsClientConfig * const client = new SSMContactsClient(config); * const input = { // ListContactsRequest * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * AliasPrefix: "STRING_VALUE", * Type: "PERSONAL" || "ESCALATION" || "ONCALL_SCHEDULE", * }; * const command = new ListContactsCommand(input); * const response = await client.send(command); * // { // ListContactsResult * // NextToken: "STRING_VALUE", * // Contacts: [ // ContactsList * // { // Contact * // ContactArn: "STRING_VALUE", // required * // Alias: "STRING_VALUE", // required * // DisplayName: "STRING_VALUE", * // Type: "PERSONAL" || "ESCALATION" || "ONCALL_SCHEDULE", // required * // }, * // ], * // }; * * ``` * * @param ListContactsCommandInput - {@link ListContactsCommandInput} * @returns {@link ListContactsCommandOutput} * @see {@link ListContactsCommandInput} for command's `input` shape. * @see {@link ListContactsCommandOutput} for command's `response` shape. * @see {@link SSMContactsClientResolvedConfig | config} for SSMContactsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this operation.

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

Unexpected error occurred while processing the request.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an Amazon Web Services * service.

* * @throws {@link SSMContactsServiceException} *

Base exception class for all service exceptions from SSMContacts service.

* * * @public */ export declare class ListContactsCommand extends ListContactsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListContactsRequest; output: ListContactsResult; }; sdk: { input: ListContactsCommandInput; output: ListContactsCommandOutput; }; }; }