@aws-sdk/client-mwaa 3.42.0 → 3.47.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/CHANGELOG.md +48 -0
- package/README.md +84 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +1 -25
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +0 -16
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/MWAA.d.ts +89 -4
- package/dist-types/MWAAClient.d.ts +89 -1
- package/dist-types/commands/CreateCliTokenCommand.d.ts +1 -1
- package/dist-types/commands/CreateWebLoginTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/PublishMetricsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +104 -109
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/MWAAClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -16
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateCliTokenCommandInput, CreateCliTokenCommandOutput } from "./commands/CreateCliTokenCommand";
|
|
10
10
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
@@ -119,6 +119,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
119
119
|
* @internal
|
|
120
120
|
*/
|
|
121
121
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
122
|
+
/**
|
|
123
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
124
|
+
*/
|
|
125
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
122
126
|
}
|
|
123
127
|
declare type MWAAClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
124
128
|
/**
|
|
@@ -135,6 +139,90 @@ export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
|
|
|
135
139
|
/**
|
|
136
140
|
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
|
|
137
141
|
* <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>
|
|
142
|
+
*
|
|
143
|
+
* <p>
|
|
144
|
+
* <b>Endpoints</b>
|
|
145
|
+
* </p>
|
|
146
|
+
* <ul>
|
|
147
|
+
* <li>
|
|
148
|
+
* <p>
|
|
149
|
+
* <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
|
|
150
|
+
* <ul>
|
|
151
|
+
* <li>
|
|
152
|
+
* <p>
|
|
153
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
|
|
154
|
+
* </p>
|
|
155
|
+
* </li>
|
|
156
|
+
* <li>
|
|
157
|
+
* <p>
|
|
158
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
|
|
159
|
+
* </p>
|
|
160
|
+
* </li>
|
|
161
|
+
* <li>
|
|
162
|
+
* <p>
|
|
163
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
|
|
164
|
+
* </p>
|
|
165
|
+
* </li>
|
|
166
|
+
* <li>
|
|
167
|
+
* <p>
|
|
168
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
|
|
169
|
+
* </p>
|
|
170
|
+
* </li>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>
|
|
173
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
|
|
174
|
+
* </p>
|
|
175
|
+
* </li>
|
|
176
|
+
* <li>
|
|
177
|
+
* <p>
|
|
178
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
|
|
179
|
+
* </p>
|
|
180
|
+
* </li>
|
|
181
|
+
* <li>
|
|
182
|
+
* <p>
|
|
183
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
|
|
184
|
+
* </p>
|
|
185
|
+
* </li>
|
|
186
|
+
* <li>
|
|
187
|
+
* <p>
|
|
188
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
|
|
189
|
+
* </p>
|
|
190
|
+
* </li>
|
|
191
|
+
* </ul>
|
|
192
|
+
* </li>
|
|
193
|
+
* <li>
|
|
194
|
+
* <p>
|
|
195
|
+
* <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
|
|
196
|
+
* <ul>
|
|
197
|
+
* <li>
|
|
198
|
+
* <p>
|
|
199
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
|
|
200
|
+
* </p>
|
|
201
|
+
* </li>
|
|
202
|
+
* <li>
|
|
203
|
+
* <p>
|
|
204
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
|
|
205
|
+
* </p>
|
|
206
|
+
* </li>
|
|
207
|
+
* </ul>
|
|
208
|
+
* </li>
|
|
209
|
+
* <li>
|
|
210
|
+
* <p>
|
|
211
|
+
* <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
|
|
212
|
+
* <ul>
|
|
213
|
+
* <li>
|
|
214
|
+
* <p>
|
|
215
|
+
* <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
|
|
216
|
+
* </p>
|
|
217
|
+
* </li>
|
|
218
|
+
* </ul>
|
|
219
|
+
* </li>
|
|
220
|
+
* </ul>
|
|
221
|
+
*
|
|
222
|
+
* <p>
|
|
223
|
+
* <b>Regions</b>
|
|
224
|
+
* </p>
|
|
225
|
+
* <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>
|
|
138
226
|
*/
|
|
139
227
|
export declare class MWAAClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MWAAClientResolvedConfig> {
|
|
140
228
|
/**
|
|
@@ -7,7 +7,7 @@ export interface CreateCliTokenCommandInput extends CreateCliTokenRequest {
|
|
|
7
7
|
export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Creates a CLI token for the Airflow CLI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-cli.html">Creating an Apache Airflow CLI token</a>.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface CreateWebLoginTokenCommandInput extends CreateWebLoginTokenRequ
|
|
|
7
7
|
export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Creates a web login token for the Airflow Web UI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-web.html">Creating an Apache Airflow web login token</a>.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface GetEnvironmentCommandInput extends GetEnvironmentInput {
|
|
|
7
7
|
export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface PublishMetricsCommandInput extends PublishMetricsInput {
|
|
|
7
7
|
export interface PublishMetricsCommandOutput extends PublishMetricsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* <p>
|
|
11
|
+
* <b>Internal only</b>. Publishes environment health metrics to Amazon CloudWatch.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|