@aws-sdk/client-swf 3.28.0 → 3.32.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/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_0.js +89 -89
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_0.js +90 -90
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_0.ts +94 -90
package/protocols/Aws_json1_0.ts
CHANGED
|
@@ -275,8 +275,12 @@ import {
|
|
|
275
275
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
276
276
|
import {
|
|
277
277
|
expectBoolean as __expectBoolean,
|
|
278
|
-
|
|
278
|
+
expectInt32 as __expectInt32,
|
|
279
|
+
expectLong as __expectLong,
|
|
280
|
+
expectNonNull as __expectNonNull,
|
|
281
|
+
expectNumber as __expectNumber,
|
|
279
282
|
expectString as __expectString,
|
|
283
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
280
284
|
} from "@aws-sdk/smithy-client";
|
|
281
285
|
import {
|
|
282
286
|
Endpoint as __Endpoint,
|
|
@@ -4250,7 +4254,7 @@ const deserializeAws_json1_0ActivityTask = (output: any, context: __SerdeContext
|
|
|
4250
4254
|
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
4251
4255
|
: undefined,
|
|
4252
4256
|
input: __expectString(output.input),
|
|
4253
|
-
startedEventId:
|
|
4257
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4254
4258
|
taskToken: __expectString(output.taskToken),
|
|
4255
4259
|
workflowExecution:
|
|
4256
4260
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
@@ -4265,9 +4269,9 @@ const deserializeAws_json1_0ActivityTaskCanceledEventAttributes = (
|
|
|
4265
4269
|
): ActivityTaskCanceledEventAttributes => {
|
|
4266
4270
|
return {
|
|
4267
4271
|
details: __expectString(output.details),
|
|
4268
|
-
latestCancelRequestedEventId:
|
|
4269
|
-
scheduledEventId:
|
|
4270
|
-
startedEventId:
|
|
4272
|
+
latestCancelRequestedEventId: __expectLong(output.latestCancelRequestedEventId),
|
|
4273
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4274
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4271
4275
|
} as any;
|
|
4272
4276
|
};
|
|
4273
4277
|
|
|
@@ -4277,7 +4281,7 @@ const deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes = (
|
|
|
4277
4281
|
): ActivityTaskCancelRequestedEventAttributes => {
|
|
4278
4282
|
return {
|
|
4279
4283
|
activityId: __expectString(output.activityId),
|
|
4280
|
-
decisionTaskCompletedEventId:
|
|
4284
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
4281
4285
|
} as any;
|
|
4282
4286
|
};
|
|
4283
4287
|
|
|
@@ -4287,8 +4291,8 @@ const deserializeAws_json1_0ActivityTaskCompletedEventAttributes = (
|
|
|
4287
4291
|
): ActivityTaskCompletedEventAttributes => {
|
|
4288
4292
|
return {
|
|
4289
4293
|
result: __expectString(output.result),
|
|
4290
|
-
scheduledEventId:
|
|
4291
|
-
startedEventId:
|
|
4294
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4295
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4292
4296
|
} as any;
|
|
4293
4297
|
};
|
|
4294
4298
|
|
|
@@ -4299,8 +4303,8 @@ const deserializeAws_json1_0ActivityTaskFailedEventAttributes = (
|
|
|
4299
4303
|
return {
|
|
4300
4304
|
details: __expectString(output.details),
|
|
4301
4305
|
reason: __expectString(output.reason),
|
|
4302
|
-
scheduledEventId:
|
|
4303
|
-
startedEventId:
|
|
4306
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4307
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4304
4308
|
} as any;
|
|
4305
4309
|
};
|
|
4306
4310
|
|
|
@@ -4315,7 +4319,7 @@ const deserializeAws_json1_0ActivityTaskScheduledEventAttributes = (
|
|
|
4315
4319
|
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
4316
4320
|
: undefined,
|
|
4317
4321
|
control: __expectString(output.control),
|
|
4318
|
-
decisionTaskCompletedEventId:
|
|
4322
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
4319
4323
|
heartbeatTimeout: __expectString(output.heartbeatTimeout),
|
|
4320
4324
|
input: __expectString(output.input),
|
|
4321
4325
|
scheduleToCloseTimeout: __expectString(output.scheduleToCloseTimeout),
|
|
@@ -4335,7 +4339,7 @@ const deserializeAws_json1_0ActivityTaskStartedEventAttributes = (
|
|
|
4335
4339
|
): ActivityTaskStartedEventAttributes => {
|
|
4336
4340
|
return {
|
|
4337
4341
|
identity: __expectString(output.identity),
|
|
4338
|
-
scheduledEventId:
|
|
4342
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4339
4343
|
} as any;
|
|
4340
4344
|
};
|
|
4341
4345
|
|
|
@@ -4351,8 +4355,8 @@ const deserializeAws_json1_0ActivityTaskTimedOutEventAttributes = (
|
|
|
4351
4355
|
): ActivityTaskTimedOutEventAttributes => {
|
|
4352
4356
|
return {
|
|
4353
4357
|
details: __expectString(output.details),
|
|
4354
|
-
scheduledEventId:
|
|
4355
|
-
startedEventId:
|
|
4358
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4359
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4356
4360
|
timeoutType: __expectString(output.timeoutType),
|
|
4357
4361
|
} as any;
|
|
4358
4362
|
};
|
|
@@ -4402,11 +4406,11 @@ const deserializeAws_json1_0ActivityTypeInfo = (output: any, context: __SerdeCon
|
|
|
4402
4406
|
: undefined,
|
|
4403
4407
|
creationDate:
|
|
4404
4408
|
output.creationDate !== undefined && output.creationDate !== null
|
|
4405
|
-
?
|
|
4409
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
4406
4410
|
: undefined,
|
|
4407
4411
|
deprecationDate:
|
|
4408
4412
|
output.deprecationDate !== undefined && output.deprecationDate !== null
|
|
4409
|
-
?
|
|
4413
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deprecationDate)))
|
|
4410
4414
|
: undefined,
|
|
4411
4415
|
description: __expectString(output.description),
|
|
4412
4416
|
status: __expectString(output.status),
|
|
@@ -4440,7 +4444,7 @@ const deserializeAws_json1_0CancelTimerFailedEventAttributes = (
|
|
|
4440
4444
|
): CancelTimerFailedEventAttributes => {
|
|
4441
4445
|
return {
|
|
4442
4446
|
cause: __expectString(output.cause),
|
|
4443
|
-
decisionTaskCompletedEventId:
|
|
4447
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
4444
4448
|
timerId: __expectString(output.timerId),
|
|
4445
4449
|
} as any;
|
|
4446
4450
|
};
|
|
@@ -4451,7 +4455,7 @@ const deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes = (
|
|
|
4451
4455
|
): CancelWorkflowExecutionFailedEventAttributes => {
|
|
4452
4456
|
return {
|
|
4453
4457
|
cause: __expectString(output.cause),
|
|
4454
|
-
decisionTaskCompletedEventId:
|
|
4458
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
4455
4459
|
} as any;
|
|
4456
4460
|
};
|
|
4457
4461
|
|
|
@@ -4461,8 +4465,8 @@ const deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = (
|
|
|
4461
4465
|
): ChildWorkflowExecutionCanceledEventAttributes => {
|
|
4462
4466
|
return {
|
|
4463
4467
|
details: __expectString(output.details),
|
|
4464
|
-
initiatedEventId:
|
|
4465
|
-
startedEventId:
|
|
4468
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4469
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4466
4470
|
workflowExecution:
|
|
4467
4471
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
4468
4472
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
@@ -4479,9 +4483,9 @@ const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (
|
|
|
4479
4483
|
context: __SerdeContext
|
|
4480
4484
|
): ChildWorkflowExecutionCompletedEventAttributes => {
|
|
4481
4485
|
return {
|
|
4482
|
-
initiatedEventId:
|
|
4486
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4483
4487
|
result: __expectString(output.result),
|
|
4484
|
-
startedEventId:
|
|
4488
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4485
4489
|
workflowExecution:
|
|
4486
4490
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
4487
4491
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
@@ -4499,9 +4503,9 @@ const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (
|
|
|
4499
4503
|
): ChildWorkflowExecutionFailedEventAttributes => {
|
|
4500
4504
|
return {
|
|
4501
4505
|
details: __expectString(output.details),
|
|
4502
|
-
initiatedEventId:
|
|
4506
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4503
4507
|
reason: __expectString(output.reason),
|
|
4504
|
-
startedEventId:
|
|
4508
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4505
4509
|
workflowExecution:
|
|
4506
4510
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
4507
4511
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
@@ -4518,7 +4522,7 @@ const deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = (
|
|
|
4518
4522
|
context: __SerdeContext
|
|
4519
4523
|
): ChildWorkflowExecutionStartedEventAttributes => {
|
|
4520
4524
|
return {
|
|
4521
|
-
initiatedEventId:
|
|
4525
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4522
4526
|
workflowExecution:
|
|
4523
4527
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
4524
4528
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
@@ -4535,8 +4539,8 @@ const deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = (
|
|
|
4535
4539
|
context: __SerdeContext
|
|
4536
4540
|
): ChildWorkflowExecutionTerminatedEventAttributes => {
|
|
4537
4541
|
return {
|
|
4538
|
-
initiatedEventId:
|
|
4539
|
-
startedEventId:
|
|
4542
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4543
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4540
4544
|
workflowExecution:
|
|
4541
4545
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
4542
4546
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
@@ -4553,8 +4557,8 @@ const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (
|
|
|
4553
4557
|
context: __SerdeContext
|
|
4554
4558
|
): ChildWorkflowExecutionTimedOutEventAttributes => {
|
|
4555
4559
|
return {
|
|
4556
|
-
initiatedEventId:
|
|
4557
|
-
startedEventId:
|
|
4560
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4561
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4558
4562
|
timeoutType: __expectString(output.timeoutType),
|
|
4559
4563
|
workflowExecution:
|
|
4560
4564
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
@@ -4573,7 +4577,7 @@ const deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes = (
|
|
|
4573
4577
|
): CompleteWorkflowExecutionFailedEventAttributes => {
|
|
4574
4578
|
return {
|
|
4575
4579
|
cause: __expectString(output.cause),
|
|
4576
|
-
decisionTaskCompletedEventId:
|
|
4580
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
4577
4581
|
} as any;
|
|
4578
4582
|
};
|
|
4579
4583
|
|
|
@@ -4583,7 +4587,7 @@ const deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes
|
|
|
4583
4587
|
): ContinueAsNewWorkflowExecutionFailedEventAttributes => {
|
|
4584
4588
|
return {
|
|
4585
4589
|
cause: __expectString(output.cause),
|
|
4586
|
-
decisionTaskCompletedEventId:
|
|
4590
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
4587
4591
|
} as any;
|
|
4588
4592
|
};
|
|
4589
4593
|
|
|
@@ -4594,8 +4598,8 @@ const deserializeAws_json1_0DecisionTask = (output: any, context: __SerdeContext
|
|
|
4594
4598
|
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
4595
4599
|
: undefined,
|
|
4596
4600
|
nextPageToken: __expectString(output.nextPageToken),
|
|
4597
|
-
previousStartedEventId:
|
|
4598
|
-
startedEventId:
|
|
4601
|
+
previousStartedEventId: __expectLong(output.previousStartedEventId),
|
|
4602
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4599
4603
|
taskToken: __expectString(output.taskToken),
|
|
4600
4604
|
workflowExecution:
|
|
4601
4605
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
@@ -4614,8 +4618,8 @@ const deserializeAws_json1_0DecisionTaskCompletedEventAttributes = (
|
|
|
4614
4618
|
): DecisionTaskCompletedEventAttributes => {
|
|
4615
4619
|
return {
|
|
4616
4620
|
executionContext: __expectString(output.executionContext),
|
|
4617
|
-
scheduledEventId:
|
|
4618
|
-
startedEventId:
|
|
4621
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4622
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4619
4623
|
} as any;
|
|
4620
4624
|
};
|
|
4621
4625
|
|
|
@@ -4639,7 +4643,7 @@ const deserializeAws_json1_0DecisionTaskStartedEventAttributes = (
|
|
|
4639
4643
|
): DecisionTaskStartedEventAttributes => {
|
|
4640
4644
|
return {
|
|
4641
4645
|
identity: __expectString(output.identity),
|
|
4642
|
-
scheduledEventId:
|
|
4646
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4643
4647
|
} as any;
|
|
4644
4648
|
};
|
|
4645
4649
|
|
|
@@ -4648,8 +4652,8 @@ const deserializeAws_json1_0DecisionTaskTimedOutEventAttributes = (
|
|
|
4648
4652
|
context: __SerdeContext
|
|
4649
4653
|
): DecisionTaskTimedOutEventAttributes => {
|
|
4650
4654
|
return {
|
|
4651
|
-
scheduledEventId:
|
|
4652
|
-
startedEventId:
|
|
4655
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
4656
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
4653
4657
|
timeoutType: __expectString(output.timeoutType),
|
|
4654
4658
|
} as any;
|
|
4655
4659
|
};
|
|
@@ -4729,7 +4733,7 @@ const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttribu
|
|
|
4729
4733
|
context: __SerdeContext
|
|
4730
4734
|
): ExternalWorkflowExecutionCancelRequestedEventAttributes => {
|
|
4731
4735
|
return {
|
|
4732
|
-
initiatedEventId:
|
|
4736
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4733
4737
|
workflowExecution:
|
|
4734
4738
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
4735
4739
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
@@ -4742,7 +4746,7 @@ const deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = (
|
|
|
4742
4746
|
context: __SerdeContext
|
|
4743
4747
|
): ExternalWorkflowExecutionSignaledEventAttributes => {
|
|
4744
4748
|
return {
|
|
4745
|
-
initiatedEventId:
|
|
4749
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
4746
4750
|
workflowExecution:
|
|
4747
4751
|
output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
4748
4752
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
@@ -4756,7 +4760,7 @@ const deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes = (
|
|
|
4756
4760
|
): FailWorkflowExecutionFailedEventAttributes => {
|
|
4757
4761
|
return {
|
|
4758
4762
|
cause: __expectString(output.cause),
|
|
4759
|
-
decisionTaskCompletedEventId:
|
|
4763
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
4760
4764
|
} as any;
|
|
4761
4765
|
};
|
|
4762
4766
|
|
|
@@ -4908,10 +4912,10 @@ const deserializeAws_json1_0HistoryEvent = (output: any, context: __SerdeContext
|
|
|
4908
4912
|
output.decisionTaskTimedOutEventAttributes !== undefined && output.decisionTaskTimedOutEventAttributes !== null
|
|
4909
4913
|
? deserializeAws_json1_0DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
|
|
4910
4914
|
: undefined,
|
|
4911
|
-
eventId:
|
|
4915
|
+
eventId: __expectLong(output.eventId),
|
|
4912
4916
|
eventTimestamp:
|
|
4913
4917
|
output.eventTimestamp !== undefined && output.eventTimestamp !== null
|
|
4914
|
-
?
|
|
4918
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.eventTimestamp)))
|
|
4915
4919
|
: undefined,
|
|
4916
4920
|
eventType: __expectString(output.eventType),
|
|
4917
4921
|
externalWorkflowExecutionCancelRequestedEventAttributes:
|
|
@@ -5169,8 +5173,8 @@ const deserializeAws_json1_0LambdaFunctionCompletedEventAttributes = (
|
|
|
5169
5173
|
): LambdaFunctionCompletedEventAttributes => {
|
|
5170
5174
|
return {
|
|
5171
5175
|
result: __expectString(output.result),
|
|
5172
|
-
scheduledEventId:
|
|
5173
|
-
startedEventId:
|
|
5176
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
5177
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
5174
5178
|
} as any;
|
|
5175
5179
|
};
|
|
5176
5180
|
|
|
@@ -5181,8 +5185,8 @@ const deserializeAws_json1_0LambdaFunctionFailedEventAttributes = (
|
|
|
5181
5185
|
return {
|
|
5182
5186
|
details: __expectString(output.details),
|
|
5183
5187
|
reason: __expectString(output.reason),
|
|
5184
|
-
scheduledEventId:
|
|
5185
|
-
startedEventId:
|
|
5188
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
5189
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
5186
5190
|
} as any;
|
|
5187
5191
|
};
|
|
5188
5192
|
|
|
@@ -5192,7 +5196,7 @@ const deserializeAws_json1_0LambdaFunctionScheduledEventAttributes = (
|
|
|
5192
5196
|
): LambdaFunctionScheduledEventAttributes => {
|
|
5193
5197
|
return {
|
|
5194
5198
|
control: __expectString(output.control),
|
|
5195
|
-
decisionTaskCompletedEventId:
|
|
5199
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5196
5200
|
id: __expectString(output.id),
|
|
5197
5201
|
input: __expectString(output.input),
|
|
5198
5202
|
name: __expectString(output.name),
|
|
@@ -5205,7 +5209,7 @@ const deserializeAws_json1_0LambdaFunctionStartedEventAttributes = (
|
|
|
5205
5209
|
context: __SerdeContext
|
|
5206
5210
|
): LambdaFunctionStartedEventAttributes => {
|
|
5207
5211
|
return {
|
|
5208
|
-
scheduledEventId:
|
|
5212
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
5209
5213
|
} as any;
|
|
5210
5214
|
};
|
|
5211
5215
|
|
|
@@ -5214,8 +5218,8 @@ const deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes = (
|
|
|
5214
5218
|
context: __SerdeContext
|
|
5215
5219
|
): LambdaFunctionTimedOutEventAttributes => {
|
|
5216
5220
|
return {
|
|
5217
|
-
scheduledEventId:
|
|
5218
|
-
startedEventId:
|
|
5221
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
5222
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
5219
5223
|
timeoutType: __expectString(output.timeoutType),
|
|
5220
5224
|
} as any;
|
|
5221
5225
|
};
|
|
@@ -5243,7 +5247,7 @@ const deserializeAws_json1_0MarkerRecordedEventAttributes = (
|
|
|
5243
5247
|
context: __SerdeContext
|
|
5244
5248
|
): MarkerRecordedEventAttributes => {
|
|
5245
5249
|
return {
|
|
5246
|
-
decisionTaskCompletedEventId:
|
|
5250
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5247
5251
|
details: __expectString(output.details),
|
|
5248
5252
|
markerName: __expectString(output.markerName),
|
|
5249
5253
|
} as any;
|
|
@@ -5260,7 +5264,7 @@ const deserializeAws_json1_0OperationNotPermittedFault = (
|
|
|
5260
5264
|
|
|
5261
5265
|
const deserializeAws_json1_0PendingTaskCount = (output: any, context: __SerdeContext): PendingTaskCount => {
|
|
5262
5266
|
return {
|
|
5263
|
-
count:
|
|
5267
|
+
count: __expectInt32(output.count),
|
|
5264
5268
|
truncated: __expectBoolean(output.truncated),
|
|
5265
5269
|
} as any;
|
|
5266
5270
|
};
|
|
@@ -5271,7 +5275,7 @@ const deserializeAws_json1_0RecordMarkerFailedEventAttributes = (
|
|
|
5271
5275
|
): RecordMarkerFailedEventAttributes => {
|
|
5272
5276
|
return {
|
|
5273
5277
|
cause: __expectString(output.cause),
|
|
5274
|
-
decisionTaskCompletedEventId:
|
|
5278
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5275
5279
|
markerName: __expectString(output.markerName),
|
|
5276
5280
|
} as any;
|
|
5277
5281
|
};
|
|
@@ -5283,7 +5287,7 @@ const deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes = (
|
|
|
5283
5287
|
return {
|
|
5284
5288
|
activityId: __expectString(output.activityId),
|
|
5285
5289
|
cause: __expectString(output.cause),
|
|
5286
|
-
decisionTaskCompletedEventId:
|
|
5290
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5287
5291
|
} as any;
|
|
5288
5292
|
};
|
|
5289
5293
|
|
|
@@ -5294,8 +5298,8 @@ const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAtt
|
|
|
5294
5298
|
return {
|
|
5295
5299
|
cause: __expectString(output.cause),
|
|
5296
5300
|
control: __expectString(output.control),
|
|
5297
|
-
decisionTaskCompletedEventId:
|
|
5298
|
-
initiatedEventId:
|
|
5301
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5302
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
5299
5303
|
runId: __expectString(output.runId),
|
|
5300
5304
|
workflowId: __expectString(output.workflowId),
|
|
5301
5305
|
} as any;
|
|
@@ -5307,7 +5311,7 @@ const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEvent
|
|
|
5307
5311
|
): RequestCancelExternalWorkflowExecutionInitiatedEventAttributes => {
|
|
5308
5312
|
return {
|
|
5309
5313
|
control: __expectString(output.control),
|
|
5310
|
-
decisionTaskCompletedEventId:
|
|
5314
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5311
5315
|
runId: __expectString(output.runId),
|
|
5312
5316
|
workflowId: __expectString(output.workflowId),
|
|
5313
5317
|
} as any;
|
|
@@ -5348,7 +5352,7 @@ const deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes = (
|
|
|
5348
5352
|
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
5349
5353
|
: undefined,
|
|
5350
5354
|
cause: __expectString(output.cause),
|
|
5351
|
-
decisionTaskCompletedEventId:
|
|
5355
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5352
5356
|
} as any;
|
|
5353
5357
|
};
|
|
5354
5358
|
|
|
@@ -5358,7 +5362,7 @@ const deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes = (
|
|
|
5358
5362
|
): ScheduleLambdaFunctionFailedEventAttributes => {
|
|
5359
5363
|
return {
|
|
5360
5364
|
cause: __expectString(output.cause),
|
|
5361
|
-
decisionTaskCompletedEventId:
|
|
5365
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5362
5366
|
id: __expectString(output.id),
|
|
5363
5367
|
name: __expectString(output.name),
|
|
5364
5368
|
} as any;
|
|
@@ -5371,8 +5375,8 @@ const deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes
|
|
|
5371
5375
|
return {
|
|
5372
5376
|
cause: __expectString(output.cause),
|
|
5373
5377
|
control: __expectString(output.control),
|
|
5374
|
-
decisionTaskCompletedEventId:
|
|
5375
|
-
initiatedEventId:
|
|
5378
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5379
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
5376
5380
|
runId: __expectString(output.runId),
|
|
5377
5381
|
workflowId: __expectString(output.workflowId),
|
|
5378
5382
|
} as any;
|
|
@@ -5384,7 +5388,7 @@ const deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttribu
|
|
|
5384
5388
|
): SignalExternalWorkflowExecutionInitiatedEventAttributes => {
|
|
5385
5389
|
return {
|
|
5386
5390
|
control: __expectString(output.control),
|
|
5387
|
-
decisionTaskCompletedEventId:
|
|
5391
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5388
5392
|
input: __expectString(output.input),
|
|
5389
5393
|
runId: __expectString(output.runId),
|
|
5390
5394
|
signalName: __expectString(output.signalName),
|
|
@@ -5399,8 +5403,8 @@ const deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = (
|
|
|
5399
5403
|
return {
|
|
5400
5404
|
cause: __expectString(output.cause),
|
|
5401
5405
|
control: __expectString(output.control),
|
|
5402
|
-
decisionTaskCompletedEventId:
|
|
5403
|
-
initiatedEventId:
|
|
5406
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5407
|
+
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
5404
5408
|
workflowId: __expectString(output.workflowId),
|
|
5405
5409
|
workflowType:
|
|
5406
5410
|
output.workflowType !== undefined && output.workflowType !== null
|
|
@@ -5416,7 +5420,7 @@ const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes
|
|
|
5416
5420
|
return {
|
|
5417
5421
|
childPolicy: __expectString(output.childPolicy),
|
|
5418
5422
|
control: __expectString(output.control),
|
|
5419
|
-
decisionTaskCompletedEventId:
|
|
5423
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5420
5424
|
executionStartToCloseTimeout: __expectString(output.executionStartToCloseTimeout),
|
|
5421
5425
|
input: __expectString(output.input),
|
|
5422
5426
|
lambdaRole: __expectString(output.lambdaRole),
|
|
@@ -5445,7 +5449,7 @@ const deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes = (
|
|
|
5445
5449
|
return {
|
|
5446
5450
|
cause: __expectString(output.cause),
|
|
5447
5451
|
message: __expectString(output.message),
|
|
5448
|
-
scheduledEventId:
|
|
5452
|
+
scheduledEventId: __expectLong(output.scheduledEventId),
|
|
5449
5453
|
} as any;
|
|
5450
5454
|
};
|
|
5451
5455
|
|
|
@@ -5455,7 +5459,7 @@ const deserializeAws_json1_0StartTimerFailedEventAttributes = (
|
|
|
5455
5459
|
): StartTimerFailedEventAttributes => {
|
|
5456
5460
|
return {
|
|
5457
5461
|
cause: __expectString(output.cause),
|
|
5458
|
-
decisionTaskCompletedEventId:
|
|
5462
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5459
5463
|
timerId: __expectString(output.timerId),
|
|
5460
5464
|
} as any;
|
|
5461
5465
|
};
|
|
@@ -5482,8 +5486,8 @@ const deserializeAws_json1_0TimerCanceledEventAttributes = (
|
|
|
5482
5486
|
context: __SerdeContext
|
|
5483
5487
|
): TimerCanceledEventAttributes => {
|
|
5484
5488
|
return {
|
|
5485
|
-
decisionTaskCompletedEventId:
|
|
5486
|
-
startedEventId:
|
|
5489
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5490
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
5487
5491
|
timerId: __expectString(output.timerId),
|
|
5488
5492
|
} as any;
|
|
5489
5493
|
};
|
|
@@ -5493,7 +5497,7 @@ const deserializeAws_json1_0TimerFiredEventAttributes = (
|
|
|
5493
5497
|
context: __SerdeContext
|
|
5494
5498
|
): TimerFiredEventAttributes => {
|
|
5495
5499
|
return {
|
|
5496
|
-
startedEventId:
|
|
5500
|
+
startedEventId: __expectLong(output.startedEventId),
|
|
5497
5501
|
timerId: __expectString(output.timerId),
|
|
5498
5502
|
} as any;
|
|
5499
5503
|
};
|
|
@@ -5504,7 +5508,7 @@ const deserializeAws_json1_0TimerStartedEventAttributes = (
|
|
|
5504
5508
|
): TimerStartedEventAttributes => {
|
|
5505
5509
|
return {
|
|
5506
5510
|
control: __expectString(output.control),
|
|
5507
|
-
decisionTaskCompletedEventId:
|
|
5511
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5508
5512
|
startToFireTimeout: __expectString(output.startToFireTimeout),
|
|
5509
5513
|
timerId: __expectString(output.timerId),
|
|
5510
5514
|
} as any;
|
|
@@ -5555,7 +5559,7 @@ const deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes = (
|
|
|
5555
5559
|
context: __SerdeContext
|
|
5556
5560
|
): WorkflowExecutionCanceledEventAttributes => {
|
|
5557
5561
|
return {
|
|
5558
|
-
decisionTaskCompletedEventId:
|
|
5562
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5559
5563
|
details: __expectString(output.details),
|
|
5560
5564
|
} as any;
|
|
5561
5565
|
};
|
|
@@ -5566,7 +5570,7 @@ const deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = (
|
|
|
5566
5570
|
): WorkflowExecutionCancelRequestedEventAttributes => {
|
|
5567
5571
|
return {
|
|
5568
5572
|
cause: __expectString(output.cause),
|
|
5569
|
-
externalInitiatedEventId:
|
|
5573
|
+
externalInitiatedEventId: __expectLong(output.externalInitiatedEventId),
|
|
5570
5574
|
externalWorkflowExecution:
|
|
5571
5575
|
output.externalWorkflowExecution !== undefined && output.externalWorkflowExecution !== null
|
|
5572
5576
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
@@ -5579,7 +5583,7 @@ const deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes = (
|
|
|
5579
5583
|
context: __SerdeContext
|
|
5580
5584
|
): WorkflowExecutionCompletedEventAttributes => {
|
|
5581
5585
|
return {
|
|
5582
|
-
decisionTaskCompletedEventId:
|
|
5586
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5583
5587
|
result: __expectString(output.result),
|
|
5584
5588
|
} as any;
|
|
5585
5589
|
};
|
|
@@ -5607,7 +5611,7 @@ const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (
|
|
|
5607
5611
|
): WorkflowExecutionContinuedAsNewEventAttributes => {
|
|
5608
5612
|
return {
|
|
5609
5613
|
childPolicy: __expectString(output.childPolicy),
|
|
5610
|
-
decisionTaskCompletedEventId:
|
|
5614
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5611
5615
|
executionStartToCloseTimeout: __expectString(output.executionStartToCloseTimeout),
|
|
5612
5616
|
input: __expectString(output.input),
|
|
5613
5617
|
lambdaRole: __expectString(output.lambdaRole),
|
|
@@ -5631,7 +5635,7 @@ const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (
|
|
|
5631
5635
|
|
|
5632
5636
|
const deserializeAws_json1_0WorkflowExecutionCount = (output: any, context: __SerdeContext): WorkflowExecutionCount => {
|
|
5633
5637
|
return {
|
|
5634
|
-
count:
|
|
5638
|
+
count: __expectInt32(output.count),
|
|
5635
5639
|
truncated: __expectBoolean(output.truncated),
|
|
5636
5640
|
} as any;
|
|
5637
5641
|
};
|
|
@@ -5651,7 +5655,7 @@ const deserializeAws_json1_0WorkflowExecutionDetail = (
|
|
|
5651
5655
|
: undefined,
|
|
5652
5656
|
latestActivityTaskTimestamp:
|
|
5653
5657
|
output.latestActivityTaskTimestamp !== undefined && output.latestActivityTaskTimestamp !== null
|
|
5654
|
-
?
|
|
5658
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.latestActivityTaskTimestamp)))
|
|
5655
5659
|
: undefined,
|
|
5656
5660
|
latestExecutionContext: __expectString(output.latestExecutionContext),
|
|
5657
5661
|
openCounts:
|
|
@@ -5666,7 +5670,7 @@ const deserializeAws_json1_0WorkflowExecutionFailedEventAttributes = (
|
|
|
5666
5670
|
context: __SerdeContext
|
|
5667
5671
|
): WorkflowExecutionFailedEventAttributes => {
|
|
5668
5672
|
return {
|
|
5669
|
-
decisionTaskCompletedEventId:
|
|
5673
|
+
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
5670
5674
|
details: __expectString(output.details),
|
|
5671
5675
|
reason: __expectString(output.reason),
|
|
5672
5676
|
} as any;
|
|
@@ -5678,7 +5682,7 @@ const deserializeAws_json1_0WorkflowExecutionInfo = (output: any, context: __Ser
|
|
|
5678
5682
|
closeStatus: __expectString(output.closeStatus),
|
|
5679
5683
|
closeTimestamp:
|
|
5680
5684
|
output.closeTimestamp !== undefined && output.closeTimestamp !== null
|
|
5681
|
-
?
|
|
5685
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.closeTimestamp)))
|
|
5682
5686
|
: undefined,
|
|
5683
5687
|
execution:
|
|
5684
5688
|
output.execution !== undefined && output.execution !== null
|
|
@@ -5691,7 +5695,7 @@ const deserializeAws_json1_0WorkflowExecutionInfo = (output: any, context: __Ser
|
|
|
5691
5695
|
: undefined,
|
|
5692
5696
|
startTimestamp:
|
|
5693
5697
|
output.startTimestamp !== undefined && output.startTimestamp !== null
|
|
5694
|
-
?
|
|
5698
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTimestamp)))
|
|
5695
5699
|
: undefined,
|
|
5696
5700
|
tagList:
|
|
5697
5701
|
output.tagList !== undefined && output.tagList !== null
|
|
@@ -5733,11 +5737,11 @@ const deserializeAws_json1_0WorkflowExecutionOpenCounts = (
|
|
|
5733
5737
|
context: __SerdeContext
|
|
5734
5738
|
): WorkflowExecutionOpenCounts => {
|
|
5735
5739
|
return {
|
|
5736
|
-
openActivityTasks:
|
|
5737
|
-
openChildWorkflowExecutions:
|
|
5738
|
-
openDecisionTasks:
|
|
5739
|
-
openLambdaFunctions:
|
|
5740
|
-
openTimers:
|
|
5740
|
+
openActivityTasks: __expectInt32(output.openActivityTasks),
|
|
5741
|
+
openChildWorkflowExecutions: __expectInt32(output.openChildWorkflowExecutions),
|
|
5742
|
+
openDecisionTasks: __expectInt32(output.openDecisionTasks),
|
|
5743
|
+
openLambdaFunctions: __expectInt32(output.openLambdaFunctions),
|
|
5744
|
+
openTimers: __expectInt32(output.openTimers),
|
|
5741
5745
|
} as any;
|
|
5742
5746
|
};
|
|
5743
5747
|
|
|
@@ -5746,7 +5750,7 @@ const deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes = (
|
|
|
5746
5750
|
context: __SerdeContext
|
|
5747
5751
|
): WorkflowExecutionSignaledEventAttributes => {
|
|
5748
5752
|
return {
|
|
5749
|
-
externalInitiatedEventId:
|
|
5753
|
+
externalInitiatedEventId: __expectLong(output.externalInitiatedEventId),
|
|
5750
5754
|
externalWorkflowExecution:
|
|
5751
5755
|
output.externalWorkflowExecution !== undefined && output.externalWorkflowExecution !== null
|
|
5752
5756
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
@@ -5766,7 +5770,7 @@ const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (
|
|
|
5766
5770
|
executionStartToCloseTimeout: __expectString(output.executionStartToCloseTimeout),
|
|
5767
5771
|
input: __expectString(output.input),
|
|
5768
5772
|
lambdaRole: __expectString(output.lambdaRole),
|
|
5769
|
-
parentInitiatedEventId:
|
|
5773
|
+
parentInitiatedEventId: __expectLong(output.parentInitiatedEventId),
|
|
5770
5774
|
parentWorkflowExecution:
|
|
5771
5775
|
output.parentWorkflowExecution !== undefined && output.parentWorkflowExecution !== null
|
|
5772
5776
|
? deserializeAws_json1_0WorkflowExecution(output.parentWorkflowExecution, context)
|
|
@@ -5851,11 +5855,11 @@ const deserializeAws_json1_0WorkflowTypeInfo = (output: any, context: __SerdeCon
|
|
|
5851
5855
|
return {
|
|
5852
5856
|
creationDate:
|
|
5853
5857
|
output.creationDate !== undefined && output.creationDate !== null
|
|
5854
|
-
?
|
|
5858
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
5855
5859
|
: undefined,
|
|
5856
5860
|
deprecationDate:
|
|
5857
5861
|
output.deprecationDate !== undefined && output.deprecationDate !== null
|
|
5858
|
-
?
|
|
5862
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deprecationDate)))
|
|
5859
5863
|
: undefined,
|
|
5860
5864
|
description: __expectString(output.description),
|
|
5861
5865
|
status: __expectString(output.status),
|