@aws-sdk/client-swf 3.31.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 +8 -0
- package/dist/cjs/SWFClient.js +13 -13
- package/dist/cjs/SWFClient.js.map +1 -1
- package/dist/cjs/commands/CountClosedWorkflowExecutionsCommand.js +3 -3
- package/dist/cjs/commands/CountClosedWorkflowExecutionsCommand.js.map +1 -1
- package/dist/cjs/commands/CountOpenWorkflowExecutionsCommand.js +3 -3
- package/dist/cjs/commands/CountOpenWorkflowExecutionsCommand.js.map +1 -1
- package/dist/cjs/commands/CountPendingActivityTasksCommand.js +3 -3
- package/dist/cjs/commands/CountPendingActivityTasksCommand.js.map +1 -1
- package/dist/cjs/commands/CountPendingDecisionTasksCommand.js +3 -3
- package/dist/cjs/commands/CountPendingDecisionTasksCommand.js.map +1 -1
- package/dist/cjs/commands/DeprecateActivityTypeCommand.js +3 -3
- package/dist/cjs/commands/DeprecateActivityTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DeprecateDomainCommand.js +3 -3
- package/dist/cjs/commands/DeprecateDomainCommand.js.map +1 -1
- package/dist/cjs/commands/DeprecateWorkflowTypeCommand.js +3 -3
- package/dist/cjs/commands/DeprecateWorkflowTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeActivityTypeCommand.js +3 -3
- package/dist/cjs/commands/DescribeActivityTypeCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDomainCommand.js +3 -3
- package/dist/cjs/commands/DescribeDomainCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkflowExecutionCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkflowExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkflowTypeCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkflowTypeCommand.js.map +1 -1
- package/dist/cjs/commands/GetWorkflowExecutionHistoryCommand.js +3 -3
- package/dist/cjs/commands/GetWorkflowExecutionHistoryCommand.js.map +1 -1
- package/dist/cjs/commands/ListActivityTypesCommand.js +3 -3
- package/dist/cjs/commands/ListActivityTypesCommand.js.map +1 -1
- package/dist/cjs/commands/ListClosedWorkflowExecutionsCommand.js +3 -3
- package/dist/cjs/commands/ListClosedWorkflowExecutionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListDomainsCommand.js +3 -3
- package/dist/cjs/commands/ListDomainsCommand.js.map +1 -1
- package/dist/cjs/commands/ListOpenWorkflowExecutionsCommand.js +3 -3
- package/dist/cjs/commands/ListOpenWorkflowExecutionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListWorkflowTypesCommand.js +3 -3
- package/dist/cjs/commands/ListWorkflowTypesCommand.js.map +1 -1
- package/dist/cjs/commands/PollForActivityTaskCommand.js +3 -3
- package/dist/cjs/commands/PollForActivityTaskCommand.js.map +1 -1
- package/dist/cjs/commands/PollForDecisionTaskCommand.js +3 -3
- package/dist/cjs/commands/PollForDecisionTaskCommand.js.map +1 -1
- package/dist/cjs/commands/RecordActivityTaskHeartbeatCommand.js +3 -3
- package/dist/cjs/commands/RecordActivityTaskHeartbeatCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterActivityTypeCommand.js +3 -3
- package/dist/cjs/commands/RegisterActivityTypeCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterDomainCommand.js +3 -3
- package/dist/cjs/commands/RegisterDomainCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterWorkflowTypeCommand.js +3 -3
- package/dist/cjs/commands/RegisterWorkflowTypeCommand.js.map +1 -1
- package/dist/cjs/commands/RequestCancelWorkflowExecutionCommand.js +3 -3
- package/dist/cjs/commands/RequestCancelWorkflowExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/RespondActivityTaskCanceledCommand.js +3 -3
- package/dist/cjs/commands/RespondActivityTaskCanceledCommand.js.map +1 -1
- package/dist/cjs/commands/RespondActivityTaskCompletedCommand.js +3 -3
- package/dist/cjs/commands/RespondActivityTaskCompletedCommand.js.map +1 -1
- package/dist/cjs/commands/RespondActivityTaskFailedCommand.js +3 -3
- package/dist/cjs/commands/RespondActivityTaskFailedCommand.js.map +1 -1
- package/dist/cjs/commands/RespondDecisionTaskCompletedCommand.js +3 -3
- package/dist/cjs/commands/RespondDecisionTaskCompletedCommand.js.map +1 -1
- package/dist/cjs/commands/SignalWorkflowExecutionCommand.js +3 -3
- package/dist/cjs/commands/SignalWorkflowExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/StartWorkflowExecutionCommand.js +3 -3
- package/dist/cjs/commands/StartWorkflowExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TerminateWorkflowExecutionCommand.js +3 -3
- package/dist/cjs/commands/TerminateWorkflowExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/UndeprecateActivityTypeCommand.js +3 -3
- package/dist/cjs/commands/UndeprecateActivityTypeCommand.js.map +1 -1
- package/dist/cjs/commands/UndeprecateDomainCommand.js +3 -3
- package/dist/cjs/commands/UndeprecateDomainCommand.js.map +1 -1
- package/dist/cjs/commands/UndeprecateWorkflowTypeCommand.js +3 -3
- package/dist/cjs/commands/UndeprecateWorkflowTypeCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +48 -48
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_0.js +267 -267
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/GetWorkflowExecutionHistoryPaginator.js +4 -4
- package/dist/es/pagination/GetWorkflowExecutionHistoryPaginator.js.map +1 -1
- package/dist/es/pagination/ListActivityTypesPaginator.js +4 -4
- package/dist/es/pagination/ListActivityTypesPaginator.js.map +1 -1
- package/dist/es/pagination/ListClosedWorkflowExecutionsPaginator.js +4 -4
- package/dist/es/pagination/ListClosedWorkflowExecutionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListDomainsPaginator.js +4 -4
- package/dist/es/pagination/ListDomainsPaginator.js.map +1 -1
- package/dist/es/pagination/ListOpenWorkflowExecutionsPaginator.js +4 -4
- package/dist/es/pagination/ListOpenWorkflowExecutionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListWorkflowTypesPaginator.js +4 -4
- package/dist/es/pagination/ListWorkflowTypesPaginator.js.map +1 -1
- package/dist/es/pagination/PollForDecisionTaskPaginator.js +4 -4
- package/dist/es/pagination/PollForDecisionTaskPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -3320,13 +3320,13 @@ const serializeAws_json1_0WorkflowTypeFilter = (input, context) => {
|
|
|
3320
3320
|
};
|
|
3321
3321
|
const deserializeAws_json1_0ActivityTask = (output, context) => {
|
|
3322
3322
|
return {
|
|
3323
|
-
activityId:
|
|
3323
|
+
activityId: smithy_client_1.expectString(output.activityId),
|
|
3324
3324
|
activityType: output.activityType !== undefined && output.activityType !== null
|
|
3325
3325
|
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3326
3326
|
: undefined,
|
|
3327
|
-
input:
|
|
3328
|
-
startedEventId:
|
|
3329
|
-
taskToken:
|
|
3327
|
+
input: smithy_client_1.expectString(output.input),
|
|
3328
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3329
|
+
taskToken: smithy_client_1.expectString(output.taskToken),
|
|
3330
3330
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3331
3331
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3332
3332
|
: undefined,
|
|
@@ -3334,87 +3334,87 @@ const deserializeAws_json1_0ActivityTask = (output, context) => {
|
|
|
3334
3334
|
};
|
|
3335
3335
|
const deserializeAws_json1_0ActivityTaskCanceledEventAttributes = (output, context) => {
|
|
3336
3336
|
return {
|
|
3337
|
-
details:
|
|
3338
|
-
latestCancelRequestedEventId:
|
|
3339
|
-
scheduledEventId:
|
|
3340
|
-
startedEventId:
|
|
3337
|
+
details: smithy_client_1.expectString(output.details),
|
|
3338
|
+
latestCancelRequestedEventId: smithy_client_1.expectLong(output.latestCancelRequestedEventId),
|
|
3339
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3340
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3341
3341
|
};
|
|
3342
3342
|
};
|
|
3343
3343
|
const deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes = (output, context) => {
|
|
3344
3344
|
return {
|
|
3345
|
-
activityId:
|
|
3346
|
-
decisionTaskCompletedEventId:
|
|
3345
|
+
activityId: smithy_client_1.expectString(output.activityId),
|
|
3346
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3347
3347
|
};
|
|
3348
3348
|
};
|
|
3349
3349
|
const deserializeAws_json1_0ActivityTaskCompletedEventAttributes = (output, context) => {
|
|
3350
3350
|
return {
|
|
3351
|
-
result:
|
|
3352
|
-
scheduledEventId:
|
|
3353
|
-
startedEventId:
|
|
3351
|
+
result: smithy_client_1.expectString(output.result),
|
|
3352
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3353
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3354
3354
|
};
|
|
3355
3355
|
};
|
|
3356
3356
|
const deserializeAws_json1_0ActivityTaskFailedEventAttributes = (output, context) => {
|
|
3357
3357
|
return {
|
|
3358
|
-
details:
|
|
3359
|
-
reason:
|
|
3360
|
-
scheduledEventId:
|
|
3361
|
-
startedEventId:
|
|
3358
|
+
details: smithy_client_1.expectString(output.details),
|
|
3359
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
3360
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3361
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3362
3362
|
};
|
|
3363
3363
|
};
|
|
3364
3364
|
const deserializeAws_json1_0ActivityTaskScheduledEventAttributes = (output, context) => {
|
|
3365
3365
|
return {
|
|
3366
|
-
activityId:
|
|
3366
|
+
activityId: smithy_client_1.expectString(output.activityId),
|
|
3367
3367
|
activityType: output.activityType !== undefined && output.activityType !== null
|
|
3368
3368
|
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3369
3369
|
: undefined,
|
|
3370
|
-
control:
|
|
3371
|
-
decisionTaskCompletedEventId:
|
|
3372
|
-
heartbeatTimeout:
|
|
3373
|
-
input:
|
|
3374
|
-
scheduleToCloseTimeout:
|
|
3375
|
-
scheduleToStartTimeout:
|
|
3376
|
-
startToCloseTimeout:
|
|
3370
|
+
control: smithy_client_1.expectString(output.control),
|
|
3371
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3372
|
+
heartbeatTimeout: smithy_client_1.expectString(output.heartbeatTimeout),
|
|
3373
|
+
input: smithy_client_1.expectString(output.input),
|
|
3374
|
+
scheduleToCloseTimeout: smithy_client_1.expectString(output.scheduleToCloseTimeout),
|
|
3375
|
+
scheduleToStartTimeout: smithy_client_1.expectString(output.scheduleToStartTimeout),
|
|
3376
|
+
startToCloseTimeout: smithy_client_1.expectString(output.startToCloseTimeout),
|
|
3377
3377
|
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3378
3378
|
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3379
3379
|
: undefined,
|
|
3380
|
-
taskPriority:
|
|
3380
|
+
taskPriority: smithy_client_1.expectString(output.taskPriority),
|
|
3381
3381
|
};
|
|
3382
3382
|
};
|
|
3383
3383
|
const deserializeAws_json1_0ActivityTaskStartedEventAttributes = (output, context) => {
|
|
3384
3384
|
return {
|
|
3385
|
-
identity:
|
|
3386
|
-
scheduledEventId:
|
|
3385
|
+
identity: smithy_client_1.expectString(output.identity),
|
|
3386
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3387
3387
|
};
|
|
3388
3388
|
};
|
|
3389
3389
|
const deserializeAws_json1_0ActivityTaskStatus = (output, context) => {
|
|
3390
3390
|
return {
|
|
3391
|
-
cancelRequested:
|
|
3391
|
+
cancelRequested: smithy_client_1.expectBoolean(output.cancelRequested),
|
|
3392
3392
|
};
|
|
3393
3393
|
};
|
|
3394
3394
|
const deserializeAws_json1_0ActivityTaskTimedOutEventAttributes = (output, context) => {
|
|
3395
3395
|
return {
|
|
3396
|
-
details:
|
|
3397
|
-
scheduledEventId:
|
|
3398
|
-
startedEventId:
|
|
3399
|
-
timeoutType:
|
|
3396
|
+
details: smithy_client_1.expectString(output.details),
|
|
3397
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3398
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3399
|
+
timeoutType: smithy_client_1.expectString(output.timeoutType),
|
|
3400
3400
|
};
|
|
3401
3401
|
};
|
|
3402
3402
|
const deserializeAws_json1_0ActivityType = (output, context) => {
|
|
3403
3403
|
return {
|
|
3404
|
-
name:
|
|
3405
|
-
version:
|
|
3404
|
+
name: smithy_client_1.expectString(output.name),
|
|
3405
|
+
version: smithy_client_1.expectString(output.version),
|
|
3406
3406
|
};
|
|
3407
3407
|
};
|
|
3408
3408
|
const deserializeAws_json1_0ActivityTypeConfiguration = (output, context) => {
|
|
3409
3409
|
return {
|
|
3410
|
-
defaultTaskHeartbeatTimeout:
|
|
3410
|
+
defaultTaskHeartbeatTimeout: smithy_client_1.expectString(output.defaultTaskHeartbeatTimeout),
|
|
3411
3411
|
defaultTaskList: output.defaultTaskList !== undefined && output.defaultTaskList !== null
|
|
3412
3412
|
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
3413
3413
|
: undefined,
|
|
3414
|
-
defaultTaskPriority:
|
|
3415
|
-
defaultTaskScheduleToCloseTimeout:
|
|
3416
|
-
defaultTaskScheduleToStartTimeout:
|
|
3417
|
-
defaultTaskStartToCloseTimeout:
|
|
3414
|
+
defaultTaskPriority: smithy_client_1.expectString(output.defaultTaskPriority),
|
|
3415
|
+
defaultTaskScheduleToCloseTimeout: smithy_client_1.expectString(output.defaultTaskScheduleToCloseTimeout),
|
|
3416
|
+
defaultTaskScheduleToStartTimeout: smithy_client_1.expectString(output.defaultTaskScheduleToStartTimeout),
|
|
3417
|
+
defaultTaskStartToCloseTimeout: smithy_client_1.expectString(output.defaultTaskStartToCloseTimeout),
|
|
3418
3418
|
};
|
|
3419
3419
|
};
|
|
3420
3420
|
const deserializeAws_json1_0ActivityTypeDetail = (output, context) => {
|
|
@@ -3433,13 +3433,13 @@ const deserializeAws_json1_0ActivityTypeInfo = (output, context) => {
|
|
|
3433
3433
|
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3434
3434
|
: undefined,
|
|
3435
3435
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
3436
|
-
?
|
|
3436
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
|
|
3437
3437
|
: undefined,
|
|
3438
3438
|
deprecationDate: output.deprecationDate !== undefined && output.deprecationDate !== null
|
|
3439
|
-
?
|
|
3439
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.deprecationDate)))
|
|
3440
3440
|
: undefined,
|
|
3441
|
-
description:
|
|
3442
|
-
status:
|
|
3441
|
+
description: smithy_client_1.expectString(output.description),
|
|
3442
|
+
status: smithy_client_1.expectString(output.status),
|
|
3443
3443
|
};
|
|
3444
3444
|
};
|
|
3445
3445
|
const deserializeAws_json1_0ActivityTypeInfoList = (output, context) => {
|
|
@@ -3454,7 +3454,7 @@ const deserializeAws_json1_0ActivityTypeInfoList = (output, context) => {
|
|
|
3454
3454
|
};
|
|
3455
3455
|
const deserializeAws_json1_0ActivityTypeInfos = (output, context) => {
|
|
3456
3456
|
return {
|
|
3457
|
-
nextPageToken:
|
|
3457
|
+
nextPageToken: smithy_client_1.expectString(output.nextPageToken),
|
|
3458
3458
|
typeInfos: output.typeInfos !== undefined && output.typeInfos !== null
|
|
3459
3459
|
? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context)
|
|
3460
3460
|
: undefined,
|
|
@@ -3462,22 +3462,22 @@ const deserializeAws_json1_0ActivityTypeInfos = (output, context) => {
|
|
|
3462
3462
|
};
|
|
3463
3463
|
const deserializeAws_json1_0CancelTimerFailedEventAttributes = (output, context) => {
|
|
3464
3464
|
return {
|
|
3465
|
-
cause:
|
|
3466
|
-
decisionTaskCompletedEventId:
|
|
3467
|
-
timerId:
|
|
3465
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3466
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3467
|
+
timerId: smithy_client_1.expectString(output.timerId),
|
|
3468
3468
|
};
|
|
3469
3469
|
};
|
|
3470
3470
|
const deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
3471
3471
|
return {
|
|
3472
|
-
cause:
|
|
3473
|
-
decisionTaskCompletedEventId:
|
|
3472
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3473
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3474
3474
|
};
|
|
3475
3475
|
};
|
|
3476
3476
|
const deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = (output, context) => {
|
|
3477
3477
|
return {
|
|
3478
|
-
details:
|
|
3479
|
-
initiatedEventId:
|
|
3480
|
-
startedEventId:
|
|
3478
|
+
details: smithy_client_1.expectString(output.details),
|
|
3479
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3480
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3481
3481
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3482
3482
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3483
3483
|
: undefined,
|
|
@@ -3488,9 +3488,9 @@ const deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = (out
|
|
|
3488
3488
|
};
|
|
3489
3489
|
const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (output, context) => {
|
|
3490
3490
|
return {
|
|
3491
|
-
initiatedEventId:
|
|
3492
|
-
result:
|
|
3493
|
-
startedEventId:
|
|
3491
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3492
|
+
result: smithy_client_1.expectString(output.result),
|
|
3493
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3494
3494
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3495
3495
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3496
3496
|
: undefined,
|
|
@@ -3501,10 +3501,10 @@ const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (ou
|
|
|
3501
3501
|
};
|
|
3502
3502
|
const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
3503
3503
|
return {
|
|
3504
|
-
details:
|
|
3505
|
-
initiatedEventId:
|
|
3506
|
-
reason:
|
|
3507
|
-
startedEventId:
|
|
3504
|
+
details: smithy_client_1.expectString(output.details),
|
|
3505
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3506
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
3507
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3508
3508
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3509
3509
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3510
3510
|
: undefined,
|
|
@@ -3515,7 +3515,7 @@ const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (outpu
|
|
|
3515
3515
|
};
|
|
3516
3516
|
const deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = (output, context) => {
|
|
3517
3517
|
return {
|
|
3518
|
-
initiatedEventId:
|
|
3518
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3519
3519
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3520
3520
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3521
3521
|
: undefined,
|
|
@@ -3526,8 +3526,8 @@ const deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = (outp
|
|
|
3526
3526
|
};
|
|
3527
3527
|
const deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = (output, context) => {
|
|
3528
3528
|
return {
|
|
3529
|
-
initiatedEventId:
|
|
3530
|
-
startedEventId:
|
|
3529
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3530
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3531
3531
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3532
3532
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3533
3533
|
: undefined,
|
|
@@ -3538,9 +3538,9 @@ const deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = (o
|
|
|
3538
3538
|
};
|
|
3539
3539
|
const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (output, context) => {
|
|
3540
3540
|
return {
|
|
3541
|
-
initiatedEventId:
|
|
3542
|
-
startedEventId:
|
|
3543
|
-
timeoutType:
|
|
3541
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3542
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3543
|
+
timeoutType: smithy_client_1.expectString(output.timeoutType),
|
|
3544
3544
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3545
3545
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3546
3546
|
: undefined,
|
|
@@ -3551,14 +3551,14 @@ const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (out
|
|
|
3551
3551
|
};
|
|
3552
3552
|
const deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
3553
3553
|
return {
|
|
3554
|
-
cause:
|
|
3555
|
-
decisionTaskCompletedEventId:
|
|
3554
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3555
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3556
3556
|
};
|
|
3557
3557
|
};
|
|
3558
3558
|
const deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
3559
3559
|
return {
|
|
3560
|
-
cause:
|
|
3561
|
-
decisionTaskCompletedEventId:
|
|
3560
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3561
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3562
3562
|
};
|
|
3563
3563
|
};
|
|
3564
3564
|
const deserializeAws_json1_0DecisionTask = (output, context) => {
|
|
@@ -3566,10 +3566,10 @@ const deserializeAws_json1_0DecisionTask = (output, context) => {
|
|
|
3566
3566
|
events: output.events !== undefined && output.events !== null
|
|
3567
3567
|
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
3568
3568
|
: undefined,
|
|
3569
|
-
nextPageToken:
|
|
3570
|
-
previousStartedEventId:
|
|
3571
|
-
startedEventId:
|
|
3572
|
-
taskToken:
|
|
3569
|
+
nextPageToken: smithy_client_1.expectString(output.nextPageToken),
|
|
3570
|
+
previousStartedEventId: smithy_client_1.expectLong(output.previousStartedEventId),
|
|
3571
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3572
|
+
taskToken: smithy_client_1.expectString(output.taskToken),
|
|
3573
3573
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3574
3574
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3575
3575
|
: undefined,
|
|
@@ -3580,51 +3580,51 @@ const deserializeAws_json1_0DecisionTask = (output, context) => {
|
|
|
3580
3580
|
};
|
|
3581
3581
|
const deserializeAws_json1_0DecisionTaskCompletedEventAttributes = (output, context) => {
|
|
3582
3582
|
return {
|
|
3583
|
-
executionContext:
|
|
3584
|
-
scheduledEventId:
|
|
3585
|
-
startedEventId:
|
|
3583
|
+
executionContext: smithy_client_1.expectString(output.executionContext),
|
|
3584
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3585
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3586
3586
|
};
|
|
3587
3587
|
};
|
|
3588
3588
|
const deserializeAws_json1_0DecisionTaskScheduledEventAttributes = (output, context) => {
|
|
3589
3589
|
return {
|
|
3590
|
-
startToCloseTimeout:
|
|
3590
|
+
startToCloseTimeout: smithy_client_1.expectString(output.startToCloseTimeout),
|
|
3591
3591
|
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3592
3592
|
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3593
3593
|
: undefined,
|
|
3594
|
-
taskPriority:
|
|
3594
|
+
taskPriority: smithy_client_1.expectString(output.taskPriority),
|
|
3595
3595
|
};
|
|
3596
3596
|
};
|
|
3597
3597
|
const deserializeAws_json1_0DecisionTaskStartedEventAttributes = (output, context) => {
|
|
3598
3598
|
return {
|
|
3599
|
-
identity:
|
|
3600
|
-
scheduledEventId:
|
|
3599
|
+
identity: smithy_client_1.expectString(output.identity),
|
|
3600
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3601
3601
|
};
|
|
3602
3602
|
};
|
|
3603
3603
|
const deserializeAws_json1_0DecisionTaskTimedOutEventAttributes = (output, context) => {
|
|
3604
3604
|
return {
|
|
3605
|
-
scheduledEventId:
|
|
3606
|
-
startedEventId:
|
|
3607
|
-
timeoutType:
|
|
3605
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3606
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3607
|
+
timeoutType: smithy_client_1.expectString(output.timeoutType),
|
|
3608
3608
|
};
|
|
3609
3609
|
};
|
|
3610
3610
|
const deserializeAws_json1_0DefaultUndefinedFault = (output, context) => {
|
|
3611
3611
|
return {
|
|
3612
|
-
message:
|
|
3612
|
+
message: smithy_client_1.expectString(output.message),
|
|
3613
3613
|
};
|
|
3614
3614
|
};
|
|
3615
3615
|
const deserializeAws_json1_0DomainAlreadyExistsFault = (output, context) => {
|
|
3616
3616
|
return {
|
|
3617
|
-
message:
|
|
3617
|
+
message: smithy_client_1.expectString(output.message),
|
|
3618
3618
|
};
|
|
3619
3619
|
};
|
|
3620
3620
|
const deserializeAws_json1_0DomainConfiguration = (output, context) => {
|
|
3621
3621
|
return {
|
|
3622
|
-
workflowExecutionRetentionPeriodInDays:
|
|
3622
|
+
workflowExecutionRetentionPeriodInDays: smithy_client_1.expectString(output.workflowExecutionRetentionPeriodInDays),
|
|
3623
3623
|
};
|
|
3624
3624
|
};
|
|
3625
3625
|
const deserializeAws_json1_0DomainDeprecatedFault = (output, context) => {
|
|
3626
3626
|
return {
|
|
3627
|
-
message:
|
|
3627
|
+
message: smithy_client_1.expectString(output.message),
|
|
3628
3628
|
};
|
|
3629
3629
|
};
|
|
3630
3630
|
const deserializeAws_json1_0DomainDetail = (output, context) => {
|
|
@@ -3639,10 +3639,10 @@ const deserializeAws_json1_0DomainDetail = (output, context) => {
|
|
|
3639
3639
|
};
|
|
3640
3640
|
const deserializeAws_json1_0DomainInfo = (output, context) => {
|
|
3641
3641
|
return {
|
|
3642
|
-
arn:
|
|
3643
|
-
description:
|
|
3644
|
-
name:
|
|
3645
|
-
status:
|
|
3642
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
3643
|
+
description: smithy_client_1.expectString(output.description),
|
|
3644
|
+
name: smithy_client_1.expectString(output.name),
|
|
3645
|
+
status: smithy_client_1.expectString(output.status),
|
|
3646
3646
|
};
|
|
3647
3647
|
};
|
|
3648
3648
|
const deserializeAws_json1_0DomainInfoList = (output, context) => {
|
|
@@ -3660,12 +3660,12 @@ const deserializeAws_json1_0DomainInfos = (output, context) => {
|
|
|
3660
3660
|
domainInfos: output.domainInfos !== undefined && output.domainInfos !== null
|
|
3661
3661
|
? deserializeAws_json1_0DomainInfoList(output.domainInfos, context)
|
|
3662
3662
|
: undefined,
|
|
3663
|
-
nextPageToken:
|
|
3663
|
+
nextPageToken: smithy_client_1.expectString(output.nextPageToken),
|
|
3664
3664
|
};
|
|
3665
3665
|
};
|
|
3666
3666
|
const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
|
|
3667
3667
|
return {
|
|
3668
|
-
initiatedEventId:
|
|
3668
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3669
3669
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3670
3670
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3671
3671
|
: undefined,
|
|
@@ -3673,7 +3673,7 @@ const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttribu
|
|
|
3673
3673
|
};
|
|
3674
3674
|
const deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = (output, context) => {
|
|
3675
3675
|
return {
|
|
3676
|
-
initiatedEventId:
|
|
3676
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3677
3677
|
workflowExecution: output.workflowExecution !== undefined && output.workflowExecution !== null
|
|
3678
3678
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3679
3679
|
: undefined,
|
|
@@ -3681,8 +3681,8 @@ const deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = (
|
|
|
3681
3681
|
};
|
|
3682
3682
|
const deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
3683
3683
|
return {
|
|
3684
|
-
cause:
|
|
3685
|
-
decisionTaskCompletedEventId:
|
|
3684
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3685
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3686
3686
|
};
|
|
3687
3687
|
};
|
|
3688
3688
|
const deserializeAws_json1_0History = (output, context) => {
|
|
@@ -3690,7 +3690,7 @@ const deserializeAws_json1_0History = (output, context) => {
|
|
|
3690
3690
|
events: output.events !== undefined && output.events !== null
|
|
3691
3691
|
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
3692
3692
|
: undefined,
|
|
3693
|
-
nextPageToken:
|
|
3693
|
+
nextPageToken: smithy_client_1.expectString(output.nextPageToken),
|
|
3694
3694
|
};
|
|
3695
3695
|
};
|
|
3696
3696
|
const deserializeAws_json1_0HistoryEvent = (output, context) => {
|
|
@@ -3768,11 +3768,11 @@ const deserializeAws_json1_0HistoryEvent = (output, context) => {
|
|
|
3768
3768
|
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes !== undefined && output.decisionTaskTimedOutEventAttributes !== null
|
|
3769
3769
|
? deserializeAws_json1_0DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
|
|
3770
3770
|
: undefined,
|
|
3771
|
-
eventId:
|
|
3771
|
+
eventId: smithy_client_1.expectLong(output.eventId),
|
|
3772
3772
|
eventTimestamp: output.eventTimestamp !== undefined && output.eventTimestamp !== null
|
|
3773
|
-
?
|
|
3773
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventTimestamp)))
|
|
3774
3774
|
: undefined,
|
|
3775
|
-
eventType:
|
|
3775
|
+
eventType: smithy_client_1.expectString(output.eventType),
|
|
3776
3776
|
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes !== undefined &&
|
|
3777
3777
|
output.externalWorkflowExecutionCancelRequestedEventAttributes !== null
|
|
3778
3778
|
? deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
|
|
@@ -3911,44 +3911,44 @@ const deserializeAws_json1_0HistoryEventList = (output, context) => {
|
|
|
3911
3911
|
};
|
|
3912
3912
|
const deserializeAws_json1_0LambdaFunctionCompletedEventAttributes = (output, context) => {
|
|
3913
3913
|
return {
|
|
3914
|
-
result:
|
|
3915
|
-
scheduledEventId:
|
|
3916
|
-
startedEventId:
|
|
3914
|
+
result: smithy_client_1.expectString(output.result),
|
|
3915
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3916
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3917
3917
|
};
|
|
3918
3918
|
};
|
|
3919
3919
|
const deserializeAws_json1_0LambdaFunctionFailedEventAttributes = (output, context) => {
|
|
3920
3920
|
return {
|
|
3921
|
-
details:
|
|
3922
|
-
reason:
|
|
3923
|
-
scheduledEventId:
|
|
3924
|
-
startedEventId:
|
|
3921
|
+
details: smithy_client_1.expectString(output.details),
|
|
3922
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
3923
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3924
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3925
3925
|
};
|
|
3926
3926
|
};
|
|
3927
3927
|
const deserializeAws_json1_0LambdaFunctionScheduledEventAttributes = (output, context) => {
|
|
3928
3928
|
return {
|
|
3929
|
-
control:
|
|
3930
|
-
decisionTaskCompletedEventId:
|
|
3931
|
-
id:
|
|
3932
|
-
input:
|
|
3933
|
-
name:
|
|
3934
|
-
startToCloseTimeout:
|
|
3929
|
+
control: smithy_client_1.expectString(output.control),
|
|
3930
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3931
|
+
id: smithy_client_1.expectString(output.id),
|
|
3932
|
+
input: smithy_client_1.expectString(output.input),
|
|
3933
|
+
name: smithy_client_1.expectString(output.name),
|
|
3934
|
+
startToCloseTimeout: smithy_client_1.expectString(output.startToCloseTimeout),
|
|
3935
3935
|
};
|
|
3936
3936
|
};
|
|
3937
3937
|
const deserializeAws_json1_0LambdaFunctionStartedEventAttributes = (output, context) => {
|
|
3938
3938
|
return {
|
|
3939
|
-
scheduledEventId:
|
|
3939
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3940
3940
|
};
|
|
3941
3941
|
};
|
|
3942
3942
|
const deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes = (output, context) => {
|
|
3943
3943
|
return {
|
|
3944
|
-
scheduledEventId:
|
|
3945
|
-
startedEventId:
|
|
3946
|
-
timeoutType:
|
|
3944
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
3945
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
3946
|
+
timeoutType: smithy_client_1.expectString(output.timeoutType),
|
|
3947
3947
|
};
|
|
3948
3948
|
};
|
|
3949
3949
|
const deserializeAws_json1_0LimitExceededFault = (output, context) => {
|
|
3950
3950
|
return {
|
|
3951
|
-
message:
|
|
3951
|
+
message: smithy_client_1.expectString(output.message),
|
|
3952
3952
|
};
|
|
3953
3953
|
};
|
|
3954
3954
|
const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
|
|
@@ -3960,58 +3960,58 @@ const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
|
|
|
3960
3960
|
};
|
|
3961
3961
|
const deserializeAws_json1_0MarkerRecordedEventAttributes = (output, context) => {
|
|
3962
3962
|
return {
|
|
3963
|
-
decisionTaskCompletedEventId:
|
|
3964
|
-
details:
|
|
3965
|
-
markerName:
|
|
3963
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3964
|
+
details: smithy_client_1.expectString(output.details),
|
|
3965
|
+
markerName: smithy_client_1.expectString(output.markerName),
|
|
3966
3966
|
};
|
|
3967
3967
|
};
|
|
3968
3968
|
const deserializeAws_json1_0OperationNotPermittedFault = (output, context) => {
|
|
3969
3969
|
return {
|
|
3970
|
-
message:
|
|
3970
|
+
message: smithy_client_1.expectString(output.message),
|
|
3971
3971
|
};
|
|
3972
3972
|
};
|
|
3973
3973
|
const deserializeAws_json1_0PendingTaskCount = (output, context) => {
|
|
3974
3974
|
return {
|
|
3975
|
-
count:
|
|
3976
|
-
truncated:
|
|
3975
|
+
count: smithy_client_1.expectInt32(output.count),
|
|
3976
|
+
truncated: smithy_client_1.expectBoolean(output.truncated),
|
|
3977
3977
|
};
|
|
3978
3978
|
};
|
|
3979
3979
|
const deserializeAws_json1_0RecordMarkerFailedEventAttributes = (output, context) => {
|
|
3980
3980
|
return {
|
|
3981
|
-
cause:
|
|
3982
|
-
decisionTaskCompletedEventId:
|
|
3983
|
-
markerName:
|
|
3981
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3982
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3983
|
+
markerName: smithy_client_1.expectString(output.markerName),
|
|
3984
3984
|
};
|
|
3985
3985
|
};
|
|
3986
3986
|
const deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes = (output, context) => {
|
|
3987
3987
|
return {
|
|
3988
|
-
activityId:
|
|
3989
|
-
cause:
|
|
3990
|
-
decisionTaskCompletedEventId:
|
|
3988
|
+
activityId: smithy_client_1.expectString(output.activityId),
|
|
3989
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3990
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3991
3991
|
};
|
|
3992
3992
|
};
|
|
3993
3993
|
const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
3994
3994
|
return {
|
|
3995
|
-
cause:
|
|
3996
|
-
control:
|
|
3997
|
-
decisionTaskCompletedEventId:
|
|
3998
|
-
initiatedEventId:
|
|
3999
|
-
runId:
|
|
4000
|
-
workflowId:
|
|
3995
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
3996
|
+
control: smithy_client_1.expectString(output.control),
|
|
3997
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
3998
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
3999
|
+
runId: smithy_client_1.expectString(output.runId),
|
|
4000
|
+
workflowId: smithy_client_1.expectString(output.workflowId),
|
|
4001
4001
|
};
|
|
4002
4002
|
};
|
|
4003
4003
|
const deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
|
|
4004
4004
|
return {
|
|
4005
|
-
control:
|
|
4006
|
-
decisionTaskCompletedEventId:
|
|
4007
|
-
runId:
|
|
4008
|
-
workflowId:
|
|
4005
|
+
control: smithy_client_1.expectString(output.control),
|
|
4006
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4007
|
+
runId: smithy_client_1.expectString(output.runId),
|
|
4008
|
+
workflowId: smithy_client_1.expectString(output.workflowId),
|
|
4009
4009
|
};
|
|
4010
4010
|
};
|
|
4011
4011
|
const deserializeAws_json1_0ResourceTag = (output, context) => {
|
|
4012
4012
|
return {
|
|
4013
|
-
key:
|
|
4014
|
-
value:
|
|
4013
|
+
key: smithy_client_1.expectString(output.key),
|
|
4014
|
+
value: smithy_client_1.expectString(output.value),
|
|
4015
4015
|
};
|
|
4016
4016
|
};
|
|
4017
4017
|
const deserializeAws_json1_0ResourceTagList = (output, context) => {
|
|
@@ -4026,54 +4026,54 @@ const deserializeAws_json1_0ResourceTagList = (output, context) => {
|
|
|
4026
4026
|
};
|
|
4027
4027
|
const deserializeAws_json1_0Run = (output, context) => {
|
|
4028
4028
|
return {
|
|
4029
|
-
runId:
|
|
4029
|
+
runId: smithy_client_1.expectString(output.runId),
|
|
4030
4030
|
};
|
|
4031
4031
|
};
|
|
4032
4032
|
const deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes = (output, context) => {
|
|
4033
4033
|
return {
|
|
4034
|
-
activityId:
|
|
4034
|
+
activityId: smithy_client_1.expectString(output.activityId),
|
|
4035
4035
|
activityType: output.activityType !== undefined && output.activityType !== null
|
|
4036
4036
|
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
4037
4037
|
: undefined,
|
|
4038
|
-
cause:
|
|
4039
|
-
decisionTaskCompletedEventId:
|
|
4038
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4039
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4040
4040
|
};
|
|
4041
4041
|
};
|
|
4042
4042
|
const deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes = (output, context) => {
|
|
4043
4043
|
return {
|
|
4044
|
-
cause:
|
|
4045
|
-
decisionTaskCompletedEventId:
|
|
4046
|
-
id:
|
|
4047
|
-
name:
|
|
4044
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4045
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4046
|
+
id: smithy_client_1.expectString(output.id),
|
|
4047
|
+
name: smithy_client_1.expectString(output.name),
|
|
4048
4048
|
};
|
|
4049
4049
|
};
|
|
4050
4050
|
const deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
4051
4051
|
return {
|
|
4052
|
-
cause:
|
|
4053
|
-
control:
|
|
4054
|
-
decisionTaskCompletedEventId:
|
|
4055
|
-
initiatedEventId:
|
|
4056
|
-
runId:
|
|
4057
|
-
workflowId:
|
|
4052
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4053
|
+
control: smithy_client_1.expectString(output.control),
|
|
4054
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4055
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
4056
|
+
runId: smithy_client_1.expectString(output.runId),
|
|
4057
|
+
workflowId: smithy_client_1.expectString(output.workflowId),
|
|
4058
4058
|
};
|
|
4059
4059
|
};
|
|
4060
4060
|
const deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttributes = (output, context) => {
|
|
4061
4061
|
return {
|
|
4062
|
-
control:
|
|
4063
|
-
decisionTaskCompletedEventId:
|
|
4064
|
-
input:
|
|
4065
|
-
runId:
|
|
4066
|
-
signalName:
|
|
4067
|
-
workflowId:
|
|
4062
|
+
control: smithy_client_1.expectString(output.control),
|
|
4063
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4064
|
+
input: smithy_client_1.expectString(output.input),
|
|
4065
|
+
runId: smithy_client_1.expectString(output.runId),
|
|
4066
|
+
signalName: smithy_client_1.expectString(output.signalName),
|
|
4067
|
+
workflowId: smithy_client_1.expectString(output.workflowId),
|
|
4068
4068
|
};
|
|
4069
4069
|
};
|
|
4070
4070
|
const deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
4071
4071
|
return {
|
|
4072
|
-
cause:
|
|
4073
|
-
control:
|
|
4074
|
-
decisionTaskCompletedEventId:
|
|
4075
|
-
initiatedEventId:
|
|
4076
|
-
workflowId:
|
|
4072
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4073
|
+
control: smithy_client_1.expectString(output.control),
|
|
4074
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4075
|
+
initiatedEventId: smithy_client_1.expectLong(output.initiatedEventId),
|
|
4076
|
+
workflowId: smithy_client_1.expectString(output.workflowId),
|
|
4077
4077
|
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
4078
4078
|
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4079
4079
|
: undefined,
|
|
@@ -4081,21 +4081,21 @@ const deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = (
|
|
|
4081
4081
|
};
|
|
4082
4082
|
const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes = (output, context) => {
|
|
4083
4083
|
return {
|
|
4084
|
-
childPolicy:
|
|
4085
|
-
control:
|
|
4086
|
-
decisionTaskCompletedEventId:
|
|
4087
|
-
executionStartToCloseTimeout:
|
|
4088
|
-
input:
|
|
4089
|
-
lambdaRole:
|
|
4084
|
+
childPolicy: smithy_client_1.expectString(output.childPolicy),
|
|
4085
|
+
control: smithy_client_1.expectString(output.control),
|
|
4086
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4087
|
+
executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
|
|
4088
|
+
input: smithy_client_1.expectString(output.input),
|
|
4089
|
+
lambdaRole: smithy_client_1.expectString(output.lambdaRole),
|
|
4090
4090
|
tagList: output.tagList !== undefined && output.tagList !== null
|
|
4091
4091
|
? deserializeAws_json1_0TagList(output.tagList, context)
|
|
4092
4092
|
: undefined,
|
|
4093
4093
|
taskList: output.taskList !== undefined && output.taskList !== null
|
|
4094
4094
|
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
4095
4095
|
: undefined,
|
|
4096
|
-
taskPriority:
|
|
4097
|
-
taskStartToCloseTimeout:
|
|
4098
|
-
workflowId:
|
|
4096
|
+
taskPriority: smithy_client_1.expectString(output.taskPriority),
|
|
4097
|
+
taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
|
|
4098
|
+
workflowId: smithy_client_1.expectString(output.workflowId),
|
|
4099
4099
|
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
4100
4100
|
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4101
4101
|
: undefined,
|
|
@@ -4103,16 +4103,16 @@ const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes
|
|
|
4103
4103
|
};
|
|
4104
4104
|
const deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes = (output, context) => {
|
|
4105
4105
|
return {
|
|
4106
|
-
cause:
|
|
4107
|
-
message:
|
|
4108
|
-
scheduledEventId:
|
|
4106
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4107
|
+
message: smithy_client_1.expectString(output.message),
|
|
4108
|
+
scheduledEventId: smithy_client_1.expectLong(output.scheduledEventId),
|
|
4109
4109
|
};
|
|
4110
4110
|
};
|
|
4111
4111
|
const deserializeAws_json1_0StartTimerFailedEventAttributes = (output, context) => {
|
|
4112
4112
|
return {
|
|
4113
|
-
cause:
|
|
4114
|
-
decisionTaskCompletedEventId:
|
|
4115
|
-
timerId:
|
|
4113
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4114
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4115
|
+
timerId: smithy_client_1.expectString(output.timerId),
|
|
4116
4116
|
};
|
|
4117
4117
|
};
|
|
4118
4118
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
@@ -4122,76 +4122,76 @@ const deserializeAws_json1_0TagList = (output, context) => {
|
|
|
4122
4122
|
if (entry === null) {
|
|
4123
4123
|
return null;
|
|
4124
4124
|
}
|
|
4125
|
-
return
|
|
4125
|
+
return smithy_client_1.expectString(entry);
|
|
4126
4126
|
});
|
|
4127
4127
|
};
|
|
4128
4128
|
const deserializeAws_json1_0TaskList = (output, context) => {
|
|
4129
4129
|
return {
|
|
4130
|
-
name:
|
|
4130
|
+
name: smithy_client_1.expectString(output.name),
|
|
4131
4131
|
};
|
|
4132
4132
|
};
|
|
4133
4133
|
const deserializeAws_json1_0TimerCanceledEventAttributes = (output, context) => {
|
|
4134
4134
|
return {
|
|
4135
|
-
decisionTaskCompletedEventId:
|
|
4136
|
-
startedEventId:
|
|
4137
|
-
timerId:
|
|
4135
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4136
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
4137
|
+
timerId: smithy_client_1.expectString(output.timerId),
|
|
4138
4138
|
};
|
|
4139
4139
|
};
|
|
4140
4140
|
const deserializeAws_json1_0TimerFiredEventAttributes = (output, context) => {
|
|
4141
4141
|
return {
|
|
4142
|
-
startedEventId:
|
|
4143
|
-
timerId:
|
|
4142
|
+
startedEventId: smithy_client_1.expectLong(output.startedEventId),
|
|
4143
|
+
timerId: smithy_client_1.expectString(output.timerId),
|
|
4144
4144
|
};
|
|
4145
4145
|
};
|
|
4146
4146
|
const deserializeAws_json1_0TimerStartedEventAttributes = (output, context) => {
|
|
4147
4147
|
return {
|
|
4148
|
-
control:
|
|
4149
|
-
decisionTaskCompletedEventId:
|
|
4150
|
-
startToFireTimeout:
|
|
4151
|
-
timerId:
|
|
4148
|
+
control: smithy_client_1.expectString(output.control),
|
|
4149
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4150
|
+
startToFireTimeout: smithy_client_1.expectString(output.startToFireTimeout),
|
|
4151
|
+
timerId: smithy_client_1.expectString(output.timerId),
|
|
4152
4152
|
};
|
|
4153
4153
|
};
|
|
4154
4154
|
const deserializeAws_json1_0TooManyTagsFault = (output, context) => {
|
|
4155
4155
|
return {
|
|
4156
|
-
message:
|
|
4156
|
+
message: smithy_client_1.expectString(output.message),
|
|
4157
4157
|
};
|
|
4158
4158
|
};
|
|
4159
4159
|
const deserializeAws_json1_0TypeAlreadyExistsFault = (output, context) => {
|
|
4160
4160
|
return {
|
|
4161
|
-
message:
|
|
4161
|
+
message: smithy_client_1.expectString(output.message),
|
|
4162
4162
|
};
|
|
4163
4163
|
};
|
|
4164
4164
|
const deserializeAws_json1_0TypeDeprecatedFault = (output, context) => {
|
|
4165
4165
|
return {
|
|
4166
|
-
message:
|
|
4166
|
+
message: smithy_client_1.expectString(output.message),
|
|
4167
4167
|
};
|
|
4168
4168
|
};
|
|
4169
4169
|
const deserializeAws_json1_0UnknownResourceFault = (output, context) => {
|
|
4170
4170
|
return {
|
|
4171
|
-
message:
|
|
4171
|
+
message: smithy_client_1.expectString(output.message),
|
|
4172
4172
|
};
|
|
4173
4173
|
};
|
|
4174
4174
|
const deserializeAws_json1_0WorkflowExecution = (output, context) => {
|
|
4175
4175
|
return {
|
|
4176
|
-
runId:
|
|
4177
|
-
workflowId:
|
|
4176
|
+
runId: smithy_client_1.expectString(output.runId),
|
|
4177
|
+
workflowId: smithy_client_1.expectString(output.workflowId),
|
|
4178
4178
|
};
|
|
4179
4179
|
};
|
|
4180
4180
|
const deserializeAws_json1_0WorkflowExecutionAlreadyStartedFault = (output, context) => {
|
|
4181
4181
|
return {
|
|
4182
|
-
message:
|
|
4182
|
+
message: smithy_client_1.expectString(output.message),
|
|
4183
4183
|
};
|
|
4184
4184
|
};
|
|
4185
4185
|
const deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes = (output, context) => {
|
|
4186
4186
|
return {
|
|
4187
|
-
decisionTaskCompletedEventId:
|
|
4188
|
-
details:
|
|
4187
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4188
|
+
details: smithy_client_1.expectString(output.details),
|
|
4189
4189
|
};
|
|
4190
4190
|
};
|
|
4191
4191
|
const deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
|
|
4192
4192
|
return {
|
|
4193
|
-
cause:
|
|
4194
|
-
externalInitiatedEventId:
|
|
4193
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4194
|
+
externalInitiatedEventId: smithy_client_1.expectLong(output.externalInitiatedEventId),
|
|
4195
4195
|
externalWorkflowExecution: output.externalWorkflowExecution !== undefined && output.externalWorkflowExecution !== null
|
|
4196
4196
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
4197
4197
|
: undefined,
|
|
@@ -4199,38 +4199,38 @@ const deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = (o
|
|
|
4199
4199
|
};
|
|
4200
4200
|
const deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes = (output, context) => {
|
|
4201
4201
|
return {
|
|
4202
|
-
decisionTaskCompletedEventId:
|
|
4203
|
-
result:
|
|
4202
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4203
|
+
result: smithy_client_1.expectString(output.result),
|
|
4204
4204
|
};
|
|
4205
4205
|
};
|
|
4206
4206
|
const deserializeAws_json1_0WorkflowExecutionConfiguration = (output, context) => {
|
|
4207
4207
|
return {
|
|
4208
|
-
childPolicy:
|
|
4209
|
-
executionStartToCloseTimeout:
|
|
4210
|
-
lambdaRole:
|
|
4208
|
+
childPolicy: smithy_client_1.expectString(output.childPolicy),
|
|
4209
|
+
executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
|
|
4210
|
+
lambdaRole: smithy_client_1.expectString(output.lambdaRole),
|
|
4211
4211
|
taskList: output.taskList !== undefined && output.taskList !== null
|
|
4212
4212
|
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
4213
4213
|
: undefined,
|
|
4214
|
-
taskPriority:
|
|
4215
|
-
taskStartToCloseTimeout:
|
|
4214
|
+
taskPriority: smithy_client_1.expectString(output.taskPriority),
|
|
4215
|
+
taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
|
|
4216
4216
|
};
|
|
4217
4217
|
};
|
|
4218
4218
|
const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (output, context) => {
|
|
4219
4219
|
return {
|
|
4220
|
-
childPolicy:
|
|
4221
|
-
decisionTaskCompletedEventId:
|
|
4222
|
-
executionStartToCloseTimeout:
|
|
4223
|
-
input:
|
|
4224
|
-
lambdaRole:
|
|
4225
|
-
newExecutionRunId:
|
|
4220
|
+
childPolicy: smithy_client_1.expectString(output.childPolicy),
|
|
4221
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4222
|
+
executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
|
|
4223
|
+
input: smithy_client_1.expectString(output.input),
|
|
4224
|
+
lambdaRole: smithy_client_1.expectString(output.lambdaRole),
|
|
4225
|
+
newExecutionRunId: smithy_client_1.expectString(output.newExecutionRunId),
|
|
4226
4226
|
tagList: output.tagList !== undefined && output.tagList !== null
|
|
4227
4227
|
? deserializeAws_json1_0TagList(output.tagList, context)
|
|
4228
4228
|
: undefined,
|
|
4229
4229
|
taskList: output.taskList !== undefined && output.taskList !== null
|
|
4230
4230
|
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
4231
4231
|
: undefined,
|
|
4232
|
-
taskPriority:
|
|
4233
|
-
taskStartToCloseTimeout:
|
|
4232
|
+
taskPriority: smithy_client_1.expectString(output.taskPriority),
|
|
4233
|
+
taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
|
|
4234
4234
|
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
4235
4235
|
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4236
4236
|
: undefined,
|
|
@@ -4238,8 +4238,8 @@ const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (ou
|
|
|
4238
4238
|
};
|
|
4239
4239
|
const deserializeAws_json1_0WorkflowExecutionCount = (output, context) => {
|
|
4240
4240
|
return {
|
|
4241
|
-
count:
|
|
4242
|
-
truncated:
|
|
4241
|
+
count: smithy_client_1.expectInt32(output.count),
|
|
4242
|
+
truncated: smithy_client_1.expectBoolean(output.truncated),
|
|
4243
4243
|
};
|
|
4244
4244
|
};
|
|
4245
4245
|
const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
|
|
@@ -4251,9 +4251,9 @@ const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
|
|
|
4251
4251
|
? deserializeAws_json1_0WorkflowExecutionInfo(output.executionInfo, context)
|
|
4252
4252
|
: undefined,
|
|
4253
4253
|
latestActivityTaskTimestamp: output.latestActivityTaskTimestamp !== undefined && output.latestActivityTaskTimestamp !== null
|
|
4254
|
-
?
|
|
4254
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.latestActivityTaskTimestamp)))
|
|
4255
4255
|
: undefined,
|
|
4256
|
-
latestExecutionContext:
|
|
4256
|
+
latestExecutionContext: smithy_client_1.expectString(output.latestExecutionContext),
|
|
4257
4257
|
openCounts: output.openCounts !== undefined && output.openCounts !== null
|
|
4258
4258
|
? deserializeAws_json1_0WorkflowExecutionOpenCounts(output.openCounts, context)
|
|
4259
4259
|
: undefined,
|
|
@@ -4261,27 +4261,27 @@ const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
|
|
|
4261
4261
|
};
|
|
4262
4262
|
const deserializeAws_json1_0WorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
4263
4263
|
return {
|
|
4264
|
-
decisionTaskCompletedEventId:
|
|
4265
|
-
details:
|
|
4266
|
-
reason:
|
|
4264
|
+
decisionTaskCompletedEventId: smithy_client_1.expectLong(output.decisionTaskCompletedEventId),
|
|
4265
|
+
details: smithy_client_1.expectString(output.details),
|
|
4266
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
4267
4267
|
};
|
|
4268
4268
|
};
|
|
4269
4269
|
const deserializeAws_json1_0WorkflowExecutionInfo = (output, context) => {
|
|
4270
4270
|
return {
|
|
4271
|
-
cancelRequested:
|
|
4272
|
-
closeStatus:
|
|
4271
|
+
cancelRequested: smithy_client_1.expectBoolean(output.cancelRequested),
|
|
4272
|
+
closeStatus: smithy_client_1.expectString(output.closeStatus),
|
|
4273
4273
|
closeTimestamp: output.closeTimestamp !== undefined && output.closeTimestamp !== null
|
|
4274
|
-
?
|
|
4274
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.closeTimestamp)))
|
|
4275
4275
|
: undefined,
|
|
4276
4276
|
execution: output.execution !== undefined && output.execution !== null
|
|
4277
4277
|
? deserializeAws_json1_0WorkflowExecution(output.execution, context)
|
|
4278
4278
|
: undefined,
|
|
4279
|
-
executionStatus:
|
|
4279
|
+
executionStatus: smithy_client_1.expectString(output.executionStatus),
|
|
4280
4280
|
parent: output.parent !== undefined && output.parent !== null
|
|
4281
4281
|
? deserializeAws_json1_0WorkflowExecution(output.parent, context)
|
|
4282
4282
|
: undefined,
|
|
4283
4283
|
startTimestamp: output.startTimestamp !== undefined && output.startTimestamp !== null
|
|
4284
|
-
?
|
|
4284
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTimestamp)))
|
|
4285
4285
|
: undefined,
|
|
4286
4286
|
tagList: output.tagList !== undefined && output.tagList !== null
|
|
4287
4287
|
? deserializeAws_json1_0TagList(output.tagList, context)
|
|
@@ -4306,36 +4306,36 @@ const deserializeAws_json1_0WorkflowExecutionInfos = (output, context) => {
|
|
|
4306
4306
|
executionInfos: output.executionInfos !== undefined && output.executionInfos !== null
|
|
4307
4307
|
? deserializeAws_json1_0WorkflowExecutionInfoList(output.executionInfos, context)
|
|
4308
4308
|
: undefined,
|
|
4309
|
-
nextPageToken:
|
|
4309
|
+
nextPageToken: smithy_client_1.expectString(output.nextPageToken),
|
|
4310
4310
|
};
|
|
4311
4311
|
};
|
|
4312
4312
|
const deserializeAws_json1_0WorkflowExecutionOpenCounts = (output, context) => {
|
|
4313
4313
|
return {
|
|
4314
|
-
openActivityTasks:
|
|
4315
|
-
openChildWorkflowExecutions:
|
|
4316
|
-
openDecisionTasks:
|
|
4317
|
-
openLambdaFunctions:
|
|
4318
|
-
openTimers:
|
|
4314
|
+
openActivityTasks: smithy_client_1.expectInt32(output.openActivityTasks),
|
|
4315
|
+
openChildWorkflowExecutions: smithy_client_1.expectInt32(output.openChildWorkflowExecutions),
|
|
4316
|
+
openDecisionTasks: smithy_client_1.expectInt32(output.openDecisionTasks),
|
|
4317
|
+
openLambdaFunctions: smithy_client_1.expectInt32(output.openLambdaFunctions),
|
|
4318
|
+
openTimers: smithy_client_1.expectInt32(output.openTimers),
|
|
4319
4319
|
};
|
|
4320
4320
|
};
|
|
4321
4321
|
const deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes = (output, context) => {
|
|
4322
4322
|
return {
|
|
4323
|
-
externalInitiatedEventId:
|
|
4323
|
+
externalInitiatedEventId: smithy_client_1.expectLong(output.externalInitiatedEventId),
|
|
4324
4324
|
externalWorkflowExecution: output.externalWorkflowExecution !== undefined && output.externalWorkflowExecution !== null
|
|
4325
4325
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
4326
4326
|
: undefined,
|
|
4327
|
-
input:
|
|
4328
|
-
signalName:
|
|
4327
|
+
input: smithy_client_1.expectString(output.input),
|
|
4328
|
+
signalName: smithy_client_1.expectString(output.signalName),
|
|
4329
4329
|
};
|
|
4330
4330
|
};
|
|
4331
4331
|
const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, context) => {
|
|
4332
4332
|
return {
|
|
4333
|
-
childPolicy:
|
|
4334
|
-
continuedExecutionRunId:
|
|
4335
|
-
executionStartToCloseTimeout:
|
|
4336
|
-
input:
|
|
4337
|
-
lambdaRole:
|
|
4338
|
-
parentInitiatedEventId:
|
|
4333
|
+
childPolicy: smithy_client_1.expectString(output.childPolicy),
|
|
4334
|
+
continuedExecutionRunId: smithy_client_1.expectString(output.continuedExecutionRunId),
|
|
4335
|
+
executionStartToCloseTimeout: smithy_client_1.expectString(output.executionStartToCloseTimeout),
|
|
4336
|
+
input: smithy_client_1.expectString(output.input),
|
|
4337
|
+
lambdaRole: smithy_client_1.expectString(output.lambdaRole),
|
|
4338
|
+
parentInitiatedEventId: smithy_client_1.expectLong(output.parentInitiatedEventId),
|
|
4339
4339
|
parentWorkflowExecution: output.parentWorkflowExecution !== undefined && output.parentWorkflowExecution !== null
|
|
4340
4340
|
? deserializeAws_json1_0WorkflowExecution(output.parentWorkflowExecution, context)
|
|
4341
4341
|
: undefined,
|
|
@@ -4345,8 +4345,8 @@ const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, c
|
|
|
4345
4345
|
taskList: output.taskList !== undefined && output.taskList !== null
|
|
4346
4346
|
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
4347
4347
|
: undefined,
|
|
4348
|
-
taskPriority:
|
|
4349
|
-
taskStartToCloseTimeout:
|
|
4348
|
+
taskPriority: smithy_client_1.expectString(output.taskPriority),
|
|
4349
|
+
taskStartToCloseTimeout: smithy_client_1.expectString(output.taskStartToCloseTimeout),
|
|
4350
4350
|
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
4351
4351
|
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4352
4352
|
: undefined,
|
|
@@ -4354,34 +4354,34 @@ const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, c
|
|
|
4354
4354
|
};
|
|
4355
4355
|
const deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes = (output, context) => {
|
|
4356
4356
|
return {
|
|
4357
|
-
cause:
|
|
4358
|
-
childPolicy:
|
|
4359
|
-
details:
|
|
4360
|
-
reason:
|
|
4357
|
+
cause: smithy_client_1.expectString(output.cause),
|
|
4358
|
+
childPolicy: smithy_client_1.expectString(output.childPolicy),
|
|
4359
|
+
details: smithy_client_1.expectString(output.details),
|
|
4360
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
4361
4361
|
};
|
|
4362
4362
|
};
|
|
4363
4363
|
const deserializeAws_json1_0WorkflowExecutionTimedOutEventAttributes = (output, context) => {
|
|
4364
4364
|
return {
|
|
4365
|
-
childPolicy:
|
|
4366
|
-
timeoutType:
|
|
4365
|
+
childPolicy: smithy_client_1.expectString(output.childPolicy),
|
|
4366
|
+
timeoutType: smithy_client_1.expectString(output.timeoutType),
|
|
4367
4367
|
};
|
|
4368
4368
|
};
|
|
4369
4369
|
const deserializeAws_json1_0WorkflowType = (output, context) => {
|
|
4370
4370
|
return {
|
|
4371
|
-
name:
|
|
4372
|
-
version:
|
|
4371
|
+
name: smithy_client_1.expectString(output.name),
|
|
4372
|
+
version: smithy_client_1.expectString(output.version),
|
|
4373
4373
|
};
|
|
4374
4374
|
};
|
|
4375
4375
|
const deserializeAws_json1_0WorkflowTypeConfiguration = (output, context) => {
|
|
4376
4376
|
return {
|
|
4377
|
-
defaultChildPolicy:
|
|
4378
|
-
defaultExecutionStartToCloseTimeout:
|
|
4379
|
-
defaultLambdaRole:
|
|
4377
|
+
defaultChildPolicy: smithy_client_1.expectString(output.defaultChildPolicy),
|
|
4378
|
+
defaultExecutionStartToCloseTimeout: smithy_client_1.expectString(output.defaultExecutionStartToCloseTimeout),
|
|
4379
|
+
defaultLambdaRole: smithy_client_1.expectString(output.defaultLambdaRole),
|
|
4380
4380
|
defaultTaskList: output.defaultTaskList !== undefined && output.defaultTaskList !== null
|
|
4381
4381
|
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
4382
4382
|
: undefined,
|
|
4383
|
-
defaultTaskPriority:
|
|
4384
|
-
defaultTaskStartToCloseTimeout:
|
|
4383
|
+
defaultTaskPriority: smithy_client_1.expectString(output.defaultTaskPriority),
|
|
4384
|
+
defaultTaskStartToCloseTimeout: smithy_client_1.expectString(output.defaultTaskStartToCloseTimeout),
|
|
4385
4385
|
};
|
|
4386
4386
|
};
|
|
4387
4387
|
const deserializeAws_json1_0WorkflowTypeDetail = (output, context) => {
|
|
@@ -4397,13 +4397,13 @@ const deserializeAws_json1_0WorkflowTypeDetail = (output, context) => {
|
|
|
4397
4397
|
const deserializeAws_json1_0WorkflowTypeInfo = (output, context) => {
|
|
4398
4398
|
return {
|
|
4399
4399
|
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
4400
|
-
?
|
|
4400
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
|
|
4401
4401
|
: undefined,
|
|
4402
4402
|
deprecationDate: output.deprecationDate !== undefined && output.deprecationDate !== null
|
|
4403
|
-
?
|
|
4403
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.deprecationDate)))
|
|
4404
4404
|
: undefined,
|
|
4405
|
-
description:
|
|
4406
|
-
status:
|
|
4405
|
+
description: smithy_client_1.expectString(output.description),
|
|
4406
|
+
status: smithy_client_1.expectString(output.status),
|
|
4407
4407
|
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
4408
4408
|
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4409
4409
|
: undefined,
|
|
@@ -4421,7 +4421,7 @@ const deserializeAws_json1_0WorkflowTypeInfoList = (output, context) => {
|
|
|
4421
4421
|
};
|
|
4422
4422
|
const deserializeAws_json1_0WorkflowTypeInfos = (output, context) => {
|
|
4423
4423
|
return {
|
|
4424
|
-
nextPageToken:
|
|
4424
|
+
nextPageToken: smithy_client_1.expectString(output.nextPageToken),
|
|
4425
4425
|
typeInfos: output.typeInfos !== undefined && output.typeInfos !== null
|
|
4426
4426
|
? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context)
|
|
4427
4427
|
: undefined,
|