@aws-sdk/client-mwaa 3.758.0 → 3.774.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +25 -25
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  CreateCliTokenCommand: () => CreateCliTokenCommand,
26
26
  CreateCliTokenResponseFilterSensitiveLog: () => CreateCliTokenResponseFilterSensitiveLog,
@@ -60,7 +60,7 @@ __export(src_exports, {
60
60
  __Client: () => import_smithy_client.Client,
61
61
  paginateListEnvironments: () => paginateListEnvironments
62
62
  });
63
- module.exports = __toCommonJS(src_exports);
63
+ module.exports = __toCommonJS(index_exports);
64
64
 
65
65
  // src/MWAAClient.ts
66
66
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -187,9 +187,9 @@ var MWAAClient = class extends import_smithy_client.Client {
187
187
  this.middlewareStack.use(
188
188
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
189
189
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMWAAHttpAuthSchemeParametersProvider,
190
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
190
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
191
191
  "aws.auth#sigv4": config.credentials
192
- })
192
+ }), "identityProviderConfigProvider")
193
193
  })
194
194
  );
195
195
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -502,19 +502,19 @@ var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
502
502
  let body;
503
503
  body = JSON.stringify(
504
504
  (0, import_smithy_client.take)(input, {
505
- AirflowConfigurationOptions: (_) => (0, import_smithy_client._json)(_),
505
+ AirflowConfigurationOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AirflowConfigurationOptions"),
506
506
  AirflowVersion: [],
507
507
  DagS3Path: [],
508
508
  EndpointManagement: [],
509
509
  EnvironmentClass: [],
510
510
  ExecutionRoleArn: [],
511
511
  KmsKey: [],
512
- LoggingConfiguration: (_) => (0, import_smithy_client._json)(_),
512
+ LoggingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LoggingConfiguration"),
513
513
  MaxWebservers: [],
514
514
  MaxWorkers: [],
515
515
  MinWebservers: [],
516
516
  MinWorkers: [],
517
- NetworkConfiguration: (_) => (0, import_smithy_client._json)(_),
517
+ NetworkConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NetworkConfiguration"),
518
518
  PluginsS3ObjectVersion: [],
519
519
  PluginsS3Path: [],
520
520
  RequirementsS3ObjectVersion: [],
@@ -523,7 +523,7 @@ var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
523
523
  SourceBucketArn: [],
524
524
  StartupScriptS3ObjectVersion: [],
525
525
  StartupScriptS3Path: [],
526
- Tags: (_) => (0, import_smithy_client._json)(_),
526
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
527
527
  WebserverAccessMode: [],
528
528
  WeeklyMaintenanceWindowStart: []
529
529
  })
@@ -600,10 +600,10 @@ var se_InvokeRestApiCommand = /* @__PURE__ */ __name(async (input, context) => {
600
600
  let body;
601
601
  body = JSON.stringify(
602
602
  (0, import_smithy_client.take)(input, {
603
- Body: (_) => se_RestApiRequestBody(_, context),
603
+ Body: /* @__PURE__ */ __name((_) => se_RestApiRequestBody(_, context), "Body"),
604
604
  Method: [],
605
605
  Path: [],
606
- QueryParameters: (_) => se_Document(_, context)
606
+ QueryParameters: /* @__PURE__ */ __name((_) => se_Document(_, context), "QueryParameters")
607
607
  })
608
608
  );
609
609
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -664,7 +664,7 @@ var se_PublishMetricsCommand = /* @__PURE__ */ __name(async (input, context) =>
664
664
  let body;
665
665
  body = JSON.stringify(
666
666
  (0, import_smithy_client.take)(input, {
667
- MetricData: (_) => se_MetricData(_, context)
667
+ MetricData: /* @__PURE__ */ __name((_) => se_MetricData(_, context), "MetricData")
668
668
  })
669
669
  );
670
670
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -688,7 +688,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
688
688
  let body;
689
689
  body = JSON.stringify(
690
690
  (0, import_smithy_client.take)(input, {
691
- Tags: (_) => (0, import_smithy_client._json)(_)
691
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
692
692
  })
693
693
  );
694
694
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -732,17 +732,17 @@ var se_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
732
732
  let body;
733
733
  body = JSON.stringify(
734
734
  (0, import_smithy_client.take)(input, {
735
- AirflowConfigurationOptions: (_) => (0, import_smithy_client._json)(_),
735
+ AirflowConfigurationOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AirflowConfigurationOptions"),
736
736
  AirflowVersion: [],
737
737
  DagS3Path: [],
738
738
  EnvironmentClass: [],
739
739
  ExecutionRoleArn: [],
740
- LoggingConfiguration: (_) => (0, import_smithy_client._json)(_),
740
+ LoggingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LoggingConfiguration"),
741
741
  MaxWebservers: [],
742
742
  MaxWorkers: [],
743
743
  MinWebservers: [],
744
744
  MinWorkers: [],
745
- NetworkConfiguration: (_) => (0, import_smithy_client._json)(_),
745
+ NetworkConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NetworkConfiguration"),
746
746
  PluginsS3ObjectVersion: [],
747
747
  PluginsS3Path: [],
748
748
  RequirementsS3ObjectVersion: [],
@@ -831,7 +831,7 @@ var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) =>
831
831
  });
832
832
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
833
833
  const doc = (0, import_smithy_client.take)(data, {
834
- Environment: (_) => de_Environment(_, context)
834
+ Environment: /* @__PURE__ */ __name((_) => de_Environment(_, context), "Environment")
835
835
  });
836
836
  Object.assign(contents, doc);
837
837
  return contents;
@@ -845,7 +845,7 @@ var de_InvokeRestApiCommand = /* @__PURE__ */ __name(async (output, context) =>
845
845
  });
846
846
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
847
847
  const doc = (0, import_smithy_client.take)(data, {
848
- RestApiResponse: (_) => de_RestApiResponse(_, context),
848
+ RestApiResponse: /* @__PURE__ */ __name((_) => de_RestApiResponse(_, context), "RestApiResponse"),
849
849
  RestApiStatusCode: import_smithy_client.expectInt32
850
850
  });
851
851
  Object.assign(contents, doc);
@@ -1002,7 +1002,7 @@ var de_RestApiClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, c
1002
1002
  const contents = (0, import_smithy_client.map)({});
1003
1003
  const data = parsedOutput.body;
1004
1004
  const doc = (0, import_smithy_client.take)(data, {
1005
- RestApiResponse: (_) => de_RestApiResponse(_, context),
1005
+ RestApiResponse: /* @__PURE__ */ __name((_) => de_RestApiResponse(_, context), "RestApiResponse"),
1006
1006
  RestApiStatusCode: import_smithy_client.expectInt32
1007
1007
  });
1008
1008
  Object.assign(contents, doc);
@@ -1016,7 +1016,7 @@ var de_RestApiServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, c
1016
1016
  const contents = (0, import_smithy_client.map)({});
1017
1017
  const data = parsedOutput.body;
1018
1018
  const doc = (0, import_smithy_client.take)(data, {
1019
- RestApiResponse: (_) => de_RestApiResponse(_, context),
1019
+ RestApiResponse: /* @__PURE__ */ __name((_) => de_RestApiResponse(_, context), "RestApiResponse"),
1020
1020
  RestApiStatusCode: import_smithy_client.expectInt32
1021
1021
  });
1022
1022
  Object.assign(contents, doc);
@@ -1048,8 +1048,8 @@ var se_MetricDatum = /* @__PURE__ */ __name((input, context) => {
1048
1048
  return (0, import_smithy_client.take)(input, {
1049
1049
  Dimensions: import_smithy_client._json,
1050
1050
  MetricName: [],
1051
- StatisticValues: (_) => se_StatisticSet(_, context),
1052
- Timestamp: (_) => _.getTime() / 1e3,
1051
+ StatisticValues: /* @__PURE__ */ __name((_) => se_StatisticSet(_, context), "StatisticValues"),
1052
+ Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp"),
1053
1053
  Unit: [],
1054
1054
  Value: import_smithy_client.serializeFloat
1055
1055
  });
@@ -1074,14 +1074,14 @@ var de_Environment = /* @__PURE__ */ __name((output, context) => {
1074
1074
  AirflowVersion: import_smithy_client.expectString,
1075
1075
  Arn: import_smithy_client.expectString,
1076
1076
  CeleryExecutorQueue: import_smithy_client.expectString,
1077
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1077
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1078
1078
  DagS3Path: import_smithy_client.expectString,
1079
1079
  DatabaseVpcEndpointService: import_smithy_client.expectString,
1080
1080
  EndpointManagement: import_smithy_client.expectString,
1081
1081
  EnvironmentClass: import_smithy_client.expectString,
1082
1082
  ExecutionRoleArn: import_smithy_client.expectString,
1083
1083
  KmsKey: import_smithy_client.expectString,
1084
- LastUpdate: (_) => de_LastUpdate(_, context),
1084
+ LastUpdate: /* @__PURE__ */ __name((_) => de_LastUpdate(_, context), "LastUpdate"),
1085
1085
  LoggingConfiguration: import_smithy_client._json,
1086
1086
  MaxWebservers: import_smithy_client.expectInt32,
1087
1087
  MaxWorkers: import_smithy_client.expectInt32,
@@ -1108,7 +1108,7 @@ var de_Environment = /* @__PURE__ */ __name((output, context) => {
1108
1108
  }, "de_Environment");
1109
1109
  var de_LastUpdate = /* @__PURE__ */ __name((output, context) => {
1110
1110
  return (0, import_smithy_client.take)(output, {
1111
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1111
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1112
1112
  Error: import_smithy_client._json,
1113
1113
  Source: import_smithy_client.expectString,
1114
1114
  Status: import_smithy_client.expectString
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.758.0",
4
+ "version": "3.774.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,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",