import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartEngagementRequest, StartEngagementResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartEngagementCommand}. */ export interface StartEngagementCommandInput extends StartEngagementRequest { } /** * @public * * The output of {@link StartEngagementCommand}. */ export interface StartEngagementCommandOutput extends StartEngagementResult, __MetadataBearer { } declare const StartEngagementCommand_base: { new (input: StartEngagementCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartEngagementCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Starts an engagement to a contact or escalation plan. The engagement engages each * contact specified in the incident.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMContactsClient, StartEngagementCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import * // const { SSMContactsClient, StartEngagementCommand } = 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 = { // StartEngagementRequest * ContactId: "STRING_VALUE", // required * Sender: "STRING_VALUE", // required * Subject: "STRING_VALUE", // required * Content: "STRING_VALUE", // required * PublicSubject: "STRING_VALUE", * PublicContent: "STRING_VALUE", * IncidentId: "STRING_VALUE", * IdempotencyToken: "STRING_VALUE", * }; * const command = new StartEngagementCommand(input); * const response = await client.send(command); * // { // StartEngagementResult * // EngagementArn: "STRING_VALUE", // required * // }; * * ``` * * @param StartEngagementCommandInput - {@link StartEngagementCommandInput} * @returns {@link StartEngagementCommandOutput} * @see {@link StartEngagementCommandInput} for command's `input` shape. * @see {@link StartEngagementCommandOutput} 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 StartEngagementCommand extends StartEngagementCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartEngagementRequest; output: StartEngagementResult; }; sdk: { input: StartEngagementCommandInput; output: StartEngagementCommandOutput; }; }; }