|
750 | 750 | ],
|
751 | 751 | "documentation":"<p>Starts a new task from the specified task definition on the specified container instance or instances.</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>Alternatively, you can use<code>RunTask</code> to place tasks for you. 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>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>"
|
752 | 752 | },
|
| 753 | + "StopServiceDeployment":{ |
| 754 | + "name":"StopServiceDeployment", |
| 755 | + "http":{ |
| 756 | + "method":"POST", |
| 757 | + "requestUri":"/" |
| 758 | + }, |
| 759 | + "input":{"shape":"StopServiceDeploymentRequest"}, |
| 760 | + "output":{"shape":"StopServiceDeploymentResponse"}, |
| 761 | + "errors":[ |
| 762 | + {"shape":"AccessDeniedException"}, |
| 763 | + {"shape":"ClientException"}, |
| 764 | + {"shape":"ConflictException"}, |
| 765 | + {"shape":"InvalidParameterException"}, |
| 766 | + {"shape":"ServerException"}, |
| 767 | + {"shape":"ServiceDeploymentNotFoundException"}, |
| 768 | + {"shape":"UnsupportedFeatureException"} |
| 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>" |
| 771 | + }, |
753 | 772 | "StopTask":{
|
754 | 773 | "name":"StopTask",
|
755 | 774 | "http":{
|
|
5038 | 5057 | },
|
5039 | 5058 | "cluster":{
|
5040 | 5059 | "shape":"String",
|
5041 |
| - "documentation":"<p>The short name or full Amazon Resource Name (ARN) of the cluster to run your task on. If you do not specify a cluster, the default cluster is assumed.</p>" |
| 5060 | + "documentation":"<p>The short name or full Amazon Resource Name (ARN) of the cluster to run your task on. If you do not specify a cluster, the default cluster is assumed.</p> <p>Each account receives a default cluster the first time you use the service, but you may also create other clusters.</p>" |
5042 | 5061 | },
|
5043 | 5062 | "count":{
|
5044 | 5063 | "shape":"BoxedInteger",
|
|
5608 | 5627 | },
|
5609 | 5628 | "documentation":"<p>Information about the circuit breaker used to determine when a service deployment has failed.</p> <p>The deployment circuit breaker is the rolling update mechanism that determines if the tasks reach a steady state. The deployment circuit breaker has an option that will automatically roll back a failed deployment to the last cpompleted service revision. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-circuit-breaker.html\">How the Amazon ECS deployment circuit breaker detects failures</a> in the<i> Amazon ECS Developer Guide</i>.</p>"
|
5610 | 5629 | },
|
| 5630 | + "ServiceDeploymentNotFoundException":{ |
| 5631 | + "type":"structure", |
| 5632 | + "members":{ |
| 5633 | + }, |
| 5634 | + "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 | + "exception":true |
| 5636 | + }, |
5611 | 5637 | "ServiceDeploymentRollbackMonitorsStatus":{
|
5612 | 5638 | "type":"string",
|
5613 | 5639 | "enum":[
|
|
5625 | 5651 | "STOPPED",
|
5626 | 5652 | "STOP_REQUESTED",
|
5627 | 5653 | "IN_PROGRESS",
|
| 5654 | + "ROLLBACK_REQUESTED", |
5628 | 5655 | "ROLLBACK_IN_PROGRESS",
|
5629 | 5656 | "ROLLBACK_SUCCESSFUL",
|
5630 | 5657 | "ROLLBACK_FAILED"
|
|
6039 | 6066 | "type":"list",
|
6040 | 6067 | "member":{"shape":"KeyValuePair"}
|
6041 | 6068 | },
|
| 6069 | + "StopServiceDeploymentRequest":{ |
| 6070 | + "type":"structure", |
| 6071 | + "required":["serviceDeploymentArn"], |
| 6072 | + "members":{ |
| 6073 | + "serviceDeploymentArn":{ |
| 6074 | + "shape":"String", |
| 6075 | + "documentation":"<p>The ARN of the service deployment that you want to stop.</p>" |
| 6076 | + }, |
| 6077 | + "stopType":{ |
| 6078 | + "shape":"StopServiceDeploymentStopType", |
| 6079 | + "documentation":"<p>How you want Amazon ECS to stop the task. </p> <p>The valid values are <code>ROLLBACK</code>.</p>" |
| 6080 | + } |
| 6081 | + } |
| 6082 | + }, |
| 6083 | + "StopServiceDeploymentResponse":{ |
| 6084 | + "type":"structure", |
| 6085 | + "members":{ |
| 6086 | + "serviceDeploymentArn":{ |
| 6087 | + "shape":"String", |
| 6088 | + "documentation":"<p>The ARN of the stopped service deployment.</p>" |
| 6089 | + } |
| 6090 | + } |
| 6091 | + }, |
| 6092 | + "StopServiceDeploymentStopType":{ |
| 6093 | + "type":"string", |
| 6094 | + "enum":[ |
| 6095 | + "ABORT", |
| 6096 | + "ROLLBACK" |
| 6097 | + ] |
| 6098 | + }, |
6042 | 6099 | "StopTaskRequest":{
|
6043 | 6100 | "type":"structure",
|
6044 | 6101 | "required":["task"],
|
|
0 commit comments