Skip to content

Commit c53d842

Browse files
author
AWS
committed
Amazon Lightsail Update: - This release adds support for state detail for Amazon Lightsail container services.
1 parent e256641 commit c53d842

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Lightsail",
4+
"contributor": "",
5+
"description": "- This release adds support for state detail for Amazon Lightsail container services."
6+
}

services/lightsail/src/main/resources/codegen-resources/service-2.json

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3670,7 +3670,11 @@
36703670
},
36713671
"state":{
36723672
"shape":"ContainerServiceState",
3673-
"documentation":"<p>The current state of the container service.</p> <p>The state can be:</p> <ul> <li> <p> <code>Pending</code> - The container service is being created.</p> </li> <li> <p> <code>Ready</code> - The container service is created but does not have a container deployment.</p> </li> <li> <p> <code>Disabled</code> - The container service is disabled.</p> </li> <li> <p> <code>Updating</code> - The container service capacity or other setting is being updated.</p> </li> <li> <p> <code>Deploying</code> - The container service is launching a container deployment.</p> </li> <li> <p> <code>Running</code> - The container service is created and it has a container deployment.</p> </li> </ul>"
3673+
"documentation":"<p>The current state of the container service.</p> <p>The following container service states are possible:</p> <ul> <li> <p> <code>PENDING</code> - The container service is being created.</p> </li> <li> <p> <code>READY</code> - The container service is running but it does not have an active container deployment.</p> </li> <li> <p> <code>DEPLOYING</code> - The container service is launching a container deployment.</p> </li> <li> <p> <code>RUNNING</code> - The container service is running and it has an active container deployment.</p> </li> <li> <p> <code>UPDATING</code> - The container service capacity or its custom domains are being updated.</p> </li> <li> <p> <code>DELETING</code> - The container service is being deleted.</p> </li> <li> <p> <code>DISABLED</code> - The container service is disabled, and its active deployment and containers, if any, are shut down.</p> </li> </ul>"
3674+
},
3675+
"stateDetail":{
3676+
"shape":"ContainerServiceStateDetail",
3677+
"documentation":"<p>An object that describes the current state of the container service.</p> <note> <p>The state detail is populated only when a container service is in a <code>PENDING</code>, <code>DEPLOYING</code>, or <code>UPDATING</code> state.</p> </note>"
36743678
},
36753679
"scale":{
36763680
"shape":"ContainerServiceScale",
@@ -3950,7 +3954,36 @@
39503954
"RUNNING",
39513955
"UPDATING",
39523956
"DELETING",
3953-
"DISABLED"
3957+
"DISABLED",
3958+
"DEPLOYING"
3959+
]
3960+
},
3961+
"ContainerServiceStateDetail":{
3962+
"type":"structure",
3963+
"members":{
3964+
"code":{
3965+
"shape":"ContainerServiceStateDetailCode",
3966+
"documentation":"<p>The state code of the container service.</p> <p>The following state codes are possible:</p> <ul> <li> <p>The following state codes are possible if your container service is in a <code>DEPLOYING</code> or <code>UPDATING</code> state:</p> <ul> <li> <p> <code>CREATING_SYSTEM_RESOURCES</code> - The system resources for your container service are being created.</p> </li> <li> <p> <code>CREATING_NETWORK_INFRASTRUCTURE</code> - The network infrastructure for your container service are being created.</p> </li> <li> <p> <code>PROVISIONING_CERTIFICATE</code> - The SSL/TLS certificate for your container service is being created.</p> </li> <li> <p> <code>PROVISIONING_SERVICE</code> - Your container service is being provisioned.</p> </li> <li> <p> <code>CREATING_DEPLOYMENT</code> - Your deployment is being created on your container service.</p> </li> <li> <p> <code>EVALUATING_HEALTH_CHECK</code> - The health of your deployment is being evaluated.</p> </li> <li> <p> <code>ACTIVATING_DEPLOYMENT</code> - Your deployment is being activated.</p> </li> </ul> </li> <li> <p>The following state codes are possible if your container service is in a <code>PENDING</code> state:</p> <ul> <li> <p> <code>CERTIFICATE_LIMIT_EXCEEDED</code> - The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account.</p> </li> <li> <p> <code>UNKNOWN_ERROR</code> - An error was experienced when your container service was being created.</p> </li> </ul> </li> </ul>"
3967+
},
3968+
"message":{
3969+
"shape":"string",
3970+
"documentation":"<p>A message that provides more information for the state code.</p> <note> <p>The state detail is populated only when a container service is in a <code>PENDING</code>, <code>DEPLOYING</code>, or <code>UPDATING</code> state.</p> </note>"
3971+
}
3972+
},
3973+
"documentation":"<p>Describes the current state of a container service.</p>"
3974+
},
3975+
"ContainerServiceStateDetailCode":{
3976+
"type":"string",
3977+
"enum":[
3978+
"CREATING_SYSTEM_RESOURCES",
3979+
"CREATING_NETWORK_INFRASTRUCTURE",
3980+
"PROVISIONING_CERTIFICATE",
3981+
"PROVISIONING_SERVICE",
3982+
"CREATING_DEPLOYMENT",
3983+
"EVALUATING_HEALTH_CHECK",
3984+
"ACTIVATING_DEPLOYMENT",
3985+
"CERTIFICATE_LIMIT_EXCEEDED",
3986+
"UNKNOWN_ERROR"
39543987
]
39553988
},
39563989
"ContainerServicesListResult":{

0 commit comments

Comments
 (0)