@aws-sdk/client-sfn 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/SFN.js +0 -18
- package/dist-cjs/SFNClient.js +0 -23
- package/dist-cjs/commands/CreateActivityCommand.js +0 -40
- package/dist-cjs/commands/CreateStateMachineCommand.js +0 -42
- package/dist-cjs/commands/DeleteActivityCommand.js +0 -24
- package/dist-cjs/commands/DeleteStateMachineCommand.js +0 -30
- package/dist-cjs/commands/DescribeActivityCommand.js +0 -27
- package/dist-cjs/commands/DescribeExecutionCommand.js +0 -28
- package/dist-cjs/commands/DescribeStateMachineCommand.js +0 -27
- package/dist-cjs/commands/DescribeStateMachineForExecutionCommand.js +0 -28
- package/dist-cjs/commands/GetActivityTaskCommand.js +0 -36
- package/dist-cjs/commands/GetExecutionHistoryCommand.js +0 -29
- package/dist-cjs/commands/ListActivitiesCommand.js +0 -29
- package/dist-cjs/commands/ListExecutionsCommand.js +0 -31
- package/dist-cjs/commands/ListStateMachinesCommand.js +0 -29
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/SendTaskFailureCommand.js +0 -25
- package/dist-cjs/commands/SendTaskHeartbeatCommand.js +0 -38
- package/dist-cjs/commands/SendTaskSuccessCommand.js +0 -26
- package/dist-cjs/commands/StartExecutionCommand.js +0 -32
- package/dist-cjs/commands/StartSyncExecutionCommand.js +0 -24
- package/dist-cjs/commands/StopExecutionCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -29
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateStateMachineCommand.js +0 -34
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -30
- package/dist-cjs/models/models_0.js +0 -333
- package/dist-cjs/pagination/GetExecutionHistoryPaginator.js +0 -10
- package/dist-cjs/pagination/ListActivitiesPaginator.js +0 -10
- package/dist-cjs/pagination/ListExecutionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListStateMachinesPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -30
- package/dist-es/pagination/index.js +5 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/index.d.ts +4 -30
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/SFN.d.ts +24 -217
- package/dist-types/ts3.4/SFNClient.d.ts +24 -104
- package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/index.d.ts +4 -30
- package/dist-types/ts3.4/models/models_0.d.ts +434 -1643
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
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.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sfn
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
20
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
49
|
|
|
8
50
|
|
package/dist-cjs/SFN.js
CHANGED
|
@@ -25,24 +25,6 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
25
25
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
26
26
|
const UpdateStateMachineCommand_1 = require("./commands/UpdateStateMachineCommand");
|
|
27
27
|
const SFNClient_1 = require("./SFNClient");
|
|
28
|
-
/**
|
|
29
|
-
* <fullname>AWS Step Functions</fullname>
|
|
30
|
-
* <p>AWS Step Functions is a service that lets you coordinate the components of distributed applications
|
|
31
|
-
* and microservices using visual workflows.</p>
|
|
32
|
-
* <p>You can use Step Functions to build applications from individual components, each of which performs
|
|
33
|
-
* a discrete function, or <i>task</i>, allowing you to scale and change
|
|
34
|
-
* applications quickly. Step Functions provides a console that helps visualize the components of your
|
|
35
|
-
* application as a series of steps. Step Functions automatically triggers and tracks each step, and
|
|
36
|
-
* retries steps when there are errors, so your application executes predictably and in the right
|
|
37
|
-
* order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any
|
|
38
|
-
* issues.</p>
|
|
39
|
-
* <p>Step Functions manages operations and underlying infrastructure to ensure your application is
|
|
40
|
-
* available at any scale. You can run tasks on AWS, your own servers, or any system that has
|
|
41
|
-
* access to AWS. You can access and use Step Functions using the console, the AWS SDKs, or an HTTP API.
|
|
42
|
-
* For more information about Step Functions, see the <i>
|
|
43
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">AWS Step Functions Developer Guide</a>
|
|
44
|
-
* </i>.</p>
|
|
45
|
-
*/
|
|
46
28
|
class SFN extends SFNClient_1.SFNClient {
|
|
47
29
|
createActivity(args, optionsOrCb, cb) {
|
|
48
30
|
const command = new CreateActivityCommand_1.CreateActivityCommand(args);
|
package/dist-cjs/SFNClient.js
CHANGED
|
@@ -10,24 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>AWS Step Functions</fullname>
|
|
15
|
-
* <p>AWS Step Functions is a service that lets you coordinate the components of distributed applications
|
|
16
|
-
* and microservices using visual workflows.</p>
|
|
17
|
-
* <p>You can use Step Functions to build applications from individual components, each of which performs
|
|
18
|
-
* a discrete function, or <i>task</i>, allowing you to scale and change
|
|
19
|
-
* applications quickly. Step Functions provides a console that helps visualize the components of your
|
|
20
|
-
* application as a series of steps. Step Functions automatically triggers and tracks each step, and
|
|
21
|
-
* retries steps when there are errors, so your application executes predictably and in the right
|
|
22
|
-
* order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any
|
|
23
|
-
* issues.</p>
|
|
24
|
-
* <p>Step Functions manages operations and underlying infrastructure to ensure your application is
|
|
25
|
-
* available at any scale. You can run tasks on AWS, your own servers, or any system that has
|
|
26
|
-
* access to AWS. You can access and use Step Functions using the console, the AWS SDKs, or an HTTP API.
|
|
27
|
-
* For more information about Step Functions, see the <i>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">AWS Step Functions Developer Guide</a>
|
|
29
|
-
* </i>.</p>
|
|
30
|
-
*/
|
|
31
13
|
class SFNClient extends smithy_client_1.Client {
|
|
32
14
|
constructor(configuration) {
|
|
33
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -46,11 +28,6 @@ class SFNClient extends smithy_client_1.Client {
|
|
|
46
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
47
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
48
30
|
}
|
|
49
|
-
/**
|
|
50
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
51
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
52
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
53
|
-
*/
|
|
54
31
|
destroy() {
|
|
55
32
|
super.destroy();
|
|
56
33
|
}
|
|
@@ -5,51 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates an activity. An activity is a task that you write in any programming language and
|
|
10
|
-
* host on any machine that has access to AWS Step Functions. Activities must poll Step Functions using the
|
|
11
|
-
* <code>GetActivityTask</code> API action and respond using <code>SendTask*</code> API
|
|
12
|
-
* actions. This function lets Step Functions know the existence of your activity and returns an
|
|
13
|
-
* identifier for use in a state machine and when polling from the activity.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* <note>
|
|
18
|
-
* <p>
|
|
19
|
-
* <code>CreateActivity</code> is an idempotent API. Subsequent requests won’t create a
|
|
20
|
-
* duplicate resource if it was already created. <code>CreateActivity</code>'s idempotency
|
|
21
|
-
* check is based on the activity <code>name</code>. If a following request has different
|
|
22
|
-
* <code>tags</code> values, Step Functions will ignore these differences and treat it as an
|
|
23
|
-
* idempotent request of the previous. In this case, <code>tags</code> will not be updated,
|
|
24
|
-
* even if they are different.</p>
|
|
25
|
-
* </note>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SFNClient, CreateActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
30
|
-
* // const { SFNClient, CreateActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
31
|
-
* const client = new SFNClient(config);
|
|
32
|
-
* const command = new CreateActivityCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateActivityCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateActivityCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
8
|
class CreateActivityCommand extends smithy_client_1.Command {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
9
|
constructor(input) {
|
|
45
|
-
// Start section: command_constructor
|
|
46
10
|
super();
|
|
47
11
|
this.input = input;
|
|
48
|
-
// End section: command_constructor
|
|
49
12
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
54
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,53 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a state machine. A state machine consists of a collection of states that can do
|
|
10
|
-
* work (<code>Task</code> states), determine to which states to transition next
|
|
11
|
-
* (<code>Choice</code> states), stop an execution with an error (<code>Fail</code> states),
|
|
12
|
-
* and so on. State machines are specified using a JSON-based, structured language. For more
|
|
13
|
-
* information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States
|
|
14
|
-
* Language</a> in the AWS Step Functions User Guide.</p>
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* <note>
|
|
19
|
-
* <p>
|
|
20
|
-
* <code>CreateStateMachine</code> is an idempotent API. Subsequent requests won’t create a
|
|
21
|
-
* duplicate resource if it was already created. <code>CreateStateMachine</code>'s idempotency
|
|
22
|
-
* check is based on the state machine <code>name</code>, <code>definition</code>,
|
|
23
|
-
* <code>type</code>, <code>LoggingConfiguration</code> and <code>TracingConfiguration</code>. If a following request has a
|
|
24
|
-
* different <code>roleArn</code> or <code>tags</code>, Step Functions will ignore these differences and
|
|
25
|
-
* treat it as an idempotent request of the previous. In this case, <code>roleArn</code> and
|
|
26
|
-
* <code>tags</code> will not be updated, even if they are different.</p>
|
|
27
|
-
* </note>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { SFNClient, CreateStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
32
|
-
* // const { SFNClient, CreateStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
33
|
-
* const client = new SFNClient(config);
|
|
34
|
-
* const command = new CreateStateMachineCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateStateMachineCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateStateMachineCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
8
|
class CreateStateMachineCommand extends smithy_client_1.Command {
|
|
44
|
-
// Start section: command_properties
|
|
45
|
-
// End section: command_properties
|
|
46
9
|
constructor(input) {
|
|
47
|
-
// Start section: command_constructor
|
|
48
10
|
super();
|
|
49
11
|
this.input = input;
|
|
50
|
-
// End section: command_constructor
|
|
51
12
|
}
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
56
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
57
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes an activity.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { SFNClient, DeleteActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
14
|
-
* // const { SFNClient, DeleteActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
15
|
-
* const client = new SFNClient(config);
|
|
16
|
-
* const command = new DeleteActivityCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteActivityCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteActivityCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteActivityCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
|
|
10
|
-
* status to <code>DELETING</code> and begins the deletion process. </p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
|
|
13
|
-
* less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
|
|
14
|
-
* API is called.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { SFNClient, DeleteStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
20
|
-
* // const { SFNClient, DeleteStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
21
|
-
* const client = new SFNClient(config);
|
|
22
|
-
* const command = new DeleteStateMachineCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DeleteStateMachineCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DeleteStateMachineCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class DeleteStateMachineCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describes an activity.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { SFNClient, DescribeActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
17
|
-
* // const { SFNClient, DescribeActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
18
|
-
* const client = new SFNClient(config);
|
|
19
|
-
* const command = new DescribeActivityCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeActivityCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeActivityCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DescribeActivityCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describes an execution.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { SFNClient, DescribeExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
18
|
-
* // const { SFNClient, DescribeExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
19
|
-
* const client = new SFNClient(config);
|
|
20
|
-
* const command = new DescribeExecutionCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DescribeExecutionCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DescribeExecutionCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DescribeExecutionCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describes a state machine.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { SFNClient, DescribeStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
17
|
-
* // const { SFNClient, DescribeStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
18
|
-
* const client = new SFNClient(config);
|
|
19
|
-
* const command = new DescribeStateMachineCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeStateMachineCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeStateMachineCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DescribeStateMachineCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describes the state machine associated with a specific execution.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { SFNClient, DescribeStateMachineForExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
18
|
-
* // const { SFNClient, DescribeStateMachineForExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
19
|
-
* const client = new SFNClient(config);
|
|
20
|
-
* const command = new DescribeStateMachineForExecutionCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DescribeStateMachineForExecutionCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DescribeStateMachineForExecutionCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DescribeStateMachineForExecutionCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Used by workers to retrieve a task (with the specified activity ARN) which has been
|
|
10
|
-
* scheduled for execution by a running state machine. This initiates a long poll, where the
|
|
11
|
-
* service holds the HTTP connection open and responds as soon as a task becomes available (i.e.
|
|
12
|
-
* an execution of a task of this type is needed.) The maximum time the service holds on to the
|
|
13
|
-
* request before responding is 60 seconds. If no task is available within 60 seconds, the poll
|
|
14
|
-
* returns a <code>taskToken</code> with a null string.</p>
|
|
15
|
-
* <important>
|
|
16
|
-
* <p>Workers should set their client side socket timeout to at least 65 seconds (5 seconds
|
|
17
|
-
* higher than the maximum time the service may hold the poll request).</p>
|
|
18
|
-
* <p>Polling with <code>GetActivityTask</code> can cause latency in some implementations. See
|
|
19
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html">Avoid
|
|
20
|
-
* Latency When Polling for Activity Tasks</a> in the Step Functions Developer Guide.</p>
|
|
21
|
-
* </important>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { SFNClient, GetActivityTaskCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
26
|
-
* // const { SFNClient, GetActivityTaskCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
27
|
-
* const client = new SFNClient(config);
|
|
28
|
-
* const command = new GetActivityTaskCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link GetActivityTaskCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link GetActivityTaskCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
8
|
class GetActivityTaskCommand extends smithy_client_1.Command {
|
|
38
|
-
// Start section: command_properties
|
|
39
|
-
// End section: command_properties
|
|
40
9
|
constructor(input) {
|
|
41
|
-
// Start section: command_constructor
|
|
42
10
|
super();
|
|
43
11
|
this.input = input;
|
|
44
|
-
// End section: command_constructor
|
|
45
12
|
}
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
50
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
51
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the history of the specified execution as a list of events. By default, the
|
|
10
|
-
* results are returned in ascending order of the <code>timeStamp</code> of the events. Use the
|
|
11
|
-
* <code>reverseOrder</code> parameter to get the latest events first.</p>
|
|
12
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
13
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
14
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { SFNClient, GetExecutionHistoryCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
19
|
-
* // const { SFNClient, GetExecutionHistoryCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
20
|
-
* const client = new SFNClient(config);
|
|
21
|
-
* const command = new GetExecutionHistoryCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link GetExecutionHistoryCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link GetExecutionHistoryCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class GetExecutionHistoryCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the existing activities.</p>
|
|
10
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
11
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { SFNClient, ListActivitiesCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
19
|
-
* // const { SFNClient, ListActivitiesCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
20
|
-
* const client = new SFNClient(config);
|
|
21
|
-
* const command = new ListActivitiesCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListActivitiesCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListActivitiesCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class ListActivitiesCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the executions of a state machine that meet the filtering criteria. Results are
|
|
10
|
-
* sorted by time, with the most recent execution first.</p>
|
|
11
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
12
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
13
|
-
* <note>
|
|
14
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { SFNClient, ListExecutionsCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
21
|
-
* // const { SFNClient, ListExecutionsCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
22
|
-
* const client = new SFNClient(config);
|
|
23
|
-
* const command = new ListExecutionsCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link ListExecutionsCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link ListExecutionsCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class ListExecutionsCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|