@aws-sdk/client-mwaa 3.1043.0 → 3.1044.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,84 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.
8
8
 
9
- <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
10
- <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>
11
- <p>
12
- <b>Endpoints</b>
13
- </p>
14
- <ul>
15
- <li>
16
- <p>
17
- <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
18
- <ul>
19
- <li>
20
- <p>
21
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
22
- </p>
23
- </li>
24
- <li>
25
- <p>
26
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
27
- </p>
28
- </li>
29
- <li>
30
- <p>
31
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
32
- </p>
33
- </li>
34
- <li>
35
- <p>
36
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
37
- </p>
38
- </li>
39
- <li>
40
- <p>
41
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
42
- </p>
43
- </li>
44
- <li>
45
- <p>
46
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
47
- </p>
48
- </li>
49
- <li>
50
- <p>
51
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
52
- </p>
53
- </li>
54
- <li>
55
- <p>
56
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
57
- </p>
58
- </li>
59
- </ul>
60
- </li>
61
- <li>
62
- <p>
63
- <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
64
- <ul>
65
- <li>
66
- <p>
67
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
68
- </p>
69
- </li>
70
- <li>
71
- <p>
72
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
73
- </p>
74
- </li>
75
- <li>
76
- <p>
77
- <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a>
78
- </p>
79
- </li>
80
- </ul>
81
- </li>
82
- </ul>
83
- <p>
84
- <b>Regions</b>
85
- </p>
86
- <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>
9
+ <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> <b>Endpoints</b> </p> <ul> <li> <p> <code>api.airflow.{region}.amazonaws.com</code> (use <code>api.airflow.{region}.api.aws</code> for IPv6) - This endpoint is used for environment management.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a> </p> </li> </ul> </li> <li> <p> <code>env.airflow.{region}.amazonaws.com</code> (use <code>env.airflow.{region}.api.aws</code> for IPv6) - This endpoint is used to operate the Airflow environment.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a> </p> </li> </ul> </li> </ul> <p> <b>Regions</b> </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>
87
10
 
88
11
  ## Installing
89
12
 
package/dist-cjs/index.js CHANGED
@@ -293,6 +293,7 @@ const LoggingLevel = {
293
293
  };
294
294
  const WebserverAccessMode = {
295
295
  PRIVATE_ONLY: "PRIVATE_ONLY",
296
+ PUBLIC_AND_PRIVATE: "PUBLIC_AND_PRIVATE",
296
297
  PUBLIC_ONLY: "PUBLIC_ONLY",
297
298
  };
298
299
  const UpdateStatus = {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RestApiServerException = exports.RestApiClientException = exports.ValidationException = exports.InternalServerException = exports.ResourceNotFoundException = exports.AccessDeniedException = void 0;
3
+ exports.RestApiServerException = exports.RestApiClientException = exports.ValidationException = exports.ServiceUnavailableException = exports.InternalServerException = exports.ResourceNotFoundException = exports.AccessDeniedException = void 0;
4
4
  const MWAAServiceException_1 = require("./MWAAServiceException");
5
5
  class AccessDeniedException extends MWAAServiceException_1.MWAAServiceException {
6
6
  name = "AccessDeniedException";
@@ -43,6 +43,19 @@ class InternalServerException extends MWAAServiceException_1.MWAAServiceExceptio
43
43
  }
44
44
  }
45
45
  exports.InternalServerException = InternalServerException;
46
+ class ServiceUnavailableException extends MWAAServiceException_1.MWAAServiceException {
47
+ name = "ServiceUnavailableException";
48
+ $fault = "server";
49
+ constructor(opts) {
50
+ super({
51
+ name: "ServiceUnavailableException",
52
+ $fault: "server",
53
+ ...opts,
54
+ });
55
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
56
+ }
57
+ }
58
+ exports.ServiceUnavailableException = ServiceUnavailableException;
46
59
  class ValidationException extends MWAAServiceException_1.MWAAServiceException {
47
60
  name = "ValidationException";
48
61
  $fault = "client";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvokeRestApi$ = exports.GetEnvironment$ = exports.DeleteEnvironment$ = exports.CreateWebLoginToken$ = exports.CreateEnvironment$ = exports.CreateCliToken$ = exports.UpdateNetworkConfigurationInput$ = exports.UpdateError$ = exports.UpdateEnvironmentOutput$ = exports.UpdateEnvironmentInput$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.StatisticSet$ = exports.PublishMetricsOutput$ = exports.PublishMetricsInput$ = exports.NetworkConfiguration$ = exports.ModuleLoggingConfigurationInput$ = exports.ModuleLoggingConfiguration$ = exports.MetricDatum$ = exports.LoggingConfigurationInput$ = exports.LoggingConfiguration$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListEnvironmentsOutput$ = exports.ListEnvironmentsInput$ = exports.LastUpdate$ = exports.InvokeRestApiResponse$ = exports.InvokeRestApiRequest$ = exports.GetEnvironmentOutput$ = exports.GetEnvironmentInput$ = exports.Environment$ = exports.Dimension$ = exports.DeleteEnvironmentOutput$ = exports.DeleteEnvironmentInput$ = exports.CreateWebLoginTokenResponse$ = exports.CreateWebLoginTokenRequest$ = exports.CreateEnvironmentOutput$ = exports.CreateEnvironmentInput$ = exports.CreateCliTokenResponse$ = exports.CreateCliTokenRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.RestApiServerException$ = exports.RestApiClientException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.MWAAServiceException$ = void 0;
4
- exports.UpdateEnvironment$ = exports.UntagResource$ = exports.TagResource$ = exports.PublishMetrics$ = exports.ListTagsForResource$ = exports.ListEnvironments$ = void 0;
3
+ exports.GetEnvironment$ = exports.DeleteEnvironment$ = exports.CreateWebLoginToken$ = exports.CreateEnvironment$ = exports.CreateCliToken$ = exports.UpdateNetworkConfigurationInput$ = exports.UpdateError$ = exports.UpdateEnvironmentOutput$ = exports.UpdateEnvironmentInput$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.StatisticSet$ = exports.PublishMetricsOutput$ = exports.PublishMetricsInput$ = exports.NetworkConfiguration$ = exports.ModuleLoggingConfigurationInput$ = exports.ModuleLoggingConfiguration$ = exports.MetricDatum$ = exports.LoggingConfigurationInput$ = exports.LoggingConfiguration$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListEnvironmentsOutput$ = exports.ListEnvironmentsInput$ = exports.LastUpdate$ = exports.InvokeRestApiResponse$ = exports.InvokeRestApiRequest$ = exports.GetEnvironmentOutput$ = exports.GetEnvironmentInput$ = exports.Environment$ = exports.Dimension$ = exports.DeleteEnvironmentOutput$ = exports.DeleteEnvironmentInput$ = exports.CreateWebLoginTokenResponse$ = exports.CreateWebLoginTokenRequest$ = exports.CreateEnvironmentOutput$ = exports.CreateEnvironmentInput$ = exports.CreateCliTokenResponse$ = exports.CreateCliTokenRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ServiceUnavailableException$ = exports.RestApiServerException$ = exports.RestApiClientException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.MWAAServiceException$ = void 0;
4
+ exports.UpdateEnvironment$ = exports.UntagResource$ = exports.TagResource$ = exports.PublishMetrics$ = exports.ListTagsForResource$ = exports.ListEnvironments$ = exports.InvokeRestApi$ = void 0;
5
5
  const _A = "Arn";
6
6
  const _ACO = "AirflowConfigurationOptions";
7
7
  const _ADE = "AccessDeniedException";
@@ -102,6 +102,7 @@ const _SRA = "ServiceRoleArn";
102
102
  const _SS = "StatisticSet";
103
103
  const _SSSOV = "StartupScriptS3ObjectVersion";
104
104
  const _SSSP = "StartupScriptS3Path";
105
+ const _SUE = "ServiceUnavailableException";
105
106
  const _SV = "StatisticValues";
106
107
  const _So = "Source";
107
108
  const _St = "Status";
@@ -181,6 +182,12 @@ exports.RestApiServerException$ = [-3, n0, _RASE,
181
182
  [1, [() => RestApiResponse, 0]]
182
183
  ];
183
184
  n0_registry.registerError(exports.RestApiServerException$, errors_1.RestApiServerException);
185
+ exports.ServiceUnavailableException$ = [-3, n0, _SUE,
186
+ { [_e]: _se, [_hE]: 503 },
187
+ [_m],
188
+ [0]
189
+ ];
190
+ n0_registry.registerError(exports.ServiceUnavailableException$, errors_1.ServiceUnavailableException);
184
191
  exports.ValidationException$ = [-3, n0, _VE,
185
192
  { [_e]: _c, [_hE]: 400 },
186
193
  [_m],
@@ -11,6 +11,7 @@ export const LoggingLevel = {
11
11
  };
12
12
  export const WebserverAccessMode = {
13
13
  PRIVATE_ONLY: "PRIVATE_ONLY",
14
+ PUBLIC_AND_PRIVATE: "PUBLIC_AND_PRIVATE",
14
15
  PUBLIC_ONLY: "PUBLIC_ONLY",
15
16
  };
16
17
  export const UpdateStatus = {
@@ -37,6 +37,18 @@ export class InternalServerException extends __BaseException {
37
37
  Object.setPrototypeOf(this, InternalServerException.prototype);
38
38
  }
39
39
  }
40
+ export class ServiceUnavailableException extends __BaseException {
41
+ name = "ServiceUnavailableException";
42
+ $fault = "server";
43
+ constructor(opts) {
44
+ super({
45
+ name: "ServiceUnavailableException",
46
+ $fault: "server",
47
+ ...opts,
48
+ });
49
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
50
+ }
51
+ }
40
52
  export class ValidationException extends __BaseException {
41
53
  name = "ValidationException";
42
54
  $fault = "client";
@@ -98,6 +98,7 @@ const _SRA = "ServiceRoleArn";
98
98
  const _SS = "StatisticSet";
99
99
  const _SSSOV = "StartupScriptS3ObjectVersion";
100
100
  const _SSSP = "StartupScriptS3Path";
101
+ const _SUE = "ServiceUnavailableException";
101
102
  const _SV = "StatisticValues";
102
103
  const _So = "Source";
103
104
  const _St = "Status";
@@ -141,7 +142,7 @@ const _se = "server";
141
142
  const _tK = "tagKeys";
142
143
  const n0 = "com.amazonaws.mwaa";
143
144
  import { TypeRegistry } from "@smithy/core/schema";
144
- import { AccessDeniedException, InternalServerException, ResourceNotFoundException, RestApiClientException, RestApiServerException, ValidationException, } from "../models/errors";
145
+ import { AccessDeniedException, InternalServerException, ResourceNotFoundException, RestApiClientException, RestApiServerException, ServiceUnavailableException, ValidationException, } from "../models/errors";
145
146
  import { MWAAServiceException } from "../models/MWAAServiceException";
146
147
  const _s_registry = TypeRegistry.for(_s);
147
148
  export var MWAAServiceException$ = [-3, _s, "MWAAServiceException", 0, [], []];
@@ -177,6 +178,12 @@ export var RestApiServerException$ = [-3, n0, _RASE,
177
178
  [1, [() => RestApiResponse, 0]]
178
179
  ];
179
180
  n0_registry.registerError(RestApiServerException$, RestApiServerException);
181
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
182
+ { [_e]: _se, [_hE]: 503 },
183
+ [_m],
184
+ [0]
185
+ ];
186
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
180
187
  export var ValidationException$ = [-3, n0, _VE,
181
188
  { [_e]: _c, [_hE]: 400 },
182
189
  [_m],
@@ -95,84 +95,7 @@ export interface MWAA {
95
95
  paginateListEnvironments(args?: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
96
96
  }
97
97
  /**
98
- * <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
99
- * <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>
100
- * <p>
101
- * <b>Endpoints</b>
102
- * </p>
103
- * <ul>
104
- * <li>
105
- * <p>
106
- * <code>api.airflow.\{region\}.amazonaws.com</code> - This endpoint is used for environment management.</p>
107
- * <ul>
108
- * <li>
109
- * <p>
110
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
111
- * </p>
112
- * </li>
113
- * <li>
114
- * <p>
115
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
116
- * </p>
117
- * </li>
118
- * <li>
119
- * <p>
120
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
121
- * </p>
122
- * </li>
123
- * <li>
124
- * <p>
125
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
126
- * </p>
127
- * </li>
128
- * <li>
129
- * <p>
130
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
131
- * </p>
132
- * </li>
133
- * <li>
134
- * <p>
135
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
136
- * </p>
137
- * </li>
138
- * <li>
139
- * <p>
140
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
141
- * </p>
142
- * </li>
143
- * <li>
144
- * <p>
145
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
146
- * </p>
147
- * </li>
148
- * </ul>
149
- * </li>
150
- * <li>
151
- * <p>
152
- * <code>env.airflow.\{region\}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
153
- * <ul>
154
- * <li>
155
- * <p>
156
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
157
- * </p>
158
- * </li>
159
- * <li>
160
- * <p>
161
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
162
- * </p>
163
- * </li>
164
- * <li>
165
- * <p>
166
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a>
167
- * </p>
168
- * </li>
169
- * </ul>
170
- * </li>
171
- * </ul>
172
- * <p>
173
- * <b>Regions</b>
174
- * </p>
175
- * <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>
98
+ * <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> <b>Endpoints</b> </p> <ul> <li> <p> <code>api.airflow.\{region\}.amazonaws.com</code> (use <code>api.airflow.\{region\}.api.aws</code> for IPv6) - This endpoint is used for environment management.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a> </p> </li> </ul> </li> <li> <p> <code>env.airflow.\{region\}.amazonaws.com</code> (use <code>env.airflow.\{region\}.api.aws</code> for IPv6) - This endpoint is used to operate the Airflow environment.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a> </p> </li> </ul> </li> </ul> <p> <b>Regions</b> </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>
176
99
  * @public
177
100
  */
178
101
  export declare class MWAA extends MWAAClient implements MWAA {
@@ -181,84 +181,7 @@ export type MWAAClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpH
181
181
  export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
182
182
  }
183
183
  /**
184
- * <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
185
- * <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>
186
- * <p>
187
- * <b>Endpoints</b>
188
- * </p>
189
- * <ul>
190
- * <li>
191
- * <p>
192
- * <code>api.airflow.\{region\}.amazonaws.com</code> - This endpoint is used for environment management.</p>
193
- * <ul>
194
- * <li>
195
- * <p>
196
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
197
- * </p>
198
- * </li>
199
- * <li>
200
- * <p>
201
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
202
- * </p>
203
- * </li>
204
- * <li>
205
- * <p>
206
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
207
- * </p>
208
- * </li>
209
- * <li>
210
- * <p>
211
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
212
- * </p>
213
- * </li>
214
- * <li>
215
- * <p>
216
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
217
- * </p>
218
- * </li>
219
- * <li>
220
- * <p>
221
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
222
- * </p>
223
- * </li>
224
- * <li>
225
- * <p>
226
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
227
- * </p>
228
- * </li>
229
- * <li>
230
- * <p>
231
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
232
- * </p>
233
- * </li>
234
- * </ul>
235
- * </li>
236
- * <li>
237
- * <p>
238
- * <code>env.airflow.\{region\}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
239
- * <ul>
240
- * <li>
241
- * <p>
242
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
243
- * </p>
244
- * </li>
245
- * <li>
246
- * <p>
247
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
248
- * </p>
249
- * </li>
250
- * <li>
251
- * <p>
252
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a>
253
- * </p>
254
- * </li>
255
- * </ul>
256
- * </li>
257
- * </ul>
258
- * <p>
259
- * <b>Regions</b>
260
- * </p>
261
- * <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>
184
+ * <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> <b>Endpoints</b> </p> <ul> <li> <p> <code>api.airflow.\{region\}.amazonaws.com</code> (use <code>api.airflow.\{region\}.api.aws</code> for IPv6) - This endpoint is used for environment management.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a> </p> </li> </ul> </li> <li> <p> <code>env.airflow.\{region\}.amazonaws.com</code> (use <code>env.airflow.\{region\}.api.aws</code> for IPv6) - This endpoint is used to operate the Airflow environment.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a> </p> </li> </ul> </li> </ul> <p> <b>Regions</b> </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>
262
185
  * @public
263
186
  */
264
187
  export declare class MWAAClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MWAAClientResolvedConfig> {
@@ -112,6 +112,9 @@ declare const CreateEnvironmentCommand_base: {
112
112
  * @throws {@link InternalServerException} (server fault)
113
113
  * <p>InternalServerException: An internal error has occurred.</p>
114
114
  *
115
+ * @throws {@link ServiceUnavailableException} (server fault)
116
+ * <p>ServiceUnavailableException: The service is currently unavailable.</p>
117
+ *
115
118
  * @throws {@link ValidationException} (client fault)
116
119
  * <p>ValidationException: The provided input is not valid.</p>
117
120
  *
@@ -57,6 +57,9 @@ declare const DeleteEnvironmentCommand_base: {
57
57
  * @throws {@link ResourceNotFoundException} (client fault)
58
58
  * <p>ResourceNotFoundException: The resource is not available.</p>
59
59
  *
60
+ * @throws {@link ServiceUnavailableException} (server fault)
61
+ * <p>ServiceUnavailableException: The service is currently unavailable.</p>
62
+ *
60
63
  * @throws {@link ValidationException} (client fault)
61
64
  * <p>ValidationException: The provided input is not valid.</p>
62
65
  *
@@ -27,9 +27,7 @@ declare const InvokeRestApiCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Invokes the Apache Airflow REST API on the webserver with the specified inputs. To
31
- * learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-mwaa-apache-airflow-rest-api.html">Using the Apache Airflow REST API</a>
32
- * </p>
30
+ * <p>Invokes the Apache Airflow REST API on the webserver with the specified inputs. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-mwaa-apache-airflow-rest-api.html">Using the Apache Airflow REST API</a> </p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -70,12 +68,10 @@ declare const InvokeRestApiCommand_base: {
70
68
  * <p>ResourceNotFoundException: The resource is not available.</p>
71
69
  *
72
70
  * @throws {@link RestApiClientException} (client fault)
73
- * <p>An exception indicating that a client-side error occurred during the Apache Airflow
74
- * REST API call.</p>
71
+ * <p>An exception indicating that a client-side error occurred during the Apache Airflow REST API call.</p>
75
72
  *
76
73
  * @throws {@link RestApiServerException} (client fault)
77
- * <p>An exception indicating that a server-side error occurred during the Apache Airflow
78
- * REST API call.</p>
74
+ * <p>An exception indicating that a server-side error occurred during the Apache Airflow REST API call.</p>
79
75
  *
80
76
  * @throws {@link ValidationException} (client fault)
81
77
  * <p>ValidationException: The provided input is not valid.</p>
@@ -27,8 +27,7 @@ declare const PublishMetricsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>
31
- * <b>Internal only</b>. Publishes environment health metrics to Amazon CloudWatch.</p>
30
+ * <p> <b>Internal only</b>. Publishes environment health metrics to Amazon CloudWatch.</p>
32
31
  *
33
32
  * @deprecated This API is for internal use and not meant for public use, and is no longer available.
34
33
  * @example
@@ -108,6 +108,9 @@ declare const UpdateEnvironmentCommand_base: {
108
108
  * @throws {@link ResourceNotFoundException} (client fault)
109
109
  * <p>ResourceNotFoundException: The resource is not available.</p>
110
110
  *
111
+ * @throws {@link ServiceUnavailableException} (server fault)
112
+ * <p>ServiceUnavailableException: The service is currently unavailable.</p>
113
+ *
111
114
  * @throws {@link ValidationException} (client fault)
112
115
  * <p>ValidationException: The provided input is not valid.</p>
113
116
  *
@@ -1,82 +1,5 @@
1
1
  /**
2
- * <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
3
- * <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>
4
- * <p>
5
- * <b>Endpoints</b>
6
- * </p>
7
- * <ul>
8
- * <li>
9
- * <p>
10
- * <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
15
- * </p>
16
- * </li>
17
- * <li>
18
- * <p>
19
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
20
- * </p>
21
- * </li>
22
- * <li>
23
- * <p>
24
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
25
- * </p>
26
- * </li>
27
- * <li>
28
- * <p>
29
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
30
- * </p>
31
- * </li>
32
- * <li>
33
- * <p>
34
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
35
- * </p>
36
- * </li>
37
- * <li>
38
- * <p>
39
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
40
- * </p>
41
- * </li>
42
- * <li>
43
- * <p>
44
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
45
- * </p>
46
- * </li>
47
- * <li>
48
- * <p>
49
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
50
- * </p>
51
- * </li>
52
- * </ul>
53
- * </li>
54
- * <li>
55
- * <p>
56
- * <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
57
- * <ul>
58
- * <li>
59
- * <p>
60
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
61
- * </p>
62
- * </li>
63
- * <li>
64
- * <p>
65
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
66
- * </p>
67
- * </li>
68
- * <li>
69
- * <p>
70
- * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a>
71
- * </p>
72
- * </li>
73
- * </ul>
74
- * </li>
75
- * </ul>
76
- * <p>
77
- * <b>Regions</b>
78
- * </p>
79
- * <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>
2
+ * <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> <b>Endpoints</b> </p> <ul> <li> <p> <code>api.airflow.{region}.amazonaws.com</code> (use <code>api.airflow.{region}.api.aws</code> for IPv6) - This endpoint is used for environment management.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a> </p> </li> </ul> </li> <li> <p> <code>env.airflow.{region}.amazonaws.com</code> (use <code>env.airflow.{region}.api.aws</code> for IPv6) - This endpoint is used to operate the Airflow environment.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_InvokeRestApi.html">InvokeRestApi</a> </p> </li> </ul> </li> </ul> <p> <b>Regions</b> </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>
80
3
  *
81
4
  * @packageDocumentation
82
5
  */
@@ -31,6 +31,7 @@ export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
31
31
  */
32
32
  export declare const WebserverAccessMode: {
33
33
  readonly PRIVATE_ONLY: "PRIVATE_ONLY";
34
+ readonly PUBLIC_AND_PRIVATE: "PUBLIC_AND_PRIVATE";
34
35
  readonly PUBLIC_ONLY: "PUBLIC_ONLY";
35
36
  };
36
37
  /**
@@ -38,6 +38,18 @@ export declare class InternalServerException extends __BaseException {
38
38
  */
39
39
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
40
40
  }
41
+ /**
42
+ * <p>ServiceUnavailableException: The service is currently unavailable.</p>
43
+ * @public
44
+ */
45
+ export declare class ServiceUnavailableException extends __BaseException {
46
+ readonly name: "ServiceUnavailableException";
47
+ readonly $fault: "server";
48
+ /**
49
+ * @internal
50
+ */
51
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
52
+ }
41
53
  /**
42
54
  * <p>ValidationException: The provided input is not valid.</p>
43
55
  * @public
@@ -51,8 +63,7 @@ export declare class ValidationException extends __BaseException {
51
63
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
52
64
  }
53
65
  /**
54
- * <p>An exception indicating that a client-side error occurred during the Apache Airflow
55
- * REST API call.</p>
66
+ * <p>An exception indicating that a client-side error occurred during the Apache Airflow REST API call.</p>
56
67
  * @public
57
68
  */
58
69
  export declare class RestApiClientException extends __BaseException {
@@ -64,8 +75,7 @@ export declare class RestApiClientException extends __BaseException {
64
75
  */
65
76
  RestApiStatusCode?: number | undefined;
66
77
  /**
67
- * <p>The error response data from the Apache Airflow REST API call, provided as a JSON
68
- * object.</p>
78
+ * <p>The error response data from the Apache Airflow REST API call, provided as a JSON object.</p>
69
79
  * @public
70
80
  */
71
81
  RestApiResponse?: __DocumentType | undefined;
@@ -75,8 +85,7 @@ export declare class RestApiClientException extends __BaseException {
75
85
  constructor(opts: __ExceptionOptionType<RestApiClientException, __BaseException>);
76
86
  }
77
87
  /**
78
- * <p>An exception indicating that a server-side error occurred during the Apache Airflow
79
- * REST API call.</p>
88
+ * <p>An exception indicating that a server-side error occurred during the Apache Airflow REST API call.</p>
80
89
  * @public
81
90
  */
82
91
  export declare class RestApiServerException extends __BaseException {
@@ -88,8 +97,7 @@ export declare class RestApiServerException extends __BaseException {
88
97
  */
89
98
  RestApiStatusCode?: number | undefined;
90
99
  /**
91
- * <p>The error response data from the Apache Airflow REST API call, provided as a JSON
92
- * object.</p>
100
+ * <p>The error response data from the Apache Airflow REST API call, provided as a JSON object.</p>
93
101
  * @public
94
102
  */
95
103
  RestApiResponse?: __DocumentType | undefined;