Skip to content

Commit debff58

Browse files
author
awstools
committed
feat(client-mwaa): Documentation updates for Amazon Managed Workflows for Apache Airflow.
1 parent a5865d3 commit debff58

File tree

5 files changed

+51
-52
lines changed

5 files changed

+51
-52
lines changed

clients/client-mwaa/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.
1212
<fullname>Amazon Managed Workflows for Apache Airflow</fullname>
1313

1414
<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>
15-
1615
<p>
1716
<b>Endpoints</b>
1817
</p>
@@ -91,7 +90,6 @@ AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.
9190
</ul>
9291
</li>
9392
</ul>
94-
9593
<p>
9694
<b>Regions</b>
9795
</p>

clients/client-mwaa/src/MWAA.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ import { MWAAClient } from "./MWAAClient";
5757
/**
5858
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
5959
* <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>
60-
*
6160
* <p>
6261
* <b>Endpoints</b>
6362
* </p>
@@ -136,7 +135,6 @@ import { MWAAClient } from "./MWAAClient";
136135
* </ul>
137136
* </li>
138137
* </ul>
139-
*
140138
* <p>
141139
* <b>Regions</b>
142140
* </p>

clients/client-mwaa/src/MWAAClient.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
254254
/**
255255
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
256256
* <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>
257-
*
258257
* <p>
259258
* <b>Endpoints</b>
260259
* </p>
@@ -333,7 +332,6 @@ export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
333332
* </ul>
334333
* </li>
335334
* </ul>
336-
*
337335
* <p>
338336
* <b>Regions</b>
339337
* </p>

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ export interface CreateEnvironmentInput {
251251
KmsKey?: string;
252252

253253
/**
254-
* <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>. To learn more, 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>
254+
* <p>The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. Valid values:
255+
* <code>1.10.12</code>, <code>2.0.2</code>, and <code>2.2.2</code>.
256+
* To learn more, 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>
255257
*/
256258
AirflowVersion?: string;
257259

@@ -284,10 +286,10 @@ export interface CreateEnvironmentInput {
284286
* <p>The number of Apache Airflow schedulers to run in your environment. Valid values:</p>
285287
* <ul>
286288
* <li>
287-
* <p>v2.0.2 - Accepts between 2 to 5. Defaults to 2.</p>
289+
* <p>v2 - Accepts between 2 to 5. Defaults to 2.</p>
288290
* </li>
289291
* <li>
290-
* <p>v1.10.12 - Accepts 1.</p>
292+
* <p>v1 - Accepts 1.</p>
291293
* </li>
292294
* </ul>
293295
*/
@@ -662,7 +664,7 @@ export interface Environment {
662664
KmsKey?: string;
663665

664666
/**
665-
* <p>The Apache Airflow version on your environment. Valid values: <code>1.10.12</code>, <code>2.0.2</code>.</p>
667+
* <p>The Apache Airflow version on your environment. Valid values: <code>1.10.12</code>, <code>2.0.2</code>, and <code>2.2.2</code>.</p>
666668
*/
667669
AirflowVersion?: string;
668670

@@ -758,6 +760,7 @@ export namespace Environment {
758760
*/
759761
export const filterSensitiveLog = (obj: Environment): any => ({
760762
...obj,
763+
...(obj.AirflowConfigurationOptions && { AirflowConfigurationOptions: SENSITIVE_STRING }),
761764
});
762765
}
763766

@@ -774,6 +777,7 @@ export namespace GetEnvironmentOutput {
774777
*/
775778
export const filterSensitiveLog = (obj: GetEnvironmentOutput): any => ({
776779
...obj,
780+
...(obj.Environment && { Environment: Environment.filterSensitiveLog(obj.Environment) }),
777781
});
778782
}
779783

@@ -1127,7 +1131,8 @@ export interface UpdateEnvironmentInput {
11271131
ExecutionRoleArn?: string;
11281132

11291133
/**
1130-
* <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>.</p>
1134+
* <p>The Apache Airflow version for your environment. If no value is specified, defaults to the latest version.
1135+
* Valid values: <code>1.10.12</code>, <code>2.0.2</code>, and <code>2.2.2</code>.</p>
11311136
*/
11321137
AirflowVersion?: string;
11331138

0 commit comments

Comments
 (0)