@aws-sdk/client-sfn 3.477.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 (169) 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-cjs/pagination/GetExecutionHistoryPaginator.js +2 -24
  39. package/dist-cjs/pagination/ListActivitiesPaginator.js +2 -24
  40. package/dist-cjs/pagination/ListExecutionsPaginator.js +2 -24
  41. package/dist-cjs/pagination/ListMapRunsPaginator.js +2 -24
  42. package/dist-cjs/pagination/ListStateMachinesPaginator.js +2 -24
  43. package/dist-es/commands/CreateActivityCommand.js +18 -41
  44. package/dist-es/commands/CreateStateMachineAliasCommand.js +18 -41
  45. package/dist-es/commands/CreateStateMachineCommand.js +18 -41
  46. package/dist-es/commands/DeleteActivityCommand.js +18 -41
  47. package/dist-es/commands/DeleteStateMachineAliasCommand.js +18 -41
  48. package/dist-es/commands/DeleteStateMachineCommand.js +18 -41
  49. package/dist-es/commands/DeleteStateMachineVersionCommand.js +18 -41
  50. package/dist-es/commands/DescribeActivityCommand.js +18 -41
  51. package/dist-es/commands/DescribeExecutionCommand.js +18 -41
  52. package/dist-es/commands/DescribeMapRunCommand.js +18 -41
  53. package/dist-es/commands/DescribeStateMachineAliasCommand.js +18 -41
  54. package/dist-es/commands/DescribeStateMachineCommand.js +18 -41
  55. package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +18 -41
  56. package/dist-es/commands/GetActivityTaskCommand.js +18 -41
  57. package/dist-es/commands/GetExecutionHistoryCommand.js +18 -41
  58. package/dist-es/commands/ListActivitiesCommand.js +18 -41
  59. package/dist-es/commands/ListExecutionsCommand.js +18 -41
  60. package/dist-es/commands/ListMapRunsCommand.js +18 -41
  61. package/dist-es/commands/ListStateMachineAliasesCommand.js +18 -41
  62. package/dist-es/commands/ListStateMachineVersionsCommand.js +18 -41
  63. package/dist-es/commands/ListStateMachinesCommand.js +18 -41
  64. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  65. package/dist-es/commands/PublishStateMachineVersionCommand.js +18 -41
  66. package/dist-es/commands/RedriveExecutionCommand.js +18 -41
  67. package/dist-es/commands/SendTaskFailureCommand.js +18 -41
  68. package/dist-es/commands/SendTaskHeartbeatCommand.js +18 -41
  69. package/dist-es/commands/SendTaskSuccessCommand.js +18 -41
  70. package/dist-es/commands/StartExecutionCommand.js +18 -41
  71. package/dist-es/commands/StartSyncExecutionCommand.js +18 -41
  72. package/dist-es/commands/StopExecutionCommand.js +18 -41
  73. package/dist-es/commands/TagResourceCommand.js +18 -41
  74. package/dist-es/commands/TestStateCommand.js +18 -41
  75. package/dist-es/commands/UntagResourceCommand.js +18 -41
  76. package/dist-es/commands/UpdateMapRunCommand.js +18 -41
  77. package/dist-es/commands/UpdateStateMachineAliasCommand.js +18 -41
  78. package/dist-es/commands/UpdateStateMachineCommand.js +18 -41
  79. package/dist-es/endpoint/EndpointParameters.js +6 -0
  80. package/dist-es/pagination/GetExecutionHistoryPaginator.js +2 -23
  81. package/dist-es/pagination/ListActivitiesPaginator.js +2 -23
  82. package/dist-es/pagination/ListExecutionsPaginator.js +2 -23
  83. package/dist-es/pagination/ListMapRunsPaginator.js +2 -23
  84. package/dist-es/pagination/ListStateMachinesPaginator.js +2 -23
  85. package/dist-types/commands/CreateActivityCommand.d.ts +6 -21
  86. package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +6 -21
  87. package/dist-types/commands/CreateStateMachineCommand.d.ts +6 -21
  88. package/dist-types/commands/DeleteActivityCommand.d.ts +6 -21
  89. package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +6 -21
  90. package/dist-types/commands/DeleteStateMachineCommand.d.ts +6 -21
  91. package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +6 -21
  92. package/dist-types/commands/DescribeActivityCommand.d.ts +6 -21
  93. package/dist-types/commands/DescribeExecutionCommand.d.ts +6 -21
  94. package/dist-types/commands/DescribeMapRunCommand.d.ts +6 -21
  95. package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +6 -21
  96. package/dist-types/commands/DescribeStateMachineCommand.d.ts +6 -21
  97. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +6 -21
  98. package/dist-types/commands/GetActivityTaskCommand.d.ts +6 -21
  99. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +6 -21
  100. package/dist-types/commands/ListActivitiesCommand.d.ts +6 -21
  101. package/dist-types/commands/ListExecutionsCommand.d.ts +6 -21
  102. package/dist-types/commands/ListMapRunsCommand.d.ts +6 -21
  103. package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +6 -21
  104. package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +6 -21
  105. package/dist-types/commands/ListStateMachinesCommand.d.ts +6 -21
  106. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  107. package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +6 -21
  108. package/dist-types/commands/RedriveExecutionCommand.d.ts +6 -21
  109. package/dist-types/commands/SendTaskFailureCommand.d.ts +6 -21
  110. package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +6 -21
  111. package/dist-types/commands/SendTaskSuccessCommand.d.ts +6 -21
  112. package/dist-types/commands/StartExecutionCommand.d.ts +6 -21
  113. package/dist-types/commands/StartSyncExecutionCommand.d.ts +6 -21
  114. package/dist-types/commands/StopExecutionCommand.d.ts +6 -21
  115. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  116. package/dist-types/commands/TestStateCommand.d.ts +6 -21
  117. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  118. package/dist-types/commands/UpdateMapRunCommand.d.ts +6 -21
  119. package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +6 -21
  120. package/dist-types/commands/UpdateStateMachineCommand.d.ts +6 -21
  121. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  122. package/dist-types/pagination/GetExecutionHistoryPaginator.d.ts +1 -1
  123. package/dist-types/pagination/ListActivitiesPaginator.d.ts +1 -1
  124. package/dist-types/pagination/ListExecutionsPaginator.d.ts +1 -1
  125. package/dist-types/pagination/ListMapRunsPaginator.d.ts +1 -1
  126. package/dist-types/pagination/ListStateMachinesPaginator.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +12 -24
  129. package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +12 -24
  132. package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +14 -23
  133. package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +12 -24
  134. package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +12 -24
  139. package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +12 -24
  140. package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +12 -24
  146. package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +12 -24
  150. package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/TestStateCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +12 -24
  162. package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  164. package/dist-types/ts3.4/pagination/GetExecutionHistoryPaginator.d.ts +3 -3
  165. package/dist-types/ts3.4/pagination/ListActivitiesPaginator.d.ts +3 -3
  166. package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +3 -3
  167. package/dist-types/ts3.4/pagination/ListMapRunsPaginator.d.ts +3 -3
  168. package/dist-types/ts3.4/pagination/ListStateMachinesPaginator.d.ts +3 -3
  169. package/package.json +11 -10
@@ -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 { UpdateStateMachineAliasInputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateStateMachineAliasCommand, se_UpdateStateMachineAliasCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class UpdateStateMachineAliasCommand 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, UpdateStateMachineAliasCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "SFNClient";
27
- const commandName = "UpdateStateMachineAliasCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateStateMachineAliasInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSStepFunctions",
36
- operation: "UpdateStateMachineAlias",
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_UpdateStateMachineAliasCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateStateMachineAliasCommand(output, context);
47
- }
8
+ export class UpdateStateMachineAliasCommand 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", "UpdateStateMachineAlias", {})
20
+ .n("SFNClient", "UpdateStateMachineAliasCommand")
21
+ .f(UpdateStateMachineAliasInputFilterSensitiveLog, void 0)
22
+ .ser(se_UpdateStateMachineAliasCommand)
23
+ .de(de_UpdateStateMachineAliasCommand)
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 { UpdateStateMachineInputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateStateMachineCommand, se_UpdateStateMachineCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class UpdateStateMachineCommand 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, UpdateStateMachineCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "SFNClient";
27
- const commandName = "UpdateStateMachineCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateStateMachineInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSStepFunctions",
36
- operation: "UpdateStateMachine",
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_UpdateStateMachineCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateStateMachineCommand(output, context);
47
- }
8
+ export class UpdateStateMachineCommand 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", "UpdateStateMachine", {})
20
+ .n("SFNClient", "UpdateStateMachineCommand")
21
+ .f(UpdateStateMachineInputFilterSensitiveLog, void 0)
22
+ .ser(se_UpdateStateMachineCommand)
23
+ .de(de_UpdateStateMachineCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "states",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetExecutionHistoryCommand, } from "../commands/GetExecutionHistoryCommand";
2
3
  import { SFNClient } from "../SFNClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetExecutionHistoryCommand(input), ...args);
5
- };
6
- export async function* paginateGetExecutionHistory(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SFNClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SFN | SFNClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetExecutionHistory = createPaginator(SFNClient, GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListActivitiesCommand, } from "../commands/ListActivitiesCommand";
2
3
  import { SFNClient } from "../SFNClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListActivitiesCommand(input), ...args);
5
- };
6
- export async function* paginateListActivities(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SFNClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SFN | SFNClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListActivities = createPaginator(SFNClient, ListActivitiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListExecutionsCommand, } from "../commands/ListExecutionsCommand";
2
3
  import { SFNClient } from "../SFNClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListExecutionsCommand(input), ...args);
5
- };
6
- export async function* paginateListExecutions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SFNClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SFN | SFNClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListExecutions = createPaginator(SFNClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMapRunsCommand } from "../commands/ListMapRunsCommand";
2
3
  import { SFNClient } from "../SFNClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMapRunsCommand(input), ...args);
5
- };
6
- export async function* paginateListMapRuns(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SFNClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SFN | SFNClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMapRuns = createPaginator(SFNClient, ListMapRunsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListStateMachinesCommand, } from "../commands/ListStateMachinesCommand";
2
3
  import { SFNClient } from "../SFNClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListStateMachinesCommand(input), ...args);
5
- };
6
- export async function* paginateListStateMachines(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof SFNClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SFN | SFNClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListStateMachines = createPaginator(SFNClient, ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateActivityInput, CreateActivityOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateActivityCommandInput extends CreateActivityInput {
21
20
  */
22
21
  export interface CreateActivityCommandOutput extends CreateActivityOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateActivityCommand_base: {
24
+ new (input: CreateActivityCommandInput): import("@smithy/smithy-client").CommandImpl<CreateActivityCommandInput, CreateActivityCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an activity. An activity is a task that you write in any programming language and
@@ -85,23 +88,5 @@ export interface CreateActivityCommandOutput extends CreateActivityOutput, __Met
85
88
  * <p>Base exception class for all service exceptions from SFN service.</p>
86
89
  *
87
90
  */
88
- export declare class CreateActivityCommand extends $Command<CreateActivityCommandInput, CreateActivityCommandOutput, SFNClientResolvedConfig> {
89
- readonly input: CreateActivityCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: CreateActivityCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateActivityCommandInput, CreateActivityCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class CreateActivityCommand extends CreateActivityCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateStateMachineAliasInput, CreateStateMachineAliasOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateStateMachineAliasCommandInput extends CreateStateMachineA
21
20
  */
22
21
  export interface CreateStateMachineAliasCommandOutput extends CreateStateMachineAliasOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateStateMachineAliasCommand_base: {
24
+ new (input: CreateStateMachineAliasCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStateMachineAliasCommandInput, CreateStateMachineAliasCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-alias.html">alias</a> for a state machine that points to one or two <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-version.html">versions</a> of the same state machine. You can set your application to call <a>StartExecution</a> with an alias and update the version the alias uses without changing the client's code.</p>
@@ -122,23 +125,5 @@ export interface CreateStateMachineAliasCommandOutput extends CreateStateMachine
122
125
  * <p>Base exception class for all service exceptions from SFN service.</p>
123
126
  *
124
127
  */
125
- export declare class CreateStateMachineAliasCommand extends $Command<CreateStateMachineAliasCommandInput, CreateStateMachineAliasCommandOutput, SFNClientResolvedConfig> {
126
- readonly input: CreateStateMachineAliasCommandInput;
127
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
128
- /**
129
- * @public
130
- */
131
- constructor(input: CreateStateMachineAliasCommandInput);
132
- /**
133
- * @internal
134
- */
135
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStateMachineAliasCommandInput, CreateStateMachineAliasCommandOutput>;
136
- /**
137
- * @internal
138
- */
139
- private serialize;
140
- /**
141
- * @internal
142
- */
143
- private deserialize;
128
+ export declare class CreateStateMachineAliasCommand extends CreateStateMachineAliasCommand_base {
144
129
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateStateMachineInput, CreateStateMachineOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateStateMachineCommandInput extends CreateStateMachineInput
21
20
  */
22
21
  export interface CreateStateMachineCommandOutput extends CreateStateMachineOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateStateMachineCommand_base: {
24
+ new (input: CreateStateMachineCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStateMachineCommandInput, CreateStateMachineCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a state machine. A state machine consists of a collection of states that can do
@@ -140,23 +143,5 @@ export interface CreateStateMachineCommandOutput extends CreateStateMachineOutpu
140
143
  * <p>Base exception class for all service exceptions from SFN service.</p>
141
144
  *
142
145
  */
143
- export declare class CreateStateMachineCommand extends $Command<CreateStateMachineCommandInput, CreateStateMachineCommandOutput, SFNClientResolvedConfig> {
144
- readonly input: CreateStateMachineCommandInput;
145
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
146
- /**
147
- * @public
148
- */
149
- constructor(input: CreateStateMachineCommandInput);
150
- /**
151
- * @internal
152
- */
153
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStateMachineCommandInput, CreateStateMachineCommandOutput>;
154
- /**
155
- * @internal
156
- */
157
- private serialize;
158
- /**
159
- * @internal
160
- */
161
- private deserialize;
146
+ export declare class CreateStateMachineCommand extends CreateStateMachineCommand_base {
162
147
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteActivityInput, DeleteActivityOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteActivityCommandInput extends DeleteActivityInput {
21
20
  */
22
21
  export interface DeleteActivityCommandOutput extends DeleteActivityOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteActivityCommand_base: {
24
+ new (input: DeleteActivityCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteActivityCommandInput, DeleteActivityCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an activity.</p>
@@ -52,23 +55,5 @@ export interface DeleteActivityCommandOutput extends DeleteActivityOutput, __Met
52
55
  * <p>Base exception class for all service exceptions from SFN service.</p>
53
56
  *
54
57
  */
55
- export declare class DeleteActivityCommand extends $Command<DeleteActivityCommandInput, DeleteActivityCommandOutput, SFNClientResolvedConfig> {
56
- readonly input: DeleteActivityCommandInput;
57
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
58
- /**
59
- * @public
60
- */
61
- constructor(input: DeleteActivityCommandInput);
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteActivityCommandInput, DeleteActivityCommandOutput>;
66
- /**
67
- * @internal
68
- */
69
- private serialize;
70
- /**
71
- * @internal
72
- */
73
- private deserialize;
58
+ export declare class DeleteActivityCommand extends DeleteActivityCommand_base {
74
59
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteStateMachineAliasInput, DeleteStateMachineAliasOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteStateMachineAliasCommandInput extends DeleteStateMachineA
21
20
  */
22
21
  export interface DeleteStateMachineAliasCommandOutput extends DeleteStateMachineAliasOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteStateMachineAliasCommand_base: {
24
+ new (input: DeleteStateMachineAliasCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStateMachineAliasCommandInput, DeleteStateMachineAliasCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a state machine <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-alias.html">alias</a>.</p>
@@ -90,23 +93,5 @@ export interface DeleteStateMachineAliasCommandOutput extends DeleteStateMachine
90
93
  * <p>Base exception class for all service exceptions from SFN service.</p>
91
94
  *
92
95
  */
93
- export declare class DeleteStateMachineAliasCommand extends $Command<DeleteStateMachineAliasCommandInput, DeleteStateMachineAliasCommandOutput, SFNClientResolvedConfig> {
94
- readonly input: DeleteStateMachineAliasCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: DeleteStateMachineAliasCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStateMachineAliasCommandInput, DeleteStateMachineAliasCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class DeleteStateMachineAliasCommand extends DeleteStateMachineAliasCommand_base {
112
97
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteStateMachineInput, DeleteStateMachineOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteStateMachineCommandInput extends DeleteStateMachineInput
21
20
  */
22
21
  export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteStateMachineCommand_base: {
24
+ new (input: DeleteStateMachineCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a state machine. This is an asynchronous operation. It sets the state machine's
@@ -81,23 +84,5 @@ export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutpu
81
84
  * <p>Base exception class for all service exceptions from SFN service.</p>
82
85
  *
83
86
  */
84
- export declare class DeleteStateMachineCommand extends $Command<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput, SFNClientResolvedConfig> {
85
- readonly input: DeleteStateMachineCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: DeleteStateMachineCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class DeleteStateMachineCommand extends DeleteStateMachineCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteStateMachineVersionInput, DeleteStateMachineVersionOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteStateMachineVersionCommandInput extends DeleteStateMachin
21
20
  */
22
21
  export interface DeleteStateMachineVersionCommandOutput extends DeleteStateMachineVersionOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteStateMachineVersionCommand_base: {
24
+ new (input: DeleteStateMachineVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStateMachineVersionCommandInput, DeleteStateMachineVersionCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a state machine <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-state-machine-version.html">version</a>. After
@@ -84,23 +87,5 @@ export interface DeleteStateMachineVersionCommandOutput extends DeleteStateMachi
84
87
  * <p>Base exception class for all service exceptions from SFN service.</p>
85
88
  *
86
89
  */
87
- export declare class DeleteStateMachineVersionCommand extends $Command<DeleteStateMachineVersionCommandInput, DeleteStateMachineVersionCommandOutput, SFNClientResolvedConfig> {
88
- readonly input: DeleteStateMachineVersionCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: DeleteStateMachineVersionCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStateMachineVersionCommandInput, DeleteStateMachineVersionCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class DeleteStateMachineVersionCommand extends DeleteStateMachineVersionCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeActivityInput, DescribeActivityOutput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeActivityCommandInput extends DescribeActivityInput {
21
20
  */
22
21
  export interface DescribeActivityCommandOutput extends DescribeActivityOutput, __MetadataBearer {
23
22
  }
23
+ declare const DescribeActivityCommand_base: {
24
+ new (input: DescribeActivityCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeActivityCommandInput, DescribeActivityCommandOutput, SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes an activity.</p>
@@ -62,23 +65,5 @@ export interface DescribeActivityCommandOutput extends DescribeActivityOutput, _
62
65
  * <p>Base exception class for all service exceptions from SFN service.</p>
63
66
  *
64
67
  */
65
- export declare class DescribeActivityCommand extends $Command<DescribeActivityCommandInput, DescribeActivityCommandOutput, SFNClientResolvedConfig> {
66
- readonly input: DescribeActivityCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: DescribeActivityCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeActivityCommandInput, DescribeActivityCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class DescribeActivityCommand extends DescribeActivityCommand_base {
84
69
  }