@aws-sdk/client-swf 3.299.0 → 3.301.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 +24 -0
  2. package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +17 -0
  3. package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +6 -0
  4. package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +6 -0
  5. package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +7 -0
  6. package/dist-types/commands/DeprecateDomainCommand.d.ts +3 -0
  7. package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +7 -0
  8. package/dist-types/commands/DescribeActivityTypeCommand.d.ts +7 -0
  9. package/dist-types/commands/DescribeDomainCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +7 -0
  11. package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +7 -0
  12. package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +10 -0
  13. package/dist-types/commands/ListActivityTypesCommand.d.ts +8 -0
  14. package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +27 -0
  15. package/dist-types/commands/ListDomainsCommand.d.ts +6 -0
  16. package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +20 -0
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  18. package/dist-types/commands/ListWorkflowTypesCommand.d.ts +8 -0
  19. package/dist-types/commands/PollForActivityTaskCommand.d.ts +7 -0
  20. package/dist-types/commands/PollForDecisionTaskCommand.d.ts +10 -0
  21. package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +4 -0
  22. package/dist-types/commands/RegisterActivityTypeCommand.d.ts +14 -0
  23. package/dist-types/commands/RegisterDomainCommand.d.ts +11 -0
  24. package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +14 -0
  25. package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +5 -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 +5 -0
  29. package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +105 -0
  30. package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +7 -0
  31. package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +20 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  33. package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +8 -0
  34. package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +7 -0
  35. package/dist-types/commands/UndeprecateDomainCommand.d.ts +3 -0
  36. package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +7 -0
  37. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  38. package/package.json +8 -8
@@ -72,6 +72,30 @@ export interface CountClosedWorkflowExecutionsCommandOutput extends WorkflowExec
72
72
  * import { SWFClient, CountClosedWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
73
73
  * // const { SWFClient, CountClosedWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
74
74
  * const client = new SWFClient(config);
75
+ * const input = { // CountClosedWorkflowExecutionsInput
76
+ * domain: "STRING_VALUE", // required
77
+ * startTimeFilter: { // ExecutionTimeFilter
78
+ * oldestDate: new Date("TIMESTAMP"), // required
79
+ * latestDate: new Date("TIMESTAMP"),
80
+ * },
81
+ * closeTimeFilter: {
82
+ * oldestDate: new Date("TIMESTAMP"), // required
83
+ * latestDate: new Date("TIMESTAMP"),
84
+ * },
85
+ * executionFilter: { // WorkflowExecutionFilter
86
+ * workflowId: "STRING_VALUE", // required
87
+ * },
88
+ * typeFilter: { // WorkflowTypeFilter
89
+ * name: "STRING_VALUE", // required
90
+ * version: "STRING_VALUE",
91
+ * },
92
+ * tagFilter: { // TagFilter
93
+ * tag: "STRING_VALUE", // required
94
+ * },
95
+ * closeStatusFilter: { // CloseStatusFilter
96
+ * status: "COMPLETED" || "FAILED" || "CANCELED" || "TERMINATED" || "CONTINUED_AS_NEW" || "TIMED_OUT", // required
97
+ * },
98
+ * };
75
99
  * const command = new CountClosedWorkflowExecutionsCommand(input);
76
100
  * const response = await client.send(command);
77
101
  * ```
@@ -72,6 +72,23 @@ export interface CountOpenWorkflowExecutionsCommandOutput extends WorkflowExecut
72
72
  * import { SWFClient, CountOpenWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
73
73
  * // const { SWFClient, CountOpenWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
74
74
  * const client = new SWFClient(config);
75
+ * const input = { // CountOpenWorkflowExecutionsInput
76
+ * domain: "STRING_VALUE", // required
77
+ * startTimeFilter: { // ExecutionTimeFilter
78
+ * oldestDate: new Date("TIMESTAMP"), // required
79
+ * latestDate: new Date("TIMESTAMP"),
80
+ * },
81
+ * typeFilter: { // WorkflowTypeFilter
82
+ * name: "STRING_VALUE", // required
83
+ * version: "STRING_VALUE",
84
+ * },
85
+ * tagFilter: { // TagFilter
86
+ * tag: "STRING_VALUE", // required
87
+ * },
88
+ * executionFilter: { // WorkflowExecutionFilter
89
+ * workflowId: "STRING_VALUE", // required
90
+ * },
91
+ * };
75
92
  * const command = new CountOpenWorkflowExecutionsCommand(input);
76
93
  * const response = await client.send(command);
77
94
  * ```
@@ -53,6 +53,12 @@ export interface CountPendingActivityTasksCommandOutput extends PendingTaskCount
53
53
  * import { SWFClient, CountPendingActivityTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
54
54
  * // const { SWFClient, CountPendingActivityTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
55
55
  * const client = new SWFClient(config);
56
+ * const input = { // CountPendingActivityTasksInput
57
+ * domain: "STRING_VALUE", // required
58
+ * taskList: { // TaskList
59
+ * name: "STRING_VALUE", // required
60
+ * },
61
+ * };
56
62
  * const command = new CountPendingActivityTasksCommand(input);
57
63
  * const response = await client.send(command);
58
64
  * ```
@@ -53,6 +53,12 @@ export interface CountPendingDecisionTasksCommandOutput extends PendingTaskCount
53
53
  * import { SWFClient, CountPendingDecisionTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
54
54
  * // const { SWFClient, CountPendingDecisionTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
55
55
  * const client = new SWFClient(config);
56
+ * const input = { // CountPendingDecisionTasksInput
57
+ * domain: "STRING_VALUE", // required
58
+ * taskList: { // TaskList
59
+ * name: "STRING_VALUE", // required
60
+ * },
61
+ * };
56
62
  * const command = new CountPendingDecisionTasksCommand(input);
57
63
  * const response = await client.send(command);
58
64
  * ```
@@ -68,6 +68,13 @@ export interface DeprecateActivityTypeCommandOutput extends __MetadataBearer {
68
68
  * import { SWFClient, DeprecateActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
69
69
  * // const { SWFClient, DeprecateActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
70
70
  * const client = new SWFClient(config);
71
+ * const input = { // DeprecateActivityTypeInput
72
+ * domain: "STRING_VALUE", // required
73
+ * activityType: { // ActivityType
74
+ * name: "STRING_VALUE", // required
75
+ * version: "STRING_VALUE", // required
76
+ * },
77
+ * };
71
78
  * const command = new DeprecateActivityTypeCommand(input);
72
79
  * const response = await client.send(command);
73
80
  * ```
@@ -57,6 +57,9 @@ export interface DeprecateDomainCommandOutput extends __MetadataBearer {
57
57
  * import { SWFClient, DeprecateDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
58
58
  * // const { SWFClient, DeprecateDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
59
59
  * const client = new SWFClient(config);
60
+ * const input = { // DeprecateDomainInput
61
+ * name: "STRING_VALUE", // required
62
+ * };
60
63
  * const command = new DeprecateDomainCommand(input);
61
64
  * const response = await client.send(command);
62
65
  * ```
@@ -69,6 +69,13 @@ export interface DeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
69
69
  * import { SWFClient, DeprecateWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
70
70
  * // const { SWFClient, DeprecateWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
71
71
  * const client = new SWFClient(config);
72
+ * const input = { // DeprecateWorkflowTypeInput
73
+ * domain: "STRING_VALUE", // required
74
+ * workflowType: { // WorkflowType
75
+ * name: "STRING_VALUE", // required
76
+ * version: "STRING_VALUE", // required
77
+ * },
78
+ * };
72
79
  * const command = new DeprecateWorkflowTypeCommand(input);
73
80
  * const response = await client.send(command);
74
81
  * ```
@@ -64,6 +64,13 @@ export interface DescribeActivityTypeCommandOutput extends ActivityTypeDetail, _
64
64
  * import { SWFClient, DescribeActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
65
65
  * // const { SWFClient, DescribeActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
66
66
  * const client = new SWFClient(config);
67
+ * const input = { // DescribeActivityTypeInput
68
+ * domain: "STRING_VALUE", // required
69
+ * activityType: { // ActivityType
70
+ * name: "STRING_VALUE", // required
71
+ * version: "STRING_VALUE", // required
72
+ * },
73
+ * };
67
74
  * const command = new DescribeActivityTypeCommand(input);
68
75
  * const response = await client.send(command);
69
76
  * ```
@@ -50,6 +50,9 @@ export interface DescribeDomainCommandOutput extends DomainDetail, __MetadataBea
50
50
  * import { SWFClient, DescribeDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
51
51
  * // const { SWFClient, DescribeDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
52
52
  * const client = new SWFClient(config);
53
+ * const input = { // DescribeDomainInput
54
+ * name: "STRING_VALUE", // required
55
+ * };
53
56
  * const command = new DescribeDomainCommand(input);
54
57
  * const response = await client.send(command);
55
58
  * ```
@@ -54,6 +54,13 @@ export interface DescribeWorkflowExecutionCommandOutput extends WorkflowExecutio
54
54
  * import { SWFClient, DescribeWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
55
55
  * // const { SWFClient, DescribeWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
56
56
  * const client = new SWFClient(config);
57
+ * const input = { // DescribeWorkflowExecutionInput
58
+ * domain: "STRING_VALUE", // required
59
+ * execution: { // WorkflowExecution
60
+ * workflowId: "STRING_VALUE", // required
61
+ * runId: "STRING_VALUE", // required
62
+ * },
63
+ * };
57
64
  * const command = new DescribeWorkflowExecutionCommand(input);
58
65
  * const response = await client.send(command);
59
66
  * ```
@@ -64,6 +64,13 @@ export interface DescribeWorkflowTypeCommandOutput extends WorkflowTypeDetail, _
64
64
  * import { SWFClient, DescribeWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
65
65
  * // const { SWFClient, DescribeWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
66
66
  * const client = new SWFClient(config);
67
+ * const input = { // DescribeWorkflowTypeInput
68
+ * domain: "STRING_VALUE", // required
69
+ * workflowType: { // WorkflowType
70
+ * name: "STRING_VALUE", // required
71
+ * version: "STRING_VALUE", // required
72
+ * },
73
+ * };
67
74
  * const command = new DescribeWorkflowTypeCommand(input);
68
75
  * const response = await client.send(command);
69
76
  * ```
@@ -55,6 +55,16 @@ export interface GetWorkflowExecutionHistoryCommandOutput extends History, __Met
55
55
  * import { SWFClient, GetWorkflowExecutionHistoryCommand } from "@aws-sdk/client-swf"; // ES Modules import
56
56
  * // const { SWFClient, GetWorkflowExecutionHistoryCommand } = require("@aws-sdk/client-swf"); // CommonJS import
57
57
  * const client = new SWFClient(config);
58
+ * const input = { // GetWorkflowExecutionHistoryInput
59
+ * domain: "STRING_VALUE", // required
60
+ * execution: { // WorkflowExecution
61
+ * workflowId: "STRING_VALUE", // required
62
+ * runId: "STRING_VALUE", // required
63
+ * },
64
+ * nextPageToken: "STRING_VALUE",
65
+ * maximumPageSize: Number("int"),
66
+ * reverseOrder: true || false,
67
+ * };
58
68
  * const command = new GetWorkflowExecutionHistoryCommand(input);
59
69
  * const response = await client.send(command);
60
70
  * ```
@@ -53,6 +53,14 @@ export interface ListActivityTypesCommandOutput extends ActivityTypeInfos, __Met
53
53
  * import { SWFClient, ListActivityTypesCommand } from "@aws-sdk/client-swf"; // ES Modules import
54
54
  * // const { SWFClient, ListActivityTypesCommand } = require("@aws-sdk/client-swf"); // CommonJS import
55
55
  * const client = new SWFClient(config);
56
+ * const input = { // ListActivityTypesInput
57
+ * domain: "STRING_VALUE", // required
58
+ * name: "STRING_VALUE",
59
+ * registrationStatus: "REGISTERED" || "DEPRECATED", // required
60
+ * nextPageToken: "STRING_VALUE",
61
+ * maximumPageSize: Number("int"),
62
+ * reverseOrder: true || false,
63
+ * };
56
64
  * const command = new ListActivityTypesCommand(input);
57
65
  * const response = await client.send(command);
58
66
  * ```
@@ -73,6 +73,33 @@ export interface ListClosedWorkflowExecutionsCommandOutput extends WorkflowExecu
73
73
  * import { SWFClient, ListClosedWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
74
74
  * // const { SWFClient, ListClosedWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
75
75
  * const client = new SWFClient(config);
76
+ * const input = { // ListClosedWorkflowExecutionsInput
77
+ * domain: "STRING_VALUE", // required
78
+ * startTimeFilter: { // ExecutionTimeFilter
79
+ * oldestDate: new Date("TIMESTAMP"), // required
80
+ * latestDate: new Date("TIMESTAMP"),
81
+ * },
82
+ * closeTimeFilter: {
83
+ * oldestDate: new Date("TIMESTAMP"), // required
84
+ * latestDate: new Date("TIMESTAMP"),
85
+ * },
86
+ * executionFilter: { // WorkflowExecutionFilter
87
+ * workflowId: "STRING_VALUE", // required
88
+ * },
89
+ * closeStatusFilter: { // CloseStatusFilter
90
+ * status: "COMPLETED" || "FAILED" || "CANCELED" || "TERMINATED" || "CONTINUED_AS_NEW" || "TIMED_OUT", // required
91
+ * },
92
+ * typeFilter: { // WorkflowTypeFilter
93
+ * name: "STRING_VALUE", // required
94
+ * version: "STRING_VALUE",
95
+ * },
96
+ * tagFilter: { // TagFilter
97
+ * tag: "STRING_VALUE", // required
98
+ * },
99
+ * nextPageToken: "STRING_VALUE",
100
+ * maximumPageSize: Number("int"),
101
+ * reverseOrder: true || false,
102
+ * };
76
103
  * const command = new ListClosedWorkflowExecutionsCommand(input);
77
104
  * const response = await client.send(command);
78
105
  * ```
@@ -57,6 +57,12 @@ export interface ListDomainsCommandOutput extends DomainInfos, __MetadataBearer
57
57
  * import { SWFClient, ListDomainsCommand } from "@aws-sdk/client-swf"; // ES Modules import
58
58
  * // const { SWFClient, ListDomainsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
59
59
  * const client = new SWFClient(config);
60
+ * const input = { // ListDomainsInput
61
+ * nextPageToken: "STRING_VALUE",
62
+ * registrationStatus: "REGISTERED" || "DEPRECATED", // required
63
+ * maximumPageSize: Number("int"),
64
+ * reverseOrder: true || false,
65
+ * };
60
66
  * const command = new ListDomainsCommand(input);
61
67
  * const response = await client.send(command);
62
68
  * ```
@@ -73,6 +73,26 @@ export interface ListOpenWorkflowExecutionsCommandOutput extends WorkflowExecuti
73
73
  * import { SWFClient, ListOpenWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
74
74
  * // const { SWFClient, ListOpenWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
75
75
  * const client = new SWFClient(config);
76
+ * const input = { // ListOpenWorkflowExecutionsInput
77
+ * domain: "STRING_VALUE", // required
78
+ * startTimeFilter: { // ExecutionTimeFilter
79
+ * oldestDate: new Date("TIMESTAMP"), // required
80
+ * latestDate: new Date("TIMESTAMP"),
81
+ * },
82
+ * typeFilter: { // WorkflowTypeFilter
83
+ * name: "STRING_VALUE", // required
84
+ * version: "STRING_VALUE",
85
+ * },
86
+ * tagFilter: { // TagFilter
87
+ * tag: "STRING_VALUE", // required
88
+ * },
89
+ * nextPageToken: "STRING_VALUE",
90
+ * maximumPageSize: Number("int"),
91
+ * reverseOrder: true || false,
92
+ * executionFilter: { // WorkflowExecutionFilter
93
+ * workflowId: "STRING_VALUE", // required
94
+ * },
95
+ * };
76
96
  * const command = new ListOpenWorkflowExecutionsCommand(input);
77
97
  * const response = await client.send(command);
78
98
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
26
26
  * import { SWFClient, ListTagsForResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import
27
27
  * // const { SWFClient, ListTagsForResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import
28
28
  * const client = new SWFClient(config);
29
+ * const input = { // ListTagsForResourceInput
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -50,6 +50,14 @@ export interface ListWorkflowTypesCommandOutput extends WorkflowTypeInfos, __Met
50
50
  * import { SWFClient, ListWorkflowTypesCommand } from "@aws-sdk/client-swf"; // ES Modules import
51
51
  * // const { SWFClient, ListWorkflowTypesCommand } = require("@aws-sdk/client-swf"); // CommonJS import
52
52
  * const client = new SWFClient(config);
53
+ * const input = { // ListWorkflowTypesInput
54
+ * domain: "STRING_VALUE", // required
55
+ * name: "STRING_VALUE",
56
+ * registrationStatus: "REGISTERED" || "DEPRECATED", // required
57
+ * nextPageToken: "STRING_VALUE",
58
+ * maximumPageSize: Number("int"),
59
+ * reverseOrder: true || false,
60
+ * };
53
61
  * const command = new ListWorkflowTypesCommand(input);
54
62
  * const response = await client.send(command);
55
63
  * ```
@@ -61,6 +61,13 @@ export interface PollForActivityTaskCommandOutput extends ActivityTask, __Metada
61
61
  * import { SWFClient, PollForActivityTaskCommand } from "@aws-sdk/client-swf"; // ES Modules import
62
62
  * // const { SWFClient, PollForActivityTaskCommand } = require("@aws-sdk/client-swf"); // CommonJS import
63
63
  * const client = new SWFClient(config);
64
+ * const input = { // PollForActivityTaskInput
65
+ * domain: "STRING_VALUE", // required
66
+ * taskList: { // TaskList
67
+ * name: "STRING_VALUE", // required
68
+ * },
69
+ * identity: "STRING_VALUE",
70
+ * };
64
71
  * const command = new PollForActivityTaskCommand(input);
65
72
  * const response = await client.send(command);
66
73
  * ```
@@ -73,6 +73,16 @@ export interface PollForDecisionTaskCommandOutput extends DecisionTask, __Metada
73
73
  * import { SWFClient, PollForDecisionTaskCommand } from "@aws-sdk/client-swf"; // ES Modules import
74
74
  * // const { SWFClient, PollForDecisionTaskCommand } = require("@aws-sdk/client-swf"); // CommonJS import
75
75
  * const client = new SWFClient(config);
76
+ * const input = { // PollForDecisionTaskInput
77
+ * domain: "STRING_VALUE", // required
78
+ * taskList: { // TaskList
79
+ * name: "STRING_VALUE", // required
80
+ * },
81
+ * identity: "STRING_VALUE",
82
+ * nextPageToken: "STRING_VALUE",
83
+ * maximumPageSize: Number("int"),
84
+ * reverseOrder: true || false,
85
+ * };
76
86
  * const command = new PollForDecisionTaskCommand(input);
77
87
  * const response = await client.send(command);
78
88
  * ```
@@ -73,6 +73,10 @@ export interface RecordActivityTaskHeartbeatCommandOutput extends ActivityTaskSt
73
73
  * import { SWFClient, RecordActivityTaskHeartbeatCommand } from "@aws-sdk/client-swf"; // ES Modules import
74
74
  * // const { SWFClient, RecordActivityTaskHeartbeatCommand } = require("@aws-sdk/client-swf"); // CommonJS import
75
75
  * const client = new SWFClient(config);
76
+ * const input = { // RecordActivityTaskHeartbeatInput
77
+ * taskToken: "STRING_VALUE", // required
78
+ * details: "STRING_VALUE",
79
+ * };
76
80
  * const command = new RecordActivityTaskHeartbeatCommand(input);
77
81
  * const response = await client.send(command);
78
82
  * ```
@@ -72,6 +72,20 @@ export interface RegisterActivityTypeCommandOutput extends __MetadataBearer {
72
72
  * import { SWFClient, RegisterActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
73
73
  * // const { SWFClient, RegisterActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
74
74
  * const client = new SWFClient(config);
75
+ * const input = { // RegisterActivityTypeInput
76
+ * domain: "STRING_VALUE", // required
77
+ * name: "STRING_VALUE", // required
78
+ * version: "STRING_VALUE", // required
79
+ * description: "STRING_VALUE",
80
+ * defaultTaskStartToCloseTimeout: "STRING_VALUE",
81
+ * defaultTaskHeartbeatTimeout: "STRING_VALUE",
82
+ * defaultTaskList: { // TaskList
83
+ * name: "STRING_VALUE", // required
84
+ * },
85
+ * defaultTaskPriority: "STRING_VALUE",
86
+ * defaultTaskScheduleToStartTimeout: "STRING_VALUE",
87
+ * defaultTaskScheduleToCloseTimeout: "STRING_VALUE",
88
+ * };
75
89
  * const command = new RegisterActivityTypeCommand(input);
76
90
  * const response = await client.send(command);
77
91
  * ```
@@ -49,6 +49,17 @@ export interface RegisterDomainCommandOutput extends __MetadataBearer {
49
49
  * import { SWFClient, RegisterDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
50
50
  * // const { SWFClient, RegisterDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
51
51
  * const client = new SWFClient(config);
52
+ * const input = { // RegisterDomainInput
53
+ * name: "STRING_VALUE", // required
54
+ * description: "STRING_VALUE",
55
+ * workflowExecutionRetentionPeriodInDays: "STRING_VALUE", // required
56
+ * tags: [ // ResourceTagList
57
+ * { // ResourceTag
58
+ * key: "STRING_VALUE", // required
59
+ * value: "STRING_VALUE",
60
+ * },
61
+ * ],
62
+ * };
52
63
  * const command = new RegisterDomainCommand(input);
53
64
  * const response = await client.send(command);
54
65
  * ```
@@ -73,6 +73,20 @@ export interface RegisterWorkflowTypeCommandOutput extends __MetadataBearer {
73
73
  * import { SWFClient, RegisterWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
74
74
  * // const { SWFClient, RegisterWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
75
75
  * const client = new SWFClient(config);
76
+ * const input = { // RegisterWorkflowTypeInput
77
+ * domain: "STRING_VALUE", // required
78
+ * name: "STRING_VALUE", // required
79
+ * version: "STRING_VALUE", // required
80
+ * description: "STRING_VALUE",
81
+ * defaultTaskStartToCloseTimeout: "STRING_VALUE",
82
+ * defaultExecutionStartToCloseTimeout: "STRING_VALUE",
83
+ * defaultTaskList: { // TaskList
84
+ * name: "STRING_VALUE", // required
85
+ * },
86
+ * defaultTaskPriority: "STRING_VALUE",
87
+ * defaultChildPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON",
88
+ * defaultLambdaRole: "STRING_VALUE",
89
+ * };
76
90
  * const command = new RegisterWorkflowTypeCommand(input);
77
91
  * const response = await client.send(command);
78
92
  * ```
@@ -64,6 +64,11 @@ export interface RequestCancelWorkflowExecutionCommandOutput extends __MetadataB
64
64
  * import { SWFClient, RequestCancelWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
65
65
  * // const { SWFClient, RequestCancelWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
66
66
  * const client = new SWFClient(config);
67
+ * const input = { // RequestCancelWorkflowExecutionInput
68
+ * domain: "STRING_VALUE", // required
69
+ * workflowId: "STRING_VALUE", // required
70
+ * runId: "STRING_VALUE",
71
+ * };
67
72
  * const command = new RequestCancelWorkflowExecutionCommand(input);
68
73
  * const response = await client.send(command);
69
74
  * ```
@@ -67,6 +67,10 @@ export interface RespondActivityTaskCanceledCommandOutput extends __MetadataBear
67
67
  * import { SWFClient, RespondActivityTaskCanceledCommand } from "@aws-sdk/client-swf"; // ES Modules import
68
68
  * // const { SWFClient, RespondActivityTaskCanceledCommand } = require("@aws-sdk/client-swf"); // CommonJS import
69
69
  * const client = new SWFClient(config);
70
+ * const input = { // RespondActivityTaskCanceledInput
71
+ * taskToken: "STRING_VALUE", // required
72
+ * details: "STRING_VALUE",
73
+ * };
70
74
  * const command = new RespondActivityTaskCanceledCommand(input);
71
75
  * const response = await client.send(command);
72
76
  * ```
@@ -65,6 +65,10 @@ export interface RespondActivityTaskCompletedCommandOutput extends __MetadataBea
65
65
  * import { SWFClient, RespondActivityTaskCompletedCommand } from "@aws-sdk/client-swf"; // ES Modules import
66
66
  * // const { SWFClient, RespondActivityTaskCompletedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
67
67
  * const client = new SWFClient(config);
68
+ * const input = { // RespondActivityTaskCompletedInput
69
+ * taskToken: "STRING_VALUE", // required
70
+ * result: "STRING_VALUE",
71
+ * };
68
72
  * const command = new RespondActivityTaskCompletedCommand(input);
69
73
  * const response = await client.send(command);
70
74
  * ```
@@ -58,6 +58,11 @@ export interface RespondActivityTaskFailedCommandOutput extends __MetadataBearer
58
58
  * import { SWFClient, RespondActivityTaskFailedCommand } from "@aws-sdk/client-swf"; // ES Modules import
59
59
  * // const { SWFClient, RespondActivityTaskFailedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
60
60
  * const client = new SWFClient(config);
61
+ * const input = { // RespondActivityTaskFailedInput
62
+ * taskToken: "STRING_VALUE", // required
63
+ * reason: "STRING_VALUE",
64
+ * details: "STRING_VALUE",
65
+ * };
61
66
  * const command = new RespondActivityTaskFailedCommand(input);
62
67
  * const response = await client.send(command);
63
68
  * ```
@@ -45,6 +45,111 @@ export interface RespondDecisionTaskCompletedCommandOutput extends __MetadataBea
45
45
  * import { SWFClient, RespondDecisionTaskCompletedCommand } from "@aws-sdk/client-swf"; // ES Modules import
46
46
  * // const { SWFClient, RespondDecisionTaskCompletedCommand } = require("@aws-sdk/client-swf"); // CommonJS import
47
47
  * const client = new SWFClient(config);
48
+ * const input = { // RespondDecisionTaskCompletedInput
49
+ * taskToken: "STRING_VALUE", // required
50
+ * decisions: [ // DecisionList
51
+ * { // Decision
52
+ * decisionType: "ScheduleActivityTask" || "RequestCancelActivityTask" || "CompleteWorkflowExecution" || "FailWorkflowExecution" || "CancelWorkflowExecution" || "ContinueAsNewWorkflowExecution" || "RecordMarker" || "StartTimer" || "CancelTimer" || "SignalExternalWorkflowExecution" || "RequestCancelExternalWorkflowExecution" || "StartChildWorkflowExecution" || "ScheduleLambdaFunction", // required
53
+ * scheduleActivityTaskDecisionAttributes: { // ScheduleActivityTaskDecisionAttributes
54
+ * activityType: { // ActivityType
55
+ * name: "STRING_VALUE", // required
56
+ * version: "STRING_VALUE", // required
57
+ * },
58
+ * activityId: "STRING_VALUE", // required
59
+ * control: "STRING_VALUE",
60
+ * input: "STRING_VALUE",
61
+ * scheduleToCloseTimeout: "STRING_VALUE",
62
+ * taskList: { // TaskList
63
+ * name: "STRING_VALUE", // required
64
+ * },
65
+ * taskPriority: "STRING_VALUE",
66
+ * scheduleToStartTimeout: "STRING_VALUE",
67
+ * startToCloseTimeout: "STRING_VALUE",
68
+ * heartbeatTimeout: "STRING_VALUE",
69
+ * },
70
+ * requestCancelActivityTaskDecisionAttributes: { // RequestCancelActivityTaskDecisionAttributes
71
+ * activityId: "STRING_VALUE", // required
72
+ * },
73
+ * completeWorkflowExecutionDecisionAttributes: { // CompleteWorkflowExecutionDecisionAttributes
74
+ * result: "STRING_VALUE",
75
+ * },
76
+ * failWorkflowExecutionDecisionAttributes: { // FailWorkflowExecutionDecisionAttributes
77
+ * reason: "STRING_VALUE",
78
+ * details: "STRING_VALUE",
79
+ * },
80
+ * cancelWorkflowExecutionDecisionAttributes: { // CancelWorkflowExecutionDecisionAttributes
81
+ * details: "STRING_VALUE",
82
+ * },
83
+ * continueAsNewWorkflowExecutionDecisionAttributes: { // ContinueAsNewWorkflowExecutionDecisionAttributes
84
+ * input: "STRING_VALUE",
85
+ * executionStartToCloseTimeout: "STRING_VALUE",
86
+ * taskList: {
87
+ * name: "STRING_VALUE", // required
88
+ * },
89
+ * taskPriority: "STRING_VALUE",
90
+ * taskStartToCloseTimeout: "STRING_VALUE",
91
+ * childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON",
92
+ * tagList: [ // TagList
93
+ * "STRING_VALUE",
94
+ * ],
95
+ * workflowTypeVersion: "STRING_VALUE",
96
+ * lambdaRole: "STRING_VALUE",
97
+ * },
98
+ * recordMarkerDecisionAttributes: { // RecordMarkerDecisionAttributes
99
+ * markerName: "STRING_VALUE", // required
100
+ * details: "STRING_VALUE",
101
+ * },
102
+ * startTimerDecisionAttributes: { // StartTimerDecisionAttributes
103
+ * timerId: "STRING_VALUE", // required
104
+ * control: "STRING_VALUE",
105
+ * startToFireTimeout: "STRING_VALUE", // required
106
+ * },
107
+ * cancelTimerDecisionAttributes: { // CancelTimerDecisionAttributes
108
+ * timerId: "STRING_VALUE", // required
109
+ * },
110
+ * signalExternalWorkflowExecutionDecisionAttributes: { // SignalExternalWorkflowExecutionDecisionAttributes
111
+ * workflowId: "STRING_VALUE", // required
112
+ * runId: "STRING_VALUE",
113
+ * signalName: "STRING_VALUE", // required
114
+ * input: "STRING_VALUE",
115
+ * control: "STRING_VALUE",
116
+ * },
117
+ * requestCancelExternalWorkflowExecutionDecisionAttributes: { // RequestCancelExternalWorkflowExecutionDecisionAttributes
118
+ * workflowId: "STRING_VALUE", // required
119
+ * runId: "STRING_VALUE",
120
+ * control: "STRING_VALUE",
121
+ * },
122
+ * startChildWorkflowExecutionDecisionAttributes: { // StartChildWorkflowExecutionDecisionAttributes
123
+ * workflowType: { // WorkflowType
124
+ * name: "STRING_VALUE", // required
125
+ * version: "STRING_VALUE", // required
126
+ * },
127
+ * workflowId: "STRING_VALUE", // required
128
+ * control: "STRING_VALUE",
129
+ * input: "STRING_VALUE",
130
+ * executionStartToCloseTimeout: "STRING_VALUE",
131
+ * taskList: {
132
+ * name: "STRING_VALUE", // required
133
+ * },
134
+ * taskPriority: "STRING_VALUE",
135
+ * taskStartToCloseTimeout: "STRING_VALUE",
136
+ * childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON",
137
+ * tagList: [
138
+ * "STRING_VALUE",
139
+ * ],
140
+ * lambdaRole: "STRING_VALUE",
141
+ * },
142
+ * scheduleLambdaFunctionDecisionAttributes: { // ScheduleLambdaFunctionDecisionAttributes
143
+ * id: "STRING_VALUE", // required
144
+ * name: "STRING_VALUE", // required
145
+ * control: "STRING_VALUE",
146
+ * input: "STRING_VALUE",
147
+ * startToCloseTimeout: "STRING_VALUE",
148
+ * },
149
+ * },
150
+ * ],
151
+ * executionContext: "STRING_VALUE",
152
+ * };
48
153
  * const command = new RespondDecisionTaskCompletedCommand(input);
49
154
  * const response = await client.send(command);
50
155
  * ```
@@ -64,6 +64,13 @@ export interface SignalWorkflowExecutionCommandOutput extends __MetadataBearer {
64
64
  * import { SWFClient, SignalWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
65
65
  * // const { SWFClient, SignalWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
66
66
  * const client = new SWFClient(config);
67
+ * const input = { // SignalWorkflowExecutionInput
68
+ * domain: "STRING_VALUE", // required
69
+ * workflowId: "STRING_VALUE", // required
70
+ * runId: "STRING_VALUE",
71
+ * signalName: "STRING_VALUE", // required
72
+ * input: "STRING_VALUE",
73
+ * };
67
74
  * const command = new SignalWorkflowExecutionCommand(input);
68
75
  * const response = await client.send(command);
69
76
  * ```
@@ -91,6 +91,26 @@ export interface StartWorkflowExecutionCommandOutput extends Run, __MetadataBear
91
91
  * import { SWFClient, StartWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
92
92
  * // const { SWFClient, StartWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
93
93
  * const client = new SWFClient(config);
94
+ * const input = { // StartWorkflowExecutionInput
95
+ * domain: "STRING_VALUE", // required
96
+ * workflowId: "STRING_VALUE", // required
97
+ * workflowType: { // WorkflowType
98
+ * name: "STRING_VALUE", // required
99
+ * version: "STRING_VALUE", // required
100
+ * },
101
+ * taskList: { // TaskList
102
+ * name: "STRING_VALUE", // required
103
+ * },
104
+ * taskPriority: "STRING_VALUE",
105
+ * input: "STRING_VALUE",
106
+ * executionStartToCloseTimeout: "STRING_VALUE",
107
+ * tagList: [ // TagList
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * taskStartToCloseTimeout: "STRING_VALUE",
111
+ * childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON",
112
+ * lambdaRole: "STRING_VALUE",
113
+ * };
94
114
  * const command = new StartWorkflowExecutionCommand(input);
95
115
  * const response = await client.send(command);
96
116
  * ```
@@ -29,6 +29,15 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
29
29
  * import { SWFClient, TagResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import
30
30
  * // const { SWFClient, TagResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import
31
31
  * const client = new SWFClient(config);
32
+ * const input = { // TagResourceInput
33
+ * resourceArn: "STRING_VALUE", // required
34
+ * tags: [ // ResourceTagList // required
35
+ * { // ResourceTag
36
+ * key: "STRING_VALUE", // required
37
+ * value: "STRING_VALUE",
38
+ * },
39
+ * ],
40
+ * };
32
41
  * const command = new TagResourceCommand(input);
33
42
  * const response = await client.send(command);
34
43
  * ```
@@ -69,6 +69,14 @@ export interface TerminateWorkflowExecutionCommandOutput extends __MetadataBeare
69
69
  * import { SWFClient, TerminateWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
70
70
  * // const { SWFClient, TerminateWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
71
71
  * const client = new SWFClient(config);
72
+ * const input = { // TerminateWorkflowExecutionInput
73
+ * domain: "STRING_VALUE", // required
74
+ * workflowId: "STRING_VALUE", // required
75
+ * runId: "STRING_VALUE",
76
+ * reason: "STRING_VALUE",
77
+ * details: "STRING_VALUE",
78
+ * childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON",
79
+ * };
72
80
  * const command = new TerminateWorkflowExecutionCommand(input);
73
81
  * const response = await client.send(command);
74
82
  * ```
@@ -67,6 +67,13 @@ export interface UndeprecateActivityTypeCommandOutput extends __MetadataBearer {
67
67
  * import { SWFClient, UndeprecateActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
68
68
  * // const { SWFClient, UndeprecateActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
69
69
  * const client = new SWFClient(config);
70
+ * const input = { // UndeprecateActivityTypeInput
71
+ * domain: "STRING_VALUE", // required
72
+ * activityType: { // ActivityType
73
+ * name: "STRING_VALUE", // required
74
+ * version: "STRING_VALUE", // required
75
+ * },
76
+ * };
70
77
  * const command = new UndeprecateActivityTypeCommand(input);
71
78
  * const response = await client.send(command);
72
79
  * ```
@@ -54,6 +54,9 @@ export interface UndeprecateDomainCommandOutput extends __MetadataBearer {
54
54
  * import { SWFClient, UndeprecateDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
55
55
  * // const { SWFClient, UndeprecateDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
56
56
  * const client = new SWFClient(config);
57
+ * const input = { // UndeprecateDomainInput
58
+ * name: "STRING_VALUE", // required
59
+ * };
57
60
  * const command = new UndeprecateDomainCommand(input);
58
61
  * const response = await client.send(command);
59
62
  * ```
@@ -67,6 +67,13 @@ export interface UndeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
67
67
  * import { SWFClient, UndeprecateWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
68
68
  * // const { SWFClient, UndeprecateWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
69
69
  * const client = new SWFClient(config);
70
+ * const input = { // UndeprecateWorkflowTypeInput
71
+ * domain: "STRING_VALUE", // required
72
+ * workflowType: { // WorkflowType
73
+ * name: "STRING_VALUE", // required
74
+ * version: "STRING_VALUE", // required
75
+ * },
76
+ * };
70
77
  * const command = new UndeprecateWorkflowTypeCommand(input);
71
78
  * const response = await client.send(command);
72
79
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { SWFClient, UntagResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import
27
27
  * // const { SWFClient, UntagResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import
28
28
  * const client = new SWFClient(config);
29
+ * const input = { // UntagResourceInput
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // ResourceTagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
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.299.0",
4
+ "version": "3.301.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },