@aws-sdk/client-swf 3.927.0 → 3.929.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
@@ -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_RecordActivityTaskHeartbeatCommand, se_RecordActivityTaskHeartbeatCommand } from "../protocols/Aws_json1_0";
4
+ import { RecordActivityTaskHeartbeat } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RecordActivityTaskHeartbeatCommand 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", "RecordActivityTaskHeartbeat", {})
17
13
  .n("SWFClient", "RecordActivityTaskHeartbeatCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RecordActivityTaskHeartbeatCommand)
20
- .de(de_RecordActivityTaskHeartbeatCommand)
14
+ .sc(RecordActivityTaskHeartbeat)
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_RegisterActivityTypeCommand, se_RegisterActivityTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { RegisterActivityType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterActivityTypeCommand 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", "RegisterActivityType", {})
17
13
  .n("SWFClient", "RegisterActivityTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterActivityTypeCommand)
20
- .de(de_RegisterActivityTypeCommand)
14
+ .sc(RegisterActivityType)
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_RegisterDomainCommand, se_RegisterDomainCommand } from "../protocols/Aws_json1_0";
4
+ import { RegisterDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterDomainCommand 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", "RegisterDomain", {})
17
13
  .n("SWFClient", "RegisterDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterDomainCommand)
20
- .de(de_RegisterDomainCommand)
14
+ .sc(RegisterDomain)
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_RegisterWorkflowTypeCommand, se_RegisterWorkflowTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { RegisterWorkflowType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterWorkflowTypeCommand 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", "RegisterWorkflowType", {})
17
13
  .n("SWFClient", "RegisterWorkflowTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterWorkflowTypeCommand)
20
- .de(de_RegisterWorkflowTypeCommand)
14
+ .sc(RegisterWorkflowType)
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_RequestCancelWorkflowExecutionCommand, se_RequestCancelWorkflowExecutionCommand, } from "../protocols/Aws_json1_0";
4
+ import { RequestCancelWorkflowExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RequestCancelWorkflowExecutionCommand 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", "RequestCancelWorkflowExecution", {})
17
13
  .n("SWFClient", "RequestCancelWorkflowExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RequestCancelWorkflowExecutionCommand)
20
- .de(de_RequestCancelWorkflowExecutionCommand)
14
+ .sc(RequestCancelWorkflowExecution)
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_RespondActivityTaskCanceledCommand, se_RespondActivityTaskCanceledCommand } from "../protocols/Aws_json1_0";
4
+ import { RespondActivityTaskCanceled } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RespondActivityTaskCanceledCommand 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", "RespondActivityTaskCanceled", {})
17
13
  .n("SWFClient", "RespondActivityTaskCanceledCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RespondActivityTaskCanceledCommand)
20
- .de(de_RespondActivityTaskCanceledCommand)
14
+ .sc(RespondActivityTaskCanceled)
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_RespondActivityTaskCompletedCommand, se_RespondActivityTaskCompletedCommand, } from "../protocols/Aws_json1_0";
4
+ import { RespondActivityTaskCompleted } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RespondActivityTaskCompletedCommand 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", "RespondActivityTaskCompleted", {})
17
13
  .n("SWFClient", "RespondActivityTaskCompletedCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RespondActivityTaskCompletedCommand)
20
- .de(de_RespondActivityTaskCompletedCommand)
14
+ .sc(RespondActivityTaskCompleted)
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_RespondActivityTaskFailedCommand, se_RespondActivityTaskFailedCommand } from "../protocols/Aws_json1_0";
4
+ import { RespondActivityTaskFailed } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RespondActivityTaskFailedCommand 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", "RespondActivityTaskFailed", {})
17
13
  .n("SWFClient", "RespondActivityTaskFailedCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RespondActivityTaskFailedCommand)
20
- .de(de_RespondActivityTaskFailedCommand)
14
+ .sc(RespondActivityTaskFailed)
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_RespondDecisionTaskCompletedCommand, se_RespondDecisionTaskCompletedCommand, } from "../protocols/Aws_json1_0";
4
+ import { RespondDecisionTaskCompleted } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RespondDecisionTaskCompletedCommand 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", "RespondDecisionTaskCompleted", {})
17
13
  .n("SWFClient", "RespondDecisionTaskCompletedCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RespondDecisionTaskCompletedCommand)
20
- .de(de_RespondDecisionTaskCompletedCommand)
14
+ .sc(RespondDecisionTaskCompleted)
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_SignalWorkflowExecutionCommand, se_SignalWorkflowExecutionCommand } from "../protocols/Aws_json1_0";
4
+ import { SignalWorkflowExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SignalWorkflowExecutionCommand 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", "SignalWorkflowExecution", {})
17
13
  .n("SWFClient", "SignalWorkflowExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SignalWorkflowExecutionCommand)
20
- .de(de_SignalWorkflowExecutionCommand)
14
+ .sc(SignalWorkflowExecution)
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_StartWorkflowExecutionCommand, se_StartWorkflowExecutionCommand } from "../protocols/Aws_json1_0";
4
+ import { StartWorkflowExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartWorkflowExecutionCommand 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", "StartWorkflowExecution", {})
17
13
  .n("SWFClient", "StartWorkflowExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartWorkflowExecutionCommand)
20
- .de(de_StartWorkflowExecutionCommand)
14
+ .sc(StartWorkflowExecution)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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", "TagResource", {})
17
13
  .n("SWFClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_TerminateWorkflowExecutionCommand, se_TerminateWorkflowExecutionCommand } from "../protocols/Aws_json1_0";
4
+ import { TerminateWorkflowExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateWorkflowExecutionCommand 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", "TerminateWorkflowExecution", {})
17
13
  .n("SWFClient", "TerminateWorkflowExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateWorkflowExecutionCommand)
20
- .de(de_TerminateWorkflowExecutionCommand)
14
+ .sc(TerminateWorkflowExecution)
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_UndeprecateActivityTypeCommand, se_UndeprecateActivityTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { UndeprecateActivityType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UndeprecateActivityTypeCommand 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", "UndeprecateActivityType", {})
17
13
  .n("SWFClient", "UndeprecateActivityTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UndeprecateActivityTypeCommand)
20
- .de(de_UndeprecateActivityTypeCommand)
14
+ .sc(UndeprecateActivityType)
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_UndeprecateDomainCommand, se_UndeprecateDomainCommand } from "../protocols/Aws_json1_0";
4
+ import { UndeprecateDomain } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UndeprecateDomainCommand 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", "UndeprecateDomain", {})
17
13
  .n("SWFClient", "UndeprecateDomainCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UndeprecateDomainCommand)
20
- .de(de_UndeprecateDomainCommand)
14
+ .sc(UndeprecateDomain)
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_UndeprecateWorkflowTypeCommand, se_UndeprecateWorkflowTypeCommand } from "../protocols/Aws_json1_0";
4
+ import { UndeprecateWorkflowType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UndeprecateWorkflowTypeCommand 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", "UndeprecateWorkflowType", {})
17
13
  .n("SWFClient", "UndeprecateWorkflowTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UndeprecateWorkflowTypeCommand)
20
- .de(de_UndeprecateWorkflowTypeCommand)
14
+ .sc(UndeprecateWorkflowType)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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", "UntagResource", {})
17
13
  .n("SWFClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_0Protocol({
28
+ defaultNamespace: "com.amazonaws.swf",
29
+ serviceTarget: "SimpleWorkflowService",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "SWF",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,