@aws-sdk/client-swf 3.325.0 → 3.326.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 (38) hide show
  1. package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +7 -0
  2. package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +7 -0
  3. package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +7 -0
  4. package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +7 -0
  5. package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +4 -0
  6. package/dist-types/commands/DeprecateDomainCommand.d.ts +4 -0
  7. package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +4 -0
  8. package/dist-types/commands/DescribeActivityTypeCommand.d.ts +25 -0
  9. package/dist-types/commands/DescribeDomainCommand.d.ts +14 -0
  10. package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +46 -0
  11. package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +25 -0
  12. package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +389 -0
  13. package/dist-types/commands/ListActivityTypesCommand.d.ts +18 -0
  14. package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +30 -0
  15. package/dist-types/commands/ListDomainsCommand.d.ts +14 -0
  16. package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +30 -0
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  18. package/dist-types/commands/ListWorkflowTypesCommand.d.ts +18 -0
  19. package/dist-types/commands/PollForActivityTaskCommand.d.ts +17 -0
  20. package/dist-types/commands/PollForDecisionTaskCommand.d.ts +394 -0
  21. package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +6 -0
  22. package/dist-types/commands/RegisterActivityTypeCommand.d.ts +4 -0
  23. package/dist-types/commands/RegisterDomainCommand.d.ts +4 -0
  24. package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +4 -0
  25. package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +4 -0
  26. package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +4 -0
  27. package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +4 -0
  28. package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +4 -0
  29. package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +4 -0
  30. package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +4 -0
  31. package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +6 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  33. package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +4 -0
  34. package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +4 -0
  35. package/dist-types/commands/UndeprecateDomainCommand.d.ts +4 -0
  36. package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +4 -0
  37. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  38. package/package.json +3 -3
@@ -113,6 +113,10 @@ export interface StartWorkflowExecutionCommandOutput extends Run, __MetadataBear
113
113
  * };
114
114
  * const command = new StartWorkflowExecutionCommand(input);
115
115
  * const response = await client.send(command);
116
+ * // { // Run
117
+ * // runId: "STRING_VALUE",
118
+ * // };
119
+ *
116
120
  * ```
117
121
  *
118
122
  * @param StartWorkflowExecutionCommandInput - {@link StartWorkflowExecutionCommandInput}
@@ -150,6 +154,8 @@ export interface StartWorkflowExecutionCommandOutput extends Run, __MetadataBear
150
154
  * <p>Returned by <a>StartWorkflowExecution</a> when an open execution with the same workflowId is already running in
151
155
  * the specified domain.</p>
152
156
  *
157
+ * @throws {@link SWFServiceException}
158
+ * <p>Base exception class for all service exceptions from SWF service.</p>
153
159
  *
154
160
  */
155
161
  export declare class StartWorkflowExecutionCommand extends $Command<StartWorkflowExecutionCommandInput, StartWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
40
40
  * };
41
41
  * const command = new TagResourceCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -60,6 +62,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
60
62
  * @throws {@link UnknownResourceFault} (client fault)
61
63
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
62
64
  *
65
+ * @throws {@link SWFServiceException}
66
+ * <p>Base exception class for all service exceptions from SWF service.</p>
63
67
  *
64
68
  */
65
69
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SWFClientResolvedConfig> {
@@ -79,6 +79,8 @@ export interface TerminateWorkflowExecutionCommandOutput extends __MetadataBeare
79
79
  * };
80
80
  * const command = new TerminateWorkflowExecutionCommand(input);
81
81
  * const response = await client.send(command);
82
+ * // {};
83
+ *
82
84
  * ```
83
85
  *
84
86
  * @param TerminateWorkflowExecutionCommandInput - {@link TerminateWorkflowExecutionCommandInput}
@@ -93,6 +95,8 @@ export interface TerminateWorkflowExecutionCommandOutput extends __MetadataBeare
93
95
  * @throws {@link UnknownResourceFault} (client fault)
94
96
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
95
97
  *
98
+ * @throws {@link SWFServiceException}
99
+ * <p>Base exception class for all service exceptions from SWF service.</p>
96
100
  *
97
101
  */
98
102
  export declare class TerminateWorkflowExecutionCommand extends $Command<TerminateWorkflowExecutionCommandInput, TerminateWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
@@ -76,6 +76,8 @@ export interface UndeprecateActivityTypeCommandOutput extends __MetadataBearer {
76
76
  * };
77
77
  * const command = new UndeprecateActivityTypeCommand(input);
78
78
  * const response = await client.send(command);
79
+ * // {};
80
+ *
79
81
  * ```
80
82
  *
81
83
  * @param UndeprecateActivityTypeCommandInput - {@link UndeprecateActivityTypeCommandInput}
@@ -93,6 +95,8 @@ export interface UndeprecateActivityTypeCommandOutput extends __MetadataBearer {
93
95
  * @throws {@link UnknownResourceFault} (client fault)
94
96
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
95
97
  *
98
+ * @throws {@link SWFServiceException}
99
+ * <p>Base exception class for all service exceptions from SWF service.</p>
96
100
  *
97
101
  */
98
102
  export declare class UndeprecateActivityTypeCommand extends $Command<UndeprecateActivityTypeCommandInput, UndeprecateActivityTypeCommandOutput, SWFClientResolvedConfig> {
@@ -59,6 +59,8 @@ export interface UndeprecateDomainCommandOutput extends __MetadataBearer {
59
59
  * };
60
60
  * const command = new UndeprecateDomainCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // {};
63
+ *
62
64
  * ```
63
65
  *
64
66
  * @param UndeprecateDomainCommandInput - {@link UndeprecateDomainCommandInput}
@@ -76,6 +78,8 @@ export interface UndeprecateDomainCommandOutput extends __MetadataBearer {
76
78
  * @throws {@link UnknownResourceFault} (client fault)
77
79
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
78
80
  *
81
+ * @throws {@link SWFServiceException}
82
+ * <p>Base exception class for all service exceptions from SWF service.</p>
79
83
  *
80
84
  */
81
85
  export declare class UndeprecateDomainCommand extends $Command<UndeprecateDomainCommandInput, UndeprecateDomainCommandOutput, SWFClientResolvedConfig> {
@@ -76,6 +76,8 @@ export interface UndeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
76
76
  * };
77
77
  * const command = new UndeprecateWorkflowTypeCommand(input);
78
78
  * const response = await client.send(command);
79
+ * // {};
80
+ *
79
81
  * ```
80
82
  *
81
83
  * @param UndeprecateWorkflowTypeCommandInput - {@link UndeprecateWorkflowTypeCommandInput}
@@ -93,6 +95,8 @@ export interface UndeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
93
95
  * @throws {@link UnknownResourceFault} (client fault)
94
96
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
95
97
  *
98
+ * @throws {@link SWFServiceException}
99
+ * <p>Base exception class for all service exceptions from SWF service.</p>
96
100
  *
97
101
  */
98
102
  export declare class UndeprecateWorkflowTypeCommand extends $Command<UndeprecateWorkflowTypeCommandInput, UndeprecateWorkflowTypeCommandOutput, SWFClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -51,6 +53,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
51
53
  * @throws {@link UnknownResourceFault} (client fault)
52
54
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
53
55
  *
56
+ * @throws {@link SWFServiceException}
57
+ * <p>Base exception class for all service exceptions from SWF service.</p>
54
58
  *
55
59
  */
56
60
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SWFClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-swf",
3
3
  "description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",