import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateTimelineEventInput, UpdateTimelineEventOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateTimelineEventCommand}. */ export interface UpdateTimelineEventCommandInput extends UpdateTimelineEventInput { } /** * @public * * The output of {@link UpdateTimelineEventCommand}. */ export interface UpdateTimelineEventCommandOutput extends UpdateTimelineEventOutput, __MetadataBearer { } declare const UpdateTimelineEventCommand_base: { new (input: UpdateTimelineEventCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateTimelineEventCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a timeline event. You can update events of type Custom Event.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMIncidentsClient, UpdateTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import * // const { SSMIncidentsClient, UpdateTimelineEventCommand } = 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 = { // UpdateTimelineEventInput * clientToken: "STRING_VALUE", * incidentRecordArn: "STRING_VALUE", // required * eventId: "STRING_VALUE", // required * eventTime: new Date("TIMESTAMP"), * eventType: "STRING_VALUE", * eventData: "STRING_VALUE", * eventReferences: [ // EventReferenceList * { // EventReference Union: only one key present * resource: "STRING_VALUE", * relatedItemId: "STRING_VALUE", * }, * ], * }; * const command = new UpdateTimelineEventCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateTimelineEventCommandInput - {@link UpdateTimelineEventCommandInput} * @returns {@link UpdateTimelineEventCommandOutput} * @see {@link UpdateTimelineEventCommandInput} for command's `input` shape. * @see {@link UpdateTimelineEventCommandOutput} 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 UpdateTimelineEventCommand extends UpdateTimelineEventCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateTimelineEventInput; output: {}; }; sdk: { input: UpdateTimelineEventCommandInput; output: UpdateTimelineEventCommandOutput; }; }; }