Skip to content

Commit

Permalink
feat(client-mwaa): This release adds MAINTENANCE environment status f…
Browse files Browse the repository at this point in the history
…or Amazon MWAA environments.
  • Loading branch information
awstools committed Jan 29, 2024
1 parent 84d9ad5 commit 0fae62e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
15 changes: 11 additions & 4 deletions clients/client-mwaa/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ export const EnvironmentStatus = {
CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
DELETED: "DELETED",
DELETING: "DELETING",
MAINTENANCE: "MAINTENANCE",
PENDING: "PENDING",
ROLLING_BACK: "ROLLING_BACK",
UNAVAILABLE: "UNAVAILABLE",
Expand Down Expand Up @@ -685,11 +686,17 @@ export interface Environment {
* </li>
* <li>
* <p>
* <code>UNAVAILABLE</code> - Indicates the request failed, but the environment was unable to rollback and is not in a stable state.</p>
* <code>UNAVAILABLE</code> - Indicates the request failed, but the environment did not return to its previous state and is not stable.</p>
* </li>
* <li>
* <p>
* <code>UPDATE_FAILED</code> - Indicates the request to update the environment failed, and the environment has rolled back successfully and is ready to use.</p>
* <code>UPDATE_FAILED</code> - Indicates the request to update the environment failed, and the environment was restored to its previous state successfully and is ready to use.</p>
* </li>
* <li>
* <p>
* <code>MAINTENANCE</code> - Indicates that the environment is undergoing maintenance. Depending on the type of work Amazon MWAA is performing,
* your environment might become unavailable during this process. After all operations are done, your environment will return to its status prior to mainteneace operations.
* </p>
* </li>
* </ul>
* <p>We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html">Amazon MWAA troubleshooting</a>.</p>
Expand All @@ -710,7 +717,7 @@ export interface Environment {

/**
* @public
* <p>The Apache Airflow <i>Web server</i> host name for the Amazon MWAA environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html">Accessing the Apache Airflow UI</a>.</p>
* <p>The Apache Airflow <i>web server</i> host name for the Amazon MWAA environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html">Accessing the Apache Airflow UI</a>.</p>
*/
WebserverUrl?: string;

Expand All @@ -728,7 +735,7 @@ export interface Environment {

/**
* @public
* <p>The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>
* <p>The KMS encryption key used to encrypt the data in your environment.</p>
*/
KmsKey?: string;

Expand Down
10 changes: 7 additions & 3 deletions codegen/sdk-codegen/aws-models/mwaa.json
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@
"Status": {
"target": "com.amazonaws.mwaa#EnvironmentStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the Amazon MWAA environment.</p>\n <p>Valid values:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - Indicates the request to create the environment is in progress.</p>\n </li>\n <li>\n <p>\n <code>CREATING_SNAPSHOT</code> - Indicates the request to update environment details, or upgrade the environment version, is in progress and Amazon MWAA is creating a storage volume snapshot of the Amazon RDS\n database cluster associated with the environment. A database snapshot is a backup created at a specific point in time. Amazon MWAA uses snapshots to recover environment metadata if the process to update or upgrade\n an environment fails.</p>\n </li>\n <li>\n <p>\n <code>CREATE_FAILED</code> - Indicates the request to create the environment failed, and the environment could not be created.</p>\n </li>\n <li>\n <p>\n <code>AVAILABLE</code> - Indicates the request was successful and the environment is ready to use.</p>\n </li>\n <li>\n <p>\n <code>PENDING</code> - Indicates the request was successful, but the process to create the environment is paused until you create the required\n VPC endpoints in your VPC. After you create the VPC endpoints, the process resumes.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - Indicates the request to update the environment is in progress.</p>\n </li>\n <li>\n <p>\n <code>ROLLING_BACK</code> - Indicates the request to update environment details, or upgrade the environment version, failed and Amazon MWAA is restoring the environment using the latest storage volume snapshot.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - Indicates the request to delete the environment is in progress.</p>\n </li>\n <li>\n <p>\n <code>DELETED</code> - Indicates the request to delete the environment is complete, and the environment has been deleted.</p>\n </li>\n <li>\n <p>\n <code>UNAVAILABLE</code> - Indicates the request failed, but the environment was unable to rollback and is not in a stable state.</p>\n </li>\n <li>\n <p>\n <code>UPDATE_FAILED</code> - Indicates the request to update the environment failed, and the environment has rolled back successfully and is ready to use.</p>\n </li>\n </ul>\n <p>We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html\">Amazon MWAA troubleshooting</a>.</p>"
"smithy.api#documentation": "<p>The status of the Amazon MWAA environment.</p>\n <p>Valid values:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - Indicates the request to create the environment is in progress.</p>\n </li>\n <li>\n <p>\n <code>CREATING_SNAPSHOT</code> - Indicates the request to update environment details, or upgrade the environment version, is in progress and Amazon MWAA is creating a storage volume snapshot of the Amazon RDS\n database cluster associated with the environment. A database snapshot is a backup created at a specific point in time. Amazon MWAA uses snapshots to recover environment metadata if the process to update or upgrade\n an environment fails.</p>\n </li>\n <li>\n <p>\n <code>CREATE_FAILED</code> - Indicates the request to create the environment failed, and the environment could not be created.</p>\n </li>\n <li>\n <p>\n <code>AVAILABLE</code> - Indicates the request was successful and the environment is ready to use.</p>\n </li>\n <li>\n <p>\n <code>PENDING</code> - Indicates the request was successful, but the process to create the environment is paused until you create the required\n VPC endpoints in your VPC. After you create the VPC endpoints, the process resumes.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - Indicates the request to update the environment is in progress.</p>\n </li>\n <li>\n <p>\n <code>ROLLING_BACK</code> - Indicates the request to update environment details, or upgrade the environment version, failed and Amazon MWAA is restoring the environment using the latest storage volume snapshot.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - Indicates the request to delete the environment is in progress.</p>\n </li>\n <li>\n <p>\n <code>DELETED</code> - Indicates the request to delete the environment is complete, and the environment has been deleted.</p>\n </li>\n <li>\n <p>\n <code>UNAVAILABLE</code> - Indicates the request failed, but the environment did not return to its previous state and is not stable.</p>\n </li>\n <li>\n <p>\n <code>UPDATE_FAILED</code> - Indicates the request to update the environment failed, and the environment was restored to its previous state successfully and is ready to use.</p>\n </li>\n <li>\n <p>\n <code>MAINTENANCE</code> - Indicates that the environment is undergoing maintenance. Depending on the type of work Amazon MWAA is performing,\n your environment might become unavailable during this process. After all operations are done, your environment will return to its status prior to mainteneace operations.\n </p>\n </li>\n </ul>\n <p>We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html\">Amazon MWAA troubleshooting</a>.</p>"
}
},
"Arn": {
Expand All @@ -1404,7 +1404,7 @@
"WebserverUrl": {
"target": "com.amazonaws.mwaa#WebserverUrl",
"traits": {
"smithy.api#documentation": "<p>The Apache Airflow <i>Web server</i> host name for the Amazon MWAA environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html\">Accessing the Apache Airflow UI</a>.</p>"
"smithy.api#documentation": "<p>The Apache Airflow <i>web server</i> host name for the Amazon MWAA environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html\">Accessing the Apache Airflow UI</a>.</p>"
}
},
"ExecutionRoleArn": {
Expand All @@ -1422,7 +1422,7 @@
"KmsKey": {
"target": "com.amazonaws.mwaa#KmsKey",
"traits": {
"smithy.api#documentation": "<p>The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>"
"smithy.api#documentation": "<p>The KMS encryption key used to encrypt the data in your environment.</p>"
}
},
"AirflowVersion": {
Expand Down Expand Up @@ -1656,6 +1656,10 @@
{
"value": "PENDING",
"name": "PENDING"
},
{
"value": "MAINTENANCE",
"name": "MAINTENANCE"
}
]
}
Expand Down

0 comments on commit 0fae62e

Please sign in to comment.