@aws-sdk/client-swf 3.926.0 → 3.928.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 (60) hide show
  1. package/dist-cjs/index.js +1744 -1400
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SWFClient.js +2 -0
  4. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +3 -9
  5. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +3 -9
  6. package/dist-es/commands/CountPendingActivityTasksCommand.js +3 -9
  7. package/dist-es/commands/CountPendingDecisionTasksCommand.js +3 -9
  8. package/dist-es/commands/DeleteActivityTypeCommand.js +3 -9
  9. package/dist-es/commands/DeleteWorkflowTypeCommand.js +3 -9
  10. package/dist-es/commands/DeprecateActivityTypeCommand.js +3 -9
  11. package/dist-es/commands/DeprecateDomainCommand.js +3 -9
  12. package/dist-es/commands/DeprecateWorkflowTypeCommand.js +3 -9
  13. package/dist-es/commands/DescribeActivityTypeCommand.js +3 -9
  14. package/dist-es/commands/DescribeDomainCommand.js +3 -9
  15. package/dist-es/commands/DescribeWorkflowExecutionCommand.js +3 -9
  16. package/dist-es/commands/DescribeWorkflowTypeCommand.js +3 -9
  17. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +3 -9
  18. package/dist-es/commands/ListActivityTypesCommand.js +3 -9
  19. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +3 -9
  20. package/dist-es/commands/ListDomainsCommand.js +3 -9
  21. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/ListWorkflowTypesCommand.js +3 -9
  24. package/dist-es/commands/PollForActivityTaskCommand.js +3 -9
  25. package/dist-es/commands/PollForDecisionTaskCommand.js +3 -9
  26. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +3 -9
  27. package/dist-es/commands/RegisterActivityTypeCommand.js +3 -9
  28. package/dist-es/commands/RegisterDomainCommand.js +3 -9
  29. package/dist-es/commands/RegisterWorkflowTypeCommand.js +3 -9
  30. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +3 -9
  31. package/dist-es/commands/RespondActivityTaskCanceledCommand.js +3 -9
  32. package/dist-es/commands/RespondActivityTaskCompletedCommand.js +3 -9
  33. package/dist-es/commands/RespondActivityTaskFailedCommand.js +3 -9
  34. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +3 -9
  35. package/dist-es/commands/SignalWorkflowExecutionCommand.js +3 -9
  36. package/dist-es/commands/StartWorkflowExecutionCommand.js +3 -9
  37. package/dist-es/commands/TagResourceCommand.js +3 -9
  38. package/dist-es/commands/TerminateWorkflowExecutionCommand.js +3 -9
  39. package/dist-es/commands/UndeprecateActivityTypeCommand.js +3 -9
  40. package/dist-es/commands/UndeprecateDomainCommand.js +3 -9
  41. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +3 -9
  42. package/dist-es/commands/UntagResourceCommand.js +3 -9
  43. package/dist-es/runtimeConfig.shared.js +7 -0
  44. package/dist-es/schemas/schemas_0.js +1633 -0
  45. package/dist-types/SWFClient.d.ts +10 -1
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/runtimeConfig.d.ts +1 -0
  48. package/dist-types/runtimeConfig.native.d.ts +1 -0
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +205 -0
  51. package/dist-types/ts3.4/SWFClient.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  56. package/dist-types/ts3.4/schemas/schemas_0.d.ts +210 -0
  57. package/package.json +5 -5
  58. package/dist-es/protocols/Aws_json1_0.js +0 -1098
  59. package/dist-types/protocols/Aws_json1_0.d.ts +0 -353
  60. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -473
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_0Protocol({
31
+ defaultNamespace: "com.amazonaws.swf",
32
+ serviceTarget: "SimpleWorkflowService",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "SWF",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SWFClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CountClosedWorkflowExecutionsCommand, se_CountClosedWorkflowExecutionsCommand, } from "../protocols/Aws_json1_0";
4
+ import { CountClosedWorkflowExecutions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CountClosedWorkflowExecutionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "CountClosedWorkflowExecutions", {})
17
13
  .n("SWFClient", "CountClosedWorkflowExecutionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CountClosedWorkflowExecutionsCommand)
20
- .de(de_CountClosedWorkflowExecutionsCommand)
14
+ .sc(CountClosedWorkflowExecutions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CountOpenWorkflowExecutionsCommand, se_CountOpenWorkflowExecutionsCommand } from "../protocols/Aws_json1_0";
4
+ import { CountOpenWorkflowExecutions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CountOpenWorkflowExecutionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "CountOpenWorkflowExecutions", {})
17
13
  .n("SWFClient", "CountOpenWorkflowExecutionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CountOpenWorkflowExecutionsCommand)
20
- .de(de_CountOpenWorkflowExecutionsCommand)
14
+ .sc(CountOpenWorkflowExecutions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CountPendingActivityTasksCommand, se_CountPendingActivityTasksCommand } from "../protocols/Aws_json1_0";
4
+ import { CountPendingActivityTasks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CountPendingActivityTasksCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "CountPendingActivityTasks", {})
17
13
  .n("SWFClient", "CountPendingActivityTasksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CountPendingActivityTasksCommand)
20
- .de(de_CountPendingActivityTasksCommand)
14
+ .sc(CountPendingActivityTasks)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CountPendingDecisionTasksCommand, se_CountPendingDecisionTasksCommand } from "../protocols/Aws_json1_0";
4
+ import { CountPendingDecisionTasks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CountPendingDecisionTasksCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "CountPendingDecisionTasks", {})
17
13
  .n("SWFClient", "CountPendingDecisionTasksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CountPendingDecisionTasksCommand)
20
- .de(de_CountPendingDecisionTasksCommand)
14
+ .sc(CountPendingDecisionTasks)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteActivityTypeCommand, se_DeleteActivityTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteActivityType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteActivityTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DeleteActivityType", {})
17
13
  .n("SWFClient", "DeleteActivityTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteActivityTypeCommand)
20
- .de(de_DeleteActivityTypeCommand)
14
+ .sc(DeleteActivityType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteWorkflowTypeCommand, se_DeleteWorkflowTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteWorkflowType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteWorkflowTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DeleteWorkflowType", {})
17
13
  .n("SWFClient", "DeleteWorkflowTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteWorkflowTypeCommand)
20
- .de(de_DeleteWorkflowTypeCommand)
14
+ .sc(DeleteWorkflowType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeprecateActivityTypeCommand, se_DeprecateActivityTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { DeprecateActivityType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeprecateActivityTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DeprecateActivityType", {})
17
13
  .n("SWFClient", "DeprecateActivityTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeprecateActivityTypeCommand)
20
- .de(de_DeprecateActivityTypeCommand)
14
+ .sc(DeprecateActivityType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeprecateDomainCommand, se_DeprecateDomainCommand } from "../protocols/Aws_json1_0";
4
+ import { DeprecateDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeprecateDomainCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DeprecateDomain", {})
17
13
  .n("SWFClient", "DeprecateDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeprecateDomainCommand)
20
- .de(de_DeprecateDomainCommand)
14
+ .sc(DeprecateDomain)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeprecateWorkflowTypeCommand, se_DeprecateWorkflowTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { DeprecateWorkflowType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeprecateWorkflowTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DeprecateWorkflowType", {})
17
13
  .n("SWFClient", "DeprecateWorkflowTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeprecateWorkflowTypeCommand)
20
- .de(de_DeprecateWorkflowTypeCommand)
14
+ .sc(DeprecateWorkflowType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeActivityTypeCommand, se_DescribeActivityTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeActivityType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeActivityTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DescribeActivityType", {})
17
13
  .n("SWFClient", "DescribeActivityTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeActivityTypeCommand)
20
- .de(de_DescribeActivityTypeCommand)
14
+ .sc(DescribeActivityType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeDomainCommand, se_DescribeDomainCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDomainCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DescribeDomain", {})
17
13
  .n("SWFClient", "DescribeDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDomainCommand)
20
- .de(de_DescribeDomainCommand)
14
+ .sc(DescribeDomain)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeWorkflowExecutionCommand, se_DescribeWorkflowExecutionCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeWorkflowExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeWorkflowExecutionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DescribeWorkflowExecution", {})
17
13
  .n("SWFClient", "DescribeWorkflowExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeWorkflowExecutionCommand)
20
- .de(de_DescribeWorkflowExecutionCommand)
14
+ .sc(DescribeWorkflowExecution)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeWorkflowTypeCommand, se_DescribeWorkflowTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeWorkflowType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeWorkflowTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "DescribeWorkflowType", {})
17
13
  .n("SWFClient", "DescribeWorkflowTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeWorkflowTypeCommand)
20
- .de(de_DescribeWorkflowTypeCommand)
14
+ .sc(DescribeWorkflowType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetWorkflowExecutionHistoryCommand, se_GetWorkflowExecutionHistoryCommand } from "../protocols/Aws_json1_0";
4
+ import { GetWorkflowExecutionHistory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWorkflowExecutionHistoryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "GetWorkflowExecutionHistory", {})
17
13
  .n("SWFClient", "GetWorkflowExecutionHistoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWorkflowExecutionHistoryCommand)
20
- .de(de_GetWorkflowExecutionHistoryCommand)
14
+ .sc(GetWorkflowExecutionHistory)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListActivityTypesCommand, se_ListActivityTypesCommand } from "../protocols/Aws_json1_0";
4
+ import { ListActivityTypes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListActivityTypesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "ListActivityTypes", {})
17
13
  .n("SWFClient", "ListActivityTypesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListActivityTypesCommand)
20
- .de(de_ListActivityTypesCommand)
14
+ .sc(ListActivityTypes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListClosedWorkflowExecutionsCommand, se_ListClosedWorkflowExecutionsCommand, } from "../protocols/Aws_json1_0";
4
+ import { ListClosedWorkflowExecutions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListClosedWorkflowExecutionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "ListClosedWorkflowExecutions", {})
17
13
  .n("SWFClient", "ListClosedWorkflowExecutionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListClosedWorkflowExecutionsCommand)
20
- .de(de_ListClosedWorkflowExecutionsCommand)
14
+ .sc(ListClosedWorkflowExecutions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDomainsCommand, se_ListDomainsCommand } from "../protocols/Aws_json1_0";
4
+ import { ListDomains } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDomainsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "ListDomains", {})
17
13
  .n("SWFClient", "ListDomainsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDomainsCommand)
20
- .de(de_ListDomainsCommand)
14
+ .sc(ListDomains)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListOpenWorkflowExecutionsCommand, se_ListOpenWorkflowExecutionsCommand } from "../protocols/Aws_json1_0";
4
+ import { ListOpenWorkflowExecutions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListOpenWorkflowExecutionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "ListOpenWorkflowExecutions", {})
17
13
  .n("SWFClient", "ListOpenWorkflowExecutionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListOpenWorkflowExecutionsCommand)
20
- .de(de_ListOpenWorkflowExecutionsCommand)
14
+ .sc(ListOpenWorkflowExecutions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "ListTagsForResource", {})
17
13
  .n("SWFClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWorkflowTypesCommand, se_ListWorkflowTypesCommand } from "../protocols/Aws_json1_0";
4
+ import { ListWorkflowTypes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWorkflowTypesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "ListWorkflowTypes", {})
17
13
  .n("SWFClient", "ListWorkflowTypesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWorkflowTypesCommand)
20
- .de(de_ListWorkflowTypesCommand)
14
+ .sc(ListWorkflowTypes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PollForActivityTaskCommand, se_PollForActivityTaskCommand } from "../protocols/Aws_json1_0";
4
+ import { PollForActivityTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PollForActivityTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "PollForActivityTask", {})
17
13
  .n("SWFClient", "PollForActivityTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PollForActivityTaskCommand)
20
- .de(de_PollForActivityTaskCommand)
14
+ .sc(PollForActivityTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PollForDecisionTaskCommand, se_PollForDecisionTaskCommand } from "../protocols/Aws_json1_0";
4
+ import { PollForDecisionTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PollForDecisionTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SimpleWorkflowService", "PollForDecisionTask", {})
17
13
  .n("SWFClient", "PollForDecisionTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PollForDecisionTaskCommand)
20
- .de(de_PollForDecisionTaskCommand)
14
+ .sc(PollForDecisionTask)
21
15
  .build() {
22
16
  }