Skip to content

Commit 5316f31

Browse files
author
awstools
committed
docs(client-mwaa): MWAA supports Apache Airflow version 2.4.3.
1 parent c090672 commit 5316f31

File tree

5 files changed

+102
-102
lines changed

5 files changed

+102
-102
lines changed

clients/client-mwaa/src/MWAA.ts

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -56,89 +56,89 @@ import { MWAAClient } from "./MWAAClient";
5656

5757
/**
5858
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
59-
* <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-
* <p>
59+
* <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+
* <p>
6161
* <b>Endpoints</b>
6262
* </p>
63-
* <ul>
63+
* <ul>
6464
* <li>
65-
* <p>
65+
* <p>
6666
* <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
67-
* <ul>
67+
* <ul>
6868
* <li>
69-
* <p>
69+
* <p>
7070
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
7171
* </p>
72-
* </li>
72+
* </li>
7373
* <li>
74-
* <p>
74+
* <p>
7575
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
7676
* </p>
77-
* </li>
77+
* </li>
7878
* <li>
79-
* <p>
79+
* <p>
8080
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
8181
* </p>
82-
* </li>
82+
* </li>
8383
* <li>
84-
* <p>
84+
* <p>
8585
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
8686
* </p>
87-
* </li>
87+
* </li>
8888
* <li>
89-
* <p>
89+
* <p>
9090
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
9191
* </p>
92-
* </li>
92+
* </li>
9393
* <li>
94-
* <p>
94+
* <p>
9595
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
9696
* </p>
97-
* </li>
97+
* </li>
9898
* <li>
99-
* <p>
99+
* <p>
100100
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
101101
* </p>
102-
* </li>
102+
* </li>
103103
* <li>
104-
* <p>
104+
* <p>
105105
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
106106
* </p>
107-
* </li>
107+
* </li>
108108
* </ul>
109109
* </li>
110110
* <li>
111-
* <p>
111+
* <p>
112112
* <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
113-
* <ul>
113+
* <ul>
114114
* <li>
115-
* <p>
115+
* <p>
116116
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
117117
* </p>
118-
* </li>
118+
* </li>
119119
* <li>
120-
* <p>
120+
* <p>
121121
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
122122
* </p>
123-
* </li>
123+
* </li>
124124
* </ul>
125125
* </li>
126126
* <li>
127-
* <p>
127+
* <p>
128128
* <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
129-
* <ul>
129+
* <ul>
130130
* <li>
131-
* <p>
131+
* <p>
132132
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
133133
* </p>
134-
* </li>
134+
* </li>
135135
* </ul>
136136
* </li>
137137
* </ul>
138-
* <p>
138+
* <p>
139139
* <b>Regions</b>
140140
* </p>
141-
* <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>
141+
* <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>
142142
*/
143143
export class MWAA extends MWAAClient {
144144
/**

clients/client-mwaa/src/MWAAClient.ts

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -249,89 +249,89 @@ export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
249249

250250
/**
251251
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
252-
* <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>
253-
* <p>
252+
* <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>
253+
* <p>
254254
* <b>Endpoints</b>
255255
* </p>
256-
* <ul>
256+
* <ul>
257257
* <li>
258-
* <p>
258+
* <p>
259259
* <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
260-
* <ul>
260+
* <ul>
261261
* <li>
262-
* <p>
262+
* <p>
263263
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
264264
* </p>
265-
* </li>
265+
* </li>
266266
* <li>
267-
* <p>
267+
* <p>
268268
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
269269
* </p>
270-
* </li>
270+
* </li>
271271
* <li>
272-
* <p>
272+
* <p>
273273
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
274274
* </p>
275-
* </li>
275+
* </li>
276276
* <li>
277-
* <p>
277+
* <p>
278278
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
279279
* </p>
280-
* </li>
280+
* </li>
281281
* <li>
282-
* <p>
282+
* <p>
283283
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
284284
* </p>
285-
* </li>
285+
* </li>
286286
* <li>
287-
* <p>
287+
* <p>
288288
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
289289
* </p>
290-
* </li>
290+
* </li>
291291
* <li>
292-
* <p>
292+
* <p>
293293
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
294294
* </p>
295-
* </li>
295+
* </li>
296296
* <li>
297-
* <p>
297+
* <p>
298298
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
299299
* </p>
300-
* </li>
300+
* </li>
301301
* </ul>
302302
* </li>
303303
* <li>
304-
* <p>
304+
* <p>
305305
* <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
306-
* <ul>
306+
* <ul>
307307
* <li>
308-
* <p>
308+
* <p>
309309
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
310310
* </p>
311-
* </li>
311+
* </li>
312312
* <li>
313-
* <p>
313+
* <p>
314314
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
315315
* </p>
316-
* </li>
316+
* </li>
317317
* </ul>
318318
* </li>
319319
* <li>
320-
* <p>
320+
* <p>
321321
* <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
322-
* <ul>
322+
* <ul>
323323
* <li>
324-
* <p>
324+
* <p>
325325
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
326326
* </p>
327-
* </li>
327+
* </li>
328328
* </ul>
329329
* </li>
330330
* </ul>
331-
* <p>
331+
* <p>
332332
* <b>Regions</b>
333333
* </p>
334-
* <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>
334+
* <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>
335335
*/
336336
export class MWAAClient extends __Client<
337337
__HttpHandlerOptions,

clients/client-mwaa/src/endpoint/EndpointParameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = <T>(
2424
};
2525

2626
export interface EndpointParameters extends __EndpointParameters {
27-
Region?: string;
27+
Region: string;
2828
UseDualStack?: boolean;
2929
UseFIPS?: boolean;
3030
Endpoint?: string;

clients/client-mwaa/src/endpoint/ruleset.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints";
66
or see "smithy.rules#endpointRuleSet"
77
in codegen/sdk-codegen/aws-models/mwaa.json */
88

9-
const p="required",
10-
q="fn",
9+
const q="fn",
1110
r="argv",
1211
s="ref";
13-
const a="PartitionResult",
14-
b="tree",
15-
c="error",
16-
d="endpoint",
17-
e={[p]:false,"type":"String"},
18-
f={[p]:true,"default":false,"type":"Boolean"},
19-
g={[s]:"Endpoint"},
20-
h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]},
21-
i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]},
22-
j={},
23-
k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]},
24-
l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]},
25-
m=[g],
26-
n=[h],
27-
o=[i];
28-
const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]};
12+
const a=true,
13+
b=false,
14+
c="String",
15+
d="PartitionResult",
16+
e="tree",
17+
f="error",
18+
g="endpoint",
19+
h={"required":true,"default":false,"type":"Boolean"},
20+
i={[s]:"Endpoint"},
21+
j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]},
22+
k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]},
23+
l={},
24+
m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]},
25+
n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]},
26+
o=[j],
27+
p=[k];
28+
const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]};
2929
export const ruleSet: RuleSetObject = _data;

0 commit comments

Comments
 (0)