@aws-sdk/client-mwaa 3.501.0 → 3.502.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/dist-cjs/index.js +1 -0
- package/dist-cjs/runtimeConfig.js +1 -2
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-types/models/models_0.d.ts +11 -4
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -2
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
6
|
const core_1 = require("@aws-sdk/core");
|
|
8
7
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
8
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
@@ -30,7 +29,7 @@ const getRuntimeConfig = (config) => {
|
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ??
|
|
32
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
35
34
|
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
4
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
4
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
@@ -26,7 +25,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
25
|
runtime: "node",
|
|
27
26
|
defaultsMode,
|
|
28
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
29
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ??
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
30
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
31
30
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
32
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
@@ -515,6 +515,7 @@ export declare const EnvironmentStatus: {
|
|
|
515
515
|
readonly CREATING_SNAPSHOT: "CREATING_SNAPSHOT";
|
|
516
516
|
readonly DELETED: "DELETED";
|
|
517
517
|
readonly DELETING: "DELETING";
|
|
518
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
518
519
|
readonly PENDING: "PENDING";
|
|
519
520
|
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
520
521
|
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
@@ -581,11 +582,17 @@ export interface Environment {
|
|
|
581
582
|
* </li>
|
|
582
583
|
* <li>
|
|
583
584
|
* <p>
|
|
584
|
-
* <code>UNAVAILABLE</code> - Indicates the request failed, but the environment
|
|
585
|
+
* <code>UNAVAILABLE</code> - Indicates the request failed, but the environment did not return to its previous state and is not stable.</p>
|
|
585
586
|
* </li>
|
|
586
587
|
* <li>
|
|
587
588
|
* <p>
|
|
588
|
-
* <code>UPDATE_FAILED</code> - Indicates the request to update the environment failed, and the environment
|
|
589
|
+
* <code>UPDATE_FAILED</code> - Indicates the request to update the environment failed, and the environment was restored to its previous state successfully and is ready to use.</p>
|
|
590
|
+
* </li>
|
|
591
|
+
* <li>
|
|
592
|
+
* <p>
|
|
593
|
+
* <code>MAINTENANCE</code> - Indicates that the environment is undergoing maintenance. Depending on the type of work Amazon MWAA is performing,
|
|
594
|
+
* your environment might become unavailable during this process. After all operations are done, your environment will return to its status prior to mainteneace operations.
|
|
595
|
+
* </p>
|
|
589
596
|
* </li>
|
|
590
597
|
* </ul>
|
|
591
598
|
* <p>We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html">Amazon MWAA troubleshooting</a>.</p>
|
|
@@ -603,7 +610,7 @@ export interface Environment {
|
|
|
603
610
|
CreatedAt?: Date;
|
|
604
611
|
/**
|
|
605
612
|
* @public
|
|
606
|
-
* <p>The Apache Airflow <i>
|
|
613
|
+
* <p>The Apache Airflow <i>web server</i> host name for the Amazon MWAA environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html">Accessing the Apache Airflow UI</a>.</p>
|
|
607
614
|
*/
|
|
608
615
|
WebserverUrl?: string;
|
|
609
616
|
/**
|
|
@@ -618,7 +625,7 @@ export interface Environment {
|
|
|
618
625
|
ServiceRoleArn?: string;
|
|
619
626
|
/**
|
|
620
627
|
* @public
|
|
621
|
-
* <p>The
|
|
628
|
+
* <p>The KMS encryption key used to encrypt the data in your environment.</p>
|
|
622
629
|
*/
|
|
623
630
|
KmsKey?: string;
|
|
624
631
|
/**
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (
|
|
10
|
+
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -150,6 +150,7 @@ export declare const EnvironmentStatus: {
|
|
|
150
150
|
readonly CREATING_SNAPSHOT: "CREATING_SNAPSHOT";
|
|
151
151
|
readonly DELETED: "DELETED";
|
|
152
152
|
readonly DELETING: "DELETING";
|
|
153
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
153
154
|
readonly PENDING: "PENDING";
|
|
154
155
|
readonly ROLLING_BACK: "ROLLING_BACK";
|
|
155
156
|
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
@@ -7,8 +7,12 @@ export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
|
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
init?:
|
|
11
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
12
|
+
| undefined
|
|
13
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
14
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
15
|
+
>;
|
|
12
16
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
17
|
import("@smithy/types").UserAgent
|
|
14
18
|
>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mwaa",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mwaa Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.502.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mwaa",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.502.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.502.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.502.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.502.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.502.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.502.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.502.0",
|
|
32
|
+
"@aws-sdk/types": "3.502.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.502.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.502.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.502.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.1.1",
|
|
37
37
|
"@smithy/core": "^1.3.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.4.1",
|