@aws-sdk/client-mwaa 3.1075.0 → 3.1077.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 +773 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/MWAAServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -95
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -477
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultMWAAHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "airflow",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultMWAAHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -31,6 +68,662 @@ const commonParams = {
|
|
|
31
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
69
|
};
|
|
33
70
|
|
|
71
|
+
var version = "3.1076.0";
|
|
72
|
+
var packageInfo = {
|
|
73
|
+
version: version};
|
|
74
|
+
|
|
75
|
+
const k = "ref";
|
|
76
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
77
|
+
const _data = {
|
|
78
|
+
conditions: [
|
|
79
|
+
[c, [g]],
|
|
80
|
+
[c, j],
|
|
81
|
+
["aws.partition", j, d],
|
|
82
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
83
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
85
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
97
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
98
|
+
["https://airflow.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
99
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const root = 2;
|
|
103
|
+
const r = 100_000_000;
|
|
104
|
+
const nodes = new Int32Array([
|
|
105
|
+
-1, 1, -1,
|
|
106
|
+
0, 12, 3,
|
|
107
|
+
1, 4, r + 11,
|
|
108
|
+
2, 5, r + 11,
|
|
109
|
+
3, 8, 6,
|
|
110
|
+
4, 7, r + 10,
|
|
111
|
+
5, r + 8, r + 9,
|
|
112
|
+
4, 10, 9,
|
|
113
|
+
6, r + 6, r + 7,
|
|
114
|
+
5, 11, r + 5,
|
|
115
|
+
6, r + 4, r + 5,
|
|
116
|
+
3, r + 1, 13,
|
|
117
|
+
4, r + 2, r + 3,
|
|
118
|
+
]);
|
|
119
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
120
|
+
|
|
121
|
+
const cache = new EndpointCache({
|
|
122
|
+
size: 50,
|
|
123
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
124
|
+
});
|
|
125
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
126
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
127
|
+
endpointParams: endpointParams,
|
|
128
|
+
logger: context.logger,
|
|
129
|
+
}));
|
|
130
|
+
};
|
|
131
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
132
|
+
|
|
133
|
+
class MWAAServiceException extends ServiceException {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super(options);
|
|
136
|
+
Object.setPrototypeOf(this, MWAAServiceException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class AccessDeniedException extends MWAAServiceException {
|
|
141
|
+
name = "AccessDeniedException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "AccessDeniedException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
class ResourceNotFoundException extends MWAAServiceException {
|
|
155
|
+
name = "ResourceNotFoundException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "ResourceNotFoundException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
class InternalServerException extends MWAAServiceException {
|
|
167
|
+
name = "InternalServerException";
|
|
168
|
+
$fault = "server";
|
|
169
|
+
constructor(opts) {
|
|
170
|
+
super({
|
|
171
|
+
name: "InternalServerException",
|
|
172
|
+
$fault: "server",
|
|
173
|
+
...opts,
|
|
174
|
+
});
|
|
175
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
class ServiceUnavailableException extends MWAAServiceException {
|
|
179
|
+
name = "ServiceUnavailableException";
|
|
180
|
+
$fault = "server";
|
|
181
|
+
constructor(opts) {
|
|
182
|
+
super({
|
|
183
|
+
name: "ServiceUnavailableException",
|
|
184
|
+
$fault: "server",
|
|
185
|
+
...opts,
|
|
186
|
+
});
|
|
187
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class ValidationException extends MWAAServiceException {
|
|
191
|
+
name = "ValidationException";
|
|
192
|
+
$fault = "client";
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "ValidationException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
class RestApiClientException extends MWAAServiceException {
|
|
203
|
+
name = "RestApiClientException";
|
|
204
|
+
$fault = "client";
|
|
205
|
+
RestApiStatusCode;
|
|
206
|
+
RestApiResponse;
|
|
207
|
+
constructor(opts) {
|
|
208
|
+
super({
|
|
209
|
+
name: "RestApiClientException",
|
|
210
|
+
$fault: "client",
|
|
211
|
+
...opts,
|
|
212
|
+
});
|
|
213
|
+
Object.setPrototypeOf(this, RestApiClientException.prototype);
|
|
214
|
+
this.RestApiStatusCode = opts.RestApiStatusCode;
|
|
215
|
+
this.RestApiResponse = opts.RestApiResponse;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
class RestApiServerException extends MWAAServiceException {
|
|
219
|
+
name = "RestApiServerException";
|
|
220
|
+
$fault = "client";
|
|
221
|
+
RestApiStatusCode;
|
|
222
|
+
RestApiResponse;
|
|
223
|
+
constructor(opts) {
|
|
224
|
+
super({
|
|
225
|
+
name: "RestApiServerException",
|
|
226
|
+
$fault: "client",
|
|
227
|
+
...opts,
|
|
228
|
+
});
|
|
229
|
+
Object.setPrototypeOf(this, RestApiServerException.prototype);
|
|
230
|
+
this.RestApiStatusCode = opts.RestApiStatusCode;
|
|
231
|
+
this.RestApiResponse = opts.RestApiResponse;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
const _A = "Arn";
|
|
236
|
+
const _ACO = "AirflowConfigurationOptions";
|
|
237
|
+
const _ADE = "AccessDeniedException";
|
|
238
|
+
const _AI = "AirflowIdentity";
|
|
239
|
+
const _AV = "AirflowVersion";
|
|
240
|
+
const _B = "Body";
|
|
241
|
+
const _CA = "CreatedAt";
|
|
242
|
+
const _CCT = "CreateCliToken";
|
|
243
|
+
const _CCTR = "CreateCliTokenRequest";
|
|
244
|
+
const _CCTRr = "CreateCliTokenResponse";
|
|
245
|
+
const _CE = "CreateEnvironment";
|
|
246
|
+
const _CEI = "CreateEnvironmentInput";
|
|
247
|
+
const _CEO = "CreateEnvironmentOutput";
|
|
248
|
+
const _CEQ = "CeleryExecutorQueue";
|
|
249
|
+
const _CT = "CliToken";
|
|
250
|
+
const _CV = "ConfigValue";
|
|
251
|
+
const _CWLGA = "CloudWatchLogGroupArn";
|
|
252
|
+
const _CWLT = "CreateWebLoginToken";
|
|
253
|
+
const _CWLTR = "CreateWebLoginTokenRequest";
|
|
254
|
+
const _CWLTRr = "CreateWebLoginTokenResponse";
|
|
255
|
+
const _D = "Dimension";
|
|
256
|
+
const _DE = "DeleteEnvironment";
|
|
257
|
+
const _DEI = "DeleteEnvironmentInput";
|
|
258
|
+
const _DEO = "DeleteEnvironmentOutput";
|
|
259
|
+
const _DPL = "DagProcessingLogs";
|
|
260
|
+
const _DSP = "DagS3Path";
|
|
261
|
+
const _DVES = "DatabaseVpcEndpointService";
|
|
262
|
+
const _Di = "Dimensions";
|
|
263
|
+
const _E = "Environment";
|
|
264
|
+
const _EC = "EnvironmentClass";
|
|
265
|
+
const _ECr = "ErrorCode";
|
|
266
|
+
const _EM = "EndpointManagement";
|
|
267
|
+
const _EMr = "ErrorMessage";
|
|
268
|
+
const _EN = "EnvironmentName";
|
|
269
|
+
const _ERA = "ExecutionRoleArn";
|
|
270
|
+
const _En = "Environments";
|
|
271
|
+
const _Ena = "Enabled";
|
|
272
|
+
const _Er = "Error";
|
|
273
|
+
const _GE = "GetEnvironment";
|
|
274
|
+
const _GEI = "GetEnvironmentInput";
|
|
275
|
+
const _GEO = "GetEnvironmentOutput";
|
|
276
|
+
const _II = "IamIdentity";
|
|
277
|
+
const _IRA = "InvokeRestApi";
|
|
278
|
+
const _IRAR = "InvokeRestApiRequest";
|
|
279
|
+
const _IRARn = "InvokeRestApiResponse";
|
|
280
|
+
const _ISE = "InternalServerException";
|
|
281
|
+
const _KK = "KmsKey";
|
|
282
|
+
const _LC = "LoggingConfiguration";
|
|
283
|
+
const _LCI = "LoggingConfigurationInput";
|
|
284
|
+
const _LE = "ListEnvironments";
|
|
285
|
+
const _LEI = "ListEnvironmentsInput";
|
|
286
|
+
const _LEO = "ListEnvironmentsOutput";
|
|
287
|
+
const _LL = "LogLevel";
|
|
288
|
+
const _LTFR = "ListTagsForResource";
|
|
289
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
290
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
291
|
+
const _LU = "LastUpdate";
|
|
292
|
+
const _M = "Message";
|
|
293
|
+
const _MD = "MetricDatum";
|
|
294
|
+
const _MDe = "MetricData";
|
|
295
|
+
const _MLC = "ModuleLoggingConfiguration";
|
|
296
|
+
const _MLCI = "ModuleLoggingConfigurationInput";
|
|
297
|
+
const _MN = "MetricName";
|
|
298
|
+
const _MR = "MaxResults";
|
|
299
|
+
const _MW = "MaxWorkers";
|
|
300
|
+
const _MWa = "MaxWebservers";
|
|
301
|
+
const _MWi = "MinWorkers";
|
|
302
|
+
const _MWin = "MinWebservers";
|
|
303
|
+
const _Ma = "Maximum";
|
|
304
|
+
const _Me = "Method";
|
|
305
|
+
const _Mi = "Minimum";
|
|
306
|
+
const _N = "Name";
|
|
307
|
+
const _NC = "NetworkConfiguration";
|
|
308
|
+
const _NT = "NextToken";
|
|
309
|
+
const _P = "Path";
|
|
310
|
+
const _PM = "PublishMetrics";
|
|
311
|
+
const _PMI = "PublishMetricsInput";
|
|
312
|
+
const _PMO = "PublishMetricsOutput";
|
|
313
|
+
const _PSOV = "PluginsS3ObjectVersion";
|
|
314
|
+
const _PSP = "PluginsS3Path";
|
|
315
|
+
const _QP = "QueryParameters";
|
|
316
|
+
const _RA = "ResourceArn";
|
|
317
|
+
const _RACE = "RestApiClientException";
|
|
318
|
+
const _RAR = "RestApiResponse";
|
|
319
|
+
const _RARB = "RestApiRequestBody";
|
|
320
|
+
const _RASC = "RestApiStatusCode";
|
|
321
|
+
const _RASE = "RestApiServerException";
|
|
322
|
+
const _RNFE = "ResourceNotFoundException";
|
|
323
|
+
const _RSOV = "RequirementsS3ObjectVersion";
|
|
324
|
+
const _RSP = "RequirementsS3Path";
|
|
325
|
+
const _S = "Schedulers";
|
|
326
|
+
const _SBA = "SourceBucketArn";
|
|
327
|
+
const _SC = "SampleCount";
|
|
328
|
+
const _SGI = "SecurityGroupIds";
|
|
329
|
+
const _SI = "SubnetIds";
|
|
330
|
+
const _SL = "SchedulerLogs";
|
|
331
|
+
const _SRA = "ServiceRoleArn";
|
|
332
|
+
const _SS = "StatisticSet";
|
|
333
|
+
const _SSSOV = "StartupScriptS3ObjectVersion";
|
|
334
|
+
const _SSSP = "StartupScriptS3Path";
|
|
335
|
+
const _SUE = "ServiceUnavailableException";
|
|
336
|
+
const _SV = "StatisticValues";
|
|
337
|
+
const _So = "Source";
|
|
338
|
+
const _St = "Status";
|
|
339
|
+
const _Su = "Sum";
|
|
340
|
+
const _T = "Token";
|
|
341
|
+
const _TL = "TaskLogs";
|
|
342
|
+
const _TR = "TagResource";
|
|
343
|
+
const _TRI = "TagResourceInput";
|
|
344
|
+
const _TRO = "TagResourceOutput";
|
|
345
|
+
const _Ta = "Tags";
|
|
346
|
+
const _Ti = "Timestamp";
|
|
347
|
+
const _U = "Unit";
|
|
348
|
+
const _UE = "UpdateError";
|
|
349
|
+
const _UEI = "UpdateEnvironmentInput";
|
|
350
|
+
const _UEO = "UpdateEnvironmentOutput";
|
|
351
|
+
const _UEp = "UpdateEnvironment";
|
|
352
|
+
const _UNCI = "UpdateNetworkConfigurationInput";
|
|
353
|
+
const _UR = "UntagResource";
|
|
354
|
+
const _URI = "UntagResourceInput";
|
|
355
|
+
const _URO = "UntagResourceOutput";
|
|
356
|
+
const _V = "Value";
|
|
357
|
+
const _VE = "ValidationException";
|
|
358
|
+
const _WAM = "WebserverAccessMode";
|
|
359
|
+
const _WL = "WebserverLogs";
|
|
360
|
+
const _WLo = "WorkerLogs";
|
|
361
|
+
const _WMWS = "WeeklyMaintenanceWindowStart";
|
|
362
|
+
const _WRS = "WorkerReplacementStrategy";
|
|
363
|
+
const _WSH = "WebServerHostname";
|
|
364
|
+
const _WT = "WebToken";
|
|
365
|
+
const _WU = "WebserverUrl";
|
|
366
|
+
const _WVES = "WebserverVpcEndpointService";
|
|
367
|
+
const _c = "client";
|
|
368
|
+
const _e = "error";
|
|
369
|
+
const _en = "endpoint";
|
|
370
|
+
const _h = "http";
|
|
371
|
+
const _hE = "httpError";
|
|
372
|
+
const _hQ = "httpQuery";
|
|
373
|
+
const _m = "message";
|
|
374
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mwaa";
|
|
375
|
+
const _se = "server";
|
|
376
|
+
const _tK = "tagKeys";
|
|
377
|
+
const n0 = "com.amazonaws.mwaa";
|
|
378
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
379
|
+
var MWAAServiceException$ = [-3, _s, "MWAAServiceException", 0, [], []];
|
|
380
|
+
_s_registry.registerError(MWAAServiceException$, MWAAServiceException);
|
|
381
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
382
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
383
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
384
|
+
[_M],
|
|
385
|
+
[0]
|
|
386
|
+
];
|
|
387
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
388
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
389
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
390
|
+
[_m],
|
|
391
|
+
[0]
|
|
392
|
+
];
|
|
393
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
394
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
395
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
396
|
+
[_m],
|
|
397
|
+
[0]
|
|
398
|
+
];
|
|
399
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
400
|
+
var RestApiClientException$ = [-3, n0, _RACE,
|
|
401
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
402
|
+
[_RASC, _RAR],
|
|
403
|
+
[1, [() => RestApiResponse, 0]]
|
|
404
|
+
];
|
|
405
|
+
n0_registry.registerError(RestApiClientException$, RestApiClientException);
|
|
406
|
+
var RestApiServerException$ = [-3, n0, _RASE,
|
|
407
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
408
|
+
[_RASC, _RAR],
|
|
409
|
+
[1, [() => RestApiResponse, 0]]
|
|
410
|
+
];
|
|
411
|
+
n0_registry.registerError(RestApiServerException$, RestApiServerException);
|
|
412
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
413
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
414
|
+
[_m],
|
|
415
|
+
[0]
|
|
416
|
+
];
|
|
417
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
418
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
419
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
420
|
+
[_m],
|
|
421
|
+
[0]
|
|
422
|
+
];
|
|
423
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
424
|
+
const errorTypeRegistries = [
|
|
425
|
+
_s_registry,
|
|
426
|
+
n0_registry,
|
|
427
|
+
];
|
|
428
|
+
var ConfigValue = [0, n0, _CV, 8, 0];
|
|
429
|
+
var RestApiRequestBody = [0, n0, _RARB, 8, 15];
|
|
430
|
+
var RestApiResponse = [0, n0, _RAR, 8, 15];
|
|
431
|
+
var Token = [0, n0, _T, 8, 0];
|
|
432
|
+
var CreateCliTokenRequest$ = [3, n0, _CCTR,
|
|
433
|
+
0,
|
|
434
|
+
[_N],
|
|
435
|
+
[[0, 1]], 1
|
|
436
|
+
];
|
|
437
|
+
var CreateCliTokenResponse$ = [3, n0, _CCTRr,
|
|
438
|
+
0,
|
|
439
|
+
[_CT, _WSH],
|
|
440
|
+
[[() => Token, 0], 0]
|
|
441
|
+
];
|
|
442
|
+
var CreateEnvironmentInput$ = [3, n0, _CEI,
|
|
443
|
+
0,
|
|
444
|
+
[_N, _ERA, _SBA, _DSP, _NC, _PSP, _PSOV, _RSP, _RSOV, _SSSP, _SSSOV, _ACO, _EC, _MW, _KK, _AV, _LC, _WMWS, _Ta, _WAM, _MWi, _S, _EM, _MWin, _MWa],
|
|
445
|
+
[[0, 1], 0, 0, 0, () => NetworkConfiguration$, 0, 0, 0, 0, 0, 0, [() => AirflowConfigurationOptions, 0], 0, 1, 0, 0, () => LoggingConfigurationInput$, 0, 128 | 0, 0, 1, 1, 0, 1, 1], 5
|
|
446
|
+
];
|
|
447
|
+
var CreateEnvironmentOutput$ = [3, n0, _CEO,
|
|
448
|
+
0,
|
|
449
|
+
[_A],
|
|
450
|
+
[0]
|
|
451
|
+
];
|
|
452
|
+
var CreateWebLoginTokenRequest$ = [3, n0, _CWLTR,
|
|
453
|
+
0,
|
|
454
|
+
[_N],
|
|
455
|
+
[[0, 1]], 1
|
|
456
|
+
];
|
|
457
|
+
var CreateWebLoginTokenResponse$ = [3, n0, _CWLTRr,
|
|
458
|
+
0,
|
|
459
|
+
[_WT, _WSH, _II, _AI],
|
|
460
|
+
[[() => Token, 0], 0, 0, 0]
|
|
461
|
+
];
|
|
462
|
+
var DeleteEnvironmentInput$ = [3, n0, _DEI,
|
|
463
|
+
0,
|
|
464
|
+
[_N],
|
|
465
|
+
[[0, 1]], 1
|
|
466
|
+
];
|
|
467
|
+
var DeleteEnvironmentOutput$ = [3, n0, _DEO,
|
|
468
|
+
0,
|
|
469
|
+
[],
|
|
470
|
+
[]
|
|
471
|
+
];
|
|
472
|
+
var Dimension$ = [3, n0, _D,
|
|
473
|
+
0,
|
|
474
|
+
[_N, _V],
|
|
475
|
+
[0, 0], 2
|
|
476
|
+
];
|
|
477
|
+
var Environment$ = [3, n0, _E,
|
|
478
|
+
0,
|
|
479
|
+
[_N, _St, _A, _CA, _WU, _ERA, _SRA, _KK, _AV, _SBA, _DSP, _PSP, _PSOV, _RSP, _RSOV, _SSSP, _SSSOV, _ACO, _EC, _MW, _NC, _LC, _LU, _WMWS, _Ta, _WAM, _MWi, _S, _WVES, _DVES, _CEQ, _EM, _MWin, _MWa],
|
|
480
|
+
[0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [() => AirflowConfigurationOptions, 0], 0, 1, () => NetworkConfiguration$, () => LoggingConfiguration$, () => LastUpdate$, 0, 128 | 0, 0, 1, 1, 0, 0, 0, 0, 1, 1]
|
|
481
|
+
];
|
|
482
|
+
var GetEnvironmentInput$ = [3, n0, _GEI,
|
|
483
|
+
0,
|
|
484
|
+
[_N],
|
|
485
|
+
[[0, 1]], 1
|
|
486
|
+
];
|
|
487
|
+
var GetEnvironmentOutput$ = [3, n0, _GEO,
|
|
488
|
+
0,
|
|
489
|
+
[_E],
|
|
490
|
+
[[() => Environment$, 0]]
|
|
491
|
+
];
|
|
492
|
+
var InvokeRestApiRequest$ = [3, n0, _IRAR,
|
|
493
|
+
0,
|
|
494
|
+
[_N, _P, _Me, _QP, _B],
|
|
495
|
+
[[0, 1], 0, 0, 15, [() => RestApiRequestBody, 0]], 3
|
|
496
|
+
];
|
|
497
|
+
var InvokeRestApiResponse$ = [3, n0, _IRARn,
|
|
498
|
+
0,
|
|
499
|
+
[_RASC, _RAR],
|
|
500
|
+
[1, [() => RestApiResponse, 0]]
|
|
501
|
+
];
|
|
502
|
+
var LastUpdate$ = [3, n0, _LU,
|
|
503
|
+
0,
|
|
504
|
+
[_St, _CA, _Er, _So, _WRS],
|
|
505
|
+
[0, 4, () => UpdateError$, 0, 0]
|
|
506
|
+
];
|
|
507
|
+
var ListEnvironmentsInput$ = [3, n0, _LEI,
|
|
508
|
+
0,
|
|
509
|
+
[_NT, _MR],
|
|
510
|
+
[[0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
|
|
511
|
+
];
|
|
512
|
+
var ListEnvironmentsOutput$ = [3, n0, _LEO,
|
|
513
|
+
0,
|
|
514
|
+
[_En, _NT],
|
|
515
|
+
[64 | 0, 0], 1
|
|
516
|
+
];
|
|
517
|
+
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
518
|
+
0,
|
|
519
|
+
[_RA],
|
|
520
|
+
[[0, 1]], 1
|
|
521
|
+
];
|
|
522
|
+
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
523
|
+
0,
|
|
524
|
+
[_Ta],
|
|
525
|
+
[128 | 0]
|
|
526
|
+
];
|
|
527
|
+
var LoggingConfiguration$ = [3, n0, _LC,
|
|
528
|
+
0,
|
|
529
|
+
[_DPL, _SL, _WL, _WLo, _TL],
|
|
530
|
+
[() => ModuleLoggingConfiguration$, () => ModuleLoggingConfiguration$, () => ModuleLoggingConfiguration$, () => ModuleLoggingConfiguration$, () => ModuleLoggingConfiguration$]
|
|
531
|
+
];
|
|
532
|
+
var LoggingConfigurationInput$ = [3, n0, _LCI,
|
|
533
|
+
0,
|
|
534
|
+
[_DPL, _SL, _WL, _WLo, _TL],
|
|
535
|
+
[() => ModuleLoggingConfigurationInput$, () => ModuleLoggingConfigurationInput$, () => ModuleLoggingConfigurationInput$, () => ModuleLoggingConfigurationInput$, () => ModuleLoggingConfigurationInput$]
|
|
536
|
+
];
|
|
537
|
+
var MetricDatum$ = [3, n0, _MD,
|
|
538
|
+
0,
|
|
539
|
+
[_MN, _Ti, _Di, _V, _U, _SV],
|
|
540
|
+
[0, 4, () => Dimensions, 1, 0, () => StatisticSet$], 2
|
|
541
|
+
];
|
|
542
|
+
var ModuleLoggingConfiguration$ = [3, n0, _MLC,
|
|
543
|
+
0,
|
|
544
|
+
[_Ena, _LL, _CWLGA],
|
|
545
|
+
[2, 0, 0]
|
|
546
|
+
];
|
|
547
|
+
var ModuleLoggingConfigurationInput$ = [3, n0, _MLCI,
|
|
548
|
+
0,
|
|
549
|
+
[_Ena, _LL],
|
|
550
|
+
[2, 0], 2
|
|
551
|
+
];
|
|
552
|
+
var NetworkConfiguration$ = [3, n0, _NC,
|
|
553
|
+
0,
|
|
554
|
+
[_SI, _SGI],
|
|
555
|
+
[64 | 0, 64 | 0]
|
|
556
|
+
];
|
|
557
|
+
var PublishMetricsInput$ = [3, n0, _PMI,
|
|
558
|
+
0,
|
|
559
|
+
[_EN, _MDe],
|
|
560
|
+
[[0, 1], () => MetricData], 2
|
|
561
|
+
];
|
|
562
|
+
var PublishMetricsOutput$ = [3, n0, _PMO,
|
|
563
|
+
0,
|
|
564
|
+
[],
|
|
565
|
+
[]
|
|
566
|
+
];
|
|
567
|
+
var StatisticSet$ = [3, n0, _SS,
|
|
568
|
+
0,
|
|
569
|
+
[_SC, _Su, _Mi, _Ma],
|
|
570
|
+
[1, 1, 1, 1]
|
|
571
|
+
];
|
|
572
|
+
var TagResourceInput$ = [3, n0, _TRI,
|
|
573
|
+
0,
|
|
574
|
+
[_RA, _Ta],
|
|
575
|
+
[[0, 1], 128 | 0], 2
|
|
576
|
+
];
|
|
577
|
+
var TagResourceOutput$ = [3, n0, _TRO,
|
|
578
|
+
0,
|
|
579
|
+
[],
|
|
580
|
+
[]
|
|
581
|
+
];
|
|
582
|
+
var UntagResourceInput$ = [3, n0, _URI,
|
|
583
|
+
0,
|
|
584
|
+
[_RA, _tK],
|
|
585
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
586
|
+
];
|
|
587
|
+
var UntagResourceOutput$ = [3, n0, _URO,
|
|
588
|
+
0,
|
|
589
|
+
[],
|
|
590
|
+
[]
|
|
591
|
+
];
|
|
592
|
+
var UpdateEnvironmentInput$ = [3, n0, _UEI,
|
|
593
|
+
0,
|
|
594
|
+
[_N, _ERA, _ACO, _AV, _DSP, _EC, _LC, _MW, _MWi, _MWa, _MWin, _WRS, _NC, _PSP, _PSOV, _RSP, _RSOV, _S, _SBA, _SSSP, _SSSOV, _WAM, _WMWS],
|
|
595
|
+
[[0, 1], 0, [() => AirflowConfigurationOptions, 0], 0, 0, 0, () => LoggingConfigurationInput$, 1, 1, 1, 1, 0, () => UpdateNetworkConfigurationInput$, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], 1
|
|
596
|
+
];
|
|
597
|
+
var UpdateEnvironmentOutput$ = [3, n0, _UEO,
|
|
598
|
+
0,
|
|
599
|
+
[_A],
|
|
600
|
+
[0]
|
|
601
|
+
];
|
|
602
|
+
var UpdateError$ = [3, n0, _UE,
|
|
603
|
+
0,
|
|
604
|
+
[_ECr, _EMr],
|
|
605
|
+
[0, 0]
|
|
606
|
+
];
|
|
607
|
+
var UpdateNetworkConfigurationInput$ = [3, n0, _UNCI,
|
|
608
|
+
0,
|
|
609
|
+
[_SGI],
|
|
610
|
+
[64 | 0], 1
|
|
611
|
+
];
|
|
612
|
+
var Dimensions = [1, n0, _Di,
|
|
613
|
+
0, () => Dimension$
|
|
614
|
+
];
|
|
615
|
+
var MetricData = [1, n0, _MDe,
|
|
616
|
+
0, () => MetricDatum$
|
|
617
|
+
];
|
|
618
|
+
var AirflowConfigurationOptions = [2, n0, _ACO,
|
|
619
|
+
8, [0,
|
|
620
|
+
0],
|
|
621
|
+
[() => ConfigValue,
|
|
622
|
+
0]
|
|
623
|
+
];
|
|
624
|
+
var CreateCliToken$ = [9, n0, _CCT,
|
|
625
|
+
{ [_en]: ["env."], [_h]: ["POST", "/clitoken/{Name}", 200] }, () => CreateCliTokenRequest$, () => CreateCliTokenResponse$
|
|
626
|
+
];
|
|
627
|
+
var CreateEnvironment$ = [9, n0, _CE,
|
|
628
|
+
{ [_en]: ["api."], [_h]: ["PUT", "/environments/{Name}", 200] }, () => CreateEnvironmentInput$, () => CreateEnvironmentOutput$
|
|
629
|
+
];
|
|
630
|
+
var CreateWebLoginToken$ = [9, n0, _CWLT,
|
|
631
|
+
{ [_en]: ["env."], [_h]: ["POST", "/webtoken/{Name}", 200] }, () => CreateWebLoginTokenRequest$, () => CreateWebLoginTokenResponse$
|
|
632
|
+
];
|
|
633
|
+
var DeleteEnvironment$ = [9, n0, _DE,
|
|
634
|
+
{ [_en]: ["api."], [_h]: ["DELETE", "/environments/{Name}", 200] }, () => DeleteEnvironmentInput$, () => DeleteEnvironmentOutput$
|
|
635
|
+
];
|
|
636
|
+
var GetEnvironment$ = [9, n0, _GE,
|
|
637
|
+
{ [_en]: ["api."], [_h]: ["GET", "/environments/{Name}", 200] }, () => GetEnvironmentInput$, () => GetEnvironmentOutput$
|
|
638
|
+
];
|
|
639
|
+
var InvokeRestApi$ = [9, n0, _IRA,
|
|
640
|
+
{ [_en]: ["env."], [_h]: ["POST", "/restapi/{Name}", 200] }, () => InvokeRestApiRequest$, () => InvokeRestApiResponse$
|
|
641
|
+
];
|
|
642
|
+
var ListEnvironments$ = [9, n0, _LE,
|
|
643
|
+
{ [_en]: ["api."], [_h]: ["GET", "/environments", 200] }, () => ListEnvironmentsInput$, () => ListEnvironmentsOutput$
|
|
644
|
+
];
|
|
645
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
646
|
+
{ [_en]: ["api."], [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
647
|
+
];
|
|
648
|
+
var PublishMetrics$ = [9, n0, _PM,
|
|
649
|
+
{ [_en]: ["ops."], [_h]: ["POST", "/metrics/environments/{EnvironmentName}", 200] }, () => PublishMetricsInput$, () => PublishMetricsOutput$
|
|
650
|
+
];
|
|
651
|
+
var TagResource$ = [9, n0, _TR,
|
|
652
|
+
{ [_en]: ["api."], [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
|
|
653
|
+
];
|
|
654
|
+
var UntagResource$ = [9, n0, _UR,
|
|
655
|
+
{ [_en]: ["api."], [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
|
|
656
|
+
];
|
|
657
|
+
var UpdateEnvironment$ = [9, n0, _UEp,
|
|
658
|
+
{ [_en]: ["api."], [_h]: ["PATCH", "/environments/{Name}", 200] }, () => UpdateEnvironmentInput$, () => UpdateEnvironmentOutput$
|
|
659
|
+
];
|
|
660
|
+
|
|
661
|
+
const getRuntimeConfig$1 = (config) => {
|
|
662
|
+
return {
|
|
663
|
+
apiVersion: "2020-07-01",
|
|
664
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
665
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
666
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
667
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
668
|
+
extensions: config?.extensions ?? [],
|
|
669
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMWAAHttpAuthSchemeProvider,
|
|
670
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
671
|
+
{
|
|
672
|
+
schemeId: "aws.auth#sigv4",
|
|
673
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
674
|
+
signer: new AwsSdkSigV4Signer(),
|
|
675
|
+
},
|
|
676
|
+
],
|
|
677
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
678
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
679
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
680
|
+
defaultNamespace: "com.amazonaws.mwaa",
|
|
681
|
+
errorTypeRegistries,
|
|
682
|
+
version: "2020-07-01",
|
|
683
|
+
serviceTarget: "AmazonMWAA",
|
|
684
|
+
},
|
|
685
|
+
serviceId: config?.serviceId ?? "MWAA",
|
|
686
|
+
sha256: config?.sha256 ?? Sha256,
|
|
687
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
688
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
689
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
const getRuntimeConfig = (config) => {
|
|
694
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
695
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
696
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
697
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
698
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
699
|
+
const loaderConfig = {
|
|
700
|
+
profile: config?.profile,
|
|
701
|
+
logger: clientSharedValues.logger,
|
|
702
|
+
};
|
|
703
|
+
return {
|
|
704
|
+
...clientSharedValues,
|
|
705
|
+
...config,
|
|
706
|
+
runtime: "node",
|
|
707
|
+
defaultsMode,
|
|
708
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
709
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
710
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
711
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
712
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
713
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
714
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
715
|
+
retryMode: config?.retryMode ??
|
|
716
|
+
loadConfig({
|
|
717
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
718
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
719
|
+
}, config),
|
|
720
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
721
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
722
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
723
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
|
|
34
727
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
728
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
729
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -354,26 +1047,91 @@ const Unit = {
|
|
|
354
1047
|
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
355
1048
|
};
|
|
356
1049
|
|
|
1050
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1051
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1052
|
+
exports.CreateCliToken$ = CreateCliToken$;
|
|
357
1053
|
exports.CreateCliTokenCommand = CreateCliTokenCommand;
|
|
1054
|
+
exports.CreateCliTokenRequest$ = CreateCliTokenRequest$;
|
|
1055
|
+
exports.CreateCliTokenResponse$ = CreateCliTokenResponse$;
|
|
1056
|
+
exports.CreateEnvironment$ = CreateEnvironment$;
|
|
358
1057
|
exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
|
|
1058
|
+
exports.CreateEnvironmentInput$ = CreateEnvironmentInput$;
|
|
1059
|
+
exports.CreateEnvironmentOutput$ = CreateEnvironmentOutput$;
|
|
1060
|
+
exports.CreateWebLoginToken$ = CreateWebLoginToken$;
|
|
359
1061
|
exports.CreateWebLoginTokenCommand = CreateWebLoginTokenCommand;
|
|
1062
|
+
exports.CreateWebLoginTokenRequest$ = CreateWebLoginTokenRequest$;
|
|
1063
|
+
exports.CreateWebLoginTokenResponse$ = CreateWebLoginTokenResponse$;
|
|
1064
|
+
exports.DeleteEnvironment$ = DeleteEnvironment$;
|
|
360
1065
|
exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
|
|
1066
|
+
exports.DeleteEnvironmentInput$ = DeleteEnvironmentInput$;
|
|
1067
|
+
exports.DeleteEnvironmentOutput$ = DeleteEnvironmentOutput$;
|
|
1068
|
+
exports.Dimension$ = Dimension$;
|
|
361
1069
|
exports.EndpointManagement = EndpointManagement;
|
|
1070
|
+
exports.Environment$ = Environment$;
|
|
362
1071
|
exports.EnvironmentStatus = EnvironmentStatus;
|
|
1072
|
+
exports.GetEnvironment$ = GetEnvironment$;
|
|
363
1073
|
exports.GetEnvironmentCommand = GetEnvironmentCommand;
|
|
1074
|
+
exports.GetEnvironmentInput$ = GetEnvironmentInput$;
|
|
1075
|
+
exports.GetEnvironmentOutput$ = GetEnvironmentOutput$;
|
|
1076
|
+
exports.InternalServerException = InternalServerException;
|
|
1077
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1078
|
+
exports.InvokeRestApi$ = InvokeRestApi$;
|
|
364
1079
|
exports.InvokeRestApiCommand = InvokeRestApiCommand;
|
|
1080
|
+
exports.InvokeRestApiRequest$ = InvokeRestApiRequest$;
|
|
1081
|
+
exports.InvokeRestApiResponse$ = InvokeRestApiResponse$;
|
|
1082
|
+
exports.LastUpdate$ = LastUpdate$;
|
|
1083
|
+
exports.ListEnvironments$ = ListEnvironments$;
|
|
365
1084
|
exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
|
|
1085
|
+
exports.ListEnvironmentsInput$ = ListEnvironmentsInput$;
|
|
1086
|
+
exports.ListEnvironmentsOutput$ = ListEnvironmentsOutput$;
|
|
1087
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
366
1088
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1089
|
+
exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
|
|
1090
|
+
exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
|
|
1091
|
+
exports.LoggingConfiguration$ = LoggingConfiguration$;
|
|
1092
|
+
exports.LoggingConfigurationInput$ = LoggingConfigurationInput$;
|
|
367
1093
|
exports.LoggingLevel = LoggingLevel;
|
|
368
1094
|
exports.MWAA = MWAA;
|
|
369
1095
|
exports.MWAAClient = MWAAClient;
|
|
1096
|
+
exports.MWAAServiceException = MWAAServiceException;
|
|
1097
|
+
exports.MWAAServiceException$ = MWAAServiceException$;
|
|
1098
|
+
exports.MetricDatum$ = MetricDatum$;
|
|
1099
|
+
exports.ModuleLoggingConfiguration$ = ModuleLoggingConfiguration$;
|
|
1100
|
+
exports.ModuleLoggingConfigurationInput$ = ModuleLoggingConfigurationInput$;
|
|
1101
|
+
exports.NetworkConfiguration$ = NetworkConfiguration$;
|
|
1102
|
+
exports.PublishMetrics$ = PublishMetrics$;
|
|
370
1103
|
exports.PublishMetricsCommand = PublishMetricsCommand;
|
|
1104
|
+
exports.PublishMetricsInput$ = PublishMetricsInput$;
|
|
1105
|
+
exports.PublishMetricsOutput$ = PublishMetricsOutput$;
|
|
1106
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1107
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1108
|
+
exports.RestApiClientException = RestApiClientException;
|
|
1109
|
+
exports.RestApiClientException$ = RestApiClientException$;
|
|
371
1110
|
exports.RestApiMethod = RestApiMethod;
|
|
1111
|
+
exports.RestApiServerException = RestApiServerException;
|
|
1112
|
+
exports.RestApiServerException$ = RestApiServerException$;
|
|
1113
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
1114
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
1115
|
+
exports.StatisticSet$ = StatisticSet$;
|
|
1116
|
+
exports.TagResource$ = TagResource$;
|
|
372
1117
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1118
|
+
exports.TagResourceInput$ = TagResourceInput$;
|
|
1119
|
+
exports.TagResourceOutput$ = TagResourceOutput$;
|
|
373
1120
|
exports.Unit = Unit;
|
|
1121
|
+
exports.UntagResource$ = UntagResource$;
|
|
374
1122
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1123
|
+
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
1124
|
+
exports.UntagResourceOutput$ = UntagResourceOutput$;
|
|
1125
|
+
exports.UpdateEnvironment$ = UpdateEnvironment$;
|
|
375
1126
|
exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
1127
|
+
exports.UpdateEnvironmentInput$ = UpdateEnvironmentInput$;
|
|
1128
|
+
exports.UpdateEnvironmentOutput$ = UpdateEnvironmentOutput$;
|
|
1129
|
+
exports.UpdateError$ = UpdateError$;
|
|
1130
|
+
exports.UpdateNetworkConfigurationInput$ = UpdateNetworkConfigurationInput$;
|
|
376
1131
|
exports.UpdateStatus = UpdateStatus;
|
|
1132
|
+
exports.ValidationException = ValidationException;
|
|
1133
|
+
exports.ValidationException$ = ValidationException$;
|
|
377
1134
|
exports.WebserverAccessMode = WebserverAccessMode;
|
|
378
1135
|
exports.WorkerReplacementStrategy = WorkerReplacementStrategy;
|
|
1136
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
379
1137
|
exports.paginateListEnvironments = paginateListEnvironments;
|