import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListContactChannelsRequest, ListContactChannelsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListContactChannelsCommand}. */ export interface ListContactChannelsCommandInput extends ListContactChannelsRequest { } /** * @public * * The output of {@link ListContactChannelsCommand}. */ export interface ListContactChannelsCommandOutput extends ListContactChannelsResult, __MetadataBearer { } declare const ListContactChannelsCommand_base: { new (input: ListContactChannelsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListContactChannelsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all contact channels for the specified contact.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMContactsClient, ListContactChannelsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import * // const { SSMContactsClient, ListContactChannelsCommand } = 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 = { // ListContactChannelsRequest * ContactId: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListContactChannelsCommand(input); * const response = await client.send(command); * // { // ListContactChannelsResult * // NextToken: "STRING_VALUE", * // ContactChannels: [ // ContactChannelList // required * // { // ContactChannel * // ContactChannelArn: "STRING_VALUE", // required * // ContactArn: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // Type: "SMS" || "VOICE" || "EMAIL", * // DeliveryAddress: { // ContactChannelAddress * // SimpleAddress: "STRING_VALUE", * // }, * // ActivationStatus: "ACTIVATED" || "NOT_ACTIVATED", // required * // }, * // ], * // }; * * ``` * * @param ListContactChannelsCommandInput - {@link ListContactChannelsCommandInput} * @returns {@link ListContactChannelsCommandOutput} * @see {@link ListContactChannelsCommandInput} for command's `input` shape. * @see {@link ListContactChannelsCommandOutput} 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 DataEncryptionException} (client fault) *

The operation failed to due an encryption key error.

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

Unexpected error occurred while processing the request.

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

Request references a resource that doesn't exist.

* * @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 ListContactChannelsCommand extends ListContactChannelsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListContactChannelsRequest; output: ListContactChannelsResult; }; sdk: { input: ListContactChannelsCommandInput; output: ListContactChannelsCommandOutput; }; }; }