diff --git a/clients/client-swf/README.md b/clients/client-swf/README.md index fe0440bd28e9..ae65e965cb4f 100644 --- a/clients/client-swf/README.md +++ b/clients/client-swf/README.md @@ -13,11 +13,9 @@ coordinate work across distributed components. In Amazon SWF, a task represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.

-

Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.

-

This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the Amazon SWF Developer Guide diff --git a/clients/client-swf/src/SWF.ts b/clients/client-swf/src/SWF.ts index d34b55c6b2c6..6dfca7d190d5 100644 --- a/clients/client-swf/src/SWF.ts +++ b/clients/client-swf/src/SWF.ts @@ -828,17 +828,14 @@ export interface SWF { /** * @public * Amazon Simple Workflow Service - * *

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to * coordinate work across distributed components. In Amazon SWF, a task * represents a logical unit of work that is performed by a component of your workflow. * Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and * concurrency in accordance with the logical flow of the application.

- * *

Amazon SWF gives you full control over implementing tasks and coordinating them without * worrying about underlying complexities such as tracking their progress and maintaining their * state.

- * *

This documentation serves as reference only. For a broader overview of the Amazon SWF * programming model, see the * Amazon SWF Developer Guide diff --git a/clients/client-swf/src/SWFClient.ts b/clients/client-swf/src/SWFClient.ts index 3fa6f61eb60e..94a13af9a11b 100644 --- a/clients/client-swf/src/SWFClient.ts +++ b/clients/client-swf/src/SWFClient.ts @@ -427,17 +427,14 @@ export interface SWFClientResolvedConfig extends SWFClientResolvedConfigType {} /** * @public * Amazon Simple Workflow Service - * *

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to * coordinate work across distributed components. In Amazon SWF, a task * represents a logical unit of work that is performed by a component of your workflow. * Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and * concurrency in accordance with the logical flow of the application.

- * *

Amazon SWF gives you full control over implementing tasks and coordinating them without * worrying about underlying complexities such as tracking their progress and maintaining their * state.

- * *

This documentation serves as reference only. For a broader overview of the Amazon SWF * programming model, see the * Amazon SWF Developer Guide diff --git a/clients/client-swf/src/commands/PollForDecisionTaskCommand.ts b/clients/client-swf/src/commands/PollForDecisionTaskCommand.ts index e4992f72c7a5..73cf1bbaed4f 100644 --- a/clients/client-swf/src/commands/PollForDecisionTaskCommand.ts +++ b/clients/client-swf/src/commands/PollForDecisionTaskCommand.ts @@ -95,6 +95,7 @@ export interface PollForDecisionTaskCommandOutput extends DecisionTask, __Metada * nextPageToken: "STRING_VALUE", * maximumPageSize: Number("int"), * reverseOrder: true || false, + * startAtPreviousStartedEvent: true || false, * }; * const command = new PollForDecisionTaskCommand(input); * const response = await client.send(command); diff --git a/clients/client-swf/src/commands/RequestCancelWorkflowExecutionCommand.ts b/clients/client-swf/src/commands/RequestCancelWorkflowExecutionCommand.ts index 2ea26af1dc18..57709098a45d 100644 --- a/clients/client-swf/src/commands/RequestCancelWorkflowExecutionCommand.ts +++ b/clients/client-swf/src/commands/RequestCancelWorkflowExecutionCommand.ts @@ -39,13 +39,11 @@ export interface RequestCancelWorkflowExecutionCommandOutput extends __MetadataB * workflow execution identified by the given domain, workflowId, and runId. This logically * requests the cancellation of the workflow execution as a whole. It is up to the decider to * take appropriate actions when it receives an execution history with this event.

- * * *

If the runId isn't specified, the WorkflowExecutionCancelRequested event * is recorded in the history of the current open workflow execution with the specified * workflowId in the domain.

*
- * * *

Because this action allows the workflow to properly clean up and gracefully close, it * should be used instead of TerminateWorkflowExecution when diff --git a/clients/client-swf/src/commands/RespondActivityTaskCanceledCommand.ts b/clients/client-swf/src/commands/RespondActivityTaskCanceledCommand.ts index 1a9ffac7fdb6..3d22e3428f23 100644 --- a/clients/client-swf/src/commands/RespondActivityTaskCanceledCommand.ts +++ b/clients/client-swf/src/commands/RespondActivityTaskCanceledCommand.ts @@ -35,22 +35,18 @@ export interface RespondActivityTaskCanceledCommandOutput extends __MetadataBear *

Used by workers to tell the service that the ActivityTask identified * by the taskToken was successfully canceled. Additional details can * be provided using the details argument.

- * *

These details (if provided) appear in the * ActivityTaskCanceled event added to the workflow history.

- * * *

Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the * activity can be safely undone or abandoned.

*
- * *

A task is considered open from the time that it is scheduled until it is closed. * Therefore a task is reported as open while a worker is processing it. A task is closed after * it has been specified in a call to RespondActivityTaskCompleted, * RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has * timed * out.

- * *

* Access Control *

diff --git a/clients/client-swf/src/commands/RespondActivityTaskCompletedCommand.ts b/clients/client-swf/src/commands/RespondActivityTaskCompletedCommand.ts index c60e11af35aa..264ec22bb28f 100644 --- a/clients/client-swf/src/commands/RespondActivityTaskCompletedCommand.ts +++ b/clients/client-swf/src/commands/RespondActivityTaskCompletedCommand.ts @@ -39,19 +39,16 @@ export interface RespondActivityTaskCompletedCommandOutput extends __MetadataBea * by the taskToken completed successfully with a result (if provided). * The result appears in the ActivityTaskCompleted event in the * workflow history.

- * * *

If the requested task doesn't complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is * canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call * RespondActivityTaskCanceled.

*
- * *

A task is considered open from the time that it is scheduled until it is closed. * Therefore a task is reported as open while a worker is processing it. A task is closed after * it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the * task has timed * out.

- * *

* Access Control *

diff --git a/clients/client-swf/src/commands/RespondActivityTaskFailedCommand.ts b/clients/client-swf/src/commands/RespondActivityTaskFailedCommand.ts index 78a61fa53ef2..c7876f1e77a3 100644 --- a/clients/client-swf/src/commands/RespondActivityTaskFailedCommand.ts +++ b/clients/client-swf/src/commands/RespondActivityTaskFailedCommand.ts @@ -36,12 +36,10 @@ export interface RespondActivityTaskFailedCommandOutput extends __MetadataBearer * by the taskToken has failed with reason (if specified). The * reason and details appear in the ActivityTaskFailed * event added to the workflow history.

- * *

A task is considered open from the time that it is scheduled until it is closed. * Therefore a task is reported as open while a worker is processing it. A task is closed after * it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed * out.

- * *

* Access Control *

diff --git a/clients/client-swf/src/commands/RespondDecisionTaskCompletedCommand.ts b/clients/client-swf/src/commands/RespondDecisionTaskCompletedCommand.ts index f6368cb569ef..884d77796679 100644 --- a/clients/client-swf/src/commands/RespondDecisionTaskCompletedCommand.ts +++ b/clients/client-swf/src/commands/RespondDecisionTaskCompletedCommand.ts @@ -38,15 +38,12 @@ export interface RespondDecisionTaskCompletedCommandOutput extends __MetadataBea *

Used by deciders to tell the service that the DecisionTask identified * by the taskToken has successfully completed. The decisions argument * specifies the list of decisions made while processing the task.

- * *

A DecisionTaskCompleted event is added to the workflow history. The * executionContext specified is attached to the event in the workflow execution * history.

- * *

* Access Control *

- * *

If an IAM policy grants permission to use RespondDecisionTaskCompleted, it * can express permissions for the list of decisions in the decisions parameter. * Each of the decisions has one or more parameters, much like a regular API call. To allow for diff --git a/clients/client-swf/src/commands/SignalWorkflowExecutionCommand.ts b/clients/client-swf/src/commands/SignalWorkflowExecutionCommand.ts index 098ad262a84d..a405a8284ecf 100644 --- a/clients/client-swf/src/commands/SignalWorkflowExecutionCommand.ts +++ b/clients/client-swf/src/commands/SignalWorkflowExecutionCommand.ts @@ -36,18 +36,15 @@ export interface SignalWorkflowExecutionCommandOutput extends __MetadataBearer { * history and creates a decision task for the workflow execution identified by the given domain, * workflowId and runId. The event is recorded with the specified user defined signalName and * input (if provided).

- * * *

If a runId isn't specified, then the WorkflowExecutionSignaled event is * recorded in the history of the current open workflow with the matching workflowId in the * domain.

*
- * * *

If the specified workflow execution isn't open, this method fails with * UnknownResource.

*
- * *

* Access Control *

diff --git a/clients/client-swf/src/commands/StartWorkflowExecutionCommand.ts b/clients/client-swf/src/commands/StartWorkflowExecutionCommand.ts index 066b4082adba..a0eba37d8d78 100644 --- a/clients/client-swf/src/commands/StartWorkflowExecutionCommand.ts +++ b/clients/client-swf/src/commands/StartWorkflowExecutionCommand.ts @@ -34,9 +34,7 @@ export interface StartWorkflowExecutionCommandOutput extends Run, __MetadataBear * @public *

Starts an execution of the workflow type in the specified domain using the provided * workflowId and input data.

- * *

This action returns the newly started workflow execution.

- * *

* Access Control *

diff --git a/clients/client-swf/src/commands/TerminateWorkflowExecutionCommand.ts b/clients/client-swf/src/commands/TerminateWorkflowExecutionCommand.ts index 91b4637f7888..9ee721535698 100644 --- a/clients/client-swf/src/commands/TerminateWorkflowExecutionCommand.ts +++ b/clients/client-swf/src/commands/TerminateWorkflowExecutionCommand.ts @@ -36,23 +36,19 @@ export interface TerminateWorkflowExecutionCommandOutput extends __MetadataBeare * workflow execution identified by the given domain, runId, and workflowId. The child policy, * registered with the workflow type or specified when starting this execution, is applied to any * open child workflow executions of this workflow execution.

- * * *

If the identified workflow execution was in progress, it is terminated * immediately.

*
- * * *

If a runId isn't specified, then the WorkflowExecutionTerminated event * is recorded in the history of the current open workflow with the matching workflowId in the * domain.

*
- * * *

You should consider using RequestCancelWorkflowExecution action * instead because it allows the workflow to gracefully close while TerminateWorkflowExecution doesn't.

*
- * *

* Access Control *

diff --git a/clients/client-swf/src/endpoint/EndpointParameters.ts b/clients/client-swf/src/endpoint/EndpointParameters.ts index 1b03f6f9806d..8767fd293a14 100644 --- a/clients/client-swf/src/endpoint/EndpointParameters.ts +++ b/clients/client-swf/src/endpoint/EndpointParameters.ts @@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-swf/src/endpoint/ruleset.ts b/clients/client-swf/src/endpoint/ruleset.ts index c0c38206d8d5..f49362eff1bc 100644 --- a/clients/client-swf/src/endpoint/ruleset.ts +++ b/clients/client-swf/src/endpoint/ruleset.ts @@ -6,28 +6,27 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/swf.json */ -const u="fn", -v="argv", -w="ref"; -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]; -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}]}]}]}; +const s="required", +t="fn", +u="argv", +v="ref"; +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"}]; +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}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-swf/src/models/models_0.ts b/clients/client-swf/src/models/models_0.ts index 64ef78c1d063..0151aaee856c 100644 --- a/clients/client-swf/src/models/models_0.ts +++ b/clients/client-swf/src/models/models_0.ts @@ -1006,17 +1006,17 @@ export interface CompleteWorkflowExecutionFailedEventAttributes { *
  • *

    Constrain the following parameters by using a Condition element with the * appropriate keys.

    - *
      + *
        *
      • - *

        + *

        * tag – A tag used to identify the workflow execution

        *
      • *
      • - *

        + *

        * taskList – String constraint. The key is swf:taskList.name.

        *
      • *
      • - *

        + *

        * workflowType.version – String constraint. The key is swf:workflowType.version.

        *
      • *
      @@ -1645,19 +1645,19 @@ export interface RequestCancelExternalWorkflowExecutionDecisionAttributes { *

      Use an Action element to allow or deny permission to call this action.

      * *
    • - *

      Constrain the following parameters by using a Condition element with the + *

      Constrain the following parameters by using a Condition element with the * appropriate keys.

      - *
        + *
          *
        • *

          * activityType.name – String constraint. The key is swf:activityType.name.

          *
        • *
        • - *

          + *

          * activityType.version – String constraint. The key is swf:activityType.version.

          *
        • *
        • - *

          + *

          * taskList – String constraint. The key is swf:taskList.name.

          *
        • *
        @@ -1679,8 +1679,10 @@ export interface ScheduleActivityTaskDecisionAttributes { /** *

        * The activityId of the activity task.

        - *

        The specified string must not start or end with whitespace. It must not contain a : - * (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the literal string arn.

        + *

        The specified string must not contain a + * : (colon), / (slash), | (vertical bar), or any + * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must + * not be the literal string arn.

        */ activityId: string | undefined; @@ -1709,8 +1711,10 @@ export interface ScheduleActivityTaskDecisionAttributes { * *

        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.

        *
        - *

        The specified string must not start or end with whitespace. It must not contain a : - * (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the literal string arn.

        + *

        The specified string must not contain a + * : (colon), / (slash), | (vertical bar), or any + * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must + * not be the literal string arn.

        */ taskList?: TaskList; @@ -1785,7 +1789,9 @@ export interface ScheduleLambdaFunctionDecisionAttributes { input?: string; /** - *

        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.

        + *

        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-900 (1s-15m).

        + *

        If no value is supplied, then a default value of 900s is assumed.

        */ startToCloseTimeout?: string; } @@ -1864,22 +1870,22 @@ export interface SignalExternalWorkflowExecutionDecisionAttributes { *
      • *

        Constrain the following parameters by using a Condition element with the * appropriate keys.

        - *
          + *
            *
          • - *

            + *

            * tagList.member.N – The key is "swf:tagList.N" where N is the tag number from 0 to 4, * inclusive.

            *
          • *
          • - *

            + *

            * taskList – String constraint. The key is swf:taskList.name.

            *
          • *
          • - *

            + *

            * workflowType.name – String constraint. The key is swf:workflowType.name.

            *
          • *
          • - *

            + *

            * workflowType.version – String constraint. The key is swf:workflowType.version.

            *
          • *
          @@ -1900,8 +1906,10 @@ export interface StartChildWorkflowExecutionDecisionAttributes { /** *

          * The workflowId of the workflow execution.

          - *

          The specified string must not start or end with whitespace. It must not contain a : - * (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the literal string arn.

          + *

          The specified string must not contain a + * : (colon), / (slash), | (vertical bar), or any + * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must + * not be the literal string arn.

          */ workflowId: string | undefined; @@ -1929,8 +1937,10 @@ export interface StartChildWorkflowExecutionDecisionAttributes { * *

          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.

          *
          - *

          The specified string must not start or end with whitespace. It must not contain a : - * (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the literal string arn.

          + *

          The specified string must not start or end with whitespace. It must not contain a + * : (colon), / (slash), | (vertical bar), or any + * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must + * not be the literal string arn.

          */ taskList?: TaskList; @@ -2025,8 +2035,10 @@ export interface StartTimerDecisionAttributes { /** *

          * The unique ID of the timer.

          - *

          The specified string must not start or end with whitespace. It must not contain a : - * (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f-\u009f). Also, it must not contain the literal string arn.

          + *

          The specified string must not contain a + * : (colon), / (slash), | (vertical bar), or any + * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must + * not be the literal string arn.

          */ timerId: string | undefined; @@ -2121,13 +2133,10 @@ export interface StartTimerDecisionAttributes { * decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and * example IAM policies, see Using IAM to Manage Access to Amazon SWF * Workflows in the Amazon SWF Developer Guide.

          - * *

          * Decision Failure *

          - * *

          Decisions can fail for several reasons

          - * *
            *
          • *

            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.

            @@ -2139,12 +2148,10 @@ export interface StartTimerDecisionAttributes { *

            The decision lacks sufficient permissions.

            *
          • *
          - * *

          One of the following events might be added to the history to indicate an error. The event attribute's * cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed * because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows * in the Amazon SWF Developer Guide.

          - * *
            *
          • *

            @@ -2154,57 +2161,57 @@ export interface StartTimerDecisionAttributes { *

          • *
          • *

            - * RequestCancelActivityTaskFailed – A + * RequestCancelActivityTaskFailed – A * RequestCancelActivityTask decision failed. This could happen if * there is no open activity task with the specified activityId.

            *
          • *
          • *

            - * StartTimerFailed – A StartTimer decision failed. This + * StartTimerFailed – A StartTimer decision failed. This * could happen if there is another open timer with the same timerId.

            *
          • *
          • *

            - * CancelTimerFailed – A CancelTimer decision failed. + * CancelTimerFailed – A CancelTimer decision failed. * This could happen if there is no open timer with the specified * timerId.

            *
          • *
          • *

            - * StartChildWorkflowExecutionFailed – A + * StartChildWorkflowExecutionFailed – A * StartChildWorkflowExecution decision failed. This could happen * if the workflow type specified isn't registered, is deprecated, or the decision * isn't properly configured.

            *
          • *
          • *

            - * SignalExternalWorkflowExecutionFailed – A + * SignalExternalWorkflowExecutionFailed – A * SignalExternalWorkflowExecution decision failed. This could * happen if the workflowID specified in the decision was * incorrect.

            *
          • *
          • *

            - * RequestCancelExternalWorkflowExecutionFailed – A + * RequestCancelExternalWorkflowExecutionFailed – A * RequestCancelExternalWorkflowExecution decision failed. This * could happen if the workflowID specified in the decision was * incorrect.

            *
          • *
          • *

            - * CancelWorkflowExecutionFailed – A + * CancelWorkflowExecutionFailed – A * CancelWorkflowExecution decision failed. This could happen if * there is an unhandled decision task pending in the workflow execution.

            *
          • *
          • *

            - * CompleteWorkflowExecutionFailed – A + * CompleteWorkflowExecutionFailed – A * CompleteWorkflowExecution decision failed. This could happen if * there is an unhandled decision task pending in the workflow execution.

            *
          • *
          • *

            - * ContinueAsNewWorkflowExecutionFailed – A + * ContinueAsNewWorkflowExecutionFailed – A * ContinueAsNewWorkflowExecution decision failed. This could * happen if there is an unhandled decision task pending in the workflow execution * or the ContinueAsNewWorkflowExecution decision was not configured @@ -2212,7 +2219,7 @@ export interface StartTimerDecisionAttributes { *

          • *
          • *

            - * FailWorkflowExecutionFailed – A FailWorkflowExecution + * FailWorkflowExecutionFailed – A FailWorkflowExecution * decision failed. This could happen if there is an unhandled decision task * pending in the workflow execution.

            *
          • @@ -2238,14 +2245,14 @@ export interface StartTimerDecisionAttributes { *

            * * ScheduleActivityTaskDecisionAttributes - * + * *

            * *
          • *

            * * RequestCancelActivityTaskDecisionAttributes - * + * *

            *
          • *
          • @@ -2253,70 +2260,70 @@ export interface StartTimerDecisionAttributes { * * CompleteWorkflowExecutionDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * FailWorkflowExecutionDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * CancelWorkflowExecutionDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * ContinueAsNewWorkflowExecutionDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * RecordMarkerDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * StartTimerDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * CancelTimerDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * SignalExternalWorkflowExecutionDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * RequestCancelExternalWorkflowExecutionDecisionAttributes * - *

            + *

            *
          • *
          • *

            * * StartChildWorkflowExecutionDecisionAttributes * - *

            + *

            *
          • *
          */ @@ -5175,9 +5182,8 @@ export interface GetWorkflowExecutionHistoryInput { *

          If NextPageToken is returned there are more results * available. The value of NextPageToken is a unique pagination token for each page. Make the call again using * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires - * after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has + * after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has * exceeded its maximum lifetime".

          - * *

          The configured maximumPageSize determines how many results can be returned * in a single call.

          */ @@ -5259,9 +5265,8 @@ export interface ListActivityTypesInput { *

          If NextPageToken is returned there are more results * available. The value of NextPageToken is a unique pagination token for each page. Make the call again using * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires - * after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has + * after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has * exceeded its maximum lifetime".

          - * *

          The configured maximumPageSize determines how many results can be returned * in a single call.

          */ @@ -5366,9 +5371,8 @@ export interface ListClosedWorkflowExecutionsInput { *

          If NextPageToken is returned there are more results * available. The value of NextPageToken is a unique pagination token for each page. Make the call again using * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires - * after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has + * after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has * exceeded its maximum lifetime".

          - * *

          The configured maximumPageSize determines how many results can be returned * in a single call.

          */ @@ -5415,9 +5419,8 @@ export interface ListDomainsInput { *

          If NextPageToken is returned there are more results * available. The value of NextPageToken is a unique pagination token for each page. Make the call again using * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires - * after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has + * after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has * exceeded its maximum lifetime".

          - * *

          The configured maximumPageSize determines how many results can be returned * in a single call.

          */ @@ -5482,9 +5485,8 @@ export interface ListOpenWorkflowExecutionsInput { *

          If NextPageToken is returned there are more results * available. The value of NextPageToken is a unique pagination token for each page. Make the call again using * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires - * after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has + * after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has * exceeded its maximum lifetime".

          - * *

          The configured maximumPageSize determines how many results can be returned * in a single call.

          */ @@ -5575,9 +5577,8 @@ export interface ListWorkflowTypesInput { *

          If NextPageToken is returned there are more results * available. The value of NextPageToken is a unique pagination token for each page. Make the call again using * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires - * after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has + * after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has * exceeded its maximum lifetime".

          - * *

          The configured maximumPageSize determines how many results can be returned * in a single call.

          */ @@ -5627,11 +5628,10 @@ export interface PollForActivityTaskInput { /** *

          Specifies the task list to poll for activity tasks.

          - * *

          The specified string must not start or end with whitespace. It must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ taskList: TaskList | undefined; @@ -5654,11 +5654,10 @@ export interface PollForDecisionTaskInput { /** *

          Specifies the task list to poll for decision tasks.

          - * - *

          The specified string must not start or end with whitespace. It must not contain a + *

          The specified string must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ taskList: TaskList | undefined; @@ -5673,9 +5672,8 @@ export interface PollForDecisionTaskInput { *

          If NextPageToken is returned there are more results * available. The value of NextPageToken is a unique pagination token for each page. Make the call again using * the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires - * after 60 seconds. Using an expired pagination token will return a 400 error: "Specified token has + * after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has * exceeded its maximum lifetime".

          - * *

          The configured maximumPageSize determines how many results can be returned * in a single call.

          * @@ -5701,6 +5699,11 @@ export interface PollForDecisionTaskInput { * events.

          */ reverseOrder?: boolean; + + /** + *

          When set to true, returns the events with eventTimestamp greater than or equal to eventTimestamp of the most recent DecisionTaskStarted event. By default, this parameter is set to false.

          + */ + startAtPreviousStartedEvent?: boolean; } /** @@ -5735,11 +5738,10 @@ export interface RegisterActivityTypeInput { /** *

          The name of the activity type within the domain.

          - * - *

          The specified string must not start or end with whitespace. It must not contain a + *

          The specified string must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ name: string | undefined; @@ -5749,11 +5751,10 @@ export interface RegisterActivityTypeInput { *

          The activity type consists of the name and version, the combination of which must be * unique within the domain.

          *
          - * - *

          The specified string must not start or end with whitespace. It must not contain a + *

          The specified string must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ version: string | undefined; @@ -5853,11 +5854,10 @@ export interface RegisterDomainInput { /** *

          Name of the domain to register. The name must be unique in the region that the domain * is registered in.

          - * *

          The specified string must not start or end with whitespace. It must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ name: string | undefined; @@ -5917,11 +5917,10 @@ export interface RegisterWorkflowTypeInput { /** *

          The name of the workflow type.

          - * - *

          The specified string must not start or end with whitespace. It must not contain a + *

          The specified string must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ name: string | undefined; @@ -5932,11 +5931,10 @@ export interface RegisterWorkflowTypeInput { * unique within the domain. To get a list of all currently registered workflow types, use the * ListWorkflowTypes action.

          * - * - *

          The specified string must not start or end with whitespace. It must not contain a + *

          The specified string must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ version: string | undefined; @@ -5958,7 +5956,6 @@ export interface RegisterWorkflowTypeInput { *

          If set, specifies the default maximum duration for executions of this workflow type. * You can override this default when starting an execution through the StartWorkflowExecution Action or StartChildWorkflowExecution * Decision.

          - * *

          The duration is specified in seconds; an integer greater than or equal to 0. Unlike * some of the other timeout parameters in Amazon SWF, you cannot specify a value of "NONE" for * defaultExecutionStartToCloseTimeout; there is a one-year max limit on the time @@ -6094,7 +6091,6 @@ export interface RespondActivityTaskCompletedInput { export interface RespondActivityTaskFailedInput { /** *

          The taskToken of the ActivityTask.

          - * * *

          * taskToken is generated by the service and should be treated as an opaque value. @@ -6193,6 +6189,10 @@ export interface SignalWorkflowExecutionInput { export interface StartWorkflowExecutionInput { /** *

          The name of the domain in which the workflow execution is created.

          + *

          The specified string must not contain a + * : (colon), / (slash), | (vertical bar), or any + * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must + * not be the literal string arn.

          */ domain: string | undefined; @@ -6202,11 +6202,10 @@ export interface StartWorkflowExecutionInput { * if a workflow execution is logically a restart of a previous execution. * You cannot have two open workflow executions with the same workflowId at the same * time within the same domain.

          - * - *

          The specified string must not start or end with whitespace. It must not contain a + *

          The specified string must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ workflowId: string | undefined; @@ -6224,11 +6223,10 @@ export interface StartWorkflowExecutionInput { * 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.

          * - * - *

          The specified string must not start or end with whitespace. It must not contain a + *

          The specified string must not contain a * : (colon), / (slash), | (vertical bar), or any * control characters (\u0000-\u001f | \u007f-\u009f). Also, it must - * not be the literal string arn.

          + * not be the literal string arn.

          */ taskList?: TaskList; @@ -6253,13 +6251,11 @@ export interface StartWorkflowExecutionInput { /** *

          The total duration for this workflow execution. This overrides the * defaultExecutionStartToCloseTimeout specified when registering the workflow type.

          - * *

          The duration is specified in seconds; an integer greater than or equal to * 0. Exceeding this limit causes the workflow execution to time out. Unlike some * of the other timeout parameters in Amazon SWF, you cannot specify a value of "NONE" for this * timeout; there is a one-year max limit on the time that a workflow execution can * run.

          - * * *

          An execution start-to-close timeout must be specified either through this parameter * or as a default when the workflow type is registered. If neither this parameter nor a diff --git a/codegen/sdk-codegen/aws-models/swf.json b/codegen/sdk-codegen/aws-models/swf.json index 943f62874ec7..8951502d51c9 100644 --- a/codegen/sdk-codegen/aws-models/swf.json +++ b/codegen/sdk-codegen/aws-models/swf.json @@ -431,13 +431,13 @@ "defaultTaskHeartbeatTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { - "smithy.api#documentation": "

          \n The default maximum time, in seconds, before which a worker processing a task must report\n progress by calling RecordActivityTaskHeartbeat.

          \n

          You can specify this value only when registering an activity type. The registered default value can be\n overridden when you schedule a task through the ScheduleActivityTask \n Decision. If the activity\n worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an\n UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid;\n the activity worker should clean up the activity task.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " + "smithy.api#documentation": "

          \n The default maximum time, in seconds, before which a worker processing a task must report\n progress by calling RecordActivityTaskHeartbeat.

          \n

          You can specify this value only when registering an activity type. The registered default value can be\n overridden when you schedule a task through the ScheduleActivityTask\n Decision. If the activity\n worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an\n UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid;\n the activity worker should clean up the activity task.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " } }, "defaultTaskList": { "target": "com.amazonaws.swf#TaskList", "traits": { - "smithy.api#documentation": "

          \n The default task list specified for this activity type at registration. This default is used if\n a task list isn't provided when a task is scheduled through the ScheduleActivityTask\n Decision. You can override the default registered task list when scheduling a task through the\n ScheduleActivityTask \n Decision.

          " + "smithy.api#documentation": "

          \n The default task list specified for this activity type at registration. This default is used if\n a task list isn't provided when a task is scheduled through the ScheduleActivityTask\n Decision. You can override the default registered task list when scheduling a task through the\n ScheduleActivityTask\n Decision.

          " } }, "defaultTaskPriority": { @@ -449,7 +449,7 @@ "defaultTaskScheduleToStartTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { - "smithy.api#documentation": "

          \n The default maximum duration, specified when registering the activity type, that a task of an\n activity type can wait before being assigned to a worker. You can override this default when scheduling a task\n through the ScheduleActivityTask \n Decision.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " + "smithy.api#documentation": "

          \n The default maximum duration, specified when registering the activity type, that a task of an\n activity type can wait before being assigned to a worker. You can override this default when scheduling a task\n through the ScheduleActivityTask\n Decision.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " } }, "defaultTaskScheduleToCloseTimeout": { @@ -743,7 +743,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", + "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", "smithy.api#required": {} } }, @@ -787,7 +787,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

          ", + "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution\n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

          ", "smithy.api#required": {} } }, @@ -837,7 +837,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", + "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", "smithy.api#required": {} } }, @@ -875,7 +875,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", + "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", "smithy.api#required": {} } } @@ -905,7 +905,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", + "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution\n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", "smithy.api#required": {} } }, @@ -950,7 +950,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", + "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution\n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          ", "smithy.api#required": {} } }, @@ -1136,7 +1136,7 @@ } }, "traits": { - "smithy.api#documentation": "

          Provides the details of the ContinueAsNewWorkflowExecution decision.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to only\n specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with the\n appropriate keys.

            \n
              \n
            • \n

              \n tag – A tag used to identify the workflow execution

              \n
            • \n
            • \n

              \n taskList – String constraint. The key is swf:taskList.name.

              \n
            • \n
            • \n

              \n workflowType.version – String constraint. The key is swf:workflowType.version.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Provides the details of the ContinueAsNewWorkflowExecution decision.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to only\n specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with the\n appropriate keys.

            \n
              \n
            • \n

              \n tag – A tag used to identify the workflow execution

              \n
            • \n
            • \n

              \n taskList – String constraint. The key is swf:taskList.name.

              \n
            • \n
            • \n

              \n workflowType.version – String constraint. The key is swf:workflowType.version.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedCause": { @@ -1544,7 +1544,7 @@ } }, "traits": { - "smithy.api#documentation": "

          Specifies a decision made by the decider. A decision can be one of these types:

          \n
            \n
          • \n

            \n CancelTimer – Cancels a previously started timer and records a TimerCanceled event in the\n history.

            \n
          • \n
          • \n

            \n CancelWorkflowExecution – Closes the workflow execution and records a\n WorkflowExecutionCanceled event in the history.

            \n
          • \n
          • \n

            \n CompleteWorkflowExecution – Closes the workflow execution and records a\n WorkflowExecutionCompleted event in the history .

            \n
          • \n
          • \n

            \n ContinueAsNewWorkflowExecution – Closes the workflow execution and starts a new workflow execution of the\n same type using the same workflow ID and a unique run Id. A WorkflowExecutionContinuedAsNew event\n is recorded in the history.

            \n
          • \n
          • \n

            \n FailWorkflowExecution – Closes the workflow execution and records a WorkflowExecutionFailed\n event in the history.

            \n
          • \n
          • \n

            \n RecordMarker – Records a MarkerRecorded event in the history. Markers can be used for adding\n custom information in the history for instance to let deciders know that they don't need to look at the history\n beyond the marker event.

            \n
          • \n
          • \n

            \n RequestCancelActivityTask – Attempts to cancel a previously scheduled activity task. If the activity task\n was scheduled but has not been assigned to a worker, then it is canceled. If the activity task was already\n assigned to a worker, then the worker is informed that cancellation has been requested in the response to\n RecordActivityTaskHeartbeat.

            \n
          • \n
          • \n

            \n RequestCancelExternalWorkflowExecution – Requests that a request be made to cancel the specified external\n workflow execution and records a RequestCancelExternalWorkflowExecutionInitiated event in the\n history.

            \n
          • \n
          • \n

            \n ScheduleActivityTask – Schedules an activity task.

            \n
          • \n
          • \n

            \n SignalExternalWorkflowExecution – Requests a signal to be delivered to the specified external workflow\n execution and records a SignalExternalWorkflowExecutionInitiated event in the history.

            \n
          • \n
          • \n

            \n StartChildWorkflowExecution – Requests that a child workflow execution be started and records a\n StartChildWorkflowExecutionInitiated event in the history. The child workflow execution is a\n separate workflow execution with its own history.

            \n
          • \n
          • \n

            \n StartTimer – Starts a timer for this workflow execution and records a TimerStarted event in\n the history. This timer fires after the specified delay and record a TimerFired event.

            \n
          • \n
          \n

          \n Access Control\n

          \n

          If you grant permission to use RespondDecisionTaskCompleted, you can use IAM policies to express\n permissions for the list of decisions returned by this action as if they were members of the API. Treating\n decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and\n example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          \n\n

          \n Decision Failure\n

          \n\n

          Decisions can fail for several reasons

          \n\n
            \n
          • \n

            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.

            \n
          • \n
          • \n

            A limit on your account was reached.

            \n
          • \n
          • \n

            The decision lacks sufficient permissions.

            \n
          • \n
          \n\n

          One of the following events might be added to the history to indicate an error. The event attribute's\n cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

          \n\n
            \n
          • \n

            \n ScheduleActivityTaskFailed – A ScheduleActivityTask decision failed. This could happen if the\n activity type specified in the decision isn't registered, is in a deprecated state, or the decision isn't\n properly configured.

            \n
          • \n
          • \n

            \n RequestCancelActivityTaskFailed – A\n RequestCancelActivityTask decision failed. This could happen if\n there is no open activity task with the specified activityId.

            \n
          • \n
          • \n

            \n StartTimerFailed – A StartTimer decision failed. This\n could happen if there is another open timer with the same timerId.

            \n
          • \n
          • \n

            \n CancelTimerFailed – A CancelTimer decision failed.\n This could happen if there is no open timer with the specified\n timerId.

            \n
          • \n
          • \n

            \n StartChildWorkflowExecutionFailed – A\n StartChildWorkflowExecution decision failed. This could happen\n if the workflow type specified isn't registered, is deprecated, or the decision\n isn't properly configured.

            \n
          • \n
          • \n

            \n SignalExternalWorkflowExecutionFailed – A\n SignalExternalWorkflowExecution decision failed. This could\n happen if the workflowID specified in the decision was\n incorrect.

            \n
          • \n
          • \n

            \n RequestCancelExternalWorkflowExecutionFailed – A\n RequestCancelExternalWorkflowExecution decision failed. This\n could happen if the workflowID specified in the decision was\n incorrect.

            \n
          • \n
          • \n

            \n CancelWorkflowExecutionFailed – A\n CancelWorkflowExecution decision failed. This could happen if\n there is an unhandled decision task pending in the workflow execution.

            \n
          • \n
          • \n

            \n CompleteWorkflowExecutionFailed – A\n CompleteWorkflowExecution decision failed. This could happen if\n there is an unhandled decision task pending in the workflow execution.

            \n
          • \n
          • \n

            \n ContinueAsNewWorkflowExecutionFailed – A\n ContinueAsNewWorkflowExecution decision failed. This could\n happen if there is an unhandled decision task pending in the workflow execution\n or the ContinueAsNewWorkflowExecution decision was not configured\n correctly.

            \n
          • \n
          • \n

            \n FailWorkflowExecutionFailed – A FailWorkflowExecution\n decision failed. This could happen if there is an unhandled decision task\n pending in the workflow execution.

            \n
          • \n
          \n

          The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.

          \n \n

          A workflow execution may be closed by the decider by returning one of the following decisions when completing\n a decision task: CompleteWorkflowExecution, FailWorkflowExecution,\n CancelWorkflowExecution and ContinueAsNewWorkflowExecution. An UnhandledDecision fault\n is returned if a workflow closing decision is specified and a signal or activity event had been added to the\n history while the decision task was being performed by the decider. Unlike the above situations which are logic\n issues, this fault is always possible because of race conditions in a distributed system. The right action here is\n to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task\n with these new events included in the history. The decider should handle the new events and may decide to close\n the workflow execution.

          \n
          \n

          \n How to Code a Decision\n

          \n

          You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:

          \n " + "smithy.api#documentation": "

          Specifies a decision made by the decider. A decision can be one of these types:

          \n
            \n
          • \n

            \n CancelTimer – Cancels a previously started timer and records a TimerCanceled event in the\n history.

            \n
          • \n
          • \n

            \n CancelWorkflowExecution – Closes the workflow execution and records a\n WorkflowExecutionCanceled event in the history.

            \n
          • \n
          • \n

            \n CompleteWorkflowExecution – Closes the workflow execution and records a\n WorkflowExecutionCompleted event in the history .

            \n
          • \n
          • \n

            \n ContinueAsNewWorkflowExecution – Closes the workflow execution and starts a new workflow execution of the\n same type using the same workflow ID and a unique run Id. A WorkflowExecutionContinuedAsNew event\n is recorded in the history.

            \n
          • \n
          • \n

            \n FailWorkflowExecution – Closes the workflow execution and records a WorkflowExecutionFailed\n event in the history.

            \n
          • \n
          • \n

            \n RecordMarker – Records a MarkerRecorded event in the history. Markers can be used for adding\n custom information in the history for instance to let deciders know that they don't need to look at the history\n beyond the marker event.

            \n
          • \n
          • \n

            \n RequestCancelActivityTask – Attempts to cancel a previously scheduled activity task. If the activity task\n was scheduled but has not been assigned to a worker, then it is canceled. If the activity task was already\n assigned to a worker, then the worker is informed that cancellation has been requested in the response to\n RecordActivityTaskHeartbeat.

            \n
          • \n
          • \n

            \n RequestCancelExternalWorkflowExecution – Requests that a request be made to cancel the specified external\n workflow execution and records a RequestCancelExternalWorkflowExecutionInitiated event in the\n history.

            \n
          • \n
          • \n

            \n ScheduleActivityTask – Schedules an activity task.

            \n
          • \n
          • \n

            \n SignalExternalWorkflowExecution – Requests a signal to be delivered to the specified external workflow\n execution and records a SignalExternalWorkflowExecutionInitiated event in the history.

            \n
          • \n
          • \n

            \n StartChildWorkflowExecution – Requests that a child workflow execution be started and records a\n StartChildWorkflowExecutionInitiated event in the history. The child workflow execution is a\n separate workflow execution with its own history.

            \n
          • \n
          • \n

            \n StartTimer – Starts a timer for this workflow execution and records a TimerStarted event in\n the history. This timer fires after the specified delay and record a TimerFired event.

            \n
          • \n
          \n

          \n Access Control\n

          \n

          If you grant permission to use RespondDecisionTaskCompleted, you can use IAM policies to express\n permissions for the list of decisions returned by this action as if they were members of the API. Treating\n decisions as a pseudo API maintains a uniform conceptual model and helps keep policies readable. For details and\n example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          \n

          \n Decision Failure\n

          \n

          Decisions can fail for several reasons

          \n
            \n
          • \n

            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.

            \n
          • \n
          • \n

            A limit on your account was reached.

            \n
          • \n
          • \n

            The decision lacks sufficient permissions.

            \n
          • \n
          \n

          One of the following events might be added to the history to indicate an error. The event attribute's\n cause parameter indicates the cause. If cause is set to OPERATION_NOT_PERMITTED, the decision failed\n because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

          \n
            \n
          • \n

            \n ScheduleActivityTaskFailed – A ScheduleActivityTask decision failed. This could happen if the\n activity type specified in the decision isn't registered, is in a deprecated state, or the decision isn't\n properly configured.

            \n
          • \n
          • \n

            \n RequestCancelActivityTaskFailed – A\n RequestCancelActivityTask decision failed. This could happen if\n there is no open activity task with the specified activityId.

            \n
          • \n
          • \n

            \n StartTimerFailed – A StartTimer decision failed. This\n could happen if there is another open timer with the same timerId.

            \n
          • \n
          • \n

            \n CancelTimerFailed – A CancelTimer decision failed.\n This could happen if there is no open timer with the specified\n timerId.

            \n
          • \n
          • \n

            \n StartChildWorkflowExecutionFailed – A\n StartChildWorkflowExecution decision failed. This could happen\n if the workflow type specified isn't registered, is deprecated, or the decision\n isn't properly configured.

            \n
          • \n
          • \n

            \n SignalExternalWorkflowExecutionFailed – A\n SignalExternalWorkflowExecution decision failed. This could\n happen if the workflowID specified in the decision was\n incorrect.

            \n
          • \n
          • \n

            \n RequestCancelExternalWorkflowExecutionFailed – A\n RequestCancelExternalWorkflowExecution decision failed. This\n could happen if the workflowID specified in the decision was\n incorrect.

            \n
          • \n
          • \n

            \n CancelWorkflowExecutionFailed – A\n CancelWorkflowExecution decision failed. This could happen if\n there is an unhandled decision task pending in the workflow execution.

            \n
          • \n
          • \n

            \n CompleteWorkflowExecutionFailed – A\n CompleteWorkflowExecution decision failed. This could happen if\n there is an unhandled decision task pending in the workflow execution.

            \n
          • \n
          • \n

            \n ContinueAsNewWorkflowExecutionFailed – A\n ContinueAsNewWorkflowExecution decision failed. This could\n happen if there is an unhandled decision task pending in the workflow execution\n or the ContinueAsNewWorkflowExecution decision was not configured\n correctly.

            \n
          • \n
          • \n

            \n FailWorkflowExecutionFailed – A FailWorkflowExecution\n decision failed. This could happen if there is an unhandled decision task\n pending in the workflow execution.

            \n
          • \n
          \n

          The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.

          \n \n

          A workflow execution may be closed by the decider by returning one of the following decisions when completing\n a decision task: CompleteWorkflowExecution, FailWorkflowExecution,\n CancelWorkflowExecution and ContinueAsNewWorkflowExecution. An UnhandledDecision fault\n is returned if a workflow closing decision is specified and a signal or activity event had been added to the\n history while the decision task was being performed by the decider. Unlike the above situations which are logic\n issues, this fault is always possible because of race conditions in a distributed system. The right action here is\n to call RespondDecisionTaskCompleted without any decisions. This would result in another decision task\n with these new events included in the history. The decider should handle the new events and may decide to close\n the workflow execution.

          \n
          \n

          \n How to Code a Decision\n

          \n

          You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:

          \n " } }, "com.amazonaws.swf#DecisionList": { @@ -2852,7 +2852,7 @@ "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { - "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " + "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 24 hours. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " } }, "maximumPageSize": { @@ -3511,7 +3511,7 @@ "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { - "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " + "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 24 hours. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " } }, "maximumPageSize": { @@ -3608,7 +3608,7 @@ "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { - "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " + "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 24 hours. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " } }, "maximumPageSize": { @@ -3659,7 +3659,7 @@ "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { - "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " + "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 24 hours. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " } }, "registrationStatus": { @@ -3746,7 +3746,7 @@ "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { - "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " + "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 24 hours. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " } }, "maximumPageSize": { @@ -3878,7 +3878,7 @@ "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { - "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " + "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 24 hours. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          " } }, "maximumPageSize": { @@ -4050,7 +4050,7 @@ "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { - "smithy.api#documentation": "

          Specifies the task list to poll for activity tasks.

          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          Specifies the task list to poll for activity tasks.

          \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -4107,7 +4107,7 @@ "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { - "smithy.api#documentation": "

          Specifies the task list to poll for decision tasks.

          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          Specifies the task list to poll for decision tasks.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -4120,14 +4120,14 @@ "nextPageToken": { "target": "com.amazonaws.swf#PageToken", "traits": { - "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 60 seconds. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          \n \n

          The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with the nextPageToken) to retrieve\n the next page of history records. Calling PollForDecisionTask with a\n nextPageToken doesn't return a new decision task.

          \n
          " + "smithy.api#documentation": "

          If NextPageToken is returned there are more results\n available. The value of NextPageToken is a unique pagination token for each page. Make the call again using \n the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires \n after 24 hours. Using an expired pagination token will return a 400 error: \"Specified token has \n exceeded its maximum lifetime\".

          \n

          The configured maximumPageSize determines how many results can be returned\n in a single call.

          \n \n

          The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with the nextPageToken) to retrieve\n the next page of history records. Calling PollForDecisionTask with a\n nextPageToken doesn't return a new decision task.

          \n
          " } }, "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

          \n

          This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.

          " + "smithy.api#documentation": "

          The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

          \n

          This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.

          " } }, "reverseOrder": { @@ -4136,6 +4136,13 @@ "smithy.api#default": false, "smithy.api#documentation": "

          When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimestamp of the\n events.

          " } + }, + "startAtPreviousStartedEvent": { + "target": "com.amazonaws.swf#StartAtPreviousStartedEvent", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

          When set to true, returns the events with eventTimestamp greater than or equal to eventTimestamp of the most recent DecisionTaskStarted event. By default, this parameter is set to false.

          " + } } }, "traits": { @@ -4284,14 +4291,14 @@ "name": { "target": "com.amazonaws.swf#Name", "traits": { - "smithy.api#documentation": "

          The name of the activity type within the domain.

          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          The name of the activity type within the domain.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#Version", "traits": { - "smithy.api#documentation": "

          The version of the activity type.

          \n \n

          The activity type consists of the name and version, the combination of which must be\n unique within the domain.

          \n
          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          The version of the activity type.

          \n \n

          The activity type consists of the name and version, the combination of which must be\n unique within the domain.

          \n
          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -4374,7 +4381,7 @@ "name": { "target": "com.amazonaws.swf#DomainName", "traits": { - "smithy.api#documentation": "

          Name of the domain to register. The name must be unique in the region that the domain\n is registered in.

          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          Name of the domain to register. The name must be unique in the region that the domain\n is registered in.

          \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -4394,7 +4401,7 @@ "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { - "smithy.api#documentation": "

          Tags to be added when registering a domain.

          \n

          Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

          " + "smithy.api#documentation": "

          Tags to be added when registering a domain.

          \n

          Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

          " } } }, @@ -4441,14 +4448,14 @@ "name": { "target": "com.amazonaws.swf#Name", "traits": { - "smithy.api#documentation": "

          The name of the workflow type.

          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          The name of the workflow type.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, "version": { "target": "com.amazonaws.swf#Version", "traits": { - "smithy.api#documentation": "

          The version of the workflow type.

          \n \n

          The workflow type consists of the name and version, the combination of which must be\n unique within the domain. To get a list of all currently registered workflow types, use the\n ListWorkflowTypes action.

          \n
          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          The version of the workflow type.

          \n \n

          The workflow type consists of the name and version, the combination of which must be\n unique within the domain. To get a list of all currently registered workflow types, use the\n ListWorkflowTypes action.

          \n
          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -4467,7 +4474,7 @@ "defaultExecutionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { - "smithy.api#documentation": "

          If set, specifies the default maximum duration for executions of this workflow type.\n You can override this default when starting an execution through the StartWorkflowExecution Action or StartChildWorkflowExecution\n Decision.

          \n\n

          The duration is specified in seconds; an integer greater than or equal to 0. Unlike\n some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for\n defaultExecutionStartToCloseTimeout; there is a one-year max limit on the time\n that a workflow execution can run. Exceeding this limit always causes the workflow execution\n to time out.

          " + "smithy.api#documentation": "

          If set, specifies the default maximum duration for executions of this workflow type.\n You can override this default when starting an execution through the StartWorkflowExecution Action or StartChildWorkflowExecution\n Decision.

          \n

          The duration is specified in seconds; an integer greater than or equal to 0. Unlike\n some of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for\n defaultExecutionStartToCloseTimeout; there is a one-year max limit on the time\n that a workflow execution can run. Exceeding this limit always causes the workflow execution\n to time out.

          " } }, "defaultTaskList": { @@ -4730,7 +4737,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Records a WorkflowExecutionCancelRequested event in the currently running\n workflow execution identified by the given domain, workflowId, and runId. This logically\n requests the cancellation of the workflow execution as a whole. It is up to the decider to\n take appropriate actions when it receives an execution history with this event.

          \n\n \n

          If the runId isn't specified, the WorkflowExecutionCancelRequested event\n is recorded in the history of the current open workflow execution with the specified\n workflowId in the domain.

          \n
          \n\n \n

          Because this action allows the workflow to properly clean up and gracefully close, it\n should be used instead of TerminateWorkflowExecution when\n possible.

          \n
          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Records a WorkflowExecutionCancelRequested event in the currently running\n workflow execution identified by the given domain, workflowId, and runId. This logically\n requests the cancellation of the workflow execution as a whole. It is up to the decider to\n take appropriate actions when it receives an execution history with this event.

          \n \n

          If the runId isn't specified, the WorkflowExecutionCancelRequested event\n is recorded in the history of the current open workflow execution with the specified\n workflowId in the domain.

          \n
          \n \n

          Because this action allows the workflow to properly clean up and gracefully close, it\n should be used instead of TerminateWorkflowExecution when\n possible.

          \n
          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#RequestCancelWorkflowExecutionInput": { @@ -4779,7 +4786,7 @@ } }, "traits": { - "smithy.api#documentation": "

          Tags are key-value pairs that can be associated with Amazon SWF state machines and\n activities.

          \n

          Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

          " + "smithy.api#documentation": "

          Tags are key-value pairs that can be associated with Amazon SWF state machines and\n activities.

          \n

          Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

          " } }, "com.amazonaws.swf#ResourceTagKey": { @@ -4829,7 +4836,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Used by workers to tell the service that the ActivityTask identified\n by the taskToken was successfully canceled. Additional details can\n be provided using the details argument.

          \n\n

          These details (if provided) appear in the\n ActivityTaskCanceled event added to the workflow history.

          \n\n \n

          Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the\n activity can be safely undone or abandoned.

          \n
          \n\n

          A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted,\n RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has\n timed\n out.

          \n\n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Used by workers to tell the service that the ActivityTask identified\n by the taskToken was successfully canceled. Additional details can\n be provided using the details argument.

          \n

          These details (if provided) appear in the\n ActivityTaskCanceled event added to the workflow history.

          \n \n

          Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat request returns true and if the\n activity can be safely undone or abandoned.

          \n
          \n

          A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted,\n RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has\n timed\n out.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#RespondActivityTaskCanceledInput": { @@ -4870,7 +4877,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Used by workers to tell the service that the ActivityTask identified\n by the taskToken completed successfully with a result (if provided).\n The result appears in the ActivityTaskCompleted event in the\n workflow history.

          \n\n \n

          If the requested task doesn't complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is\n canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call\n RespondActivityTaskCanceled.

          \n
          \n\n

          A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the\n task has timed\n out.

          \n\n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Used by workers to tell the service that the ActivityTask identified\n by the taskToken completed successfully with a result (if provided).\n The result appears in the ActivityTaskCompleted event in the\n workflow history.

          \n \n

          If the requested task doesn't complete successfully, use RespondActivityTaskFailed instead. If the worker finds that the task is\n canceled through the canceled flag returned by RecordActivityTaskHeartbeat, it should cancel the task, clean up and then call\n RespondActivityTaskCanceled.

          \n
          \n

          A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the\n task has timed\n out.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#RespondActivityTaskCompletedInput": { @@ -4911,7 +4918,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Used by workers to tell the service that the ActivityTask identified\n by the taskToken has failed with reason (if specified). The\n reason and details appear in the ActivityTaskFailed\n event added to the workflow history.

          \n\n

          A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed\n out.

          \n\n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Used by workers to tell the service that the ActivityTask identified\n by the taskToken has failed with reason (if specified). The\n reason and details appear in the ActivityTaskFailed\n event added to the workflow history.

          \n

          A task is considered open from the time that it is scheduled until it is closed.\n Therefore a task is reported as open while a worker is processing it. A task is closed after\n it has been specified in a call to RespondActivityTaskCompleted, RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed\n out.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#RespondActivityTaskFailedInput": { @@ -4920,7 +4927,7 @@ "taskToken": { "target": "com.amazonaws.swf#TaskToken", "traits": { - "smithy.api#documentation": "

          The taskToken of the ActivityTask.

          \n\n \n

          \n taskToken is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken must also be passed.\n This enables it to provide its progress and respond with results.

          \n
          ", + "smithy.api#documentation": "

          The taskToken of the ActivityTask.

          \n \n

          \n taskToken is generated by the service and should be treated as an opaque value.\n If the task is passed to another process, its taskToken must also be passed.\n This enables it to provide its progress and respond with results.

          \n
          ", "smithy.api#required": {} } }, @@ -4958,7 +4965,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Used by deciders to tell the service that the DecisionTask identified\n by the taskToken has successfully completed. The decisions argument\n specifies the list of decisions made while processing the task.

          \n\n

          A DecisionTaskCompleted event is added to the workflow history. The\n executionContext specified is attached to the event in the workflow execution\n history.

          \n\n

          \n Access Control\n

          \n\n

          If an IAM policy grants permission to use RespondDecisionTaskCompleted, it\n can express permissions for the list of decisions in the decisions parameter.\n Each of the decisions has one or more parameters, much like a regular API call. To allow for\n policies to be as readable as possible, you can express permissions on decisions as if they\n were actual API calls, including applying conditions to some parameters. For more information,\n see Using\n IAM to Manage Access to Amazon SWF Workflows in the\n Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Used by deciders to tell the service that the DecisionTask identified\n by the taskToken has successfully completed. The decisions argument\n specifies the list of decisions made while processing the task.

          \n

          A DecisionTaskCompleted event is added to the workflow history. The\n executionContext specified is attached to the event in the workflow execution\n history.

          \n

          \n Access Control\n

          \n

          If an IAM policy grants permission to use RespondDecisionTaskCompleted, it\n can express permissions for the list of decisions in the decisions parameter.\n Each of the decisions has one or more parameters, much like a regular API call. To allow for\n policies to be as readable as possible, you can express permissions on decisions as if they\n were actual API calls, including applying conditions to some parameters. For more information,\n see Using\n IAM to Manage Access to Amazon SWF Workflows in the\n Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#RespondDecisionTaskCompletedInput": { @@ -5022,7 +5029,7 @@ "activityId": { "target": "com.amazonaws.swf#ActivityId", "traits": { - "smithy.api#documentation": "

          \n The activityId of the activity task.

          \n

          The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

          ", + "smithy.api#documentation": "

          \n The activityId of the activity task.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -5047,7 +5054,7 @@ "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { - "smithy.api#documentation": "

          If set, specifies the name of the task list in which to schedule the activity task. If not specified, the\n defaultTaskList registered with the activity type is used.

          \n \n

          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.

          \n
          \n

          The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

          " + "smithy.api#documentation": "

          If set, specifies the name of the task list in which to schedule the activity task. If not specified, the\n defaultTaskList registered with the activity type is used.

          \n \n

          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.

          \n
          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          " } }, "taskPriority": { @@ -5076,7 +5083,7 @@ } }, "traits": { - "smithy.api#documentation": "

          Provides the details of the ScheduleActivityTask decision.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to only\n specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with the\n appropriate keys.

            \n
              \n
            • \n

              \n activityType.name – String constraint. The key is swf:activityType.name.

              \n
            • \n
            • \n

              \n activityType.version – String constraint. The key is swf:activityType.version.

              \n
            • \n
            • \n

              \n taskList – String constraint. The key is swf:taskList.name.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Provides the details of the ScheduleActivityTask decision.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to only\n specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with the\n appropriate keys.

            \n
              \n
            • \n

              \n activityType.name – String constraint. The key is swf:activityType.name.

              \n
            • \n
            • \n

              \n activityType.version – String constraint. The key is swf:activityType.version.

              \n
            • \n
            • \n

              \n taskList – String constraint. The key is swf:taskList.name.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows\n in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#ScheduleActivityTaskFailedCause": { @@ -5219,7 +5226,7 @@ "startToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { - "smithy.api#documentation": "

          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.

          " + "smithy.api#documentation": "

          The timeout value, in seconds, after which the Lambda function is considered to be\n failed once it has started. This can be any integer from 1-900 (1s-15m).

          \n

          If no value is supplied, then a default value of 900s is assumed.

          " } } }, @@ -5480,7 +5487,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Records a WorkflowExecutionSignaled event in the workflow execution\n history and creates a decision task for the workflow execution identified by the given domain,\n workflowId and runId. The event is recorded with the specified user defined signalName and\n input (if provided).

          \n\n \n

          If a runId isn't specified, then the WorkflowExecutionSignaled event is\n recorded in the history of the current open workflow with the matching workflowId in the\n domain.

          \n
          \n\n \n

          If the specified workflow execution isn't open, this method fails with\n UnknownResource.

          \n
          \n\n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Records a WorkflowExecutionSignaled event in the workflow execution\n history and creates a decision task for the workflow execution identified by the given domain,\n workflowId and runId. The event is recorded with the specified user defined signalName and\n input (if provided).

          \n \n

          If a runId isn't specified, then the WorkflowExecutionSignaled event is\n recorded in the history of the current open workflow with the matching workflowId in the\n domain.

          \n
          \n \n

          If the specified workflow execution isn't open, this method fails with\n UnknownResource.

          \n
          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#SignalWorkflowExecutionInput": { @@ -5652,7 +5659,7 @@ "name": "swf" }, "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon Simple Workflow Service\n\n

          The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to\n coordinate work across distributed components. In Amazon SWF, a task\n represents a logical unit of work that is performed by a component of your workflow.\n Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and \n concurrency in accordance with the logical flow of the application.

          \n\n

          Amazon SWF gives you full control over implementing tasks and coordinating them without\n worrying about underlying complexities such as tracking their progress and maintaining their\n state.

          \n\n

          This documentation serves as reference only. For a broader overview of the Amazon SWF\n programming model, see the \n Amazon SWF Developer Guide\n .

          ", + "smithy.api#documentation": "Amazon Simple Workflow Service\n

          The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to\n coordinate work across distributed components. In Amazon SWF, a task\n represents a logical unit of work that is performed by a component of your workflow.\n Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and \n concurrency in accordance with the logical flow of the application.

          \n

          Amazon SWF gives you full control over implementing tasks and coordinating them without\n worrying about underlying complexities such as tracking their progress and maintaining their\n state.

          \n

          This documentation serves as reference only. For a broader overview of the Amazon SWF\n programming model, see the \n Amazon SWF Developer Guide\n .

          ", "smithy.api#title": "Amazon Simple Workflow Service", "smithy.api#xmlNamespace": { "uri": "http://swf.amazonaws.com/doc/2012-01-25" @@ -5662,7 +5669,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -5691,13 +5698,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -5705,14 +5711,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -5721,67 +5733,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -5790,179 +5777,240 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://swf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://swf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ - "aws-us-gov", + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" + "supportsFIPS" ] } ] } ], - "endpoint": { - "url": "https://swf.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://swf.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://swf-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] }, { "conditions": [], - "endpoint": { - "url": "https://swf-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -5970,7 +6018,7 @@ { "conditions": [], "endpoint": { - "url": "https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", + "url": "https://swf.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -5979,66 +6027,13 @@ ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://swf.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-west-1" - ] - } - ], - "endpoint": { - "url": "https://swf.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://swf.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } @@ -6047,42 +6042,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-iso-east-1.c2s.ic.gov" + "url": "https://swf.af-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "af-south-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-iso-west-1.c2s.ic.gov" + "url": "https://swf.ap-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-east-1", "UseFIPS": false, - "Region": "us-iso-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://swf.ap-northeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -6093,87 +6101,87 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-3", "UseFIPS": false, - "Region": "ap-northeast-3" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-east-1.amazonaws.com" + "url": "https://swf.ap-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-south-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf-fips.us-east-1.amazonaws.com" + "url": "https://swf.ap-southeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.eu-west-1.amazonaws.com" + "url": "https://swf.ap-southeast-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.eu-west-2.amazonaws.com" + "url": "https://swf.ap-southeast-3.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-3", "UseFIPS": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.eu-west-3.amazonaws.com" + "url": "https://swf.ca-central-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ca-central-1", "UseFIPS": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.me-south-1.amazonaws.com" + "url": "https://swf.eu-central-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-central-1", "UseFIPS": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -6184,139 +6192,139 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-north-1", "UseFIPS": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-east-2.amazonaws.com" + "url": "https://swf.eu-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-south-1", "UseFIPS": false, - "Region": "us-east-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf-fips.us-east-2.amazonaws.com" + "url": "https://swf.eu-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.sa-east-1.amazonaws.com" + "url": "https://swf.eu-west-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-west-2", "UseFIPS": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.ap-east-1.amazonaws.com" + "url": "https://swf.eu-west-3.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-west-3", "UseFIPS": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.eu-south-1.amazonaws.com" + "url": "https://swf.me-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "me-south-1", "UseFIPS": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.eu-central-1.amazonaws.com" + "url": "https://swf.sa-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "sa-east-1", "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.ap-southeast-1.amazonaws.com" + "url": "https://swf.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.ap-southeast-2.amazonaws.com" + "url": "https://swf-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.ap-southeast-3.amazonaws.com" + "url": "https://swf.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-2", "UseFIPS": false, - "Region": "ap-southeast-3" + "UseDualStack": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.ca-central-1.amazonaws.com" + "url": "https://swf-fips.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false } }, { @@ -6327,9 +6335,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -6340,9 +6348,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": true, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -6353,9 +6361,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -6366,139 +6374,152 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": true, - "Region": "us-west-2" + "UseDualStack": false } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://swf.af-south-1.amazonaws.com" + "url": "https://swf-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://swf.ap-south-1.amazonaws.com" + "url": "https://swf.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.ap-northeast-1.amazonaws.com" + "url": "https://swf.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.ap-northeast-2.amazonaws.com" + "url": "https://swf.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-northwest-1", "UseFIPS": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://swf-fips.us-east-1.api.aws" + "url": "https://swf-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-east-1.api.aws" + "url": "https://swf-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://swf.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-gov-west-1.amazonaws.com" + "url": "https://swf.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-gov-west-1.amazonaws.com" + "url": "https://swf.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-gov-east-1.amazonaws.com" + "url": "https://swf.us-gov-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-west-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-gov-east-1.amazonaws.com" + "url": "https://swf.us-gov-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-west-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -6509,9 +6530,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -6522,113 +6543,144 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.us-isob-east-1.sc2s.sgov.gov" + "url": "https://swf.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf-fips.us-isob-east-1.sc2s.sgov.gov" + "url": "https://swf.us-iso-west-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.cn-northwest-1.amazonaws.com.cn" + "url": "https://swf-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "cn-northwest-1" + "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf.cn-north-1.amazonaws.com.cn" + "url": "https://swf.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://swf-fips.cn-north-1.api.amazonwebservices.com.cn" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://swf-fips.cn-north-1.amazonaws.com.cn" + "url": "https://swf-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://swf.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://example.com" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false, + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -6638,9 +6690,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -6650,17 +6702,29 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" } } }, + "com.amazonaws.swf#StartAtPreviousStartedEvent": { + "type": "boolean", + "traits": { + "smithy.api#default": false + } + }, "com.amazonaws.swf#StartChildWorkflowExecutionDecisionAttributes": { "type": "structure", "members": { @@ -6674,7 +6738,7 @@ "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { - "smithy.api#documentation": "

          \n The workflowId of the workflow execution.

          \n

          The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

          ", + "smithy.api#documentation": "

          \n The workflowId of the workflow execution.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -6699,7 +6763,7 @@ "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { - "smithy.api#documentation": "

          The name of the task list to be used for decision tasks of the child workflow execution.

          \n \n

          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.

          \n
          \n

          The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

          " + "smithy.api#documentation": "

          The name of the task list to be used for decision tasks of the child workflow execution.

          \n \n

          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.

          \n
          \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          " } }, "taskPriority": { @@ -6734,7 +6798,7 @@ } }, "traits": { - "smithy.api#documentation": "

          Provides the details of the StartChildWorkflowExecution decision.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to only\n specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with the\n appropriate keys.

            \n
              \n
            • \n

              \n tagList.member.N – The key is \"swf:tagList.N\" where N is the tag number from 0 to 4,\n inclusive.

              \n
            • \n
            • \n

              \n taskList – String constraint. The key is swf:taskList.name.

              \n
            • \n
            • \n

              \n workflowType.name – String constraint. The key is swf:workflowType.name.

              \n
            • \n
            • \n

              \n workflowType.version – String constraint. The key is swf:workflowType.version.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Provides the details of the StartChildWorkflowExecution decision.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to only\n specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with the\n appropriate keys.

            \n
              \n
            • \n

              \n tagList.member.N – The key is \"swf:tagList.N\" where N is the tag number from 0 to 4,\n inclusive.

              \n
            • \n
            • \n

              \n taskList – String constraint. The key is swf:taskList.name.

              \n
            • \n
            • \n

              \n workflowType.name – String constraint. The key is swf:workflowType.name.

              \n
            • \n
            • \n

              \n workflowType.version – String constraint. The key is swf:workflowType.version.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated event attribute's\n cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see\n Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#StartChildWorkflowExecutionFailedCause": { @@ -6814,7 +6878,7 @@ "workflowType": { "target": "com.amazonaws.swf#WorkflowType", "traits": { - "smithy.api#documentation": "

          The workflow type provided in the StartChildWorkflowExecution \n Decision that failed.

          ", + "smithy.api#documentation": "

          The workflow type provided in the StartChildWorkflowExecution\n Decision that failed.

          ", "smithy.api#required": {} } }, @@ -6836,7 +6900,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated\n event that corresponds to the StartChildWorkflowExecution \n Decision to start the workflow execution. You can use this information to diagnose\n problems by tracing back the chain of events leading up to this event.

          \n

          When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the \n StartChildWorkflowExecutionInitiated event doesn't exist.

          ", + "smithy.api#documentation": "

          When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated\n event that corresponds to the StartChildWorkflowExecution\n Decision to start the workflow execution. You can use this information to diagnose\n problems by tracing back the chain of events leading up to this event.

          \n

          When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the \n StartChildWorkflowExecutionInitiated event doesn't exist.

          ", "smithy.api#required": {} } }, @@ -6844,7 +6908,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution \n Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

          ", + "smithy.api#documentation": "

          The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution\n Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

          ", "smithy.api#required": {} } }, @@ -6911,7 +6975,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartChildWorkflowExecution \n Decision to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.

          ", + "smithy.api#documentation": "

          The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartChildWorkflowExecution\n Decision to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.

          ", "smithy.api#required": {} } }, @@ -6989,7 +7053,7 @@ "timerId": { "target": "com.amazonaws.swf#TimerId", "traits": { - "smithy.api#documentation": "

          \n The unique ID of the timer.

          \n

          The specified string must not start or end with whitespace. It must not contain a :\n (colon), / (slash), | (vertical bar), or any control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must not contain the literal string arn.

          ", + "smithy.api#documentation": "

          \n The unique ID of the timer.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -7099,7 +7163,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Starts an execution of the workflow type in the specified domain using the provided\n workflowId and input data.

          \n\n

          This action returns the newly started workflow execution.

          \n\n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with\n the appropriate keys.

            \n
              \n
            • \n

              \n tagList.member.0: The key is swf:tagList.member.0.

              \n
            • \n
            • \n

              \n tagList.member.1: The key is swf:tagList.member.1.

              \n
            • \n
            • \n

              \n tagList.member.2: The key is swf:tagList.member.2.

              \n
            • \n
            • \n

              \n tagList.member.3: The key is swf:tagList.member.3.

              \n
            • \n
            • \n

              \n tagList.member.4: The key is swf:tagList.member.4.

              \n
            • \n
            • \n

              \n taskList: String constraint. The key is\n swf:taskList.name.

              \n
            • \n
            • \n

              \n workflowType.name: String constraint. The key is\n swf:workflowType.name.

              \n
            • \n
            • \n

              \n workflowType.version: String constraint. The key is\n swf:workflowType.version.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Starts an execution of the workflow type in the specified domain using the provided\n workflowId and input data.

          \n

          This action returns the newly started workflow execution.

          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            Constrain the following parameters by using a Condition element with\n the appropriate keys.

            \n
              \n
            • \n

              \n tagList.member.0: The key is swf:tagList.member.0.

              \n
            • \n
            • \n

              \n tagList.member.1: The key is swf:tagList.member.1.

              \n
            • \n
            • \n

              \n tagList.member.2: The key is swf:tagList.member.2.

              \n
            • \n
            • \n

              \n tagList.member.3: The key is swf:tagList.member.3.

              \n
            • \n
            • \n

              \n tagList.member.4: The key is swf:tagList.member.4.

              \n
            • \n
            • \n

              \n taskList: String constraint. The key is\n swf:taskList.name.

              \n
            • \n
            • \n

              \n workflowType.name: String constraint. The key is\n swf:workflowType.name.

              \n
            • \n
            • \n

              \n workflowType.version: String constraint. The key is\n swf:workflowType.version.

              \n
            • \n
            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#StartWorkflowExecutionInput": { @@ -7108,14 +7172,14 @@ "domain": { "target": "com.amazonaws.swf#DomainName", "traits": { - "smithy.api#documentation": "

          The name of the domain in which the workflow execution is created.

          ", + "smithy.api#documentation": "

          The name of the domain in which the workflow execution is created.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, "workflowId": { "target": "com.amazonaws.swf#WorkflowId", "traits": { - "smithy.api#documentation": "

          The user defined identifier associated with the workflow execution. You can use this to\n associate a custom identifier with the workflow execution. You may specify the same identifier\n if a workflow execution is logically a restart of a previous execution.\n You cannot have two open workflow executions with the same workflowId at the same\n time within the same domain.

          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", + "smithy.api#documentation": "

          The user defined identifier associated with the workflow execution. You can use this to\n associate a custom identifier with the workflow execution. You may specify the same identifier\n if a workflow execution is logically a restart of a previous execution.\n You cannot have two open workflow executions with the same workflowId at the same\n time within the same domain.

          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          ", "smithy.api#required": {} } }, @@ -7129,7 +7193,7 @@ "taskList": { "target": "com.amazonaws.swf#TaskList", "traits": { - "smithy.api#documentation": "

          The task list to use for the decision tasks generated for this workflow execution. This\n overrides the defaultTaskList specified when registering the workflow\n type.

          \n \n

          A task list for this workflow execution must be specified either as a default for the\n workflow type or through this parameter. If neither this parameter is set nor a default task\n list was specified at registration time then a fault is returned.

          \n
          \n \n

          The specified string must not start or end with whitespace. It must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          " + "smithy.api#documentation": "

          The task list to use for the decision tasks generated for this workflow execution. This\n overrides the defaultTaskList specified when registering the workflow\n type.

          \n \n

          A task list for this workflow execution must be specified either as a default for the\n workflow type or through this parameter. If neither this parameter is set nor a default task\n list was specified at registration time then a fault is returned.

          \n
          \n

          The specified string must not contain a\n : (colon), / (slash), | (vertical bar), or any\n control characters (\\u0000-\\u001f | \\u007f-\\u009f). Also, it must\n not be the literal string arn.

          " } }, "taskPriority": { @@ -7147,7 +7211,7 @@ "executionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { - "smithy.api#documentation": "

          The total duration for this workflow execution. This overrides the\n defaultExecutionStartToCloseTimeout specified when registering the workflow type.

          \n\n

          The duration is specified in seconds; an integer greater than or equal to\n 0. Exceeding this limit causes the workflow execution to time out. Unlike some\n of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for this\n timeout; there is a one-year max limit on the time that a workflow execution can\n run.

          \n\n \n

          An execution start-to-close timeout must be specified either through this parameter\n or as a default when the workflow type is registered. If neither this parameter nor a\n default execution start-to-close timeout is specified, a fault is returned.

          \n
          " + "smithy.api#documentation": "

          The total duration for this workflow execution. This overrides the\n defaultExecutionStartToCloseTimeout specified when registering the workflow type.

          \n

          The duration is specified in seconds; an integer greater than or equal to\n 0. Exceeding this limit causes the workflow execution to time out. Unlike some\n of the other timeout parameters in Amazon SWF, you cannot specify a value of \"NONE\" for this\n timeout; there is a one-year max limit on the time that a workflow execution can\n run.

          \n \n

          An execution start-to-close timeout must be specified either through this parameter\n or as a default when the workflow type is registered. If neither this parameter nor a\n default execution start-to-close timeout is specified, a fault is returned.

          \n
          " } }, "tagList": { @@ -7254,7 +7318,7 @@ "tags": { "target": "com.amazonaws.swf#ResourceTagList", "traits": { - "smithy.api#documentation": "

          The list of tags to add to a domain.

          \n

          Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

          ", + "smithy.api#documentation": "

          The list of tags to add to a domain.

          \n

          Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

          ", "smithy.api#required": {} } } @@ -7316,7 +7380,7 @@ } ], "traits": { - "smithy.api#documentation": "

          Records a WorkflowExecutionTerminated event and forces closure of the\n workflow execution identified by the given domain, runId, and workflowId. The child policy,\n registered with the workflow type or specified when starting this execution, is applied to any\n open child workflow executions of this workflow execution.

          \n\n \n

          If the identified workflow execution was in progress, it is terminated\n immediately.

          \n
          \n\n \n

          If a runId isn't specified, then the WorkflowExecutionTerminated event\n is recorded in the history of the current open workflow with the matching workflowId in the\n domain.

          \n
          \n\n \n

          You should consider using RequestCancelWorkflowExecution action\n instead because it allows the workflow to gracefully close while TerminateWorkflowExecution doesn't.

          \n
          \n\n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " + "smithy.api#documentation": "

          Records a WorkflowExecutionTerminated event and forces closure of the\n workflow execution identified by the given domain, runId, and workflowId. The child policy,\n registered with the workflow type or specified when starting this execution, is applied to any\n open child workflow executions of this workflow execution.

          \n \n

          If the identified workflow execution was in progress, it is terminated\n immediately.

          \n
          \n \n

          If a runId isn't specified, then the WorkflowExecutionTerminated event\n is recorded in the history of the current open workflow with the matching workflowId in the\n domain.

          \n
          \n \n

          You should consider using RequestCancelWorkflowExecution action\n instead because it allows the workflow to gracefully close while TerminateWorkflowExecution doesn't.

          \n
          \n

          \n Access Control\n

          \n

          You can use IAM policies to control this action's access to Amazon SWF resources as\n follows:

          \n
            \n
          • \n

            Use a Resource element with the domain name to limit the action to\n only specified domains.

            \n
          • \n
          • \n

            Use an Action element to allow or deny permission to call this\n action.

            \n
          • \n
          • \n

            You cannot use an IAM policy to constrain this action's parameters.

            \n
          • \n
          \n

          If the caller doesn't have sufficient permissions to invoke the action, or the\n parameter values fall outside the specified constraints, the action fails. The associated\n event attribute's cause parameter is set to OPERATION_NOT_PERMITTED.\n For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF\n Workflows in the Amazon SWF Developer Guide.

          " } }, "com.amazonaws.swf#TerminateWorkflowExecutionInput": { @@ -8321,7 +8385,7 @@ "target": "com.amazonaws.swf#EventId", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this workflow execution. The source event with\n this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          " + "smithy.api#documentation": "

          The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution\n Decision to start this workflow execution. The source event with\n this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

          " } }, "lambdaRole": { @@ -8479,13 +8543,13 @@ "defaultTaskStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { - "smithy.api#documentation": "

          \n The default maximum duration, specified when registering the workflow type, that a decision task\n for executions of this workflow type might take before returning completion or failure. If the task doesn'tdo close\n in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports\n a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using\n the StartWorkflowExecution action or the StartChildWorkflowExecution \n Decision.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " + "smithy.api#documentation": "

          \n The default maximum duration, specified when registering the workflow type, that a decision task\n for executions of this workflow type might take before returning completion or failure. If the task doesn'tdo close\n in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports\n a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using\n the StartWorkflowExecution action or the StartChildWorkflowExecution\n Decision.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " } }, "defaultExecutionStartToCloseTimeout": { "target": "com.amazonaws.swf#DurationInSecondsOptional", "traits": { - "smithy.api#documentation": "

          \n The default maximum duration, specified when registering the workflow type, for executions of\n this workflow type. This default can be overridden when starting a workflow execution using the\n StartWorkflowExecution action or the StartChildWorkflowExecution \n Decision.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " + "smithy.api#documentation": "

          \n The default maximum duration, specified when registering the workflow type, for executions of\n this workflow type. This default can be overridden when starting a workflow execution using the\n StartWorkflowExecution action or the StartChildWorkflowExecution\n Decision.

          \n

          The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

          " } }, "defaultTaskList": { @@ -8503,7 +8567,7 @@ "defaultChildPolicy": { "target": "com.amazonaws.swf#ChildPolicy", "traits": { - "smithy.api#documentation": "

          \n The default policy to use for the child workflow executions when a workflow execution of this\n type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired\n timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution\n action or the StartChildWorkflowExecution \n Decision.

          \n

          The supported child policies are:

          \n
            \n
          • \n

            \n TERMINATE – The child executions are terminated.

            \n
          • \n
          • \n

            \n REQUEST_CANCEL – A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.

            \n
          • \n
          • \n

            \n ABANDON – No action is taken. The child executions continue to run.

            \n
          • \n
          " + "smithy.api#documentation": "

          \n The default policy to use for the child workflow executions when a workflow execution of this\n type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired\n timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution\n action or the StartChildWorkflowExecution\n Decision.

          \n

          The supported child policies are:

          \n
            \n
          • \n

            \n TERMINATE – The child executions are terminated.

            \n
          • \n
          • \n

            \n REQUEST_CANCEL – A request to cancel is attempted for each child\n execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider\n to take appropriate actions when it receives an execution history with this event.

            \n
          • \n
          • \n

            \n ABANDON – No action is taken. The child executions continue to run.

            \n
          • \n
          " } }, "defaultLambdaRole": {