import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ActivateContactChannelRequest, ActivateContactChannelResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ActivateContactChannelCommand}. */ export interface ActivateContactChannelCommandInput extends ActivateContactChannelRequest { } /** * @public * * The output of {@link ActivateContactChannelCommand}. */ export interface ActivateContactChannelCommandOutput extends ActivateContactChannelResult, __MetadataBearer { } declare const ActivateContactChannelCommand_base: { new (input: ActivateContactChannelCommandInput): import("@smithy/core/client").CommandImpl; new (input: ActivateContactChannelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Activates a contact's contact channel. Incident Manager can't engage a contact until the * contact channel has been activated.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMContactsClient, ActivateContactChannelCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import * // const { SSMContactsClient, ActivateContactChannelCommand } = 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 = { // ActivateContactChannelRequest * ContactChannelId: "STRING_VALUE", // required * ActivationCode: "STRING_VALUE", // required * }; * const command = new ActivateContactChannelCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param ActivateContactChannelCommandInput - {@link ActivateContactChannelCommandInput} * @returns {@link ActivateContactChannelCommandOutput} * @see {@link ActivateContactChannelCommandInput} for command's `input` shape. * @see {@link ActivateContactChannelCommandOutput} 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 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 ActivateContactChannelCommand extends ActivateContactChannelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ActivateContactChannelRequest; output: {}; }; sdk: { input: ActivateContactChannelCommandInput; output: ActivateContactChannelCommandOutput; }; }; }