@aws-sdk/client-sfn 3.1025.0 → 3.1026.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/dist-cjs/index.js CHANGED
@@ -16,6 +16,7 @@ var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
18
  var schemas_0 = require('./schemas/schemas_0');
19
+ var client = require('@aws-sdk/core/client');
19
20
  var errors = require('./models/errors');
20
21
  var SFNServiceException = require('./models/SFNServiceException');
21
22
 
@@ -273,7 +274,10 @@ class GetActivityTaskCommand extends smithyClient.Command
273
274
  .classBuilder()
274
275
  .ep(commonParams)
275
276
  .m(function (Command, cs, config, o) {
276
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
277
+ return [
278
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
279
+ client.getLongPollPlugin(config),
280
+ ];
277
281
  })
278
282
  .s("AWSStepFunctions", "GetActivityTask", {})
279
283
  .n("SFNClient", "GetActivityTaskCommand")
@@ -1,3 +1,4 @@
1
+ import { getLongPollPlugin } from "@aws-sdk/core/client";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { Command as $Command } from "@smithy/smithy-client";
3
4
  import { commonParams } from "../endpoint/EndpointParameters";
@@ -7,7 +8,10 @@ export class GetActivityTaskCommand extends $Command
7
8
  .classBuilder()
8
9
  .ep(commonParams)
9
10
  .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getLongPollPlugin(config),
14
+ ];
11
15
  })
12
16
  .s("AWSStepFunctions", "GetActivityTask", {})
13
17
  .n("SFNClient", "GetActivityTaskCommand")
package/package.json CHANGED
@@ -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.1025.0",
4
+ "version": "3.1026.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sfn",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.26",
25
- "@aws-sdk/credential-provider-node": "^3.972.29",
26
- "@aws-sdk/middleware-host-header": "^3.972.8",
27
- "@aws-sdk/middleware-logger": "^3.972.8",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.9",
29
- "@aws-sdk/middleware-user-agent": "^3.972.28",
30
- "@aws-sdk/region-config-resolver": "^3.972.10",
31
- "@aws-sdk/types": "^3.973.6",
32
- "@aws-sdk/util-endpoints": "^3.996.5",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
- "@aws-sdk/util-user-agent-node": "^3.973.14",
35
- "@smithy/config-resolver": "^4.4.13",
36
- "@smithy/core": "^3.23.13",
37
- "@smithy/fetch-http-handler": "^5.3.15",
38
- "@smithy/hash-node": "^4.2.12",
39
- "@smithy/invalid-dependency": "^4.2.12",
40
- "@smithy/middleware-content-length": "^4.2.12",
41
- "@smithy/middleware-endpoint": "^4.4.28",
42
- "@smithy/middleware-retry": "^4.4.46",
43
- "@smithy/middleware-serde": "^4.2.16",
44
- "@smithy/middleware-stack": "^4.2.12",
45
- "@smithy/node-config-provider": "^4.3.12",
46
- "@smithy/node-http-handler": "^4.5.1",
47
- "@smithy/protocol-http": "^5.3.12",
48
- "@smithy/smithy-client": "^4.12.8",
49
- "@smithy/types": "^4.13.1",
50
- "@smithy/url-parser": "^4.2.12",
24
+ "@aws-sdk/core": "^3.973.27",
25
+ "@aws-sdk/credential-provider-node": "^3.972.30",
26
+ "@aws-sdk/middleware-host-header": "^3.972.9",
27
+ "@aws-sdk/middleware-logger": "^3.972.9",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.10",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.29",
30
+ "@aws-sdk/region-config-resolver": "^3.972.11",
31
+ "@aws-sdk/types": "^3.973.7",
32
+ "@aws-sdk/util-endpoints": "^3.996.6",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.9",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.15",
35
+ "@smithy/config-resolver": "^4.4.14",
36
+ "@smithy/core": "^3.23.14",
37
+ "@smithy/fetch-http-handler": "^5.3.16",
38
+ "@smithy/hash-node": "^4.2.13",
39
+ "@smithy/invalid-dependency": "^4.2.13",
40
+ "@smithy/middleware-content-length": "^4.2.13",
41
+ "@smithy/middleware-endpoint": "^4.4.29",
42
+ "@smithy/middleware-retry": "^4.5.0",
43
+ "@smithy/middleware-serde": "^4.2.17",
44
+ "@smithy/middleware-stack": "^4.2.13",
45
+ "@smithy/node-config-provider": "^4.3.13",
46
+ "@smithy/node-http-handler": "^4.5.2",
47
+ "@smithy/protocol-http": "^5.3.13",
48
+ "@smithy/smithy-client": "^4.12.9",
49
+ "@smithy/types": "^4.14.0",
50
+ "@smithy/url-parser": "^4.2.13",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.44",
55
- "@smithy/util-defaults-mode-node": "^4.2.48",
56
- "@smithy/util-endpoints": "^3.3.3",
57
- "@smithy/util-middleware": "^4.2.12",
58
- "@smithy/util-retry": "^4.2.13",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.45",
55
+ "@smithy/util-defaults-mode-node": "^4.2.49",
56
+ "@smithy/util-endpoints": "^3.3.4",
57
+ "@smithy/util-middleware": "^4.2.13",
58
+ "@smithy/util-retry": "^4.3.0",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },