import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetWorkflowExecutionHistoryInput, History } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetWorkflowExecutionHistoryCommand}. */ export interface GetWorkflowExecutionHistoryCommandInput extends GetWorkflowExecutionHistoryInput { } /** * @public * * The output of {@link GetWorkflowExecutionHistoryCommand}. */ export interface GetWorkflowExecutionHistoryCommandOutput extends History, __MetadataBearer { } declare const GetWorkflowExecutionHistoryCommand_base: { new (input: GetWorkflowExecutionHistoryCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetWorkflowExecutionHistoryCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the history of the specified workflow execution. The results may be split into * multiple pages. To retrieve subsequent pages, make the call again using the * nextPageToken returned by the initial call.

* *

This operation is eventually consistent. The results are best effort and may not * exactly reflect recent updates and changes.

*
*

* Access Control *

*

You can use IAM policies to control this action's access to Amazon SWF resources as * follows:

* *

If the caller doesn't have sufficient permissions to invoke the action, or the * parameter values fall outside the specified constraints, the action fails. The associated * event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. * For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF * Workflows in the Amazon SWF Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SWFClient, GetWorkflowExecutionHistoryCommand } from "@aws-sdk/client-swf"; // ES Modules import * // const { SWFClient, GetWorkflowExecutionHistoryCommand } = require("@aws-sdk/client-swf"); // CommonJS import * // import type { SWFClientConfig } from "@aws-sdk/client-swf"; * const config = {}; // type is SWFClientConfig * const client = new SWFClient(config); * const input = { // GetWorkflowExecutionHistoryInput * domain: "STRING_VALUE", // required * execution: { // WorkflowExecution * workflowId: "STRING_VALUE", // required * runId: "STRING_VALUE", // required * }, * nextPageToken: "STRING_VALUE", * maximumPageSize: Number("int"), * reverseOrder: true || false, * }; * const command = new GetWorkflowExecutionHistoryCommand(input); * const response = await client.send(command); * // { // History * // events: [ // HistoryEventList // required * // { // HistoryEvent * // eventTimestamp: new Date("TIMESTAMP"), // required * // eventType: "WorkflowExecutionStarted" || "WorkflowExecutionCancelRequested" || "WorkflowExecutionCompleted" || "CompleteWorkflowExecutionFailed" || "WorkflowExecutionFailed" || "FailWorkflowExecutionFailed" || "WorkflowExecutionTimedOut" || "WorkflowExecutionCanceled" || "CancelWorkflowExecutionFailed" || "WorkflowExecutionContinuedAsNew" || "ContinueAsNewWorkflowExecutionFailed" || "WorkflowExecutionTerminated" || "DecisionTaskScheduled" || "DecisionTaskStarted" || "DecisionTaskCompleted" || "DecisionTaskTimedOut" || "ActivityTaskScheduled" || "ScheduleActivityTaskFailed" || "ActivityTaskStarted" || "ActivityTaskCompleted" || "ActivityTaskFailed" || "ActivityTaskTimedOut" || "ActivityTaskCanceled" || "ActivityTaskCancelRequested" || "RequestCancelActivityTaskFailed" || "WorkflowExecutionSignaled" || "MarkerRecorded" || "RecordMarkerFailed" || "TimerStarted" || "StartTimerFailed" || "TimerFired" || "TimerCanceled" || "CancelTimerFailed" || "StartChildWorkflowExecutionInitiated" || "StartChildWorkflowExecutionFailed" || "ChildWorkflowExecutionStarted" || "ChildWorkflowExecutionCompleted" || "ChildWorkflowExecutionFailed" || "ChildWorkflowExecutionTimedOut" || "ChildWorkflowExecutionCanceled" || "ChildWorkflowExecutionTerminated" || "SignalExternalWorkflowExecutionInitiated" || "SignalExternalWorkflowExecutionFailed" || "ExternalWorkflowExecutionSignaled" || "RequestCancelExternalWorkflowExecutionInitiated" || "RequestCancelExternalWorkflowExecutionFailed" || "ExternalWorkflowExecutionCancelRequested" || "LambdaFunctionScheduled" || "LambdaFunctionStarted" || "LambdaFunctionCompleted" || "LambdaFunctionFailed" || "LambdaFunctionTimedOut" || "ScheduleLambdaFunctionFailed" || "StartLambdaFunctionFailed", // required * // eventId: Number("long"), // required * // workflowExecutionStartedEventAttributes: { // WorkflowExecutionStartedEventAttributes * // input: "STRING_VALUE", * // executionStartToCloseTimeout: "STRING_VALUE", * // taskStartToCloseTimeout: "STRING_VALUE", * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required * // taskList: { // TaskList * // name: "STRING_VALUE", // required * // }, * // taskPriority: "STRING_VALUE", * // workflowType: { // WorkflowType * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // }, * // tagList: [ // TagList * // "STRING_VALUE", * // ], * // continuedExecutionRunId: "STRING_VALUE", * // parentWorkflowExecution: { // WorkflowExecution * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", // required * // }, * // parentInitiatedEventId: Number("long"), * // lambdaRole: "STRING_VALUE", * // }, * // workflowExecutionCompletedEventAttributes: { // WorkflowExecutionCompletedEventAttributes * // result: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // completeWorkflowExecutionFailedEventAttributes: { // CompleteWorkflowExecutionFailedEventAttributes * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // workflowExecutionFailedEventAttributes: { // WorkflowExecutionFailedEventAttributes * // reason: "STRING_VALUE", * // details: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // failWorkflowExecutionFailedEventAttributes: { // FailWorkflowExecutionFailedEventAttributes * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // workflowExecutionTimedOutEventAttributes: { // WorkflowExecutionTimedOutEventAttributes * // timeoutType: "START_TO_CLOSE", // required * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required * // }, * // workflowExecutionCanceledEventAttributes: { // WorkflowExecutionCanceledEventAttributes * // details: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // cancelWorkflowExecutionFailedEventAttributes: { // CancelWorkflowExecutionFailedEventAttributes * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // workflowExecutionContinuedAsNewEventAttributes: { // WorkflowExecutionContinuedAsNewEventAttributes * // input: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // newExecutionRunId: "STRING_VALUE", // required * // executionStartToCloseTimeout: "STRING_VALUE", * // taskList: { * // name: "STRING_VALUE", // required * // }, * // taskPriority: "STRING_VALUE", * // taskStartToCloseTimeout: "STRING_VALUE", * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required * // tagList: [ * // "STRING_VALUE", * // ], * // workflowType: { * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // }, * // lambdaRole: "STRING_VALUE", * // }, * // continueAsNewWorkflowExecutionFailedEventAttributes: { // ContinueAsNewWorkflowExecutionFailedEventAttributes * // cause: "UNHANDLED_DECISION" || "WORKFLOW_TYPE_DEPRECATED" || "WORKFLOW_TYPE_DOES_NOT_EXIST" || "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_LIST_UNDEFINED" || "DEFAULT_CHILD_POLICY_UNDEFINED" || "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // workflowExecutionTerminatedEventAttributes: { // WorkflowExecutionTerminatedEventAttributes * // reason: "STRING_VALUE", * // details: "STRING_VALUE", * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required * // cause: "CHILD_POLICY_APPLIED" || "EVENT_LIMIT_EXCEEDED" || "OPERATOR_INITIATED", * // }, * // workflowExecutionCancelRequestedEventAttributes: { // WorkflowExecutionCancelRequestedEventAttributes * // externalWorkflowExecution: { * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", // required * // }, * // externalInitiatedEventId: Number("long"), * // cause: "CHILD_POLICY_APPLIED", * // }, * // decisionTaskScheduledEventAttributes: { // DecisionTaskScheduledEventAttributes * // taskList: { * // name: "STRING_VALUE", // required * // }, * // taskPriority: "STRING_VALUE", * // startToCloseTimeout: "STRING_VALUE", * // scheduleToStartTimeout: "STRING_VALUE", * // }, * // decisionTaskStartedEventAttributes: { // DecisionTaskStartedEventAttributes * // identity: "STRING_VALUE", * // scheduledEventId: Number("long"), // required * // }, * // decisionTaskCompletedEventAttributes: { // DecisionTaskCompletedEventAttributes * // executionContext: "STRING_VALUE", * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // taskList: { * // name: "STRING_VALUE", // required * // }, * // taskListScheduleToStartTimeout: "STRING_VALUE", * // }, * // decisionTaskTimedOutEventAttributes: { // DecisionTaskTimedOutEventAttributes * // timeoutType: "START_TO_CLOSE" || "SCHEDULE_TO_START", // required * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // activityTaskScheduledEventAttributes: { // ActivityTaskScheduledEventAttributes * // activityType: { // ActivityType * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // }, * // activityId: "STRING_VALUE", // required * // input: "STRING_VALUE", * // control: "STRING_VALUE", * // scheduleToStartTimeout: "STRING_VALUE", * // scheduleToCloseTimeout: "STRING_VALUE", * // startToCloseTimeout: "STRING_VALUE", * // taskList: { * // name: "STRING_VALUE", // required * // }, * // taskPriority: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // heartbeatTimeout: "STRING_VALUE", * // }, * // activityTaskStartedEventAttributes: { // ActivityTaskStartedEventAttributes * // identity: "STRING_VALUE", * // scheduledEventId: Number("long"), // required * // }, * // activityTaskCompletedEventAttributes: { // ActivityTaskCompletedEventAttributes * // result: "STRING_VALUE", * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // activityTaskFailedEventAttributes: { // ActivityTaskFailedEventAttributes * // reason: "STRING_VALUE", * // details: "STRING_VALUE", * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // activityTaskTimedOutEventAttributes: { // ActivityTaskTimedOutEventAttributes * // timeoutType: "START_TO_CLOSE" || "SCHEDULE_TO_START" || "SCHEDULE_TO_CLOSE" || "HEARTBEAT", // required * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // details: "STRING_VALUE", * // }, * // activityTaskCanceledEventAttributes: { // ActivityTaskCanceledEventAttributes * // details: "STRING_VALUE", * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // latestCancelRequestedEventId: Number("long"), * // }, * // activityTaskCancelRequestedEventAttributes: { // ActivityTaskCancelRequestedEventAttributes * // decisionTaskCompletedEventId: Number("long"), // required * // activityId: "STRING_VALUE", // required * // }, * // workflowExecutionSignaledEventAttributes: { // WorkflowExecutionSignaledEventAttributes * // signalName: "STRING_VALUE", // required * // input: "STRING_VALUE", * // externalWorkflowExecution: { * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", // required * // }, * // externalInitiatedEventId: Number("long"), * // }, * // markerRecordedEventAttributes: { // MarkerRecordedEventAttributes * // markerName: "STRING_VALUE", // required * // details: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // recordMarkerFailedEventAttributes: { // RecordMarkerFailedEventAttributes * // markerName: "STRING_VALUE", // required * // cause: "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // timerStartedEventAttributes: { // TimerStartedEventAttributes * // timerId: "STRING_VALUE", // required * // control: "STRING_VALUE", * // startToFireTimeout: "STRING_VALUE", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // timerFiredEventAttributes: { // TimerFiredEventAttributes * // timerId: "STRING_VALUE", // required * // startedEventId: Number("long"), // required * // }, * // timerCanceledEventAttributes: { // TimerCanceledEventAttributes * // timerId: "STRING_VALUE", // required * // startedEventId: Number("long"), // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // startChildWorkflowExecutionInitiatedEventAttributes: { // StartChildWorkflowExecutionInitiatedEventAttributes * // workflowId: "STRING_VALUE", // required * // workflowType: { * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // }, * // control: "STRING_VALUE", * // input: "STRING_VALUE", * // executionStartToCloseTimeout: "STRING_VALUE", * // taskList: "", // required * // taskPriority: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required * // taskStartToCloseTimeout: "STRING_VALUE", * // tagList: [ * // "STRING_VALUE", * // ], * // lambdaRole: "STRING_VALUE", * // }, * // childWorkflowExecutionStartedEventAttributes: { // ChildWorkflowExecutionStartedEventAttributes * // workflowExecution: { * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", // required * // }, * // workflowType: { * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // }, * // initiatedEventId: Number("long"), // required * // }, * // childWorkflowExecutionCompletedEventAttributes: { // ChildWorkflowExecutionCompletedEventAttributes * // workflowExecution: { * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", // required * // }, * // workflowType: { * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // }, * // result: "STRING_VALUE", * // initiatedEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // childWorkflowExecutionFailedEventAttributes: { // ChildWorkflowExecutionFailedEventAttributes * // workflowExecution: "", // required * // workflowType: "", // required * // reason: "STRING_VALUE", * // details: "STRING_VALUE", * // initiatedEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // childWorkflowExecutionTimedOutEventAttributes: { // ChildWorkflowExecutionTimedOutEventAttributes * // workflowExecution: "", // required * // workflowType: "", // required * // timeoutType: "START_TO_CLOSE", // required * // initiatedEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // childWorkflowExecutionCanceledEventAttributes: { // ChildWorkflowExecutionCanceledEventAttributes * // workflowExecution: "", // required * // workflowType: "", // required * // details: "STRING_VALUE", * // initiatedEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // childWorkflowExecutionTerminatedEventAttributes: { // ChildWorkflowExecutionTerminatedEventAttributes * // workflowExecution: "", // required * // workflowType: "", // required * // initiatedEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // }, * // signalExternalWorkflowExecutionInitiatedEventAttributes: { // SignalExternalWorkflowExecutionInitiatedEventAttributes * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", * // signalName: "STRING_VALUE", // required * // input: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // control: "STRING_VALUE", * // }, * // externalWorkflowExecutionSignaledEventAttributes: { // ExternalWorkflowExecutionSignaledEventAttributes * // workflowExecution: "", // required * // initiatedEventId: Number("long"), // required * // }, * // signalExternalWorkflowExecutionFailedEventAttributes: { // SignalExternalWorkflowExecutionFailedEventAttributes * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", * // cause: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" || "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required * // initiatedEventId: Number("long"), // required * // decisionTaskCompletedEventId: Number("long"), // required * // control: "STRING_VALUE", * // }, * // externalWorkflowExecutionCancelRequestedEventAttributes: { // ExternalWorkflowExecutionCancelRequestedEventAttributes * // workflowExecution: "", // required * // initiatedEventId: Number("long"), // required * // }, * // requestCancelExternalWorkflowExecutionInitiatedEventAttributes: { // RequestCancelExternalWorkflowExecutionInitiatedEventAttributes * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // control: "STRING_VALUE", * // }, * // requestCancelExternalWorkflowExecutionFailedEventAttributes: { // RequestCancelExternalWorkflowExecutionFailedEventAttributes * // workflowId: "STRING_VALUE", // required * // runId: "STRING_VALUE", * // cause: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" || "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required * // initiatedEventId: Number("long"), // required * // decisionTaskCompletedEventId: Number("long"), // required * // control: "STRING_VALUE", * // }, * // scheduleActivityTaskFailedEventAttributes: { // ScheduleActivityTaskFailedEventAttributes * // activityType: { * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // }, * // activityId: "STRING_VALUE", // required * // cause: "ACTIVITY_TYPE_DEPRECATED" || "ACTIVITY_TYPE_DOES_NOT_EXIST" || "ACTIVITY_ID_ALREADY_IN_USE" || "OPEN_ACTIVITIES_LIMIT_EXCEEDED" || "ACTIVITY_CREATION_RATE_EXCEEDED" || "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_LIST_UNDEFINED" || "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" || "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // requestCancelActivityTaskFailedEventAttributes: { // RequestCancelActivityTaskFailedEventAttributes * // activityId: "STRING_VALUE", // required * // cause: "ACTIVITY_ID_UNKNOWN" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // startTimerFailedEventAttributes: { // StartTimerFailedEventAttributes * // timerId: "STRING_VALUE", // required * // cause: "TIMER_ID_ALREADY_IN_USE" || "OPEN_TIMERS_LIMIT_EXCEEDED" || "TIMER_CREATION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // cancelTimerFailedEventAttributes: { // CancelTimerFailedEventAttributes * // timerId: "STRING_VALUE", // required * // cause: "TIMER_ID_UNKNOWN" || "OPERATION_NOT_PERMITTED", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // startChildWorkflowExecutionFailedEventAttributes: { // StartChildWorkflowExecutionFailedEventAttributes * // workflowType: "", // required * // cause: "WORKFLOW_TYPE_DOES_NOT_EXIST" || "WORKFLOW_TYPE_DEPRECATED" || "OPEN_CHILDREN_LIMIT_EXCEEDED" || "OPEN_WORKFLOWS_LIMIT_EXCEEDED" || "CHILD_CREATION_RATE_EXCEEDED" || "WORKFLOW_ALREADY_RUNNING" || "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_LIST_UNDEFINED" || "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_CHILD_POLICY_UNDEFINED" || "OPERATION_NOT_PERMITTED", // required * // workflowId: "STRING_VALUE", // required * // initiatedEventId: Number("long"), // required * // decisionTaskCompletedEventId: Number("long"), // required * // control: "STRING_VALUE", * // }, * // lambdaFunctionScheduledEventAttributes: { // LambdaFunctionScheduledEventAttributes * // id: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // control: "STRING_VALUE", * // input: "STRING_VALUE", * // startToCloseTimeout: "STRING_VALUE", * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // lambdaFunctionStartedEventAttributes: { // LambdaFunctionStartedEventAttributes * // scheduledEventId: Number("long"), // required * // }, * // lambdaFunctionCompletedEventAttributes: { // LambdaFunctionCompletedEventAttributes * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // result: "STRING_VALUE", * // }, * // lambdaFunctionFailedEventAttributes: { // LambdaFunctionFailedEventAttributes * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // reason: "STRING_VALUE", * // details: "STRING_VALUE", * // }, * // lambdaFunctionTimedOutEventAttributes: { // LambdaFunctionTimedOutEventAttributes * // scheduledEventId: Number("long"), // required * // startedEventId: Number("long"), // required * // timeoutType: "START_TO_CLOSE", * // }, * // scheduleLambdaFunctionFailedEventAttributes: { // ScheduleLambdaFunctionFailedEventAttributes * // id: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // cause: "ID_ALREADY_IN_USE" || "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" || "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" || "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION", // required * // decisionTaskCompletedEventId: Number("long"), // required * // }, * // startLambdaFunctionFailedEventAttributes: { // StartLambdaFunctionFailedEventAttributes * // scheduledEventId: Number("long"), * // cause: "ASSUME_ROLE_FAILED", * // message: "STRING_VALUE", * // }, * // }, * // ], * // nextPageToken: "STRING_VALUE", * // }; * * ``` * * @param GetWorkflowExecutionHistoryCommandInput - {@link GetWorkflowExecutionHistoryCommandInput} * @returns {@link GetWorkflowExecutionHistoryCommandOutput} * @see {@link GetWorkflowExecutionHistoryCommandInput} for command's `input` shape. * @see {@link GetWorkflowExecutionHistoryCommandOutput} for command's `response` shape. * @see {@link SWFClientResolvedConfig | config} for SWFClient's `config` shape. * * @throws {@link OperationNotPermittedFault} (client fault) *

Returned when the caller doesn't have sufficient permissions to invoke the action.

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

Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.

* * @throws {@link SWFServiceException} *

Base exception class for all service exceptions from SWF service.

* * * @public */ export declare class GetWorkflowExecutionHistoryCommand extends GetWorkflowExecutionHistoryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetWorkflowExecutionHistoryInput; output: History; }; sdk: { input: GetWorkflowExecutionHistoryCommandInput; output: GetWorkflowExecutionHistoryCommandOutput; }; }; }