@aws-sdk/client-swf 3.321.1 → 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 +16 -16
@@ -98,6 +98,11 @@ export interface CountClosedWorkflowExecutionsCommandOutput extends WorkflowExec
98
98
  * };
99
99
  * const command = new CountClosedWorkflowExecutionsCommand(input);
100
100
  * const response = await client.send(command);
101
+ * // { // WorkflowExecutionCount
102
+ * // count: Number("int"), // required
103
+ * // truncated: true || false,
104
+ * // };
105
+ *
101
106
  * ```
102
107
  *
103
108
  * @param CountClosedWorkflowExecutionsCommandInput - {@link CountClosedWorkflowExecutionsCommandInput}
@@ -112,6 +117,8 @@ export interface CountClosedWorkflowExecutionsCommandOutput extends WorkflowExec
112
117
  * @throws {@link UnknownResourceFault} (client fault)
113
118
  * <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>
114
119
  *
120
+ * @throws {@link SWFServiceException}
121
+ * <p>Base exception class for all service exceptions from SWF service.</p>
115
122
  *
116
123
  */
117
124
  export declare class CountClosedWorkflowExecutionsCommand extends $Command<CountClosedWorkflowExecutionsCommandInput, CountClosedWorkflowExecutionsCommandOutput, SWFClientResolvedConfig> {
@@ -91,6 +91,11 @@ export interface CountOpenWorkflowExecutionsCommandOutput extends WorkflowExecut
91
91
  * };
92
92
  * const command = new CountOpenWorkflowExecutionsCommand(input);
93
93
  * const response = await client.send(command);
94
+ * // { // WorkflowExecutionCount
95
+ * // count: Number("int"), // required
96
+ * // truncated: true || false,
97
+ * // };
98
+ *
94
99
  * ```
95
100
  *
96
101
  * @param CountOpenWorkflowExecutionsCommandInput - {@link CountOpenWorkflowExecutionsCommandInput}
@@ -105,6 +110,8 @@ export interface CountOpenWorkflowExecutionsCommandOutput extends WorkflowExecut
105
110
  * @throws {@link UnknownResourceFault} (client fault)
106
111
  * <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>
107
112
  *
113
+ * @throws {@link SWFServiceException}
114
+ * <p>Base exception class for all service exceptions from SWF service.</p>
108
115
  *
109
116
  */
110
117
  export declare class CountOpenWorkflowExecutionsCommand extends $Command<CountOpenWorkflowExecutionsCommandInput, CountOpenWorkflowExecutionsCommandOutput, SWFClientResolvedConfig> {
@@ -61,6 +61,11 @@ export interface CountPendingActivityTasksCommandOutput extends PendingTaskCount
61
61
  * };
62
62
  * const command = new CountPendingActivityTasksCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // PendingTaskCount
65
+ * // count: Number("int"), // required
66
+ * // truncated: true || false,
67
+ * // };
68
+ *
64
69
  * ```
65
70
  *
66
71
  * @param CountPendingActivityTasksCommandInput - {@link CountPendingActivityTasksCommandInput}
@@ -75,6 +80,8 @@ export interface CountPendingActivityTasksCommandOutput extends PendingTaskCount
75
80
  * @throws {@link UnknownResourceFault} (client fault)
76
81
  * <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>
77
82
  *
83
+ * @throws {@link SWFServiceException}
84
+ * <p>Base exception class for all service exceptions from SWF service.</p>
78
85
  *
79
86
  */
80
87
  export declare class CountPendingActivityTasksCommand extends $Command<CountPendingActivityTasksCommandInput, CountPendingActivityTasksCommandOutput, SWFClientResolvedConfig> {
@@ -61,6 +61,11 @@ export interface CountPendingDecisionTasksCommandOutput extends PendingTaskCount
61
61
  * };
62
62
  * const command = new CountPendingDecisionTasksCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // PendingTaskCount
65
+ * // count: Number("int"), // required
66
+ * // truncated: true || false,
67
+ * // };
68
+ *
64
69
  * ```
65
70
  *
66
71
  * @param CountPendingDecisionTasksCommandInput - {@link CountPendingDecisionTasksCommandInput}
@@ -75,6 +80,8 @@ export interface CountPendingDecisionTasksCommandOutput extends PendingTaskCount
75
80
  * @throws {@link UnknownResourceFault} (client fault)
76
81
  * <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>
77
82
  *
83
+ * @throws {@link SWFServiceException}
84
+ * <p>Base exception class for all service exceptions from SWF service.</p>
78
85
  *
79
86
  */
80
87
  export declare class CountPendingDecisionTasksCommand extends $Command<CountPendingDecisionTasksCommandInput, CountPendingDecisionTasksCommandOutput, SWFClientResolvedConfig> {
@@ -77,6 +77,8 @@ export interface DeprecateActivityTypeCommandOutput extends __MetadataBearer {
77
77
  * };
78
78
  * const command = new DeprecateActivityTypeCommand(input);
79
79
  * const response = await client.send(command);
80
+ * // {};
81
+ *
80
82
  * ```
81
83
  *
82
84
  * @param DeprecateActivityTypeCommandInput - {@link DeprecateActivityTypeCommandInput}
@@ -94,6 +96,8 @@ export interface DeprecateActivityTypeCommandOutput extends __MetadataBearer {
94
96
  * @throws {@link UnknownResourceFault} (client fault)
95
97
  * <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>
96
98
  *
99
+ * @throws {@link SWFServiceException}
100
+ * <p>Base exception class for all service exceptions from SWF service.</p>
97
101
  *
98
102
  */
99
103
  export declare class DeprecateActivityTypeCommand extends $Command<DeprecateActivityTypeCommandInput, DeprecateActivityTypeCommandOutput, SWFClientResolvedConfig> {
@@ -62,6 +62,8 @@ export interface DeprecateDomainCommandOutput extends __MetadataBearer {
62
62
  * };
63
63
  * const command = new DeprecateDomainCommand(input);
64
64
  * const response = await client.send(command);
65
+ * // {};
66
+ *
65
67
  * ```
66
68
  *
67
69
  * @param DeprecateDomainCommandInput - {@link DeprecateDomainCommandInput}
@@ -79,6 +81,8 @@ export interface DeprecateDomainCommandOutput extends __MetadataBearer {
79
81
  * @throws {@link UnknownResourceFault} (client fault)
80
82
  * <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>
81
83
  *
84
+ * @throws {@link SWFServiceException}
85
+ * <p>Base exception class for all service exceptions from SWF service.</p>
82
86
  *
83
87
  */
84
88
  export declare class DeprecateDomainCommand extends $Command<DeprecateDomainCommandInput, DeprecateDomainCommandOutput, SWFClientResolvedConfig> {
@@ -78,6 +78,8 @@ export interface DeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
78
78
  * };
79
79
  * const command = new DeprecateWorkflowTypeCommand(input);
80
80
  * const response = await client.send(command);
81
+ * // {};
82
+ *
81
83
  * ```
82
84
  *
83
85
  * @param DeprecateWorkflowTypeCommandInput - {@link DeprecateWorkflowTypeCommandInput}
@@ -95,6 +97,8 @@ export interface DeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
95
97
  * @throws {@link UnknownResourceFault} (client fault)
96
98
  * <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>
97
99
  *
100
+ * @throws {@link SWFServiceException}
101
+ * <p>Base exception class for all service exceptions from SWF service.</p>
98
102
  *
99
103
  */
100
104
  export declare class DeprecateWorkflowTypeCommand extends $Command<DeprecateWorkflowTypeCommandInput, DeprecateWorkflowTypeCommandOutput, SWFClientResolvedConfig> {
@@ -73,6 +73,29 @@ export interface DescribeActivityTypeCommandOutput extends ActivityTypeDetail, _
73
73
  * };
74
74
  * const command = new DescribeActivityTypeCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // { // ActivityTypeDetail
77
+ * // typeInfo: { // ActivityTypeInfo
78
+ * // activityType: { // ActivityType
79
+ * // name: "STRING_VALUE", // required
80
+ * // version: "STRING_VALUE", // required
81
+ * // },
82
+ * // status: "REGISTERED" || "DEPRECATED", // required
83
+ * // description: "STRING_VALUE",
84
+ * // creationDate: new Date("TIMESTAMP"), // required
85
+ * // deprecationDate: new Date("TIMESTAMP"),
86
+ * // },
87
+ * // configuration: { // ActivityTypeConfiguration
88
+ * // defaultTaskStartToCloseTimeout: "STRING_VALUE",
89
+ * // defaultTaskHeartbeatTimeout: "STRING_VALUE",
90
+ * // defaultTaskList: { // TaskList
91
+ * // name: "STRING_VALUE", // required
92
+ * // },
93
+ * // defaultTaskPriority: "STRING_VALUE",
94
+ * // defaultTaskScheduleToStartTimeout: "STRING_VALUE",
95
+ * // defaultTaskScheduleToCloseTimeout: "STRING_VALUE",
96
+ * // },
97
+ * // };
98
+ *
76
99
  * ```
77
100
  *
78
101
  * @param DescribeActivityTypeCommandInput - {@link DescribeActivityTypeCommandInput}
@@ -87,6 +110,8 @@ export interface DescribeActivityTypeCommandOutput extends ActivityTypeDetail, _
87
110
  * @throws {@link UnknownResourceFault} (client fault)
88
111
  * <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>
89
112
  *
113
+ * @throws {@link SWFServiceException}
114
+ * <p>Base exception class for all service exceptions from SWF service.</p>
90
115
  *
91
116
  */
92
117
  export declare class DescribeActivityTypeCommand extends $Command<DescribeActivityTypeCommandInput, DescribeActivityTypeCommandOutput, SWFClientResolvedConfig> {
@@ -55,6 +55,18 @@ export interface DescribeDomainCommandOutput extends DomainDetail, __MetadataBea
55
55
  * };
56
56
  * const command = new DescribeDomainCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DomainDetail
59
+ * // domainInfo: { // DomainInfo
60
+ * // name: "STRING_VALUE", // required
61
+ * // status: "REGISTERED" || "DEPRECATED", // required
62
+ * // description: "STRING_VALUE",
63
+ * // arn: "STRING_VALUE",
64
+ * // },
65
+ * // configuration: { // DomainConfiguration
66
+ * // workflowExecutionRetentionPeriodInDays: "STRING_VALUE", // required
67
+ * // },
68
+ * // };
69
+ *
58
70
  * ```
59
71
  *
60
72
  * @param DescribeDomainCommandInput - {@link DescribeDomainCommandInput}
@@ -69,6 +81,8 @@ export interface DescribeDomainCommandOutput extends DomainDetail, __MetadataBea
69
81
  * @throws {@link UnknownResourceFault} (client fault)
70
82
  * <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>
71
83
  *
84
+ * @throws {@link SWFServiceException}
85
+ * <p>Base exception class for all service exceptions from SWF service.</p>
72
86
  *
73
87
  */
74
88
  export declare class DescribeDomainCommand extends $Command<DescribeDomainCommandInput, DescribeDomainCommandOutput, SWFClientResolvedConfig> {
@@ -63,6 +63,50 @@ export interface DescribeWorkflowExecutionCommandOutput extends WorkflowExecutio
63
63
  * };
64
64
  * const command = new DescribeWorkflowExecutionCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // { // WorkflowExecutionDetail
67
+ * // executionInfo: { // WorkflowExecutionInfo
68
+ * // execution: { // WorkflowExecution
69
+ * // workflowId: "STRING_VALUE", // required
70
+ * // runId: "STRING_VALUE", // required
71
+ * // },
72
+ * // workflowType: { // WorkflowType
73
+ * // name: "STRING_VALUE", // required
74
+ * // version: "STRING_VALUE", // required
75
+ * // },
76
+ * // startTimestamp: new Date("TIMESTAMP"), // required
77
+ * // closeTimestamp: new Date("TIMESTAMP"),
78
+ * // executionStatus: "OPEN" || "CLOSED", // required
79
+ * // closeStatus: "COMPLETED" || "FAILED" || "CANCELED" || "TERMINATED" || "CONTINUED_AS_NEW" || "TIMED_OUT",
80
+ * // parent: {
81
+ * // workflowId: "STRING_VALUE", // required
82
+ * // runId: "STRING_VALUE", // required
83
+ * // },
84
+ * // tagList: [ // TagList
85
+ * // "STRING_VALUE",
86
+ * // ],
87
+ * // cancelRequested: true || false,
88
+ * // },
89
+ * // executionConfiguration: { // WorkflowExecutionConfiguration
90
+ * // taskStartToCloseTimeout: "STRING_VALUE", // required
91
+ * // executionStartToCloseTimeout: "STRING_VALUE", // required
92
+ * // taskList: { // TaskList
93
+ * // name: "STRING_VALUE", // required
94
+ * // },
95
+ * // taskPriority: "STRING_VALUE",
96
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
97
+ * // lambdaRole: "STRING_VALUE",
98
+ * // },
99
+ * // openCounts: { // WorkflowExecutionOpenCounts
100
+ * // openActivityTasks: Number("int"), // required
101
+ * // openDecisionTasks: Number("int"), // required
102
+ * // openTimers: Number("int"), // required
103
+ * // openChildWorkflowExecutions: Number("int"), // required
104
+ * // openLambdaFunctions: Number("int"),
105
+ * // },
106
+ * // latestActivityTaskTimestamp: new Date("TIMESTAMP"),
107
+ * // latestExecutionContext: "STRING_VALUE",
108
+ * // };
109
+ *
66
110
  * ```
67
111
  *
68
112
  * @param DescribeWorkflowExecutionCommandInput - {@link DescribeWorkflowExecutionCommandInput}
@@ -77,6 +121,8 @@ export interface DescribeWorkflowExecutionCommandOutput extends WorkflowExecutio
77
121
  * @throws {@link UnknownResourceFault} (client fault)
78
122
  * <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>
79
123
  *
124
+ * @throws {@link SWFServiceException}
125
+ * <p>Base exception class for all service exceptions from SWF service.</p>
80
126
  *
81
127
  */
82
128
  export declare class DescribeWorkflowExecutionCommand extends $Command<DescribeWorkflowExecutionCommandInput, DescribeWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
@@ -73,6 +73,29 @@ export interface DescribeWorkflowTypeCommandOutput extends WorkflowTypeDetail, _
73
73
  * };
74
74
  * const command = new DescribeWorkflowTypeCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // { // WorkflowTypeDetail
77
+ * // typeInfo: { // WorkflowTypeInfo
78
+ * // workflowType: { // WorkflowType
79
+ * // name: "STRING_VALUE", // required
80
+ * // version: "STRING_VALUE", // required
81
+ * // },
82
+ * // status: "REGISTERED" || "DEPRECATED", // required
83
+ * // description: "STRING_VALUE",
84
+ * // creationDate: new Date("TIMESTAMP"), // required
85
+ * // deprecationDate: new Date("TIMESTAMP"),
86
+ * // },
87
+ * // configuration: { // WorkflowTypeConfiguration
88
+ * // defaultTaskStartToCloseTimeout: "STRING_VALUE",
89
+ * // defaultExecutionStartToCloseTimeout: "STRING_VALUE",
90
+ * // defaultTaskList: { // TaskList
91
+ * // name: "STRING_VALUE", // required
92
+ * // },
93
+ * // defaultTaskPriority: "STRING_VALUE",
94
+ * // defaultChildPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON",
95
+ * // defaultLambdaRole: "STRING_VALUE",
96
+ * // },
97
+ * // };
98
+ *
76
99
  * ```
77
100
  *
78
101
  * @param DescribeWorkflowTypeCommandInput - {@link DescribeWorkflowTypeCommandInput}
@@ -87,6 +110,8 @@ export interface DescribeWorkflowTypeCommandOutput extends WorkflowTypeDetail, _
87
110
  * @throws {@link UnknownResourceFault} (client fault)
88
111
  * <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>
89
112
  *
113
+ * @throws {@link SWFServiceException}
114
+ * <p>Base exception class for all service exceptions from SWF service.</p>
90
115
  *
91
116
  */
92
117
  export declare class DescribeWorkflowTypeCommand extends $Command<DescribeWorkflowTypeCommandInput, DescribeWorkflowTypeCommandOutput, SWFClientResolvedConfig> {