From 0fae62e4e47657b217295b38e500a106f9de0f11 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 29 Jan 2024 22:15:53 +0000 Subject: [PATCH] feat(client-mwaa): This release adds MAINTENANCE environment status for Amazon MWAA environments. --- clients/client-mwaa/src/models/models_0.ts | 15 +++++++++++---- codegen/sdk-codegen/aws-models/mwaa.json | 10 +++++++--- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/clients/client-mwaa/src/models/models_0.ts b/clients/client-mwaa/src/models/models_0.ts index 3f82dd9492eb3..678157f26ebfd 100644 --- a/clients/client-mwaa/src/models/models_0.ts +++ b/clients/client-mwaa/src/models/models_0.ts @@ -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", @@ -685,11 +686,17 @@ export interface Environment { * *
  • *

    - * UNAVAILABLE - Indicates the request failed, but the environment was unable to rollback and is not in a stable state.

    + * UNAVAILABLE - Indicates the request failed, but the environment did not return to its previous state and is not stable.

    *
  • *
  • *

    - * UPDATE_FAILED - Indicates the request to update the environment failed, and the environment has rolled back successfully and is ready to use.

    + * UPDATE_FAILED - Indicates the request to update the environment failed, and the environment was restored to its previous state successfully and is ready to use.

    + *
  • + *
  • + *

    + * MAINTENANCE - 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. + *

    *
  • * *

    We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.

    @@ -710,7 +717,7 @@ export interface Environment { /** * @public - *

    The Apache Airflow Web server host name for the Amazon MWAA environment. For more information, see Accessing the Apache Airflow UI.

    + *

    The Apache Airflow web server host name for the Amazon MWAA environment. For more information, see Accessing the Apache Airflow UI.

    */ WebserverUrl?: string; @@ -728,7 +735,7 @@ export interface Environment { /** * @public - *

    The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.

    + *

    The KMS encryption key used to encrypt the data in your environment.

    */ KmsKey?: string; diff --git a/codegen/sdk-codegen/aws-models/mwaa.json b/codegen/sdk-codegen/aws-models/mwaa.json index 69a214872586e..0510fba9288c5 100644 --- a/codegen/sdk-codegen/aws-models/mwaa.json +++ b/codegen/sdk-codegen/aws-models/mwaa.json @@ -1386,7 +1386,7 @@ "Status": { "target": "com.amazonaws.mwaa#EnvironmentStatus", "traits": { - "smithy.api#documentation": "

    The status of the Amazon MWAA environment.

    \n

    Valid values:

    \n \n

    We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.

    " + "smithy.api#documentation": "

    The status of the Amazon MWAA environment.

    \n

    Valid values:

    \n \n

    We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.

    " } }, "Arn": { @@ -1404,7 +1404,7 @@ "WebserverUrl": { "target": "com.amazonaws.mwaa#WebserverUrl", "traits": { - "smithy.api#documentation": "

    The Apache Airflow Web server host name for the Amazon MWAA environment. For more information, see Accessing the Apache Airflow UI.

    " + "smithy.api#documentation": "

    The Apache Airflow web server host name for the Amazon MWAA environment. For more information, see Accessing the Apache Airflow UI.

    " } }, "ExecutionRoleArn": { @@ -1422,7 +1422,7 @@ "KmsKey": { "target": "com.amazonaws.mwaa#KmsKey", "traits": { - "smithy.api#documentation": "

    The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.

    " + "smithy.api#documentation": "

    The KMS encryption key used to encrypt the data in your environment.

    " } }, "AirflowVersion": { @@ -1656,6 +1656,10 @@ { "value": "PENDING", "name": "PENDING" + }, + { + "value": "MAINTENANCE", + "name": "MAINTENANCE" } ] }