@aws-sdk/client-lambda 3.942.0 → 3.945.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -0
- package/dist-cjs/index.js +1039 -83
- package/dist-es/Lambda.js +18 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
- package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
- package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +61 -0
- package/dist-es/models/errors.js +32 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +806 -84
- package/dist-types/Lambda.d.ts +63 -0
- package/dist-types/LambdaClient.d.ts +11 -2
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +18 -2
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +10 -2
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +10 -2
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/InvokeCommand.d.ts +7 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +10 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +14 -2
- package/dist-types/commands/PublishVersionCommand.d.ts +6 -2
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
- package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +6 -2
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +18 -2
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +101 -0
- package/dist-types/models/errors.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +1510 -173
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +90 -0
- package/dist-types/ts3.4/Lambda.d.ts +171 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +69 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +322 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -0
- package/package.json +5 -5
|
@@ -9,6 +9,8 @@ import {
|
|
|
9
9
|
EndPointType,
|
|
10
10
|
EventSourceMappingMetric,
|
|
11
11
|
EventSourcePosition,
|
|
12
|
+
EventType,
|
|
13
|
+
ExecutionStatus,
|
|
12
14
|
FullDocument,
|
|
13
15
|
FunctionResponseType,
|
|
14
16
|
FunctionUrlAuthType,
|
|
@@ -22,6 +24,9 @@ import {
|
|
|
22
24
|
LastUpdateStatusReasonCode,
|
|
23
25
|
LogFormat,
|
|
24
26
|
LogType,
|
|
27
|
+
OperationAction,
|
|
28
|
+
OperationStatus,
|
|
29
|
+
OperationType,
|
|
25
30
|
PackageType,
|
|
26
31
|
ProvisionedConcurrencyStatusEnum,
|
|
27
32
|
RecursiveLoop,
|
|
@@ -195,6 +200,100 @@ export interface UpdateCapacityProviderRequest {
|
|
|
195
200
|
export interface UpdateCapacityProviderResponse {
|
|
196
201
|
CapacityProvider: CapacityProvider | undefined;
|
|
197
202
|
}
|
|
203
|
+
export interface CallbackOptions {
|
|
204
|
+
TimeoutSeconds?: number | undefined;
|
|
205
|
+
HeartbeatTimeoutSeconds?: number | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface ChainedInvokeOptions {
|
|
208
|
+
FunctionName: string | undefined;
|
|
209
|
+
TenantId?: string | undefined;
|
|
210
|
+
}
|
|
211
|
+
export interface ContextOptions {
|
|
212
|
+
ReplayChildren?: boolean | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface ErrorObject {
|
|
215
|
+
ErrorMessage?: string | undefined;
|
|
216
|
+
ErrorType?: string | undefined;
|
|
217
|
+
ErrorData?: string | undefined;
|
|
218
|
+
StackTrace?: string[] | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface StepOptions {
|
|
221
|
+
NextAttemptDelaySeconds?: number | undefined;
|
|
222
|
+
}
|
|
223
|
+
export interface WaitOptions {
|
|
224
|
+
WaitSeconds?: number | undefined;
|
|
225
|
+
}
|
|
226
|
+
export interface OperationUpdate {
|
|
227
|
+
Id: string | undefined;
|
|
228
|
+
ParentId?: string | undefined;
|
|
229
|
+
Name?: string | undefined;
|
|
230
|
+
Type: OperationType | undefined;
|
|
231
|
+
SubType?: string | undefined;
|
|
232
|
+
Action: OperationAction | undefined;
|
|
233
|
+
Payload?: string | undefined;
|
|
234
|
+
Error?: ErrorObject | undefined;
|
|
235
|
+
ContextOptions?: ContextOptions | undefined;
|
|
236
|
+
StepOptions?: StepOptions | undefined;
|
|
237
|
+
WaitOptions?: WaitOptions | undefined;
|
|
238
|
+
CallbackOptions?: CallbackOptions | undefined;
|
|
239
|
+
ChainedInvokeOptions?: ChainedInvokeOptions | undefined;
|
|
240
|
+
}
|
|
241
|
+
export interface CheckpointDurableExecutionRequest {
|
|
242
|
+
DurableExecutionArn: string | undefined;
|
|
243
|
+
CheckpointToken: string | undefined;
|
|
244
|
+
Updates?: OperationUpdate[] | undefined;
|
|
245
|
+
ClientToken?: string | undefined;
|
|
246
|
+
}
|
|
247
|
+
export interface CallbackDetails {
|
|
248
|
+
CallbackId?: string | undefined;
|
|
249
|
+
Result?: string | undefined;
|
|
250
|
+
Error?: ErrorObject | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface ChainedInvokeDetails {
|
|
253
|
+
Result?: string | undefined;
|
|
254
|
+
Error?: ErrorObject | undefined;
|
|
255
|
+
}
|
|
256
|
+
export interface ContextDetails {
|
|
257
|
+
ReplayChildren?: boolean | undefined;
|
|
258
|
+
Result?: string | undefined;
|
|
259
|
+
Error?: ErrorObject | undefined;
|
|
260
|
+
}
|
|
261
|
+
export interface ExecutionDetails {
|
|
262
|
+
InputPayload?: string | undefined;
|
|
263
|
+
}
|
|
264
|
+
export interface StepDetails {
|
|
265
|
+
Attempt?: number | undefined;
|
|
266
|
+
NextAttemptTimestamp?: Date | undefined;
|
|
267
|
+
Result?: string | undefined;
|
|
268
|
+
Error?: ErrorObject | undefined;
|
|
269
|
+
}
|
|
270
|
+
export interface WaitDetails {
|
|
271
|
+
ScheduledEndTimestamp?: Date | undefined;
|
|
272
|
+
}
|
|
273
|
+
export interface Operation {
|
|
274
|
+
Id: string | undefined;
|
|
275
|
+
ParentId?: string | undefined;
|
|
276
|
+
Name?: string | undefined;
|
|
277
|
+
Type: OperationType | undefined;
|
|
278
|
+
SubType?: string | undefined;
|
|
279
|
+
StartTimestamp: Date | undefined;
|
|
280
|
+
EndTimestamp?: Date | undefined;
|
|
281
|
+
Status: OperationStatus | undefined;
|
|
282
|
+
ExecutionDetails?: ExecutionDetails | undefined;
|
|
283
|
+
ContextDetails?: ContextDetails | undefined;
|
|
284
|
+
StepDetails?: StepDetails | undefined;
|
|
285
|
+
WaitDetails?: WaitDetails | undefined;
|
|
286
|
+
CallbackDetails?: CallbackDetails | undefined;
|
|
287
|
+
ChainedInvokeDetails?: ChainedInvokeDetails | undefined;
|
|
288
|
+
}
|
|
289
|
+
export interface CheckpointUpdatedExecutionState {
|
|
290
|
+
Operations?: Operation[] | undefined;
|
|
291
|
+
NextMarker?: string | undefined;
|
|
292
|
+
}
|
|
293
|
+
export interface CheckpointDurableExecutionResponse {
|
|
294
|
+
CheckpointToken?: string | undefined;
|
|
295
|
+
NewExecutionState: CheckpointUpdatedExecutionState | undefined;
|
|
296
|
+
}
|
|
198
297
|
export interface CodeSigningPolicies {
|
|
199
298
|
UntrustedArtifactOnDeployment?: CodeSigningPolicy | undefined;
|
|
200
299
|
}
|
|
@@ -444,6 +543,10 @@ export interface FunctionCode {
|
|
|
444
543
|
export interface DeadLetterConfig {
|
|
445
544
|
TargetArn?: string | undefined;
|
|
446
545
|
}
|
|
546
|
+
export interface DurableConfig {
|
|
547
|
+
RetentionPeriodInDays?: number | undefined;
|
|
548
|
+
ExecutionTimeout?: number | undefined;
|
|
549
|
+
}
|
|
447
550
|
export interface Environment {
|
|
448
551
|
Variables?: Record<string, string> | undefined;
|
|
449
552
|
}
|
|
@@ -506,6 +609,7 @@ export interface CreateFunctionRequest {
|
|
|
506
609
|
LoggingConfig?: LoggingConfig | undefined;
|
|
507
610
|
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
508
611
|
PublishTo?: FunctionVersionLatestPublished | undefined;
|
|
612
|
+
DurableConfig?: DurableConfig | undefined;
|
|
509
613
|
TenancyConfig?: TenancyConfig | undefined;
|
|
510
614
|
}
|
|
511
615
|
export interface EnvironmentError {
|
|
@@ -590,6 +694,7 @@ export interface FunctionConfiguration {
|
|
|
590
694
|
LoggingConfig?: LoggingConfig | undefined;
|
|
591
695
|
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
592
696
|
ConfigSha256?: string | undefined;
|
|
697
|
+
DurableConfig?: DurableConfig | undefined;
|
|
593
698
|
TenancyConfig?: TenancyConfig | undefined;
|
|
594
699
|
}
|
|
595
700
|
export interface Cors {
|
|
@@ -721,6 +826,7 @@ export interface InvocationRequest {
|
|
|
721
826
|
InvocationType?: InvocationType | undefined;
|
|
722
827
|
LogType?: LogType | undefined;
|
|
723
828
|
ClientContext?: string | undefined;
|
|
829
|
+
DurableExecutionName?: string | undefined;
|
|
724
830
|
Payload?: Uint8Array | undefined;
|
|
725
831
|
Qualifier?: string | undefined;
|
|
726
832
|
TenantId?: string | undefined;
|
|
@@ -731,6 +837,7 @@ export interface InvocationResponse {
|
|
|
731
837
|
LogResult?: string | undefined;
|
|
732
838
|
Payload?: Uint8Array | undefined;
|
|
733
839
|
ExecutedVersion?: string | undefined;
|
|
840
|
+
DurableExecutionArn?: string | undefined;
|
|
734
841
|
}
|
|
735
842
|
export interface InvokeAsyncRequest {
|
|
736
843
|
FunctionName: string | undefined;
|
|
@@ -911,6 +1018,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
911
1018
|
SnapStart?: SnapStart | undefined;
|
|
912
1019
|
LoggingConfig?: LoggingConfig | undefined;
|
|
913
1020
|
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
1021
|
+
DurableConfig?: DurableConfig | undefined;
|
|
914
1022
|
}
|
|
915
1023
|
export interface UpdateFunctionUrlConfigRequest {
|
|
916
1024
|
FunctionName: string | undefined;
|
|
@@ -982,6 +1090,176 @@ export interface GetAccountSettingsResponse {
|
|
|
982
1090
|
AccountLimit?: AccountLimit | undefined;
|
|
983
1091
|
AccountUsage?: AccountUsage | undefined;
|
|
984
1092
|
}
|
|
1093
|
+
export interface GetDurableExecutionRequest {
|
|
1094
|
+
DurableExecutionArn: string | undefined;
|
|
1095
|
+
}
|
|
1096
|
+
export interface TraceHeader {
|
|
1097
|
+
XAmznTraceId?: string | undefined;
|
|
1098
|
+
}
|
|
1099
|
+
export interface GetDurableExecutionResponse {
|
|
1100
|
+
DurableExecutionArn: string | undefined;
|
|
1101
|
+
DurableExecutionName: string | undefined;
|
|
1102
|
+
FunctionArn: string | undefined;
|
|
1103
|
+
InputPayload?: string | undefined;
|
|
1104
|
+
Result?: string | undefined;
|
|
1105
|
+
Error?: ErrorObject | undefined;
|
|
1106
|
+
StartTimestamp: Date | undefined;
|
|
1107
|
+
Status: ExecutionStatus | undefined;
|
|
1108
|
+
EndTimestamp?: Date | undefined;
|
|
1109
|
+
Version?: string | undefined;
|
|
1110
|
+
TraceHeader?: TraceHeader | undefined;
|
|
1111
|
+
}
|
|
1112
|
+
export interface GetDurableExecutionHistoryRequest {
|
|
1113
|
+
DurableExecutionArn: string | undefined;
|
|
1114
|
+
IncludeExecutionData?: boolean | undefined;
|
|
1115
|
+
MaxItems?: number | undefined;
|
|
1116
|
+
Marker?: string | undefined;
|
|
1117
|
+
ReverseOrder?: boolean | undefined;
|
|
1118
|
+
}
|
|
1119
|
+
export interface EventError {
|
|
1120
|
+
Payload?: ErrorObject | undefined;
|
|
1121
|
+
Truncated?: boolean | undefined;
|
|
1122
|
+
}
|
|
1123
|
+
export interface CallbackFailedDetails {
|
|
1124
|
+
Error: EventError | undefined;
|
|
1125
|
+
}
|
|
1126
|
+
export interface CallbackStartedDetails {
|
|
1127
|
+
CallbackId: string | undefined;
|
|
1128
|
+
HeartbeatTimeout?: number | undefined;
|
|
1129
|
+
Timeout?: number | undefined;
|
|
1130
|
+
}
|
|
1131
|
+
export interface EventResult {
|
|
1132
|
+
Payload?: string | undefined;
|
|
1133
|
+
Truncated?: boolean | undefined;
|
|
1134
|
+
}
|
|
1135
|
+
export interface CallbackSucceededDetails {
|
|
1136
|
+
Result: EventResult | undefined;
|
|
1137
|
+
}
|
|
1138
|
+
export interface CallbackTimedOutDetails {
|
|
1139
|
+
Error: EventError | undefined;
|
|
1140
|
+
}
|
|
1141
|
+
export interface ChainedInvokeFailedDetails {
|
|
1142
|
+
Error: EventError | undefined;
|
|
1143
|
+
}
|
|
1144
|
+
export interface EventInput {
|
|
1145
|
+
Payload?: string | undefined;
|
|
1146
|
+
Truncated?: boolean | undefined;
|
|
1147
|
+
}
|
|
1148
|
+
export interface ChainedInvokeStartedDetails {
|
|
1149
|
+
FunctionName: string | undefined;
|
|
1150
|
+
TenantId?: string | undefined;
|
|
1151
|
+
Input?: EventInput | undefined;
|
|
1152
|
+
ExecutedVersion?: string | undefined;
|
|
1153
|
+
DurableExecutionArn?: string | undefined;
|
|
1154
|
+
}
|
|
1155
|
+
export interface ChainedInvokeStoppedDetails {
|
|
1156
|
+
Error: EventError | undefined;
|
|
1157
|
+
}
|
|
1158
|
+
export interface ChainedInvokeSucceededDetails {
|
|
1159
|
+
Result: EventResult | undefined;
|
|
1160
|
+
}
|
|
1161
|
+
export interface ChainedInvokeTimedOutDetails {
|
|
1162
|
+
Error: EventError | undefined;
|
|
1163
|
+
}
|
|
1164
|
+
export interface ContextFailedDetails {
|
|
1165
|
+
Error: EventError | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
export interface ContextStartedDetails {}
|
|
1168
|
+
export interface ContextSucceededDetails {
|
|
1169
|
+
Result: EventResult | undefined;
|
|
1170
|
+
}
|
|
1171
|
+
export interface ExecutionFailedDetails {
|
|
1172
|
+
Error: EventError | undefined;
|
|
1173
|
+
}
|
|
1174
|
+
export interface ExecutionStartedDetails {
|
|
1175
|
+
Input: EventInput | undefined;
|
|
1176
|
+
ExecutionTimeout: number | undefined;
|
|
1177
|
+
}
|
|
1178
|
+
export interface ExecutionStoppedDetails {
|
|
1179
|
+
Error: EventError | undefined;
|
|
1180
|
+
}
|
|
1181
|
+
export interface ExecutionSucceededDetails {
|
|
1182
|
+
Result: EventResult | undefined;
|
|
1183
|
+
}
|
|
1184
|
+
export interface ExecutionTimedOutDetails {
|
|
1185
|
+
Error?: EventError | undefined;
|
|
1186
|
+
}
|
|
1187
|
+
export interface InvocationCompletedDetails {
|
|
1188
|
+
StartTimestamp: Date | undefined;
|
|
1189
|
+
EndTimestamp: Date | undefined;
|
|
1190
|
+
RequestId: string | undefined;
|
|
1191
|
+
Error?: EventError | undefined;
|
|
1192
|
+
}
|
|
1193
|
+
export interface RetryDetails {
|
|
1194
|
+
CurrentAttempt?: number | undefined;
|
|
1195
|
+
NextAttemptDelaySeconds?: number | undefined;
|
|
1196
|
+
}
|
|
1197
|
+
export interface StepFailedDetails {
|
|
1198
|
+
Error: EventError | undefined;
|
|
1199
|
+
RetryDetails: RetryDetails | undefined;
|
|
1200
|
+
}
|
|
1201
|
+
export interface StepStartedDetails {}
|
|
1202
|
+
export interface StepSucceededDetails {
|
|
1203
|
+
Result: EventResult | undefined;
|
|
1204
|
+
RetryDetails: RetryDetails | undefined;
|
|
1205
|
+
}
|
|
1206
|
+
export interface WaitCancelledDetails {
|
|
1207
|
+
Error?: EventError | undefined;
|
|
1208
|
+
}
|
|
1209
|
+
export interface WaitStartedDetails {
|
|
1210
|
+
Duration: number | undefined;
|
|
1211
|
+
ScheduledEndTimestamp: Date | undefined;
|
|
1212
|
+
}
|
|
1213
|
+
export interface WaitSucceededDetails {
|
|
1214
|
+
Duration?: number | undefined;
|
|
1215
|
+
}
|
|
1216
|
+
export interface Event {
|
|
1217
|
+
EventType?: EventType | undefined;
|
|
1218
|
+
SubType?: string | undefined;
|
|
1219
|
+
EventId?: number | undefined;
|
|
1220
|
+
Id?: string | undefined;
|
|
1221
|
+
Name?: string | undefined;
|
|
1222
|
+
EventTimestamp?: Date | undefined;
|
|
1223
|
+
ParentId?: string | undefined;
|
|
1224
|
+
ExecutionStartedDetails?: ExecutionStartedDetails | undefined;
|
|
1225
|
+
ExecutionSucceededDetails?: ExecutionSucceededDetails | undefined;
|
|
1226
|
+
ExecutionFailedDetails?: ExecutionFailedDetails | undefined;
|
|
1227
|
+
ExecutionTimedOutDetails?: ExecutionTimedOutDetails | undefined;
|
|
1228
|
+
ExecutionStoppedDetails?: ExecutionStoppedDetails | undefined;
|
|
1229
|
+
ContextStartedDetails?: ContextStartedDetails | undefined;
|
|
1230
|
+
ContextSucceededDetails?: ContextSucceededDetails | undefined;
|
|
1231
|
+
ContextFailedDetails?: ContextFailedDetails | undefined;
|
|
1232
|
+
WaitStartedDetails?: WaitStartedDetails | undefined;
|
|
1233
|
+
WaitSucceededDetails?: WaitSucceededDetails | undefined;
|
|
1234
|
+
WaitCancelledDetails?: WaitCancelledDetails | undefined;
|
|
1235
|
+
StepStartedDetails?: StepStartedDetails | undefined;
|
|
1236
|
+
StepSucceededDetails?: StepSucceededDetails | undefined;
|
|
1237
|
+
StepFailedDetails?: StepFailedDetails | undefined;
|
|
1238
|
+
ChainedInvokeStartedDetails?: ChainedInvokeStartedDetails | undefined;
|
|
1239
|
+
ChainedInvokeSucceededDetails?: ChainedInvokeSucceededDetails | undefined;
|
|
1240
|
+
ChainedInvokeFailedDetails?: ChainedInvokeFailedDetails | undefined;
|
|
1241
|
+
ChainedInvokeTimedOutDetails?: ChainedInvokeTimedOutDetails | undefined;
|
|
1242
|
+
ChainedInvokeStoppedDetails?: ChainedInvokeStoppedDetails | undefined;
|
|
1243
|
+
CallbackStartedDetails?: CallbackStartedDetails | undefined;
|
|
1244
|
+
CallbackSucceededDetails?: CallbackSucceededDetails | undefined;
|
|
1245
|
+
CallbackFailedDetails?: CallbackFailedDetails | undefined;
|
|
1246
|
+
CallbackTimedOutDetails?: CallbackTimedOutDetails | undefined;
|
|
1247
|
+
InvocationCompletedDetails?: InvocationCompletedDetails | undefined;
|
|
1248
|
+
}
|
|
1249
|
+
export interface GetDurableExecutionHistoryResponse {
|
|
1250
|
+
Events: Event[] | undefined;
|
|
1251
|
+
NextMarker?: string | undefined;
|
|
1252
|
+
}
|
|
1253
|
+
export interface GetDurableExecutionStateRequest {
|
|
1254
|
+
DurableExecutionArn: string | undefined;
|
|
1255
|
+
CheckpointToken: string | undefined;
|
|
1256
|
+
Marker?: string | undefined;
|
|
1257
|
+
MaxItems?: number | undefined;
|
|
1258
|
+
}
|
|
1259
|
+
export interface GetDurableExecutionStateResponse {
|
|
1260
|
+
Operations: Operation[] | undefined;
|
|
1261
|
+
NextMarker?: string | undefined;
|
|
1262
|
+
}
|
|
985
1263
|
export interface FunctionEventInvokeConfig {
|
|
986
1264
|
LastModified?: Date | undefined;
|
|
987
1265
|
FunctionArn?: string | undefined;
|
|
@@ -1096,6 +1374,29 @@ export interface RemoveLayerVersionPermissionRequest {
|
|
|
1096
1374
|
StatementId: string | undefined;
|
|
1097
1375
|
RevisionId?: string | undefined;
|
|
1098
1376
|
}
|
|
1377
|
+
export interface ListDurableExecutionsByFunctionRequest {
|
|
1378
|
+
FunctionName: string | undefined;
|
|
1379
|
+
Qualifier?: string | undefined;
|
|
1380
|
+
DurableExecutionName?: string | undefined;
|
|
1381
|
+
Statuses?: ExecutionStatus[] | undefined;
|
|
1382
|
+
StartedAfter?: Date | undefined;
|
|
1383
|
+
StartedBefore?: Date | undefined;
|
|
1384
|
+
ReverseOrder?: boolean | undefined;
|
|
1385
|
+
Marker?: string | undefined;
|
|
1386
|
+
MaxItems?: number | undefined;
|
|
1387
|
+
}
|
|
1388
|
+
export interface Execution {
|
|
1389
|
+
DurableExecutionArn: string | undefined;
|
|
1390
|
+
DurableExecutionName: string | undefined;
|
|
1391
|
+
FunctionArn: string | undefined;
|
|
1392
|
+
Status: ExecutionStatus | undefined;
|
|
1393
|
+
StartTimestamp: Date | undefined;
|
|
1394
|
+
EndTimestamp?: Date | undefined;
|
|
1395
|
+
}
|
|
1396
|
+
export interface ListDurableExecutionsByFunctionResponse {
|
|
1397
|
+
DurableExecutions?: Execution[] | undefined;
|
|
1398
|
+
NextMarker?: string | undefined;
|
|
1399
|
+
}
|
|
1099
1400
|
export interface ListFunctionEventInvokeConfigsRequest {
|
|
1100
1401
|
FunctionName: string | undefined;
|
|
1101
1402
|
Marker?: string | undefined;
|
|
@@ -1153,6 +1454,27 @@ export interface PutFunctionEventInvokeConfigRequest {
|
|
|
1153
1454
|
MaximumEventAgeInSeconds?: number | undefined;
|
|
1154
1455
|
DestinationConfig?: DestinationConfig | undefined;
|
|
1155
1456
|
}
|
|
1457
|
+
export interface SendDurableExecutionCallbackFailureRequest {
|
|
1458
|
+
CallbackId: string | undefined;
|
|
1459
|
+
Error?: ErrorObject | undefined;
|
|
1460
|
+
}
|
|
1461
|
+
export interface SendDurableExecutionCallbackFailureResponse {}
|
|
1462
|
+
export interface SendDurableExecutionCallbackHeartbeatRequest {
|
|
1463
|
+
CallbackId: string | undefined;
|
|
1464
|
+
}
|
|
1465
|
+
export interface SendDurableExecutionCallbackHeartbeatResponse {}
|
|
1466
|
+
export interface SendDurableExecutionCallbackSuccessRequest {
|
|
1467
|
+
CallbackId: string | undefined;
|
|
1468
|
+
Result?: Uint8Array | undefined;
|
|
1469
|
+
}
|
|
1470
|
+
export interface SendDurableExecutionCallbackSuccessResponse {}
|
|
1471
|
+
export interface StopDurableExecutionRequest {
|
|
1472
|
+
DurableExecutionArn: string | undefined;
|
|
1473
|
+
Error?: ErrorObject | undefined;
|
|
1474
|
+
}
|
|
1475
|
+
export interface StopDurableExecutionResponse {
|
|
1476
|
+
StopTimestamp: Date | undefined;
|
|
1477
|
+
}
|
|
1156
1478
|
export interface TagResourceRequest {
|
|
1157
1479
|
Resource: string | undefined;
|
|
1158
1480
|
Tags: Record<string, string> | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetDurableExecutionHistoryCommandInput,
|
|
4
|
+
GetDurableExecutionHistoryCommandOutput,
|
|
5
|
+
} from "../commands/GetDurableExecutionHistoryCommand";
|
|
6
|
+
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetDurableExecutionHistory: (
|
|
8
|
+
config: LambdaPaginationConfiguration,
|
|
9
|
+
input: GetDurableExecutionHistoryCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetDurableExecutionHistoryCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetDurableExecutionStateCommandInput,
|
|
4
|
+
GetDurableExecutionStateCommandOutput,
|
|
5
|
+
} from "../commands/GetDurableExecutionStateCommand";
|
|
6
|
+
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetDurableExecutionState: (
|
|
8
|
+
config: LambdaPaginationConfiguration,
|
|
9
|
+
input: GetDurableExecutionStateCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetDurableExecutionStateCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListDurableExecutionsByFunctionCommandInput,
|
|
4
|
+
ListDurableExecutionsByFunctionCommandOutput,
|
|
5
|
+
} from "../commands/ListDurableExecutionsByFunctionCommand";
|
|
6
|
+
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListDurableExecutionsByFunction: (
|
|
8
|
+
config: LambdaPaginationConfiguration,
|
|
9
|
+
input: ListDurableExecutionsByFunctionCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDurableExecutionsByFunctionCommandOutput>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export * from "./GetDurableExecutionHistoryPaginator";
|
|
2
|
+
export * from "./GetDurableExecutionStatePaginator";
|
|
1
3
|
export * from "./Interfaces";
|
|
2
4
|
export * from "./ListAliasesPaginator";
|
|
3
5
|
export * from "./ListCapacityProvidersPaginator";
|
|
4
6
|
export * from "./ListCodeSigningConfigsPaginator";
|
|
7
|
+
export * from "./ListDurableExecutionsByFunctionPaginator";
|
|
5
8
|
export * from "./ListEventSourceMappingsPaginator";
|
|
6
9
|
export * from "./ListFunctionEventInvokeConfigsPaginator";
|
|
7
10
|
export * from "./ListFunctionUrlConfigsPaginator";
|