Skip to content

Commit

Permalink
feat(client-mwaa): This release adds ROLLING_BACK and CREATING_SNAPSH…
Browse files Browse the repository at this point in the history
…OT environment statuses for Amazon MWAA environments.
  • Loading branch information
awstools committed Jun 5, 2023
1 parent 5d65529 commit bd0b3a9
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 84 deletions.
2 changes: 1 addition & 1 deletion clients/client-mwaa/README.md
Expand Up @@ -8,7 +8,7 @@ AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.

<fullname>Amazon Managed Workflows for Apache Airflow</fullname>

<p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon MWAA?</a>.</p>
<p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What is Amazon MWAA?</a>.</p>
<p>
<b>Endpoints</b>
</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-mwaa/src/MWAA.ts
Expand Up @@ -240,7 +240,7 @@ export interface MWAA {
/**
* @public
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
* <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon MWAA?</a>.</p>
* <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What is Amazon MWAA?</a>.</p>
* <p>
* <b>Endpoints</b>
* </p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-mwaa/src/MWAAClient.ts
Expand Up @@ -275,7 +275,7 @@ export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
/**
* @public
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
* <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon MWAA?</a>.</p>
* <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What is Amazon MWAA?</a>.</p>
* <p>
* <b>Endpoints</b>
* </p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-mwaa/src/index.ts
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
/**
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
* <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon MWAA?</a>.</p>
* <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What is Amazon MWAA?</a>.</p>
* <p>
* <b>Endpoints</b>
* </p>
Expand Down
22 changes: 18 additions & 4 deletions clients/client-mwaa/src/models/models_0.ts
Expand Up @@ -262,7 +262,7 @@ export interface CreateEnvironmentInput {

/**
* <p>The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. Valid values:
* <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, and <code>2.4.3</code>.
* <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, and <code>2.5.1</code>.
* For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html">Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA)</a>.</p>
*/
AirflowVersion?: string;
Expand Down Expand Up @@ -523,8 +523,10 @@ export const EnvironmentStatus = {
AVAILABLE: "AVAILABLE",
CREATE_FAILED: "CREATE_FAILED",
CREATING: "CREATING",
CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
DELETED: "DELETED",
DELETING: "DELETING",
ROLLING_BACK: "ROLLING_BACK",
UNAVAILABLE: "UNAVAILABLE",
UPDATE_FAILED: "UPDATE_FAILED",
UPDATING: "UPDATING",
Expand Down Expand Up @@ -554,6 +556,12 @@ export interface Environment {
* </li>
* <li>
* <p>
* <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
* 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
* an environment fails.</p>
* </li>
* <li>
* <p>
* <code>CREATE_FAILED</code> - Indicates the request to create the environment failed, and the environment could not be created.</p>
* </li>
* <li>
Expand All @@ -566,6 +574,10 @@ export interface Environment {
* </li>
* <li>
* <p>
* <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>
* </li>
* <li>
* <p>
* <code>DELETING</code> - Indicates the request to delete the environment is in progress.</p>
* </li>
* <li>
Expand Down Expand Up @@ -616,7 +628,7 @@ export interface Environment {
KmsKey?: string;

/**
* <p>The Apache Airflow version on your environment. Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, and <code>2.4.3</code>.</p>
* <p>The Apache Airflow version on your environment. Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, and <code>2.5.1</code>.</p>
*/
AirflowVersion?: string;

Expand Down Expand Up @@ -1027,8 +1039,10 @@ export interface UpdateEnvironmentInput {
ExecutionRoleArn?: string;

/**
* <p>The Apache Airflow version for your environment. If no value is specified, defaults to the latest version.
* Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, and <code>2.4.3</code>.</p>
* <p>The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA.</p>
* <p>Before you upgrade an environment, make sure your requirements, DAGs, plugins, and other resources used in your workflows are compatible with the new Apache Airflow version. For more information about updating
* your resources, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/upgrading-environment.html">Upgrading an Amazon MWAA environment</a>.</p>
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, and <code>2.5.1</code>.</p>
*/
AirflowVersion?: string;

Expand Down

0 comments on commit bd0b3a9

Please sign in to comment.