@aws-sdk/client-swf 3.329.0 → 3.332.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.
package/README.md CHANGED
@@ -13,11 +13,9 @@ coordinate work across distributed components. In Amazon SWF, a <i>task</i>
13
13
  represents a logical unit of work that is performed by a component of your workflow.
14
14
  Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and
15
15
  concurrency in accordance with the logical flow of the application.</p>
16
-
17
16
  <p>Amazon SWF gives you full control over implementing tasks and coordinating them without
18
17
  worrying about underlying complexities such as tracking their progress and maintaining their
19
18
  state.</p>
20
-
21
19
  <p>This documentation serves as reference only. For a broader overview of the Amazon SWF
22
20
  programming model, see the <i>
23
21
  <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/">Amazon SWF Developer Guide</a>
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const u = "fn", v = "argv", w = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [w]: "Region" }, l = { [w]: "Endpoint" }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, n = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, o = {}, p = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [{ [w]: d }, "supportsFIPS"] }] }, q = { [w]: d }, r = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [q, "supportsDualStack"] }] }, s = [m], t = [n];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [k], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [l] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: i, [v]: ["aws-us-gov", { [u]: h, [v]: [q, "name"] }] }], endpoint: { url: "https://swf.{Region}.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: i, [v]: [k, "us-gov-east-1"] }], endpoint: { url: "https://swf.us-gov-east-1.amazonaws.com", properties: o, headers: o }, type: g }, { conditions: [{ [u]: i, [v]: [k, "us-gov-west-1"] }], endpoint: { url: "https://swf.us-gov-west-1.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://swf.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://swf.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://swf.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const u = "fn", v = "argv", w = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [w]: "Region" }, l = { [w]: "Endpoint" }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, n = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, o = {}, p = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [{ [w]: d }, "supportsFIPS"] }] }, q = { [w]: d }, r = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [q, "supportsDualStack"] }] }, s = [m], t = [n];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [k], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [l] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: i, [v]: ["aws-us-gov", { [u]: h, [v]: [q, "name"] }] }], endpoint: { url: "https://swf.{Region}.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: i, [v]: [k, "us-gov-east-1"] }], endpoint: { url: "https://swf.us-gov-east-1.amazonaws.com", properties: o, headers: o }, type: g }, { conditions: [{ [u]: i, [v]: [k, "us-gov-west-1"] }], endpoint: { url: "https://swf.us-gov-west-1.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://swf.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://swf.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://swf-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://swf.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -264,17 +264,14 @@ export interface SWF {
264
264
  /**
265
265
  * @public
266
266
  * <fullname>Amazon Simple Workflow Service</fullname>
267
- *
268
267
  * <p>The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to
269
268
  * coordinate work across distributed components. In Amazon SWF, a <i>task</i>
270
269
  * represents a logical unit of work that is performed by a component of your workflow.
271
270
  * Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and
272
271
  * concurrency in accordance with the logical flow of the application.</p>
273
- *
274
272
  * <p>Amazon SWF gives you full control over implementing tasks and coordinating them without
275
273
  * worrying about underlying complexities such as tracking their progress and maintaining their
276
274
  * state.</p>
277
- *
278
275
  * <p>This documentation serves as reference only. For a broader overview of the Amazon SWF
279
276
  * programming model, see the <i>
280
277
  * <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/">Amazon SWF Developer Guide</a>
@@ -181,17 +181,14 @@ export interface SWFClientResolvedConfig extends SWFClientResolvedConfigType {
181
181
  /**
182
182
  * @public
183
183
  * <fullname>Amazon Simple Workflow Service</fullname>
184
- *
185
184
  * <p>The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to
186
185
  * coordinate work across distributed components. In Amazon SWF, a <i>task</i>
187
186
  * represents a logical unit of work that is performed by a component of your workflow.
188
187
  * Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and
189
188
  * concurrency in accordance with the logical flow of the application.</p>
190
- *
191
189
  * <p>Amazon SWF gives you full control over implementing tasks and coordinating them without
192
190
  * worrying about underlying complexities such as tracking their progress and maintaining their
193
191
  * state.</p>
194
- *
195
192
  * <p>This documentation serves as reference only. For a broader overview of the Amazon SWF
196
193
  * programming model, see the <i>
197
194
  * <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/">Amazon SWF Developer Guide</a>
@@ -82,6 +82,7 @@ export interface PollForDecisionTaskCommandOutput extends DecisionTask, __Metada
82
82
  * nextPageToken: "STRING_VALUE",
83
83
  * maximumPageSize: Number("int"),
84
84
  * reverseOrder: true || false,
85
+ * startAtPreviousStartedEvent: true || false,
85
86
  * };
86
87
  * const command = new PollForDecisionTaskCommand(input);
87
88
  * const response = await client.send(command);
@@ -23,13 +23,11 @@ export interface RequestCancelWorkflowExecutionCommandOutput extends __MetadataB
23
23
  * workflow execution identified by the given domain, workflowId, and runId. This logically
24
24
  * requests the cancellation of the workflow execution as a whole. It is up to the decider to
25
25
  * take appropriate actions when it receives an execution history with this event.</p>
26
- *
27
26
  * <note>
28
27
  * <p>If the runId isn't specified, the <code>WorkflowExecutionCancelRequested</code> event
29
28
  * is recorded in the history of the current open workflow execution with the specified
30
29
  * workflowId in the domain.</p>
31
30
  * </note>
32
- *
33
31
  * <note>
34
32
  * <p>Because this action allows the workflow to properly clean up and gracefully close, it
35
33
  * should be used instead of <a>TerminateWorkflowExecution</a> when
@@ -22,22 +22,18 @@ export interface RespondActivityTaskCanceledCommandOutput extends __MetadataBear
22
22
  * <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
23
23
  * by the <code>taskToken</code> was successfully canceled. Additional <code>details</code> can
24
24
  * be provided using the <code>details</code> argument.</p>
25
- *
26
25
  * <p>These <code>details</code> (if provided) appear in the
27
26
  * <code>ActivityTaskCanceled</code> event added to the workflow history.</p>
28
- *
29
27
  * <important>
30
28
  * <p>Only use this operation if the <code>canceled</code> flag of a <a>RecordActivityTaskHeartbeat</a> request returns <code>true</code> and if the
31
29
  * activity can be safely undone or abandoned.</p>
32
30
  * </important>
33
- *
34
31
  * <p>A task is considered open from the time that it is scheduled until it is closed.
35
32
  * Therefore a task is reported as open while a worker is processing it. A task is closed after
36
33
  * it has been specified in a call to <a>RespondActivityTaskCompleted</a>,
37
34
  * RespondActivityTaskCanceled, <a>RespondActivityTaskFailed</a>, or the task has
38
35
  * <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
39
36
  * out</a>.</p>
40
- *
41
37
  * <p>
42
38
  * <b>Access Control</b>
43
39
  * </p>
@@ -23,19 +23,16 @@ export interface RespondActivityTaskCompletedCommandOutput extends __MetadataBea
23
23
  * by the <code>taskToken</code> completed successfully with a <code>result</code> (if provided).
24
24
  * The <code>result</code> appears in the <code>ActivityTaskCompleted</code> event in the
25
25
  * workflow history.</p>
26
- *
27
26
  * <important>
28
27
  * <p>If the requested task doesn't complete successfully, use <a>RespondActivityTaskFailed</a> instead. If the worker finds that the task is
29
28
  * canceled through the <code>canceled</code> flag returned by <a>RecordActivityTaskHeartbeat</a>, it should cancel the task, clean up and then call
30
29
  * <a>RespondActivityTaskCanceled</a>.</p>
31
30
  * </important>
32
- *
33
31
  * <p>A task is considered open from the time that it is scheduled until it is closed.
34
32
  * Therefore a task is reported as open while a worker is processing it. A task is closed after
35
33
  * it has been specified in a call to RespondActivityTaskCompleted, <a>RespondActivityTaskCanceled</a>, <a>RespondActivityTaskFailed</a>, or the
36
34
  * task has <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
37
35
  * out</a>.</p>
38
- *
39
36
  * <p>
40
37
  * <b>Access Control</b>
41
38
  * </p>
@@ -23,12 +23,10 @@ export interface RespondActivityTaskFailedCommandOutput extends __MetadataBearer
23
23
  * by the <code>taskToken</code> has failed with <code>reason</code> (if specified). The
24
24
  * <code>reason</code> and <code>details</code> appear in the <code>ActivityTaskFailed</code>
25
25
  * event added to the workflow history.</p>
26
- *
27
26
  * <p>A task is considered open from the time that it is scheduled until it is closed.
28
27
  * Therefore a task is reported as open while a worker is processing it. A task is closed after
29
28
  * it has been specified in a call to <a>RespondActivityTaskCompleted</a>, <a>RespondActivityTaskCanceled</a>, RespondActivityTaskFailed, or the task has <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
30
29
  * out</a>.</p>
31
- *
32
30
  * <p>
33
31
  * <b>Access Control</b>
34
32
  * </p>
@@ -22,15 +22,12 @@ export interface RespondDecisionTaskCompletedCommandOutput extends __MetadataBea
22
22
  * <p>Used by deciders to tell the service that the <a>DecisionTask</a> identified
23
23
  * by the <code>taskToken</code> has successfully completed. The <code>decisions</code> argument
24
24
  * specifies the list of decisions made while processing the task.</p>
25
- *
26
25
  * <p>A <code>DecisionTaskCompleted</code> event is added to the workflow history. The
27
26
  * <code>executionContext</code> specified is attached to the event in the workflow execution
28
27
  * history.</p>
29
- *
30
28
  * <p>
31
29
  * <b>Access Control</b>
32
30
  * </p>
33
- *
34
31
  * <p>If an IAM policy grants permission to use <code>RespondDecisionTaskCompleted</code>, it
35
32
  * can express permissions for the list of decisions in the <code>decisions</code> parameter.
36
33
  * Each of the decisions has one or more parameters, much like a regular API call. To allow for
@@ -23,18 +23,15 @@ export interface SignalWorkflowExecutionCommandOutput extends __MetadataBearer {
23
23
  * history and creates a decision task for the workflow execution identified by the given domain,
24
24
  * workflowId and runId. The event is recorded with the specified user defined signalName and
25
25
  * input (if provided).</p>
26
- *
27
26
  * <note>
28
27
  * <p>If a runId isn't specified, then the <code>WorkflowExecutionSignaled</code> event is
29
28
  * recorded in the history of the current open workflow with the matching workflowId in the
30
29
  * domain.</p>
31
30
  * </note>
32
- *
33
31
  * <note>
34
32
  * <p>If the specified workflow execution isn't open, this method fails with
35
33
  * <code>UnknownResource</code>.</p>
36
34
  * </note>
37
- *
38
35
  * <p>
39
36
  * <b>Access Control</b>
40
37
  * </p>
@@ -21,9 +21,7 @@ export interface StartWorkflowExecutionCommandOutput extends Run, __MetadataBear
21
21
  * @public
22
22
  * <p>Starts an execution of the workflow type in the specified domain using the provided
23
23
  * <code>workflowId</code> and input data.</p>
24
- *
25
24
  * <p>This action returns the newly started workflow execution.</p>
26
- *
27
25
  * <p>
28
26
  * <b>Access Control</b>
29
27
  * </p>
@@ -23,23 +23,19 @@ export interface TerminateWorkflowExecutionCommandOutput extends __MetadataBeare
23
23
  * workflow execution identified by the given domain, runId, and workflowId. The child policy,
24
24
  * registered with the workflow type or specified when starting this execution, is applied to any
25
25
  * open child workflow executions of this workflow execution.</p>
26
- *
27
26
  * <important>
28
27
  * <p>If the identified workflow execution was in progress, it is terminated
29
28
  * immediately.</p>
30
29
  * </important>
31
- *
32
30
  * <note>
33
31
  * <p>If a runId isn't specified, then the <code>WorkflowExecutionTerminated</code> event
34
32
  * is recorded in the history of the current open workflow with the matching workflowId in the
35
33
  * domain.</p>
36
34
  * </note>
37
- *
38
35
  * <note>
39
36
  * <p>You should consider using <a>RequestCancelWorkflowExecution</a> action
40
37
  * instead because it allows the workflow to gracefully close while <a>TerminateWorkflowExecution</a> doesn't.</p>
41
38
  * </note>
42
- *
43
39
  * <p>
44
40
  * <b>Access Control</b>
45
41
  * </p>
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -886,17 +886,17 @@ export interface CompleteWorkflowExecutionFailedEventAttributes {
886
886
  * <li>
887
887
  * <p>Constrain the following parameters by using a <code>Condition</code> element with the
888
888
  * appropriate keys.</p>
889
- * <ul>
889
+ * <ul>
890
890
  * <li>
891
- * <p>
891
+ * <p>
892
892
  * <code>tag</code> – A tag used to identify the workflow execution</p>
893
893
  * </li>
894
894
  * <li>
895
- * <p>
895
+ * <p>
896
896
  * <code>taskList</code> – String constraint. The key is <code>swf:taskList.name</code>.</p>
897
897
  * </li>
898
898
  * <li>
899
- * <p>
899
+ * <p>
900
900
  * <code>workflowType.version</code> – String constraint. The key is <code>swf:workflowType.version</code>.</p>
901
901
  * </li>
902
902
  * </ul>
@@ -1459,19 +1459,19 @@ export interface RequestCancelExternalWorkflowExecutionDecisionAttributes {
1459
1459
  * <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p>
1460
1460
  * </li>
1461
1461
  * <li>
1462
- * <p>Constrain the following parameters by using a <code>Condition</code> element with the
1462
+ * <p>Constrain the following parameters by using a <code>Condition</code> element with the
1463
1463
  * appropriate keys.</p>
1464
- * <ul>
1464
+ * <ul>
1465
1465
  * <li>
1466
1466
  * <p>
1467
1467
  * <code>activityType.name</code> – String constraint. The key is <code>swf:activityType.name</code>.</p>
1468
1468
  * </li>
1469
1469
  * <li>
1470
- * <p>
1470
+ * <p>
1471
1471
  * <code>activityType.version</code> – String constraint. The key is <code>swf:activityType.version</code>.</p>
1472
1472
  * </li>
1473
1473
  * <li>
1474
- * <p>
1474
+ * <p>
1475
1475
  * <code>taskList</code> – String constraint. The key is <code>swf:taskList.name</code>.</p>
1476
1476
  * </li>
1477
1477
  * </ul>
@@ -1492,8 +1492,10 @@ export interface ScheduleActivityTaskDecisionAttributes {
1492
1492
  /**
1493
1493
  * <p>
1494
1494
  * The <code>activityId</code> of the activity task.</p>
1495
- * <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>
1496
- * (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>
1495
+ * <p>The specified string must not contain a
1496
+ * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
1497
+ * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
1498
+ * <i>not</i> be the literal string <code>arn</code>.</p>
1497
1499
  */
1498
1500
  activityId: string | undefined;
1499
1501
  /**
@@ -1518,8 +1520,10 @@ export interface ScheduleActivityTaskDecisionAttributes {
1518
1520
  * <note>
1519
1521
  * <p>A task list for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default task list was specified at registration time then a fault is returned.</p>
1520
1522
  * </note>
1521
- * <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>
1522
- * (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>
1523
+ * <p>The specified string must not contain a
1524
+ * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
1525
+ * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
1526
+ * <i>not</i> be the literal string <code>arn</code>.</p>
1523
1527
  */
1524
1528
  taskList?: TaskList;
1525
1529
  /**
@@ -1585,7 +1589,9 @@ export interface ScheduleLambdaFunctionDecisionAttributes {
1585
1589
  */
1586
1590
  input?: string;
1587
1591
  /**
1588
- * <p>The timeout value, in seconds, after which the Lambda function is considered to be failed once it has started. This can be any integer from 1-300 (1s-5m). If no value is supplied, than a default value of 300s is assumed.</p>
1592
+ * <p>The timeout value, in seconds, after which the Lambda function is considered to be
1593
+ * failed once it has started. This can be any integer from 1-900 (1s-15m).</p>
1594
+ * <p>If no value is supplied, then a default value of 900s is assumed.</p>
1589
1595
  */
1590
1596
  startToCloseTimeout?: string;
1591
1597
  }
@@ -1658,22 +1664,22 @@ export interface SignalExternalWorkflowExecutionDecisionAttributes {
1658
1664
  * <li>
1659
1665
  * <p>Constrain the following parameters by using a <code>Condition</code> element with the
1660
1666
  * appropriate keys.</p>
1661
- * <ul>
1667
+ * <ul>
1662
1668
  * <li>
1663
- * <p>
1669
+ * <p>
1664
1670
  * <code>tagList.member.N</code> – The key is "swf:tagList.N" where N is the tag number from 0 to 4,
1665
1671
  * inclusive.</p>
1666
1672
  * </li>
1667
1673
  * <li>
1668
- * <p>
1674
+ * <p>
1669
1675
  * <code>taskList</code> – String constraint. The key is <code>swf:taskList.name</code>.</p>
1670
1676
  * </li>
1671
1677
  * <li>
1672
- * <p>
1678
+ * <p>
1673
1679
  * <code>workflowType.name</code> – String constraint. The key is <code>swf:workflowType.name</code>.</p>
1674
1680
  * </li>
1675
1681
  * <li>
1676
- * <p>
1682
+ * <p>
1677
1683
  * <code>workflowType.version</code> – String constraint. The key is <code>swf:workflowType.version</code>.</p>
1678
1684
  * </li>
1679
1685
  * </ul>
@@ -1693,8 +1699,10 @@ export interface StartChildWorkflowExecutionDecisionAttributes {
1693
1699
  /**
1694
1700
  * <p>
1695
1701
  * The <code>workflowId</code> of the workflow execution.</p>
1696
- * <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>
1697
- * (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>
1702
+ * <p>The specified string must not contain a
1703
+ * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
1704
+ * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
1705
+ * <i>not</i> be the literal string <code>arn</code>.</p>
1698
1706
  */
1699
1707
  workflowId: string | undefined;
1700
1708
  /**
@@ -1718,8 +1726,10 @@ export interface StartChildWorkflowExecutionDecisionAttributes {
1718
1726
  * <note>
1719
1727
  * <p>A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault is returned.</p>
1720
1728
  * </note>
1721
- * <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>
1722
- * (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>
1729
+ * <p>The specified string must not start or end with whitespace. It must not contain a
1730
+ * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
1731
+ * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
1732
+ * <i>not</i> be the literal string <code>arn</code>.</p>
1723
1733
  */
1724
1734
  taskList?: TaskList;
1725
1735
  /**
@@ -1808,8 +1818,10 @@ export interface StartTimerDecisionAttributes {
1808
1818
  /**
1809
1819
  * <p>
1810
1820
  * The unique ID of the timer.</p>
1811
- * <p>The specified string must not start or end with whitespace. It must not contain a <code>:</code>
1812
- * (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must not contain the literal string <code>arn</code>.</p>
1821
+ * <p>The specified string must not contain a
1822
+ * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
1823
+ * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
1824
+ * <i>not</i> be the literal string <code>arn</code>.</p>
1813
1825
  */
1814
1826
  timerId: string | undefined;
1815
1827
  /**
@@ -1901,13 +1913,10 @@ export interface StartTimerDecisionAttributes {
1901
1913
  * decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and
1902
1914
  * example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1903
1915
  * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1904
- *
1905
1916
  * <p>
1906
1917
  * <b>Decision Failure</b>
1907
1918
  * </p>
1908
- *
1909
1919
  * <p>Decisions can fail for several reasons</p>
1910
- *
1911
1920
  * <ul>
1912
1921
  * <li>
1913
1922
  * <p>The ordering of decisions should follow a logical flow. Some decisions might not make sense in the current context of the workflow execution and therefore fails.</p>
@@ -1919,12 +1928,10 @@ export interface StartTimerDecisionAttributes {
1919
1928
  * <p>The decision lacks sufficient permissions.</p>
1920
1929
  * </li>
1921
1930
  * </ul>
1922
- *
1923
1931
  * <p>One of the following events might be added to the history to indicate an error. The event attribute's
1924
1932
  * <code>cause</code> parameter indicates the cause. If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed
1925
1933
  * because it lacked sufficient permissions. For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF Workflows</a>
1926
1934
  * in the <i>Amazon SWF Developer Guide</i>.</p>
1927
- *
1928
1935
  * <ul>
1929
1936
  * <li>
1930
1937
  * <p>
@@ -1934,57 +1941,57 @@ export interface StartTimerDecisionAttributes {
1934
1941
  * </li>
1935
1942
  * <li>
1936
1943
  * <p>
1937
- * <code>RequestCancelActivityTaskFailed</code> – A
1944
+ * <code>RequestCancelActivityTaskFailed</code> – A
1938
1945
  * <code>RequestCancelActivityTask</code> decision failed. This could happen if
1939
1946
  * there is no open activity task with the specified activityId.</p>
1940
1947
  * </li>
1941
1948
  * <li>
1942
1949
  * <p>
1943
- * <code>StartTimerFailed</code> – A <code>StartTimer</code> decision failed. This
1950
+ * <code>StartTimerFailed</code> – A <code>StartTimer</code> decision failed. This
1944
1951
  * could happen if there is another open timer with the same timerId.</p>
1945
1952
  * </li>
1946
1953
  * <li>
1947
1954
  * <p>
1948
- * <code>CancelTimerFailed</code> – A <code>CancelTimer</code> decision failed.
1955
+ * <code>CancelTimerFailed</code> – A <code>CancelTimer</code> decision failed.
1949
1956
  * This could happen if there is no open timer with the specified
1950
1957
  * timerId.</p>
1951
1958
  * </li>
1952
1959
  * <li>
1953
1960
  * <p>
1954
- * <code>StartChildWorkflowExecutionFailed</code> – A
1961
+ * <code>StartChildWorkflowExecutionFailed</code> – A
1955
1962
  * <code>StartChildWorkflowExecution</code> decision failed. This could happen
1956
1963
  * if the workflow type specified isn't registered, is deprecated, or the decision
1957
1964
  * isn't properly configured.</p>
1958
1965
  * </li>
1959
1966
  * <li>
1960
1967
  * <p>
1961
- * <code>SignalExternalWorkflowExecutionFailed</code> – A
1968
+ * <code>SignalExternalWorkflowExecutionFailed</code> – A
1962
1969
  * <code>SignalExternalWorkflowExecution</code> decision failed. This could
1963
1970
  * happen if the <code>workflowID</code> specified in the decision was
1964
1971
  * incorrect.</p>
1965
1972
  * </li>
1966
1973
  * <li>
1967
1974
  * <p>
1968
- * <code>RequestCancelExternalWorkflowExecutionFailed</code> – A
1975
+ * <code>RequestCancelExternalWorkflowExecutionFailed</code> – A
1969
1976
  * <code>RequestCancelExternalWorkflowExecution</code> decision failed. This
1970
1977
  * could happen if the <code>workflowID</code> specified in the decision was
1971
1978
  * incorrect.</p>
1972
1979
  * </li>
1973
1980
  * <li>
1974
1981
  * <p>
1975
- * <code>CancelWorkflowExecutionFailed</code> – A
1982
+ * <code>CancelWorkflowExecutionFailed</code> – A
1976
1983
  * <code>CancelWorkflowExecution</code> decision failed. This could happen if
1977
1984
  * there is an unhandled decision task pending in the workflow execution.</p>
1978
1985
  * </li>
1979
1986
  * <li>
1980
1987
  * <p>
1981
- * <code>CompleteWorkflowExecutionFailed</code> – A
1988
+ * <code>CompleteWorkflowExecutionFailed</code> – A
1982
1989
  * <code>CompleteWorkflowExecution</code> decision failed. This could happen if
1983
1990
  * there is an unhandled decision task pending in the workflow execution.</p>
1984
1991
  * </li>
1985
1992
  * <li>
1986
1993
  * <p>
1987
- * <code>ContinueAsNewWorkflowExecutionFailed</code> – A
1994
+ * <code>ContinueAsNewWorkflowExecutionFailed</code> – A
1988
1995
  * <code>ContinueAsNewWorkflowExecution</code> decision failed. This could
1989
1996
  * happen if there is an unhandled decision task pending in the workflow execution
1990
1997
  * or the ContinueAsNewWorkflowExecution decision was not configured
@@ -1992,7 +1999,7 @@ export interface StartTimerDecisionAttributes {
1992
1999
  * </li>
1993
2000
  * <li>
1994
2001
  * <p>
1995
- * <code>FailWorkflowExecutionFailed</code> – A <code>FailWorkflowExecution</code>
2002
+ * <code>FailWorkflowExecutionFailed</code> – A <code>FailWorkflowExecution</code>
1996
2003
  * decision failed. This could happen if there is an unhandled decision task
1997
2004
  * pending in the workflow execution.</p>
1998
2005
  * </li>
@@ -2018,14 +2025,14 @@ export interface StartTimerDecisionAttributes {
2018
2025
  * <p>
2019
2026
  * <code>
2020
2027
  * <a>ScheduleActivityTaskDecisionAttributes</a>
2021
- * </code>
2028
+ * </code>
2022
2029
  * </p>
2023
2030
  * </li>
2024
2031
  * <li>
2025
2032
  * <p>
2026
2033
  * <code>
2027
2034
  * <a>RequestCancelActivityTaskDecisionAttributes</a>
2028
- * </code>
2035
+ * </code>
2029
2036
  * </p>
2030
2037
  * </li>
2031
2038
  * <li>
@@ -2033,70 +2040,70 @@ export interface StartTimerDecisionAttributes {
2033
2040
  * <code>
2034
2041
  * <a>CompleteWorkflowExecutionDecisionAttributes</a>
2035
2042
  * </code>
2036
- * </p>
2043
+ * </p>
2037
2044
  * </li>
2038
2045
  * <li>
2039
2046
  * <p>
2040
2047
  * <code>
2041
2048
  * <a>FailWorkflowExecutionDecisionAttributes</a>
2042
2049
  * </code>
2043
- * </p>
2050
+ * </p>
2044
2051
  * </li>
2045
2052
  * <li>
2046
2053
  * <p>
2047
2054
  * <code>
2048
2055
  * <a>CancelWorkflowExecutionDecisionAttributes</a>
2049
2056
  * </code>
2050
- * </p>
2057
+ * </p>
2051
2058
  * </li>
2052
2059
  * <li>
2053
2060
  * <p>
2054
2061
  * <code>
2055
2062
  * <a>ContinueAsNewWorkflowExecutionDecisionAttributes</a>
2056
2063
  * </code>
2057
- * </p>
2064
+ * </p>
2058
2065
  * </li>
2059
2066
  * <li>
2060
2067
  * <p>
2061
2068
  * <code>
2062
2069
  * <a>RecordMarkerDecisionAttributes</a>
2063
2070
  * </code>
2064
- * </p>
2071
+ * </p>
2065
2072
  * </li>
2066
2073
  * <li>
2067
2074
  * <p>
2068
2075
  * <code>
2069
2076
  * <a>StartTimerDecisionAttributes</a>
2070
2077
  * </code>
2071
- * </p>
2078
+ * </p>
2072
2079
  * </li>
2073
2080
  * <li>
2074
2081
  * <p>
2075
2082
  * <code>
2076
2083
  * <a>CancelTimerDecisionAttributes</a>
2077
2084
  * </code>
2078
- * </p>
2085
+ * </p>
2079
2086
  * </li>
2080
2087
  * <li>
2081
2088
  * <p>
2082
2089
  * <code>
2083
2090
  * <a>SignalExternalWorkflowExecutionDecisionAttributes</a>
2084
2091
  * </code>
2085
- * </p>
2092
+ * </p>
2086
2093
  * </li>
2087
2094
  * <li>
2088
2095
  * <p>
2089
2096
  * <code>
2090
2097
  * <a>RequestCancelExternalWorkflowExecutionDecisionAttributes</a>
2091
2098
  * </code>
2092
- * </p>
2099
+ * </p>
2093
2100
  * </li>
2094
2101
  * <li>
2095
2102
  * <p>
2096
2103
  * <code>
2097
2104
  * <a>StartChildWorkflowExecutionDecisionAttributes</a>
2098
2105
  * </code>
2099
- * </p>
2106
+ * </p>
2100
2107
  * </li>
2101
2108
  * </ul>
2102
2109
  */
@@ -4593,9 +4600,8 @@ export interface GetWorkflowExecutionHistoryInput {
4593
4600
  * <p>If <code>NextPageToken</code> is returned there are more results
4594
4601
  * available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using
4595
4602
  * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
4596
- * after 60 seconds. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4603
+ * after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4597
4604
  * exceeded its maximum lifetime</code>". </p>
4598
- *
4599
4605
  * <p>The configured <code>maximumPageSize</code> determines how many results can be returned
4600
4606
  * in a single call. </p>
4601
4607
  */
@@ -4661,9 +4667,8 @@ export interface ListActivityTypesInput {
4661
4667
  * <p>If <code>NextPageToken</code> is returned there are more results
4662
4668
  * available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using
4663
4669
  * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
4664
- * after 60 seconds. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4670
+ * after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4665
4671
  * exceeded its maximum lifetime</code>". </p>
4666
- *
4667
4672
  * <p>The configured <code>maximumPageSize</code> determines how many results can be returned
4668
4673
  * in a single call. </p>
4669
4674
  */
@@ -4758,9 +4763,8 @@ export interface ListClosedWorkflowExecutionsInput {
4758
4763
  * <p>If <code>NextPageToken</code> is returned there are more results
4759
4764
  * available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using
4760
4765
  * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
4761
- * after 60 seconds. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4766
+ * after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4762
4767
  * exceeded its maximum lifetime</code>". </p>
4763
- *
4764
4768
  * <p>The configured <code>maximumPageSize</code> determines how many results can be returned
4765
4769
  * in a single call. </p>
4766
4770
  */
@@ -4802,9 +4806,8 @@ export interface ListDomainsInput {
4802
4806
  * <p>If <code>NextPageToken</code> is returned there are more results
4803
4807
  * available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using
4804
4808
  * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
4805
- * after 60 seconds. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4809
+ * after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4806
4810
  * exceeded its maximum lifetime</code>". </p>
4807
- *
4808
4811
  * <p>The configured <code>maximumPageSize</code> determines how many results can be returned
4809
4812
  * in a single call. </p>
4810
4813
  */
@@ -4861,9 +4864,8 @@ export interface ListOpenWorkflowExecutionsInput {
4861
4864
  * <p>If <code>NextPageToken</code> is returned there are more results
4862
4865
  * available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using
4863
4866
  * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
4864
- * after 60 seconds. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4867
+ * after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4865
4868
  * exceeded its maximum lifetime</code>". </p>
4866
- *
4867
4869
  * <p>The configured <code>maximumPageSize</code> determines how many results can be returned
4868
4870
  * in a single call. </p>
4869
4871
  */
@@ -4943,9 +4945,8 @@ export interface ListWorkflowTypesInput {
4943
4945
  * <p>If <code>NextPageToken</code> is returned there are more results
4944
4946
  * available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using
4945
4947
  * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
4946
- * after 60 seconds. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4948
+ * after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
4947
4949
  * exceeded its maximum lifetime</code>". </p>
4948
- *
4949
4950
  * <p>The configured <code>maximumPageSize</code> determines how many results can be returned
4950
4951
  * in a single call. </p>
4951
4952
  */
@@ -4989,11 +4990,10 @@ export interface PollForActivityTaskInput {
4989
4990
  domain: string | undefined;
4990
4991
  /**
4991
4992
  * <p>Specifies the task list to poll for activity tasks.</p>
4992
- *
4993
4993
  * <p>The specified string must not start or end with whitespace. It must not contain a
4994
4994
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
4995
4995
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
4996
- * not <i>be</i> the literal string <code>arn</code>.</p>
4996
+ * <i>not</i> be the literal string <code>arn</code>.</p>
4997
4997
  */
4998
4998
  taskList: TaskList | undefined;
4999
4999
  /**
@@ -5013,11 +5013,10 @@ export interface PollForDecisionTaskInput {
5013
5013
  domain: string | undefined;
5014
5014
  /**
5015
5015
  * <p>Specifies the task list to poll for decision tasks.</p>
5016
- *
5017
- * <p>The specified string must not start or end with whitespace. It must not contain a
5016
+ * <p>The specified string must not contain a
5018
5017
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5019
5018
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5020
- * not <i>be</i> the literal string <code>arn</code>.</p>
5019
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5021
5020
  */
5022
5021
  taskList: TaskList | undefined;
5023
5022
  /**
@@ -5030,9 +5029,8 @@ export interface PollForDecisionTaskInput {
5030
5029
  * <p>If <code>NextPageToken</code> is returned there are more results
5031
5030
  * available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using
5032
5031
  * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires
5033
- * after 60 seconds. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
5032
+ * after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has
5034
5033
  * exceeded its maximum lifetime</code>". </p>
5035
- *
5036
5034
  * <p>The configured <code>maximumPageSize</code> determines how many results can be returned
5037
5035
  * in a single call. </p>
5038
5036
  * <note>
@@ -5056,6 +5054,10 @@ export interface PollForDecisionTaskInput {
5056
5054
  * events.</p>
5057
5055
  */
5058
5056
  reverseOrder?: boolean;
5057
+ /**
5058
+ * <p>When set to <code>true</code>, returns the events with <code>eventTimestamp</code> greater than or equal to <code>eventTimestamp</code> of the most recent <code>DecisionTaskStarted</code> event. By default, this parameter is set to <code>false</code>.</p>
5059
+ */
5060
+ startAtPreviousStartedEvent?: boolean;
5059
5061
  }
5060
5062
  /**
5061
5063
  * @public
@@ -5086,11 +5088,10 @@ export interface RegisterActivityTypeInput {
5086
5088
  domain: string | undefined;
5087
5089
  /**
5088
5090
  * <p>The name of the activity type within the domain.</p>
5089
- *
5090
- * <p>The specified string must not start or end with whitespace. It must not contain a
5091
+ * <p>The specified string must not contain a
5091
5092
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5092
5093
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5093
- * not <i>be</i> the literal string <code>arn</code>.</p>
5094
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5094
5095
  */
5095
5096
  name: string | undefined;
5096
5097
  /**
@@ -5099,11 +5100,10 @@ export interface RegisterActivityTypeInput {
5099
5100
  * <p>The activity type consists of the name and version, the combination of which must be
5100
5101
  * unique within the domain.</p>
5101
5102
  * </note>
5102
- *
5103
- * <p>The specified string must not start or end with whitespace. It must not contain a
5103
+ * <p>The specified string must not contain a
5104
5104
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5105
5105
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5106
- * not <i>be</i> the literal string <code>arn</code>.</p>
5106
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5107
5107
  */
5108
5108
  version: string | undefined;
5109
5109
  /**
@@ -5187,11 +5187,10 @@ export interface RegisterDomainInput {
5187
5187
  /**
5188
5188
  * <p>Name of the domain to register. The name must be unique in the region that the domain
5189
5189
  * is registered in.</p>
5190
- *
5191
5190
  * <p>The specified string must not start or end with whitespace. It must not contain a
5192
5191
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5193
5192
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5194
- * not <i>be</i> the literal string <code>arn</code>.</p>
5193
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5195
5194
  */
5196
5195
  name: string | undefined;
5197
5196
  /**
@@ -5238,11 +5237,10 @@ export interface RegisterWorkflowTypeInput {
5238
5237
  domain: string | undefined;
5239
5238
  /**
5240
5239
  * <p>The name of the workflow type.</p>
5241
- *
5242
- * <p>The specified string must not start or end with whitespace. It must not contain a
5240
+ * <p>The specified string must not contain a
5243
5241
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5244
5242
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5245
- * not <i>be</i> the literal string <code>arn</code>.</p>
5243
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5246
5244
  */
5247
5245
  name: string | undefined;
5248
5246
  /**
@@ -5252,11 +5250,10 @@ export interface RegisterWorkflowTypeInput {
5252
5250
  * unique within the domain. To get a list of all currently registered workflow types, use the
5253
5251
  * <a>ListWorkflowTypes</a> action.</p>
5254
5252
  * </note>
5255
- *
5256
- * <p>The specified string must not start or end with whitespace. It must not contain a
5253
+ * <p>The specified string must not contain a
5257
5254
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5258
5255
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5259
- * not <i>be</i> the literal string <code>arn</code>.</p>
5256
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5260
5257
  */
5261
5258
  version: string | undefined;
5262
5259
  /**
@@ -5275,7 +5272,6 @@ export interface RegisterWorkflowTypeInput {
5275
5272
  * <p>If set, specifies the default maximum duration for executions of this workflow type.
5276
5273
  * You can override this default when starting an execution through the <a>StartWorkflowExecution</a> Action or <code>StartChildWorkflowExecution</code>
5277
5274
  * <a>Decision</a>.</p>
5278
- *
5279
5275
  * <p>The duration is specified in seconds; an integer greater than or equal to 0. Unlike
5280
5276
  * some of the other timeout parameters in Amazon SWF, you cannot specify a value of "NONE" for
5281
5277
  * <code>defaultExecutionStartToCloseTimeout</code>; there is a one-year max limit on the time
@@ -5399,7 +5395,6 @@ export interface RespondActivityTaskCompletedInput {
5399
5395
  export interface RespondActivityTaskFailedInput {
5400
5396
  /**
5401
5397
  * <p>The <code>taskToken</code> of the <a>ActivityTask</a>.</p>
5402
- *
5403
5398
  * <important>
5404
5399
  * <p>
5405
5400
  * <code>taskToken</code> is generated by the service and should be treated as an opaque value.
@@ -5486,6 +5481,10 @@ export interface SignalWorkflowExecutionInput {
5486
5481
  export interface StartWorkflowExecutionInput {
5487
5482
  /**
5488
5483
  * <p>The name of the domain in which the workflow execution is created.</p>
5484
+ * <p>The specified string must not contain a
5485
+ * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5486
+ * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5487
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5489
5488
  */
5490
5489
  domain: string | undefined;
5491
5490
  /**
@@ -5494,11 +5493,10 @@ export interface StartWorkflowExecutionInput {
5494
5493
  * if a workflow execution is logically a <i>restart</i> of a previous execution.
5495
5494
  * You cannot have two open workflow executions with the same <code>workflowId</code> at the same
5496
5495
  * time within the same domain.</p>
5497
- *
5498
- * <p>The specified string must not start or end with whitespace. It must not contain a
5496
+ * <p>The specified string must not contain a
5499
5497
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5500
5498
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5501
- * not <i>be</i> the literal string <code>arn</code>.</p>
5499
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5502
5500
  */
5503
5501
  workflowId: string | undefined;
5504
5502
  /**
@@ -5514,11 +5512,10 @@ export interface StartWorkflowExecutionInput {
5514
5512
  * workflow type or through this parameter. If neither this parameter is set nor a default task
5515
5513
  * list was specified at registration time then a fault is returned.</p>
5516
5514
  * </note>
5517
- *
5518
- * <p>The specified string must not start or end with whitespace. It must not contain a
5515
+ * <p>The specified string must not contain a
5519
5516
  * <code>:</code> (colon), <code>/</code> (slash), <code>|</code> (vertical bar), or any
5520
5517
  * control characters (<code>\u0000-\u001f</code> | <code>\u007f-\u009f</code>). Also, it must
5521
- * not <i>be</i> the literal string <code>arn</code>.</p>
5518
+ * <i>not</i> be the literal string <code>arn</code>.</p>
5522
5519
  */
5523
5520
  taskList?: TaskList;
5524
5521
  /**
@@ -5540,13 +5537,11 @@ export interface StartWorkflowExecutionInput {
5540
5537
  /**
5541
5538
  * <p>The total duration for this workflow execution. This overrides the
5542
5539
  * defaultExecutionStartToCloseTimeout specified when registering the workflow type.</p>
5543
- *
5544
5540
  * <p>The duration is specified in seconds; an integer greater than or equal to
5545
5541
  * <code>0</code>. Exceeding this limit causes the workflow execution to time out. Unlike some
5546
5542
  * of the other timeout parameters in Amazon SWF, you cannot specify a value of "NONE" for this
5547
5543
  * timeout; there is a one-year max limit on the time that a workflow execution can
5548
5544
  * run.</p>
5549
- *
5550
5545
  * <note>
5551
5546
  * <p>An execution start-to-close timeout must be specified either through this parameter
5552
5547
  * or as a default when the workflow type is registered. If neither this parameter nor a
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
@@ -1061,6 +1061,7 @@ export interface PollForDecisionTaskInput {
1061
1061
  nextPageToken?: string;
1062
1062
  maximumPageSize?: number;
1063
1063
  reverseOrder?: boolean;
1064
+ startAtPreviousStartedEvent?: boolean;
1064
1065
  }
1065
1066
  export interface RecordActivityTaskHeartbeatInput {
1066
1067
  taskToken: string | undefined;
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.329.0",
4
+ "version": "3.332.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.329.0",
24
+ "@aws-sdk/client-sts": "3.332.0",
25
25
  "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.329.0",
26
+ "@aws-sdk/credential-provider-node": "3.332.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.329.0",
28
28
  "@aws-sdk/hash-node": "3.329.0",
29
29
  "@aws-sdk/invalid-dependency": "3.329.0",
@@ -36,7 +36,7 @@
36
36
  "@aws-sdk/middleware-serde": "3.329.0",
37
37
  "@aws-sdk/middleware-signing": "3.329.0",
38
38
  "@aws-sdk/middleware-stack": "3.329.0",
39
- "@aws-sdk/middleware-user-agent": "3.329.0",
39
+ "@aws-sdk/middleware-user-agent": "3.332.0",
40
40
  "@aws-sdk/node-config-provider": "3.329.0",
41
41
  "@aws-sdk/node-http-handler": "3.329.0",
42
42
  "@aws-sdk/protocol-http": "3.329.0",
@@ -48,7 +48,7 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.329.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.329.0",
51
- "@aws-sdk/util-endpoints": "3.329.0",
51
+ "@aws-sdk/util-endpoints": "3.332.0",
52
52
  "@aws-sdk/util-retry": "3.329.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.329.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.329.0",