Skip to content

Commit

Permalink
feat(client-mwaa): This release adds support for Apache Airflow versi…
Browse files Browse the repository at this point in the history
…on 2.7.2. This version release includes support for deferrable operators and triggers.
  • Loading branch information
awstools committed Nov 6, 2023
1 parent 1a03884 commit e4e9fde
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 57 deletions.
13 changes: 1 addition & 12 deletions clients/client-mwaa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,11 @@ AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.
</li>
</ul>
</li>
<li>
<p>
<code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
<ul>
<li>
<p>
<a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
</p>
</li>
</ul>
</li>
</ul>
<p>
<b>Regions</b>
</p>
<p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
<p>For a list of supported regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/mwaa.html">Amazon MWAA endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>

## Installing

Expand Down
13 changes: 1 addition & 12 deletions clients/client-mwaa/src/MWAA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,22 +307,11 @@ export interface MWAA {
* </li>
* </ul>
* </li>
* <li>
* <p>
* <code>ops.airflow.\{region\}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
* </p>
* </li>
* </ul>
* </li>
* </ul>
* <p>
* <b>Regions</b>
* </p>
* <p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
* <p>For a list of supported regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/mwaa.html">Amazon MWAA endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
*/
export class MWAA extends MWAAClient implements MWAA {}
createAggregatedClient(commands, MWAA);
13 changes: 1 addition & 12 deletions clients/client-mwaa/src/MWAAClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,22 +350,11 @@ export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
* </li>
* </ul>
* </li>
* <li>
* <p>
* <code>ops.airflow.\{region\}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
* </p>
* </li>
* </ul>
* </li>
* </ul>
* <p>
* <b>Regions</b>
* </p>
* <p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
* <p>For a list of supported regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/mwaa.html">Amazon MWAA endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
*/
export class MWAAClient extends __Client<
__HttpHandlerOptions,
Expand Down
2 changes: 2 additions & 0 deletions clients/client-mwaa/src/commands/PublishMetricsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export interface PublishMetricsCommandOutput extends PublishMetricsOutput, __Met

/**
* @public
* @deprecated
*
* <p>
* <b>Internal only</b>. Publishes environment health metrics to Amazon CloudWatch.</p>
* @example
Expand Down
13 changes: 1 addition & 12 deletions clients/client-mwaa/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,11 @@
* </li>
* </ul>
* </li>
* <li>
* <p>
* <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
* </p>
* </li>
* </ul>
* </li>
* </ul>
* <p>
* <b>Regions</b>
* </p>
* <p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
* <p>For a list of supported regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/mwaa.html">Amazon MWAA endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
*
* @packageDocumentation
*/
Expand Down
21 changes: 17 additions & 4 deletions clients/client-mwaa/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ export interface CreateEnvironmentInput {

/**
* @public
* <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>, <code>2.4.3</code>, and <code>2.5.1</code>.
* <p>The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version.
* 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>
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>.</p>
*/
AirflowVersion?: string;

Expand Down Expand Up @@ -691,7 +691,8 @@ export interface Environment {

/**
* @public
* <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>
* <p>The Apache Airflow version on your environment.</p>
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>.</p>
*/
AirflowVersion?: string;

Expand Down Expand Up @@ -910,6 +911,8 @@ export interface ListTagsForResourceOutput {

/**
* @public
* @deprecated
*
* <p>
* <b>Internal only</b>. Represents the dimensions of a metric. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
*/
Expand All @@ -931,6 +934,8 @@ export interface Dimension {

/**
* @public
* @deprecated
*
* <p>
* <b>Internal only</b>. Represents a set of statistics that describe a specific metric. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
*/
Expand Down Expand Up @@ -1005,6 +1010,8 @@ export type Unit = (typeof Unit)[keyof typeof Unit];

/**
* @public
* @deprecated
*
* <p>
* <b>Internal only</b>. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
*/
Expand All @@ -1025,6 +1032,8 @@ export interface MetricDatum {

/**
* @public
* @deprecated
*
* <p>
* <b>Internal only</b>. The dimensions associated with the metric.</p>
*/
Expand All @@ -1046,6 +1055,8 @@ export interface MetricDatum {

/**
* @public
* @deprecated
*
* <p>
* <b>Internal only</b>. The statistical values for the metric.</p>
*/
Expand All @@ -1065,6 +1076,8 @@ export interface PublishMetricsInput {

/**
* @public
* @deprecated
*
* <p>
* <b>Internal only</b>. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
*/
Expand Down Expand Up @@ -1153,7 +1166,7 @@ export interface UpdateEnvironmentInput {
* <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>
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>.</p>
*/
AirflowVersion?: string;

Expand Down
Loading

0 comments on commit e4e9fde

Please sign in to comment.