|
5 | 5 | "endpointPrefix":"swf",
|
6 | 6 | "jsonVersion":"1.0",
|
7 | 7 | "protocol":"json",
|
| 8 | + "protocols":["json"], |
8 | 9 | "serviceAbbreviation":"Amazon SWF",
|
9 | 10 | "serviceFullName":"Amazon Simple Workflow Service",
|
10 | 11 | "serviceId":"SWF",
|
|
69 | 70 | ],
|
70 | 71 | "documentation":"<p>Returns the estimated number of decision tasks in the specified task list. The count returned is an approximation and isn't guaranteed to be exact. If you specify a task list that no decision task was ever scheduled in then <code>0</code> is returned.</p> <p> <b>Access Control</b> </p> <p>You can use IAM policies to control this action's access to Amazon SWF resources as follows:</p> <ul> <li> <p>Use a <code>Resource</code> element with the domain name to limit the action to only specified domains.</p> </li> <li> <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p> </li> <li> <p>Constrain the <code>taskList.name</code> parameter by using a <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the action to access only certain task lists.</p> </li> </ul> <p>If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>"
|
71 | 72 | },
|
| 73 | + "DeleteActivityType":{ |
| 74 | + "name":"DeleteActivityType", |
| 75 | + "http":{ |
| 76 | + "method":"POST", |
| 77 | + "requestUri":"/" |
| 78 | + }, |
| 79 | + "input":{"shape":"DeleteActivityTypeInput"}, |
| 80 | + "errors":[ |
| 81 | + {"shape":"UnknownResourceFault"}, |
| 82 | + {"shape":"TypeNotDeprecatedFault"}, |
| 83 | + {"shape":"OperationNotPermittedFault"} |
| 84 | + ], |
| 85 | + "documentation":"<p>Deletes the specified <i>activity type</i>.</p> <p>Note: Prior to deletion, activity types must first be <b>deprecated</b>. </p> <p> After an activity type has been deleted, you cannot schedule new activities of that type. Activities that started before the type was deleted will continue to run. </p> <p> <b>Access Control</b> </p> <p>You can use IAM policies to control this action's access to Amazon SWF resources as follows:</p> <ul> <li> <p>Use a <code>Resource</code> element with the domain name to limit the action to only specified domains.</p> </li> <li> <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p> </li> <li> <p>Constrain the following parameters by using a <code>Condition</code> element with the appropriate keys.</p> <ul> <li> <p> <code>activityType.name</code>: String constraint. The key is <code>swf:activityType.name</code>.</p> </li> <li> <p> <code>activityType.version</code>: String constraint. The key is <code>swf:activityType.version</code>.</p> </li> </ul> </li> </ul> <p>If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>" |
| 86 | + }, |
| 87 | + "DeleteWorkflowType":{ |
| 88 | + "name":"DeleteWorkflowType", |
| 89 | + "http":{ |
| 90 | + "method":"POST", |
| 91 | + "requestUri":"/" |
| 92 | + }, |
| 93 | + "input":{"shape":"DeleteWorkflowTypeInput"}, |
| 94 | + "errors":[ |
| 95 | + {"shape":"UnknownResourceFault"}, |
| 96 | + {"shape":"TypeNotDeprecatedFault"}, |
| 97 | + {"shape":"OperationNotPermittedFault"} |
| 98 | + ], |
| 99 | + "documentation":"<p>Deletes the specified <i>workflow type</i>.</p> <p>Note: Prior to deletion, workflow types must first be <b>deprecated</b>.</p> <p> After a workflow type has been deleted, you cannot create new executions of that type. Executions that started before the type was deleted will continue to run. </p> <p> <b>Access Control</b> </p> <p>You can use IAM policies to control this action's access to Amazon SWF resources as follows:</p> <ul> <li> <p>Use a <code>Resource</code> element with the domain name to limit the action to only specified domains.</p> </li> <li> <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p> </li> <li> <p>Constrain the following parameters by using a <code>Condition</code> element with the appropriate keys.</p> <ul> <li> <p> <code>workflowType.name</code>: String constraint. The key is <code>swf:workflowType.name</code>.</p> </li> <li> <p> <code>workflowType.version</code>: String constraint. The key is <code>swf:workflowType.version</code>.</p> </li> </ul> </li> </ul> <p>If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>" |
| 100 | + }, |
72 | 101 | "DeprecateActivityType":{
|
73 | 102 | "name":"DeprecateActivityType",
|
74 | 103 | "http":{
|
|
81 | 110 | {"shape":"TypeDeprecatedFault"},
|
82 | 111 | {"shape":"OperationNotPermittedFault"}
|
83 | 112 | ],
|
84 |
| - "documentation":"<p>Deprecates the specified <i>activity type</i>. After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated continue to run.</p> <note> <p>This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.</p> </note> <p> <b>Access Control</b> </p> <p>You can use IAM policies to control this action's access to Amazon SWF resources as follows:</p> <ul> <li> <p>Use a <code>Resource</code> element with the domain name to limit the action to only specified domains.</p> </li> <li> <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p> </li> <li> <p>Constrain the following parameters by using a <code>Condition</code> element with the appropriate keys.</p> <ul> <li> <p> <code>activityType.name</code>: String constraint. The key is <code>swf:activityType.name</code>.</p> </li> <li> <p> <code>activityType.version</code>: String constraint. The key is <code>swf:activityType.version</code>.</p> </li> </ul> </li> </ul> <p>If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>" |
| 113 | + "documentation":"<p>Deprecates the specified <i>activity type</i>. After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated continue to run.</p> <p> <b>Access Control</b> </p> <p>You can use IAM policies to control this action's access to Amazon SWF resources as follows:</p> <ul> <li> <p>Use a <code>Resource</code> element with the domain name to limit the action to only specified domains.</p> </li> <li> <p>Use an <code>Action</code> element to allow or deny permission to call this action.</p> </li> <li> <p>Constrain the following parameters by using a <code>Condition</code> element with the appropriate keys.</p> <ul> <li> <p> <code>activityType.name</code>: String constraint. The key is <code>swf:activityType.name</code>.</p> </li> <li> <p> <code>activityType.version</code>: String constraint. The key is <code>swf:activityType.version</code>.</p> </li> </ul> </li> </ul> <p>If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>" |
85 | 114 | },
|
86 | 115 | "DeprecateDomain":{
|
87 | 116 | "name":"DeprecateDomain",
|
|
1647 | 1676 | "documentation":"<p>The <code>StartWorkflowExecution</code> API action was called without the required parameters set.</p> <p>Some workflow execution parameters, such as the decision <code>taskList</code>, must be set to start the execution. However, these parameters might have been set as defaults when the workflow type was registered. In this case, you can omit these parameters from the <code>StartWorkflowExecution</code> call and Amazon SWF uses the values defined in the workflow type.</p> <note> <p>If these parameters aren't set and no default parameters were defined in the workflow type, this error is displayed.</p> </note>",
|
1648 | 1677 | "exception":true
|
1649 | 1678 | },
|
| 1679 | + "DeleteActivityTypeInput":{ |
| 1680 | + "type":"structure", |
| 1681 | + "required":[ |
| 1682 | + "domain", |
| 1683 | + "activityType" |
| 1684 | + ], |
| 1685 | + "members":{ |
| 1686 | + "domain":{ |
| 1687 | + "shape":"DomainName", |
| 1688 | + "documentation":"<p>The name of the domain in which the activity type is registered.</p>" |
| 1689 | + }, |
| 1690 | + "activityType":{ |
| 1691 | + "shape":"ActivityType", |
| 1692 | + "documentation":"<p>The activity type to delete.</p>" |
| 1693 | + } |
| 1694 | + } |
| 1695 | + }, |
| 1696 | + "DeleteWorkflowTypeInput":{ |
| 1697 | + "type":"structure", |
| 1698 | + "required":[ |
| 1699 | + "domain", |
| 1700 | + "workflowType" |
| 1701 | + ], |
| 1702 | + "members":{ |
| 1703 | + "domain":{ |
| 1704 | + "shape":"DomainName", |
| 1705 | + "documentation":"<p>The name of the domain in which the workflow type is registered.</p>" |
| 1706 | + }, |
| 1707 | + "workflowType":{ |
| 1708 | + "shape":"WorkflowType", |
| 1709 | + "documentation":"<p>The workflow type to delete.</p>" |
| 1710 | + } |
| 1711 | + } |
| 1712 | + }, |
1650 | 1713 | "DeprecateActivityTypeInput":{
|
1651 | 1714 | "type":"structure",
|
1652 | 1715 | "required":[
|
|
4054 | 4117 | "documentation":"<p>Returned when the specified activity or workflow type was already deprecated.</p>",
|
4055 | 4118 | "exception":true
|
4056 | 4119 | },
|
| 4120 | + "TypeNotDeprecatedFault":{ |
| 4121 | + "type":"structure", |
| 4122 | + "members":{ |
| 4123 | + "message":{"shape":"ErrorMessage"} |
| 4124 | + }, |
| 4125 | + "documentation":"<p>Returned when the resource type has not been deprecated.</p>", |
| 4126 | + "exception":true |
| 4127 | + }, |
4057 | 4128 | "UndeprecateActivityTypeInput":{
|
4058 | 4129 | "type":"structure",
|
4059 | 4130 | "required":[
|
|
0 commit comments