@aws-sdk/client-swf 3.948.0 → 3.953.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 (59) hide show
  1. package/dist-cjs/index.js +728 -457
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +2 -2
  4. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +2 -2
  5. package/dist-es/commands/CountPendingActivityTasksCommand.js +2 -2
  6. package/dist-es/commands/CountPendingDecisionTasksCommand.js +2 -2
  7. package/dist-es/commands/DeleteActivityTypeCommand.js +2 -2
  8. package/dist-es/commands/DeleteWorkflowTypeCommand.js +2 -2
  9. package/dist-es/commands/DeprecateActivityTypeCommand.js +2 -2
  10. package/dist-es/commands/DeprecateDomainCommand.js +2 -2
  11. package/dist-es/commands/DeprecateWorkflowTypeCommand.js +2 -2
  12. package/dist-es/commands/DescribeActivityTypeCommand.js +2 -2
  13. package/dist-es/commands/DescribeDomainCommand.js +2 -2
  14. package/dist-es/commands/DescribeWorkflowExecutionCommand.js +2 -2
  15. package/dist-es/commands/DescribeWorkflowTypeCommand.js +2 -2
  16. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +2 -2
  17. package/dist-es/commands/ListActivityTypesCommand.js +2 -2
  18. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +2 -2
  19. package/dist-es/commands/ListDomainsCommand.js +2 -2
  20. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +2 -2
  21. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  22. package/dist-es/commands/ListWorkflowTypesCommand.js +2 -2
  23. package/dist-es/commands/PollForActivityTaskCommand.js +2 -2
  24. package/dist-es/commands/PollForDecisionTaskCommand.js +2 -2
  25. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +2 -2
  26. package/dist-es/commands/RegisterActivityTypeCommand.js +2 -2
  27. package/dist-es/commands/RegisterDomainCommand.js +2 -2
  28. package/dist-es/commands/RegisterWorkflowTypeCommand.js +2 -2
  29. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +2 -2
  30. package/dist-es/commands/RespondActivityTaskCanceledCommand.js +2 -2
  31. package/dist-es/commands/RespondActivityTaskCompletedCommand.js +2 -2
  32. package/dist-es/commands/RespondActivityTaskFailedCommand.js +2 -2
  33. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +2 -2
  34. package/dist-es/commands/SignalWorkflowExecutionCommand.js +2 -2
  35. package/dist-es/commands/StartWorkflowExecutionCommand.js +2 -2
  36. package/dist-es/commands/TagResourceCommand.js +2 -2
  37. package/dist-es/commands/TerminateWorkflowExecutionCommand.js +2 -2
  38. package/dist-es/commands/UndeprecateActivityTypeCommand.js +2 -2
  39. package/dist-es/commands/UndeprecateDomainCommand.js +2 -2
  40. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +2 -2
  41. package/dist-es/commands/UntagResourceCommand.js +2 -2
  42. package/dist-es/index.js +1 -0
  43. package/dist-es/runtimeConfig.shared.js +7 -6
  44. package/dist-es/schemas/schemas_0.js +465 -388
  45. package/dist-types/SWFClient.d.ts +1 -10
  46. package/dist-types/index.d.ts +1 -0
  47. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  48. package/dist-types/runtimeConfig.d.ts +6 -2
  49. package/dist-types/runtimeConfig.native.d.ts +6 -2
  50. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  51. package/dist-types/schemas/schemas_0.d.ts +195 -205
  52. package/dist-types/ts3.4/SWFClient.d.ts +0 -4
  53. package/dist-types/ts3.4/index.d.ts +1 -0
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +194 -205
  59. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UndeprecateActivityType } from "../schemas/schemas_0";
4
+ import { UndeprecateActivityType$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UndeprecateActivityTypeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UndeprecateActivityTypeCommand extends $Command
11
11
  })
12
12
  .s("SimpleWorkflowService", "UndeprecateActivityType", {})
13
13
  .n("SWFClient", "UndeprecateActivityTypeCommand")
14
- .sc(UndeprecateActivityType)
14
+ .sc(UndeprecateActivityType$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UndeprecateDomain } from "../schemas/schemas_0";
4
+ import { UndeprecateDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UndeprecateDomainCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UndeprecateDomainCommand extends $Command
11
11
  })
12
12
  .s("SimpleWorkflowService", "UndeprecateDomain", {})
13
13
  .n("SWFClient", "UndeprecateDomainCommand")
14
- .sc(UndeprecateDomain)
14
+ .sc(UndeprecateDomain$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UndeprecateWorkflowType } from "../schemas/schemas_0";
4
+ import { UndeprecateWorkflowType$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UndeprecateWorkflowTypeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UndeprecateWorkflowTypeCommand extends $Command
11
11
  })
12
12
  .s("SimpleWorkflowService", "UndeprecateWorkflowType", {})
13
13
  .n("SWFClient", "UndeprecateWorkflowTypeCommand")
14
- .sc(UndeprecateWorkflowType)
14
+ .sc(UndeprecateWorkflowType$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("SimpleWorkflowService", "UntagResource", {})
13
13
  .n("SWFClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SWFClient";
2
2
  export * from "./SWF";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
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
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.swf",
29
+ xmlNamespace: "http://swf.amazonaws.com/doc/2012-01-25",
30
+ version: "2012-01-25",
31
+ serviceTarget: "SimpleWorkflowService",
32
+ },
32
33
  serviceId: config?.serviceId ?? "SWF",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,