import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartIncidentInput, StartIncidentOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartIncidentCommand}. */ export interface StartIncidentCommandInput extends StartIncidentInput { } /** * @public * * The output of {@link StartIncidentCommand}. */ export interface StartIncidentCommandOutput extends StartIncidentOutput, __MetadataBearer { } declare const StartIncidentCommand_base: { new (input: StartIncidentCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartIncidentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Used to start an incident from CloudWatch alarms, EventBridge events, or * manually.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMIncidentsClient, StartIncidentCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import * // const { SSMIncidentsClient, StartIncidentCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import * // import type { SSMIncidentsClientConfig } from "@aws-sdk/client-ssm-incidents"; * const config = {}; // type is SSMIncidentsClientConfig * const client = new SSMIncidentsClient(config); * const input = { // StartIncidentInput * clientToken: "STRING_VALUE", * responsePlanArn: "STRING_VALUE", // required * title: "STRING_VALUE", * impact: Number("int"), * triggerDetails: { // TriggerDetails * source: "STRING_VALUE", // required * triggerArn: "STRING_VALUE", * timestamp: new Date("TIMESTAMP"), // required * rawData: "STRING_VALUE", * }, * relatedItems: [ // RelatedItemList * { // RelatedItem * identifier: { // ItemIdentifier * value: { // ItemValue Union: only one key present * arn: "STRING_VALUE", * url: "STRING_VALUE", * metricDefinition: "STRING_VALUE", * pagerDutyIncidentDetail: { // PagerDutyIncidentDetail * id: "STRING_VALUE", // required * autoResolve: true || false, * secretId: "STRING_VALUE", * }, * }, * type: "STRING_VALUE", // required * }, * title: "STRING_VALUE", * generatedId: "STRING_VALUE", * }, * ], * }; * const command = new StartIncidentCommand(input); * const response = await client.send(command); * // { // StartIncidentOutput * // incidentRecordArn: "STRING_VALUE", // required * // }; * * ``` * * @param StartIncidentCommandInput - {@link StartIncidentCommandInput} * @returns {@link StartIncidentCommandOutput} * @see {@link StartIncidentCommandInput} for command's `input` shape. * @see {@link StartIncidentCommandOutput} for command's `response` shape. * @see {@link SSMIncidentsClientResolvedConfig | config} for SSMIncidentsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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

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

Updating or deleting a resource causes an inconsistent state.

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

The request processing has failed because of an unknown error, exception or * failure.

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

Request references a resource which 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 SSMIncidentsServiceException} *

Base exception class for all service exceptions from SSMIncidents service.

* * * @public */ export declare class StartIncidentCommand extends StartIncidentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartIncidentInput; output: StartIncidentOutput; }; sdk: { input: StartIncidentCommandInput; output: StartIncidentCommandOutput; }; }; }