Skip to content

Commit 0fae62e

Browse files
author
awstools
committedJan 29, 2024
feat(client-mwaa): This release adds MAINTENANCE environment status for Amazon MWAA environments.
1 parent 84d9ad5 commit 0fae62e

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed
 

‎clients/client-mwaa/src/models/models_0.ts

+11-4
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ export const EnvironmentStatus = {
616616
CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
617617
DELETED: "DELETED",
618618
DELETING: "DELETING",
619+
MAINTENANCE: "MAINTENANCE",
619620
PENDING: "PENDING",
620621
ROLLING_BACK: "ROLLING_BACK",
621622
UNAVAILABLE: "UNAVAILABLE",
@@ -685,11 +686,17 @@ export interface Environment {
685686
* </li>
686687
* <li>
687688
* <p>
688-
* <code>UNAVAILABLE</code> - Indicates the request failed, but the environment was unable to rollback and is not in a stable state.</p>
689+
* <code>UNAVAILABLE</code> - Indicates the request failed, but the environment did not return to its previous state and is not stable.</p>
689690
* </li>
690691
* <li>
691692
* <p>
692-
* <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>
693+
* <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>
694+
* </li>
695+
* <li>
696+
* <p>
697+
* <code>MAINTENANCE</code> - Indicates that the environment is undergoing maintenance. Depending on the type of work Amazon MWAA is performing,
698+
* your environment might become unavailable during this process. After all operations are done, your environment will return to its status prior to mainteneace operations.
699+
* </p>
693700
* </li>
694701
* </ul>
695702
* <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>
@@ -710,7 +717,7 @@ export interface Environment {
710717

711718
/**
712719
* @public
713-
* <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>
720+
* <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>
714721
*/
715722
WebserverUrl?: string;
716723

@@ -728,7 +735,7 @@ export interface Environment {
728735

729736
/**
730737
* @public
731-
* <p>The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>
738+
* <p>The KMS encryption key used to encrypt the data in your environment.</p>
732739
*/
733740
KmsKey?: string;
734741

‎codegen/sdk-codegen/aws-models/mwaa.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@
13861386
"Status": {
13871387
"target": "com.amazonaws.mwaa#EnvironmentStatus",
13881388
"traits": {
1389-
"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>"
1389+
"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>"
13901390
}
13911391
},
13921392
"Arn": {
@@ -1404,7 +1404,7 @@
14041404
"WebserverUrl": {
14051405
"target": "com.amazonaws.mwaa#WebserverUrl",
14061406
"traits": {
1407-
"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>"
1407+
"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>"
14081408
}
14091409
},
14101410
"ExecutionRoleArn": {
@@ -1422,7 +1422,7 @@
14221422
"KmsKey": {
14231423
"target": "com.amazonaws.mwaa#KmsKey",
14241424
"traits": {
1425-
"smithy.api#documentation": "<p>The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>"
1425+
"smithy.api#documentation": "<p>The KMS encryption key used to encrypt the data in your environment.</p>"
14261426
}
14271427
},
14281428
"AirflowVersion": {
@@ -1656,6 +1656,10 @@
16561656
{
16571657
"value": "PENDING",
16581658
"name": "PENDING"
1659+
},
1660+
{
1661+
"value": "MAINTENANCE",
1662+
"name": "MAINTENANCE"
16591663
}
16601664
]
16611665
}

0 commit comments

Comments
 (0)
Please sign in to comment.