@aws-sdk/client-sfn 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 CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sfn
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-sfn
17
+
18
+
19
+
20
+
21
+
22
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-sfn
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-sfn
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
39
 
8
40
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sfn",
3
3
  "description": "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,45 +27,45 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.23.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.3.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -2257,20 +2257,20 @@ const deserializeAws_json1_0ActivityListItem = (output, context) => {
2257
2257
  return {
2258
2258
  activityArn: smithy_client_1.expectString(output.activityArn),
2259
2259
  creationDate: output.creationDate !== undefined && output.creationDate !== null
2260
- ? new Date(Math.round(output.creationDate * 1000))
2260
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
2261
2261
  : undefined,
2262
2262
  name: smithy_client_1.expectString(output.name),
2263
2263
  };
2264
2264
  };
2265
2265
  const deserializeAws_json1_0ActivityScheduledEventDetails = (output, context) => {
2266
2266
  return {
2267
- heartbeatInSeconds: smithy_client_1.expectInt(output.heartbeatInSeconds),
2267
+ heartbeatInSeconds: smithy_client_1.expectLong(output.heartbeatInSeconds),
2268
2268
  input: smithy_client_1.expectString(output.input),
2269
2269
  inputDetails: output.inputDetails !== undefined && output.inputDetails !== null
2270
2270
  ? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
2271
2271
  : undefined,
2272
2272
  resource: smithy_client_1.expectString(output.resource),
2273
- timeoutInSeconds: smithy_client_1.expectInt(output.timeoutInSeconds),
2273
+ timeoutInSeconds: smithy_client_1.expectLong(output.timeoutInSeconds),
2274
2274
  };
2275
2275
  };
2276
2276
  const deserializeAws_json1_0ActivityScheduleFailedEventDetails = (output, context) => {
@@ -2305,8 +2305,8 @@ const deserializeAws_json1_0ActivityWorkerLimitExceeded = (output, context) => {
2305
2305
  };
2306
2306
  const deserializeAws_json1_0BillingDetails = (output, context) => {
2307
2307
  return {
2308
- billedDurationInMilliseconds: smithy_client_1.expectInt(output.billedDurationInMilliseconds),
2309
- billedMemoryUsedInMB: smithy_client_1.expectInt(output.billedMemoryUsedInMB),
2308
+ billedDurationInMilliseconds: smithy_client_1.expectLong(output.billedDurationInMilliseconds),
2309
+ billedMemoryUsedInMB: smithy_client_1.expectLong(output.billedMemoryUsedInMB),
2310
2310
  };
2311
2311
  };
2312
2312
  const deserializeAws_json1_0CloudWatchEventsExecutionDataDetails = (output, context) => {
@@ -2323,14 +2323,14 @@ const deserializeAws_json1_0CreateActivityOutput = (output, context) => {
2323
2323
  return {
2324
2324
  activityArn: smithy_client_1.expectString(output.activityArn),
2325
2325
  creationDate: output.creationDate !== undefined && output.creationDate !== null
2326
- ? new Date(Math.round(output.creationDate * 1000))
2326
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
2327
2327
  : undefined,
2328
2328
  };
2329
2329
  };
2330
2330
  const deserializeAws_json1_0CreateStateMachineOutput = (output, context) => {
2331
2331
  return {
2332
2332
  creationDate: output.creationDate !== undefined && output.creationDate !== null
2333
- ? new Date(Math.round(output.creationDate * 1000))
2333
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
2334
2334
  : undefined,
2335
2335
  stateMachineArn: smithy_client_1.expectString(output.stateMachineArn),
2336
2336
  };
@@ -2345,7 +2345,7 @@ const deserializeAws_json1_0DescribeActivityOutput = (output, context) => {
2345
2345
  return {
2346
2346
  activityArn: smithy_client_1.expectString(output.activityArn),
2347
2347
  creationDate: output.creationDate !== undefined && output.creationDate !== null
2348
- ? new Date(Math.round(output.creationDate * 1000))
2348
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
2349
2349
  : undefined,
2350
2350
  name: smithy_client_1.expectString(output.name),
2351
2351
  };
@@ -2363,12 +2363,12 @@ const deserializeAws_json1_0DescribeExecutionOutput = (output, context) => {
2363
2363
  ? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
2364
2364
  : undefined,
2365
2365
  startDate: output.startDate !== undefined && output.startDate !== null
2366
- ? new Date(Math.round(output.startDate * 1000))
2366
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startDate)))
2367
2367
  : undefined,
2368
2368
  stateMachineArn: smithy_client_1.expectString(output.stateMachineArn),
2369
2369
  status: smithy_client_1.expectString(output.status),
2370
2370
  stopDate: output.stopDate !== undefined && output.stopDate !== null
2371
- ? new Date(Math.round(output.stopDate * 1000))
2371
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopDate)))
2372
2372
  : undefined,
2373
2373
  traceHeader: smithy_client_1.expectString(output.traceHeader),
2374
2374
  };
@@ -2386,14 +2386,14 @@ const deserializeAws_json1_0DescribeStateMachineForExecutionOutput = (output, co
2386
2386
  ? deserializeAws_json1_0TracingConfiguration(output.tracingConfiguration, context)
2387
2387
  : undefined,
2388
2388
  updateDate: output.updateDate !== undefined && output.updateDate !== null
2389
- ? new Date(Math.round(output.updateDate * 1000))
2389
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateDate)))
2390
2390
  : undefined,
2391
2391
  };
2392
2392
  };
2393
2393
  const deserializeAws_json1_0DescribeStateMachineOutput = (output, context) => {
2394
2394
  return {
2395
2395
  creationDate: output.creationDate !== undefined && output.creationDate !== null
2396
- ? new Date(Math.round(output.creationDate * 1000))
2396
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
2397
2397
  : undefined,
2398
2398
  definition: smithy_client_1.expectString(output.definition),
2399
2399
  loggingConfiguration: output.loggingConfiguration !== undefined && output.loggingConfiguration !== null
@@ -2451,12 +2451,12 @@ const deserializeAws_json1_0ExecutionListItem = (output, context) => {
2451
2451
  executionArn: smithy_client_1.expectString(output.executionArn),
2452
2452
  name: smithy_client_1.expectString(output.name),
2453
2453
  startDate: output.startDate !== undefined && output.startDate !== null
2454
- ? new Date(Math.round(output.startDate * 1000))
2454
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startDate)))
2455
2455
  : undefined,
2456
2456
  stateMachineArn: smithy_client_1.expectString(output.stateMachineArn),
2457
2457
  status: smithy_client_1.expectString(output.status),
2458
2458
  stopDate: output.stopDate !== undefined && output.stopDate !== null
2459
- ? new Date(Math.round(output.stopDate * 1000))
2459
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopDate)))
2460
2460
  : undefined,
2461
2461
  };
2462
2462
  };
@@ -2532,7 +2532,7 @@ const deserializeAws_json1_0HistoryEvent = (output, context) => {
2532
2532
  executionTimedOutEventDetails: output.executionTimedOutEventDetails !== undefined && output.executionTimedOutEventDetails !== null
2533
2533
  ? deserializeAws_json1_0ExecutionTimedOutEventDetails(output.executionTimedOutEventDetails, context)
2534
2534
  : undefined,
2535
- id: smithy_client_1.expectInt(output.id),
2535
+ id: smithy_client_1.expectLong(output.id),
2536
2536
  lambdaFunctionFailedEventDetails: output.lambdaFunctionFailedEventDetails !== undefined && output.lambdaFunctionFailedEventDetails !== null
2537
2537
  ? deserializeAws_json1_0LambdaFunctionFailedEventDetails(output.lambdaFunctionFailedEventDetails, context)
2538
2538
  : undefined,
@@ -2568,7 +2568,7 @@ const deserializeAws_json1_0HistoryEvent = (output, context) => {
2568
2568
  mapStateStartedEventDetails: output.mapStateStartedEventDetails !== undefined && output.mapStateStartedEventDetails !== null
2569
2569
  ? deserializeAws_json1_0MapStateStartedEventDetails(output.mapStateStartedEventDetails, context)
2570
2570
  : undefined,
2571
- previousEventId: smithy_client_1.expectInt(output.previousEventId),
2571
+ previousEventId: smithy_client_1.expectLong(output.previousEventId),
2572
2572
  stateEnteredEventDetails: output.stateEnteredEventDetails !== undefined && output.stateEnteredEventDetails !== null
2573
2573
  ? deserializeAws_json1_0StateEnteredEventDetails(output.stateEnteredEventDetails, context)
2574
2574
  : undefined,
@@ -2600,7 +2600,7 @@ const deserializeAws_json1_0HistoryEvent = (output, context) => {
2600
2600
  ? deserializeAws_json1_0TaskTimedOutEventDetails(output.taskTimedOutEventDetails, context)
2601
2601
  : undefined,
2602
2602
  timestamp: output.timestamp !== undefined && output.timestamp !== null
2603
- ? new Date(Math.round(output.timestamp * 1000))
2603
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.timestamp)))
2604
2604
  : undefined,
2605
2605
  type: smithy_client_1.expectString(output.type),
2606
2606
  };
@@ -2673,7 +2673,7 @@ const deserializeAws_json1_0LambdaFunctionScheduledEventDetails = (output, conte
2673
2673
  ? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
2674
2674
  : undefined,
2675
2675
  resource: smithy_client_1.expectString(output.resource),
2676
- timeoutInSeconds: smithy_client_1.expectInt(output.timeoutInSeconds),
2676
+ timeoutInSeconds: smithy_client_1.expectLong(output.timeoutInSeconds),
2677
2677
  };
2678
2678
  };
2679
2679
  const deserializeAws_json1_0LambdaFunctionScheduleFailedEventDetails = (output, context) => {
@@ -2761,13 +2761,13 @@ const deserializeAws_json1_0LoggingConfiguration = (output, context) => {
2761
2761
  };
2762
2762
  const deserializeAws_json1_0MapIterationEventDetails = (output, context) => {
2763
2763
  return {
2764
- index: smithy_client_1.expectInt(output.index),
2764
+ index: smithy_client_1.expectInt32(output.index),
2765
2765
  name: smithy_client_1.expectString(output.name),
2766
2766
  };
2767
2767
  };
2768
2768
  const deserializeAws_json1_0MapStateStartedEventDetails = (output, context) => {
2769
2769
  return {
2770
- length: smithy_client_1.expectInt(output.length),
2770
+ length: smithy_client_1.expectInt32(output.length),
2771
2771
  };
2772
2772
  };
2773
2773
  const deserializeAws_json1_0MissingRequiredParameter = (output, context) => {
@@ -2794,7 +2794,7 @@ const deserializeAws_json1_0StartExecutionOutput = (output, context) => {
2794
2794
  return {
2795
2795
  executionArn: smithy_client_1.expectString(output.executionArn),
2796
2796
  startDate: output.startDate !== undefined && output.startDate !== null
2797
- ? new Date(Math.round(output.startDate * 1000))
2797
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startDate)))
2798
2798
  : undefined,
2799
2799
  };
2800
2800
  };
@@ -2816,12 +2816,12 @@ const deserializeAws_json1_0StartSyncExecutionOutput = (output, context) => {
2816
2816
  ? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
2817
2817
  : undefined,
2818
2818
  startDate: output.startDate !== undefined && output.startDate !== null
2819
- ? new Date(Math.round(output.startDate * 1000))
2819
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startDate)))
2820
2820
  : undefined,
2821
2821
  stateMachineArn: smithy_client_1.expectString(output.stateMachineArn),
2822
2822
  status: smithy_client_1.expectString(output.status),
2823
2823
  stopDate: output.stopDate !== undefined && output.stopDate !== null
2824
- ? new Date(Math.round(output.stopDate * 1000))
2824
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopDate)))
2825
2825
  : undefined,
2826
2826
  traceHeader: smithy_client_1.expectString(output.traceHeader),
2827
2827
  };
@@ -2877,7 +2877,7 @@ const deserializeAws_json1_0StateMachineList = (output, context) => {
2877
2877
  const deserializeAws_json1_0StateMachineListItem = (output, context) => {
2878
2878
  return {
2879
2879
  creationDate: output.creationDate !== undefined && output.creationDate !== null
2880
- ? new Date(Math.round(output.creationDate * 1000))
2880
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDate)))
2881
2881
  : undefined,
2882
2882
  name: smithy_client_1.expectString(output.name),
2883
2883
  stateMachineArn: smithy_client_1.expectString(output.stateMachineArn),
@@ -2892,7 +2892,7 @@ const deserializeAws_json1_0StateMachineTypeNotSupported = (output, context) =>
2892
2892
  const deserializeAws_json1_0StopExecutionOutput = (output, context) => {
2893
2893
  return {
2894
2894
  stopDate: output.stopDate !== undefined && output.stopDate !== null
2895
- ? new Date(Math.round(output.stopDate * 1000))
2895
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stopDate)))
2896
2896
  : undefined,
2897
2897
  };
2898
2898
  };
@@ -2930,12 +2930,12 @@ const deserializeAws_json1_0TaskFailedEventDetails = (output, context) => {
2930
2930
  };
2931
2931
  const deserializeAws_json1_0TaskScheduledEventDetails = (output, context) => {
2932
2932
  return {
2933
- heartbeatInSeconds: smithy_client_1.expectInt(output.heartbeatInSeconds),
2933
+ heartbeatInSeconds: smithy_client_1.expectLong(output.heartbeatInSeconds),
2934
2934
  parameters: smithy_client_1.expectString(output.parameters),
2935
2935
  region: smithy_client_1.expectString(output.region),
2936
2936
  resource: smithy_client_1.expectString(output.resource),
2937
2937
  resourceType: smithy_client_1.expectString(output.resourceType),
2938
- timeoutInSeconds: smithy_client_1.expectInt(output.timeoutInSeconds),
2938
+ timeoutInSeconds: smithy_client_1.expectLong(output.timeoutInSeconds),
2939
2939
  };
2940
2940
  };
2941
2941
  const deserializeAws_json1_0TaskStartedEventDetails = (output, context) => {
@@ -3010,7 +3010,7 @@ const deserializeAws_json1_0UntagResourceOutput = (output, context) => {
3010
3010
  const deserializeAws_json1_0UpdateStateMachineOutput = (output, context) => {
3011
3011
  return {
3012
3012
  updateDate: output.updateDate !== undefined && output.updateDate !== null
3013
- ? new Date(Math.round(output.updateDate * 1000))
3013
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateDate)))
3014
3014
  : undefined,
3015
3015
  };
3016
3016
  };