import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetTimelineEventInput, GetTimelineEventOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetTimelineEventCommand}. */ export interface GetTimelineEventCommandInput extends GetTimelineEventInput { } /** * @public * * The output of {@link GetTimelineEventCommand}. */ export interface GetTimelineEventCommandOutput extends GetTimelineEventOutput, __MetadataBearer { } declare const GetTimelineEventCommand_base: { new (input: GetTimelineEventCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetTimelineEventCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves a timeline event based on its ID and incident record.

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