@aws-sdk/client-sfn 3.478.0 → 3.481.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.
Files changed (149) hide show
  1. package/dist-cjs/commands/CreateActivityCommand.js +18 -41
  2. package/dist-cjs/commands/CreateStateMachineAliasCommand.js +18 -41
  3. package/dist-cjs/commands/CreateStateMachineCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteActivityCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteStateMachineAliasCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteStateMachineCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteStateMachineVersionCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeActivityCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeExecutionCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeMapRunCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeStateMachineAliasCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeStateMachineCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeStateMachineForExecutionCommand.js +18 -41
  14. package/dist-cjs/commands/GetActivityTaskCommand.js +18 -41
  15. package/dist-cjs/commands/GetExecutionHistoryCommand.js +18 -41
  16. package/dist-cjs/commands/ListActivitiesCommand.js +18 -41
  17. package/dist-cjs/commands/ListExecutionsCommand.js +18 -41
  18. package/dist-cjs/commands/ListMapRunsCommand.js +18 -41
  19. package/dist-cjs/commands/ListStateMachineAliasesCommand.js +18 -41
  20. package/dist-cjs/commands/ListStateMachineVersionsCommand.js +18 -41
  21. package/dist-cjs/commands/ListStateMachinesCommand.js +18 -41
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  23. package/dist-cjs/commands/PublishStateMachineVersionCommand.js +18 -41
  24. package/dist-cjs/commands/RedriveExecutionCommand.js +18 -41
  25. package/dist-cjs/commands/SendTaskFailureCommand.js +18 -41
  26. package/dist-cjs/commands/SendTaskHeartbeatCommand.js +18 -41
  27. package/dist-cjs/commands/SendTaskSuccessCommand.js +18 -41
  28. package/dist-cjs/commands/StartExecutionCommand.js +18 -41
  29. package/dist-cjs/commands/StartSyncExecutionCommand.js +18 -41
  30. package/dist-cjs/commands/StopExecutionCommand.js +18 -41
  31. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  32. package/dist-cjs/commands/TestStateCommand.js +18 -41
  33. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  34. package/dist-cjs/commands/UpdateMapRunCommand.js +18 -41
  35. package/dist-cjs/commands/UpdateStateMachineAliasCommand.js +18 -41
  36. package/dist-cjs/commands/UpdateStateMachineCommand.js +18 -41
  37. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  38. package/dist-es/commands/CreateActivityCommand.js +18 -41
  39. package/dist-es/commands/CreateStateMachineAliasCommand.js +18 -41
  40. package/dist-es/commands/CreateStateMachineCommand.js +18 -41
  41. package/dist-es/commands/DeleteActivityCommand.js +18 -41
  42. package/dist-es/commands/DeleteStateMachineAliasCommand.js +18 -41
  43. package/dist-es/commands/DeleteStateMachineCommand.js +18 -41
  44. package/dist-es/commands/DeleteStateMachineVersionCommand.js +18 -41
  45. package/dist-es/commands/DescribeActivityCommand.js +18 -41
  46. package/dist-es/commands/DescribeExecutionCommand.js +18 -41
  47. package/dist-es/commands/DescribeMapRunCommand.js +18 -41
  48. package/dist-es/commands/DescribeStateMachineAliasCommand.js +18 -41
  49. package/dist-es/commands/DescribeStateMachineCommand.js +18 -41
  50. package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +18 -41
  51. package/dist-es/commands/GetActivityTaskCommand.js +18 -41
  52. package/dist-es/commands/GetExecutionHistoryCommand.js +18 -41
  53. package/dist-es/commands/ListActivitiesCommand.js +18 -41
  54. package/dist-es/commands/ListExecutionsCommand.js +18 -41
  55. package/dist-es/commands/ListMapRunsCommand.js +18 -41
  56. package/dist-es/commands/ListStateMachineAliasesCommand.js +18 -41
  57. package/dist-es/commands/ListStateMachineVersionsCommand.js +18 -41
  58. package/dist-es/commands/ListStateMachinesCommand.js +18 -41
  59. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  60. package/dist-es/commands/PublishStateMachineVersionCommand.js +18 -41
  61. package/dist-es/commands/RedriveExecutionCommand.js +18 -41
  62. package/dist-es/commands/SendTaskFailureCommand.js +18 -41
  63. package/dist-es/commands/SendTaskHeartbeatCommand.js +18 -41
  64. package/dist-es/commands/SendTaskSuccessCommand.js +18 -41
  65. package/dist-es/commands/StartExecutionCommand.js +18 -41
  66. package/dist-es/commands/StartSyncExecutionCommand.js +18 -41
  67. package/dist-es/commands/StopExecutionCommand.js +18 -41
  68. package/dist-es/commands/TagResourceCommand.js +18 -41
  69. package/dist-es/commands/TestStateCommand.js +18 -41
  70. package/dist-es/commands/UntagResourceCommand.js +18 -41
  71. package/dist-es/commands/UpdateMapRunCommand.js +18 -41
  72. package/dist-es/commands/UpdateStateMachineAliasCommand.js +18 -41
  73. package/dist-es/commands/UpdateStateMachineCommand.js +18 -41
  74. package/dist-es/endpoint/EndpointParameters.js +6 -0
  75. package/dist-types/commands/CreateActivityCommand.d.ts +6 -21
  76. package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +6 -21
  77. package/dist-types/commands/CreateStateMachineCommand.d.ts +6 -21
  78. package/dist-types/commands/DeleteActivityCommand.d.ts +6 -21
  79. package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +6 -21
  80. package/dist-types/commands/DeleteStateMachineCommand.d.ts +6 -21
  81. package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +6 -21
  82. package/dist-types/commands/DescribeActivityCommand.d.ts +6 -21
  83. package/dist-types/commands/DescribeExecutionCommand.d.ts +6 -21
  84. package/dist-types/commands/DescribeMapRunCommand.d.ts +6 -21
  85. package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +6 -21
  86. package/dist-types/commands/DescribeStateMachineCommand.d.ts +6 -21
  87. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +6 -21
  88. package/dist-types/commands/GetActivityTaskCommand.d.ts +6 -21
  89. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +6 -21
  90. package/dist-types/commands/ListActivitiesCommand.d.ts +6 -21
  91. package/dist-types/commands/ListExecutionsCommand.d.ts +6 -21
  92. package/dist-types/commands/ListMapRunsCommand.d.ts +6 -21
  93. package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +6 -21
  94. package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +6 -21
  95. package/dist-types/commands/ListStateMachinesCommand.d.ts +6 -21
  96. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  97. package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +6 -21
  98. package/dist-types/commands/RedriveExecutionCommand.d.ts +6 -21
  99. package/dist-types/commands/SendTaskFailureCommand.d.ts +6 -21
  100. package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +6 -21
  101. package/dist-types/commands/SendTaskSuccessCommand.d.ts +6 -21
  102. package/dist-types/commands/StartExecutionCommand.d.ts +6 -21
  103. package/dist-types/commands/StartSyncExecutionCommand.d.ts +6 -21
  104. package/dist-types/commands/StopExecutionCommand.d.ts +6 -21
  105. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  106. package/dist-types/commands/TestStateCommand.d.ts +6 -21
  107. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  108. package/dist-types/commands/UpdateMapRunCommand.d.ts +6 -21
  109. package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +6 -21
  110. package/dist-types/commands/UpdateStateMachineCommand.d.ts +6 -21
  111. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  112. package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +14 -23
  113. package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +12 -24
  114. package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +12 -24
  117. package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +12 -24
  125. package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +14 -23
  126. package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +12 -24
  131. package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +12 -24
  132. package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +14 -23
  133. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +12 -24
  135. package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +14 -23
  138. package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/TestStateCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  149. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateActivityCommand, se_CreateActivityCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class CreateActivityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateActivityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SFNClient";
26
- const commandName = "CreateActivityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStepFunctions",
35
- operation: "CreateActivity",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateActivityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateActivityCommand(output, context);
46
- }
7
+ export class CreateActivityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStepFunctions", "CreateActivity", {})
19
+ .n("SFNClient", "CreateActivityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateActivityCommand)
22
+ .de(de_CreateActivityCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { CreateStateMachineAliasInputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_CreateStateMachineAliasCommand, se_CreateStateMachineAliasCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class CreateStateMachineAliasCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateStateMachineAliasCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "SFNClient";
27
- const commandName = "CreateStateMachineAliasCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: CreateStateMachineAliasInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSStepFunctions",
36
- operation: "CreateStateMachineAlias",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_CreateStateMachineAliasCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_CreateStateMachineAliasCommand(output, context);
47
- }
8
+ export class CreateStateMachineAliasCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSStepFunctions", "CreateStateMachineAlias", {})
20
+ .n("SFNClient", "CreateStateMachineAliasCommand")
21
+ .f(CreateStateMachineAliasInputFilterSensitiveLog, void 0)
22
+ .ser(se_CreateStateMachineAliasCommand)
23
+ .de(de_CreateStateMachineAliasCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { CreateStateMachineInputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_CreateStateMachineCommand, se_CreateStateMachineCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class CreateStateMachineCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateStateMachineCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "SFNClient";
27
- const commandName = "CreateStateMachineCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: CreateStateMachineInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSStepFunctions",
36
- operation: "CreateStateMachine",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_CreateStateMachineCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_CreateStateMachineCommand(output, context);
47
- }
8
+ export class CreateStateMachineCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSStepFunctions", "CreateStateMachine", {})
20
+ .n("SFNClient", "CreateStateMachineCommand")
21
+ .f(CreateStateMachineInputFilterSensitiveLog, void 0)
22
+ .ser(se_CreateStateMachineCommand)
23
+ .de(de_CreateStateMachineCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteActivityCommand, se_DeleteActivityCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class DeleteActivityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteActivityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SFNClient";
26
- const commandName = "DeleteActivityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStepFunctions",
35
- operation: "DeleteActivity",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteActivityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteActivityCommand(output, context);
46
- }
7
+ export class DeleteActivityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStepFunctions", "DeleteActivity", {})
19
+ .n("SFNClient", "DeleteActivityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteActivityCommand)
22
+ .de(de_DeleteActivityCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteStateMachineAliasCommand, se_DeleteStateMachineAliasCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class DeleteStateMachineAliasCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteStateMachineAliasCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SFNClient";
26
- const commandName = "DeleteStateMachineAliasCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStepFunctions",
35
- operation: "DeleteStateMachineAlias",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteStateMachineAliasCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteStateMachineAliasCommand(output, context);
46
- }
7
+ export class DeleteStateMachineAliasCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStepFunctions", "DeleteStateMachineAlias", {})
19
+ .n("SFNClient", "DeleteStateMachineAliasCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteStateMachineAliasCommand)
22
+ .de(de_DeleteStateMachineAliasCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteStateMachineCommand, se_DeleteStateMachineCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class DeleteStateMachineCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteStateMachineCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SFNClient";
26
- const commandName = "DeleteStateMachineCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStepFunctions",
35
- operation: "DeleteStateMachine",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteStateMachineCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteStateMachineCommand(output, context);
46
- }
7
+ export class DeleteStateMachineCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStepFunctions", "DeleteStateMachine", {})
19
+ .n("SFNClient", "DeleteStateMachineCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteStateMachineCommand)
22
+ .de(de_DeleteStateMachineCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteStateMachineVersionCommand, se_DeleteStateMachineVersionCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class DeleteStateMachineVersionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteStateMachineVersionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SFNClient";
26
- const commandName = "DeleteStateMachineVersionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStepFunctions",
35
- operation: "DeleteStateMachineVersion",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteStateMachineVersionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteStateMachineVersionCommand(output, context);
46
- }
7
+ export class DeleteStateMachineVersionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStepFunctions", "DeleteStateMachineVersion", {})
19
+ .n("SFNClient", "DeleteStateMachineVersionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteStateMachineVersionCommand)
22
+ .de(de_DeleteStateMachineVersionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeActivityCommand, se_DescribeActivityCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class DescribeActivityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeActivityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SFNClient";
26
- const commandName = "DescribeActivityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSStepFunctions",
35
- operation: "DescribeActivity",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeActivityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeActivityCommand(output, context);
46
- }
7
+ export class DescribeActivityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSStepFunctions", "DescribeActivity", {})
19
+ .n("SFNClient", "DescribeActivityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeActivityCommand)
22
+ .de(de_DescribeActivityCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeExecutionOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeExecutionCommand, se_DescribeExecutionCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class DescribeExecutionCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeExecutionCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "SFNClient";
27
- const commandName = "DescribeExecutionCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: DescribeExecutionOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSStepFunctions",
36
- operation: "DescribeExecution",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeExecutionCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeExecutionCommand(output, context);
47
- }
8
+ export class DescribeExecutionCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSStepFunctions", "DescribeExecution", {})
20
+ .n("SFNClient", "DescribeExecutionCommand")
21
+ .f(void 0, DescribeExecutionOutputFilterSensitiveLog)
22
+ .ser(se_DescribeExecutionCommand)
23
+ .de(de_DescribeExecutionCommand)
24
+ .build() {
48
25
  }