|
221 | 221 | {
|
222 | 222 | "target": "com.amazonaws.ecs#StartTask"
|
223 | 223 | },
|
| 224 | + { |
| 225 | + "target": "com.amazonaws.ecs#StopServiceDeployment" |
| 226 | + }, |
224 | 227 | {
|
225 | 228 | "target": "com.amazonaws.ecs#StopTask"
|
226 | 229 | },
|
|
10656 | 10659 | "cluster": {
|
10657 | 10660 | "target": "com.amazonaws.ecs#String",
|
10658 | 10661 | "traits": {
|
10659 |
| - "smithy.api#documentation": "<p>The short name or full Amazon Resource Name (ARN) of the cluster to run your task on.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.</p>" |
| 10662 | + "smithy.api#documentation": "<p>The short name or full Amazon Resource Name (ARN) of the cluster to run your task on.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.</p>\n <p>Each account receives a default cluster the first time you use the service, but you\n\t\t\tmay also create other clusters.</p>" |
10660 | 10663 | }
|
10661 | 10664 | },
|
10662 | 10665 | "count": {
|
|
11523 | 11526 | "smithy.api#documentation": "<p>Information about the circuit breaker used to determine when a service deployment has\n\t\t\tfailed.</p>\n <p>The deployment circuit breaker is the rolling update mechanism that determines if the\n\t\t\ttasks reach a steady state. The deployment circuit breaker has an option that will\n\t\t\tautomatically roll back a failed deployment to the last cpompleted service revision. For\n\t\t\tmore information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-circuit-breaker.html\">How the Amazon\n\t\t\t\tECS deployment circuit breaker detects failures</a> in the<i> Amazon ECS\n\t\t\t\tDeveloper Guide</i>.</p>"
|
11524 | 11527 | }
|
11525 | 11528 | },
|
| 11529 | + "com.amazonaws.ecs#ServiceDeploymentNotFoundException": { |
| 11530 | + "type": "structure", |
| 11531 | + "members": { |
| 11532 | + "message": { |
| 11533 | + "target": "com.amazonaws.ecs#String", |
| 11534 | + "traits": { |
| 11535 | + "smithy.api#documentation": "<p> Message that describes the cause of the exception.</p>" |
| 11536 | + } |
| 11537 | + } |
| 11538 | + }, |
| 11539 | + "traits": { |
| 11540 | + "smithy.api#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>", |
| 11541 | + "smithy.api#error": "client" |
| 11542 | + } |
| 11543 | + }, |
11526 | 11544 | "com.amazonaws.ecs#ServiceDeploymentRollbackMonitorsStatus": {
|
11527 | 11545 | "type": "enum",
|
11528 | 11546 | "members": {
|
|
11585 | 11603 | "smithy.api#enumValue": "IN_PROGRESS"
|
11586 | 11604 | }
|
11587 | 11605 | },
|
| 11606 | + "ROLLBACK_REQUESTED": { |
| 11607 | + "target": "smithy.api#Unit", |
| 11608 | + "traits": { |
| 11609 | + "smithy.api#enumValue": "ROLLBACK_REQUESTED" |
| 11610 | + } |
| 11611 | + }, |
11588 | 11612 | "ROLLBACK_IN_PROGRESS": {
|
11589 | 11613 | "target": "smithy.api#Unit",
|
11590 | 11614 | "traits": {
|
@@ -12374,6 +12398,106 @@
|
12374 | 12398 | "target": "com.amazonaws.ecs#KeyValuePair"
|
12375 | 12399 | }
|
12376 | 12400 | },
|
| 12401 | + "com.amazonaws.ecs#StopServiceDeployment": { |
| 12402 | + "type": "operation", |
| 12403 | + "input": { |
| 12404 | + "target": "com.amazonaws.ecs#StopServiceDeploymentRequest" |
| 12405 | + }, |
| 12406 | + "output": { |
| 12407 | + "target": "com.amazonaws.ecs#StopServiceDeploymentResponse" |
| 12408 | + }, |
| 12409 | + "errors": [ |
| 12410 | + { |
| 12411 | + "target": "com.amazonaws.ecs#AccessDeniedException" |
| 12412 | + }, |
| 12413 | + { |
| 12414 | + "target": "com.amazonaws.ecs#ClientException" |
| 12415 | + }, |
| 12416 | + { |
| 12417 | + "target": "com.amazonaws.ecs#ConflictException" |
| 12418 | + }, |
| 12419 | + { |
| 12420 | + "target": "com.amazonaws.ecs#InvalidParameterException" |
| 12421 | + }, |
| 12422 | + { |
| 12423 | + "target": "com.amazonaws.ecs#ServerException" |
| 12424 | + }, |
| 12425 | + { |
| 12426 | + "target": "com.amazonaws.ecs#ServiceDeploymentNotFoundException" |
| 12427 | + }, |
| 12428 | + { |
| 12429 | + "target": "com.amazonaws.ecs#UnsupportedFeatureException" |
| 12430 | + } |
| 12431 | + ], |
| 12432 | + "traits": { |
| 12433 | + "smithy.api#documentation": "<p>Stops an ongoing service deployment.</p>\n <p>The following stop types are avaiable:</p>\n <ul>\n <li>\n <p>ROLLBACK - This option rolls back the service deployment to the previous\n\t\t\t\t\tservice revision. </p>\n <p>You can use this option even if you didn't configure the service deployment\n\t\t\t\t\tfor the rollback option. </p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html\">Stopping Amazon ECS\n\t\t\t\tservice deployments</a> in the <i>Amazon Elastic Container Service Developer\n\t\t\tGuide</i>.</p>", |
| 12434 | + "smithy.api#examples": [ |
| 12435 | + { |
| 12436 | + "title": "To stop a service deployment", |
| 12437 | + "documentation": "This example stops the service deployment using the ROLLBACK option.", |
| 12438 | + "input": { |
| 12439 | + "serviceDeploymentArn": "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r", |
| 12440 | + "stopType": "ROLLBACK" |
| 12441 | + }, |
| 12442 | + "output": { |
| 12443 | + "serviceDeploymentArn": "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r" |
| 12444 | + } |
| 12445 | + } |
| 12446 | + ] |
| 12447 | + } |
| 12448 | + }, |
| 12449 | + "com.amazonaws.ecs#StopServiceDeploymentRequest": { |
| 12450 | + "type": "structure", |
| 12451 | + "members": { |
| 12452 | + "serviceDeploymentArn": { |
| 12453 | + "target": "com.amazonaws.ecs#String", |
| 12454 | + "traits": { |
| 12455 | + "smithy.api#documentation": "<p>The ARN of the service deployment that you want to stop.</p>", |
| 12456 | + "smithy.api#required": {} |
| 12457 | + } |
| 12458 | + }, |
| 12459 | + "stopType": { |
| 12460 | + "target": "com.amazonaws.ecs#StopServiceDeploymentStopType", |
| 12461 | + "traits": { |
| 12462 | + "smithy.api#documentation": "<p>How you want Amazon ECS to stop the task. </p>\n <p>The valid values are <code>ROLLBACK</code>.</p>" |
| 12463 | + } |
| 12464 | + } |
| 12465 | + }, |
| 12466 | + "traits": { |
| 12467 | + "smithy.api#input": {} |
| 12468 | + } |
| 12469 | + }, |
| 12470 | + "com.amazonaws.ecs#StopServiceDeploymentResponse": { |
| 12471 | + "type": "structure", |
| 12472 | + "members": { |
| 12473 | + "serviceDeploymentArn": { |
| 12474 | + "target": "com.amazonaws.ecs#String", |
| 12475 | + "traits": { |
| 12476 | + "smithy.api#documentation": "<p>The ARN of the stopped service deployment.</p>" |
| 12477 | + } |
| 12478 | + } |
| 12479 | + }, |
| 12480 | + "traits": { |
| 12481 | + "smithy.api#output": {} |
| 12482 | + } |
| 12483 | + }, |
| 12484 | + "com.amazonaws.ecs#StopServiceDeploymentStopType": { |
| 12485 | + "type": "enum", |
| 12486 | + "members": { |
| 12487 | + "ABORT": { |
| 12488 | + "target": "smithy.api#Unit", |
| 12489 | + "traits": { |
| 12490 | + "smithy.api#enumValue": "ABORT" |
| 12491 | + } |
| 12492 | + }, |
| 12493 | + "ROLLBACK": { |
| 12494 | + "target": "smithy.api#Unit", |
| 12495 | + "traits": { |
| 12496 | + "smithy.api#enumValue": "ROLLBACK" |
| 12497 | + } |
| 12498 | + } |
| 12499 | + } |
| 12500 | + }, |
12377 | 12501 | "com.amazonaws.ecs#StopTask": {
|
12378 | 12502 | "type": "operation",
|
12379 | 12503 | "input": {
|
|
0 commit comments