|
731 | 731 | {"shape":"BlockedException"},
|
732 | 732 | {"shape":"ConflictException"}
|
733 | 733 | ],
|
734 |
| - "documentation":"<p>Starts a new task using the specified task definition.</p> <note> <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p> </note> <note> <p>Amazon Elastic Inference (EI) is no longer available to customers.</p> </note> <p>You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html\">Scheduling Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>Alternatively, you can use <code>StartTask</code> to use your own scheduler or place tasks manually on specific container instances.</p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more infomation, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types\">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>The Amazon ECS API follows an eventual consistency model. This is because of the distributed nature of the system supporting the API. This means that the result of an API command you run that affects your Amazon ECS resources might not be immediately visible to all subsequent commands you run. Keep this in mind when you carry out an API command that immediately follows a previous API command.</p> <p>To manage eventual consistency, you can do the following:</p> <ul> <li> <p>Confirm the state of the resource before you run a command to modify it. Run the DescribeTasks command using an exponential backoff algorithm to ensure that you allow enough time for the previous command to propagate through the system. To do this, run the DescribeTasks command repeatedly, starting with a couple of seconds of wait time and increasing gradually up to five minutes of wait time.</p> </li> <li> <p>Add wait time between subsequent commands, even if the DescribeTasks command returns an accurate response. Apply an exponential backoff algorithm starting with a couple of seconds of wait time, and increase gradually up to about five minutes of wait time.</p> </li> </ul>" |
| 734 | + "documentation":"<p>Starts a new task using the specified task definition.</p> <note> <p>On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.</p> </note> <note> <p>Amazon Elastic Inference (EI) is no longer available to customers.</p> </note> <p>You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html\">Scheduling Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>Alternatively, you can use <code>StartTask</code> to use your own scheduler or place tasks manually on specific container instances.</p> <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more infomation, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types\">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>The Amazon ECS API follows an eventual consistency model. This is because of the distributed nature of the system supporting the API. This means that the result of an API command you run that affects your Amazon ECS resources might not be immediately visible to all subsequent commands you run. Keep this in mind when you carry out an API command that immediately follows a previous API command.</p> <p>To manage eventual consistency, you can do the following:</p> <ul> <li> <p>Confirm the state of the resource before you run a command to modify it. Run the DescribeTasks command using an exponential backoff algorithm to ensure that you allow enough time for the previous command to propagate through the system. To do this, run the DescribeTasks command repeatedly, starting with a couple of seconds of wait time and increasing gradually up to five minutes of wait time.</p> </li> <li> <p>Add wait time between subsequent commands, even if the DescribeTasks command returns an accurate response. Apply an exponential backoff algorithm starting with a couple of seconds of wait time, and increase gradually up to about five minutes of wait time.</p> </li> </ul> <p>If you get a <code>ConflictException</code> error, the <code>RunTask</code> request could not be processed due to conflicts. The provided <code>clientToken</code> is already in use with a different <code>RunTask</code> request. The <code>resourceIds</code> are the existing task ARNs which are already associated with the <code>clientToken</code>. </p> <p>To fix this issue:</p> <ul> <li> <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p> </li> <li> <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original set of parameters</p> </li> </ul>" |
735 | 735 | },
|
736 | 736 | "StartTask":{
|
737 | 737 | "name":"StartTask",
|
|
767 | 767 | {"shape":"ServiceDeploymentNotFoundException"},
|
768 | 768 | {"shape":"UnsupportedFeatureException"}
|
769 | 769 | ],
|
770 |
| - "documentation":"<p>Stops an ongoing service deployment.</p> <p>The following stop types are avaiable:</p> <ul> <li> <p>ROLLBACK - This option rolls back the service deployment to the previous service revision. </p> <p>You can use this option even if you didn't configure the service deployment for the rollback option. </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html\">Stopping Amazon ECS service deployments</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>" |
| 770 | + "documentation":"<p>Stops an ongoing service deployment.</p> <note> <p>StopServiceDeployment isn't currently supported.</p> </note>" |
771 | 771 | },
|
772 | 772 | "StopTask":{
|
773 | 773 | "name":"StopTask",
|
|
1037 | 1037 | "shapes":{
|
1038 | 1038 | "AccessDeniedException":{
|
1039 | 1039 | "type":"structure",
|
1040 |
| - "members":{ |
1041 |
| - }, |
| 1040 | + "members":{}, |
1042 | 1041 | "documentation":"<p>You don't have authorization to perform the requested action.</p>",
|
1043 | 1042 | "exception":true
|
1044 | 1043 | },
|
|
1145 | 1144 | },
|
1146 | 1145 | "AttributeLimitExceededException":{
|
1147 | 1146 | "type":"structure",
|
1148 |
| - "members":{ |
1149 |
| - }, |
| 1147 | + "members":{}, |
1150 | 1148 | "documentation":"<p>You can apply up to 10 custom attributes for each resource. You can view the attributes of a resource with <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListAttributes.html\">ListAttributes</a>. You can remove existing attributes on a resource with <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteAttributes.html\">DeleteAttributes</a>.</p>",
|
1151 | 1149 | "exception":true
|
1152 | 1150 | },
|
|
1223 | 1221 | },
|
1224 | 1222 | "BlockedException":{
|
1225 | 1223 | "type":"structure",
|
1226 |
| - "members":{ |
1227 |
| - }, |
| 1224 | + "members":{}, |
1228 | 1225 | "documentation":"<p>Your Amazon Web Services account was blocked. For more information, contact <a href=\"http://aws.amazon.com/contact-us/\"> Amazon Web ServicesSupport</a>.</p>",
|
1229 | 1226 | "exception":true
|
1230 | 1227 | },
|
|
1438 | 1435 | },
|
1439 | 1436 | "ClusterContainsContainerInstancesException":{
|
1440 | 1437 | "type":"structure",
|
1441 |
| - "members":{ |
1442 |
| - }, |
| 1438 | + "members":{}, |
1443 | 1439 | "documentation":"<p>You can't delete a cluster that has registered container instances. First, deregister the container instances before you can delete the cluster. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html\">DeregisterContainerInstance</a>.</p>",
|
1444 | 1440 | "exception":true
|
1445 | 1441 | },
|
1446 | 1442 | "ClusterContainsServicesException":{
|
1447 | 1443 | "type":"structure",
|
1448 |
| - "members":{ |
1449 |
| - }, |
| 1444 | + "members":{}, |
1450 | 1445 | "documentation":"<p>You can't delete a cluster that contains services. First, update the service to reduce its desired task count to 0, and then delete the service. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html\">UpdateService</a> and <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html\">DeleteService</a>.</p>",
|
1451 | 1446 | "exception":true
|
1452 | 1447 | },
|
1453 | 1448 | "ClusterContainsTasksException":{
|
1454 | 1449 | "type":"structure",
|
1455 |
| - "members":{ |
1456 |
| - }, |
| 1450 | + "members":{}, |
1457 | 1451 | "documentation":"<p>You can't delete a cluster that has active tasks.</p>",
|
1458 | 1452 | "exception":true
|
1459 | 1453 | },
|
|
1473 | 1467 | },
|
1474 | 1468 | "ClusterNotFoundException":{
|
1475 | 1469 | "type":"structure",
|
1476 |
| - "members":{ |
1477 |
| - }, |
| 1470 | + "members":{}, |
1478 | 1471 | "documentation":"<p>The specified cluster wasn't found. You can view your available clusters with <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html\">ListClusters</a>. Amazon ECS clusters are Region specific.</p>",
|
1479 | 1472 | "exception":true
|
1480 | 1473 | },
|
|
1545 | 1538 | "documentation":"<p>The existing task ARNs which are already associated with the <code>clientToken</code>.</p>"
|
1546 | 1539 | }
|
1547 | 1540 | },
|
1548 |
| - "documentation":"<p>The <code>RunTask</code> request could not be processed due to conflicts. The provided <code>clientToken</code> is already in use with a different <code>RunTask</code> request. The <code>resourceIds</code> are the existing task ARNs which are already associated with the <code>clientToken</code>. </p> <p>To fix this issue:</p> <ul> <li> <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p> </li> <li> <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original set of parameters</p> </li> </ul>", |
| 1541 | + "documentation":"<p>The request could not be processed because of conflict in the current state of the resource. </p>", |
1549 | 1542 | "exception":true
|
1550 | 1543 | },
|
1551 | 1544 | "Connectivity":{
|
|
3656 | 3649 | },
|
3657 | 3650 | "InvalidParameterException":{
|
3658 | 3651 | "type":"structure",
|
3659 |
| - "members":{ |
3660 |
| - }, |
| 3652 | + "members":{}, |
3661 | 3653 | "documentation":"<p>The specified parameter isn't valid. Review the available parameters for the API request.</p> <p>For more information about service event errors, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html\">Amazon ECS service event messages</a>. </p>",
|
3662 | 3654 | "exception":true
|
3663 | 3655 | },
|
|
3707 | 3699 | },
|
3708 | 3700 | "LimitExceededException":{
|
3709 | 3701 | "type":"structure",
|
3710 |
| - "members":{ |
3711 |
| - }, |
| 3702 | + "members":{}, |
3712 | 3703 | "documentation":"<p>The limit for the resource was exceeded.</p>",
|
3713 | 3704 | "exception":true
|
3714 | 3705 | },
|
|
4355 | 4346 | },
|
4356 | 4347 | "MissingVersionException":{
|
4357 | 4348 | "type":"structure",
|
4358 |
| - "members":{ |
4359 |
| - }, |
| 4349 | + "members":{}, |
4360 | 4350 | "documentation":"<p>Amazon ECS can't determine the current version of the Amazon ECS container agent on the container instance and doesn't have enough information to proceed with an update. This could be because the agent running on the container instance is a previous or custom version that doesn't use our version information.</p>",
|
4361 | 4351 | "exception":true
|
4362 | 4352 | },
|
|
4384 | 4374 | },
|
4385 | 4375 | "NamespaceNotFoundException":{
|
4386 | 4376 | "type":"structure",
|
4387 |
| - "members":{ |
4388 |
| - }, |
| 4377 | + "members":{}, |
4389 | 4378 | "documentation":"<p>The specified namespace wasn't found.</p>",
|
4390 | 4379 | "exception":true
|
4391 | 4380 | },
|
|
4466 | 4455 | },
|
4467 | 4456 | "NoUpdateAvailableException":{
|
4468 | 4457 | "type":"structure",
|
4469 |
| - "members":{ |
4470 |
| - }, |
| 4458 | + "members":{}, |
4471 | 4459 | "documentation":"<p>There's no update available for this Amazon ECS container agent. This might be because the agent is already running the latest version or because it's so old that there's no update path to the current version.</p>",
|
4472 | 4460 | "exception":true
|
4473 | 4461 | },
|
|
4570 | 4558 | },
|
4571 | 4559 | "PlatformTaskDefinitionIncompatibilityException":{
|
4572 | 4560 | "type":"structure",
|
4573 |
| - "members":{ |
4574 |
| - }, |
| 4561 | + "members":{}, |
4575 | 4562 | "documentation":"<p>The specified platform version doesn't satisfy the required capabilities of the task definition.</p>",
|
4576 | 4563 | "exception":true
|
4577 | 4564 | },
|
4578 | 4565 | "PlatformUnknownException":{
|
4579 | 4566 | "type":"structure",
|
4580 |
| - "members":{ |
4581 |
| - }, |
| 4567 | + "members":{}, |
4582 | 4568 | "documentation":"<p>The specified platform version doesn't exist.</p>",
|
4583 | 4569 | "exception":true
|
4584 | 4570 | },
|
|
4984 | 4970 | },
|
4985 | 4971 | "ResourceInUseException":{
|
4986 | 4972 | "type":"structure",
|
4987 |
| - "members":{ |
4988 |
| - }, |
| 4973 | + "members":{}, |
4989 | 4974 | "documentation":"<p>The specified resource is in-use and can't be removed.</p>",
|
4990 | 4975 | "exception":true
|
4991 | 4976 | },
|
4992 | 4977 | "ResourceNotFoundException":{
|
4993 | 4978 | "type":"structure",
|
4994 |
| - "members":{ |
4995 |
| - }, |
| 4979 | + "members":{}, |
4996 | 4980 | "documentation":"<p>The specified resource wasn't found.</p>",
|
4997 | 4981 | "exception":true
|
4998 | 4982 | },
|
|
5629 | 5613 | },
|
5630 | 5614 | "ServiceDeploymentNotFoundException":{
|
5631 | 5615 | "type":"structure",
|
5632 |
| - "members":{ |
5633 |
| - }, |
| 5616 | + "members":{}, |
5634 | 5617 | "documentation":"<p>The service deploy ARN that you specified in the <code>StopServiceDeployment</code> doesn't exist. You can use <code>ListServiceDeployments</code> to retrieve the service deployment ARNs.</p>",
|
5635 | 5618 | "exception":true
|
5636 | 5619 | },
|
|
5748 | 5731 | },
|
5749 | 5732 | "ServiceNotActiveException":{
|
5750 | 5733 | "type":"structure",
|
5751 |
| - "members":{ |
5752 |
| - }, |
| 5734 | + "members":{}, |
5753 | 5735 | "documentation":"<p>The specified service isn't active. You can't update a service that's inactive. If you have previously deleted a service, you can re-create it with <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html\">CreateService</a>.</p>",
|
5754 | 5736 | "exception":true
|
5755 | 5737 | },
|
5756 | 5738 | "ServiceNotFoundException":{
|
5757 | 5739 | "type":"structure",
|
5758 |
| - "members":{ |
5759 |
| - }, |
| 5740 | + "members":{}, |
5760 | 5741 | "documentation":"<p>The specified service wasn't found. You can view your available services with <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html\">ListServices</a>. Amazon ECS services are cluster specific and Region specific.</p>",
|
5761 | 5742 | "exception":true
|
5762 | 5743 | },
|
|
6076 | 6057 | },
|
6077 | 6058 | "stopType":{
|
6078 | 6059 | "shape":"StopServiceDeploymentStopType",
|
6079 |
| - "documentation":"<p>How you want Amazon ECS to stop the task. </p> <p>The valid values are <code>ROLLBACK</code>.</p>" |
| 6060 | + "documentation":"<p>How you want Amazon ECS to stop the service. </p> <p>The ROLLBACK and ABORT stopType aren't supported.</p>" |
6080 | 6061 | }
|
6081 | 6062 | }
|
6082 | 6063 | },
|
|
6317 | 6298 | },
|
6318 | 6299 | "TagResourceResponse":{
|
6319 | 6300 | "type":"structure",
|
6320 |
| - "members":{ |
6321 |
| - } |
| 6301 | + "members":{} |
6322 | 6302 | },
|
6323 | 6303 | "TagValue":{
|
6324 | 6304 | "type":"string",
|
|
6334 | 6314 | },
|
6335 | 6315 | "TargetNotConnectedException":{
|
6336 | 6316 | "type":"structure",
|
6337 |
| - "members":{ |
6338 |
| - }, |
| 6317 | + "members":{}, |
6339 | 6318 | "documentation":"<p>The execute command cannot run. This error can be caused by any of the following configuration issues:</p> <ul> <li> <p>Incorrect IAM permissions</p> </li> <li> <p>The SSM agent is not installed or is not running</p> </li> <li> <p> There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for Systems Manager Session Manager</p> </li> </ul> <p>For information about how to troubleshoot the issues, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html\">Troubleshooting issues with ECS Exec</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
|
6340 | 6319 | "exception":true
|
6341 | 6320 | },
|
6342 | 6321 | "TargetNotFoundException":{
|
6343 | 6322 | "type":"structure",
|
6344 |
| - "members":{ |
6345 |
| - }, |
| 6323 | + "members":{}, |
6346 | 6324 | "documentation":"<p>The specified target wasn't found. You can view your available container instances with <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html\">ListContainerInstances</a>. Amazon ECS container instances are cluster-specific and Region-specific.</p>",
|
6347 | 6325 | "exception":true
|
6348 | 6326 | },
|
|
6903 | 6881 | },
|
6904 | 6882 | "TaskSetNotFoundException":{
|
6905 | 6883 | "type":"structure",
|
6906 |
| - "members":{ |
6907 |
| - }, |
| 6884 | + "members":{}, |
6908 | 6885 | "documentation":"<p>The specified task set wasn't found. You can view your available task sets with <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTaskSets.html\">DescribeTaskSets</a>. Task sets are specific to each cluster, service and Region.</p>",
|
6909 | 6886 | "exception":true
|
6910 | 6887 | },
|
|
7043 | 7020 | },
|
7044 | 7021 | "UnsupportedFeatureException":{
|
7045 | 7022 | "type":"structure",
|
7046 |
| - "members":{ |
7047 |
| - }, |
| 7023 | + "members":{}, |
7048 | 7024 | "documentation":"<p>The specified task isn't supported in this Region.</p>",
|
7049 | 7025 | "exception":true
|
7050 | 7026 | },
|
|
7067 | 7043 | },
|
7068 | 7044 | "UntagResourceResponse":{
|
7069 | 7045 | "type":"structure",
|
7070 |
| - "members":{ |
7071 |
| - } |
| 7046 | + "members":{} |
7072 | 7047 | },
|
7073 | 7048 | "UpdateCapacityProviderRequest":{
|
7074 | 7049 | "type":"structure",
|
|
7212 | 7187 | },
|
7213 | 7188 | "UpdateInProgressException":{
|
7214 | 7189 | "type":"structure",
|
7215 |
| - "members":{ |
7216 |
| - }, |
| 7190 | + "members":{}, |
7217 | 7191 | "documentation":"<p>There's already a current Amazon ECS container agent update in progress on the container instance that's specified. If the container agent becomes disconnected while it's in a transitional stage, such as <code>PENDING</code> or <code>STAGING</code>, the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.</p>",
|
7218 | 7192 | "exception":true
|
7219 | 7193 | },
|
|
0 commit comments