@aws-sdk/client-mwaa 3.649.0 → 3.651.1

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 CHANGED
@@ -952,9 +952,7 @@ var _NT = "NextToken";
952
952
  var _tK = "tagKeys";
953
953
 
954
954
  // src/commands/CreateCliTokenCommand.ts
955
- var _CreateCliTokenCommand = class _CreateCliTokenCommand extends import_smithy_client.Command.classBuilder().ep({
956
- ...commonParams
957
- }).m(function(Command, cs, config, o) {
955
+ var _CreateCliTokenCommand = class _CreateCliTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
958
956
  return [
959
957
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
960
958
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -968,9 +966,7 @@ var CreateCliTokenCommand = _CreateCliTokenCommand;
968
966
 
969
967
 
970
968
 
971
- var _CreateEnvironmentCommand = class _CreateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
972
- ...commonParams
973
- }).m(function(Command, cs, config, o) {
969
+ var _CreateEnvironmentCommand = class _CreateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
974
970
  return [
975
971
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
976
972
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -984,9 +980,7 @@ var CreateEnvironmentCommand = _CreateEnvironmentCommand;
984
980
 
985
981
 
986
982
 
987
- var _CreateWebLoginTokenCommand = class _CreateWebLoginTokenCommand extends import_smithy_client.Command.classBuilder().ep({
988
- ...commonParams
989
- }).m(function(Command, cs, config, o) {
983
+ var _CreateWebLoginTokenCommand = class _CreateWebLoginTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
990
984
  return [
991
985
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
992
986
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1000,9 +994,7 @@ var CreateWebLoginTokenCommand = _CreateWebLoginTokenCommand;
1000
994
 
1001
995
 
1002
996
 
1003
- var _DeleteEnvironmentCommand = class _DeleteEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1004
- ...commonParams
1005
- }).m(function(Command, cs, config, o) {
997
+ var _DeleteEnvironmentCommand = class _DeleteEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1006
998
  return [
1007
999
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1008
1000
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1016,9 +1008,7 @@ var DeleteEnvironmentCommand = _DeleteEnvironmentCommand;
1016
1008
 
1017
1009
 
1018
1010
 
1019
- var _GetEnvironmentCommand = class _GetEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1020
- ...commonParams
1021
- }).m(function(Command, cs, config, o) {
1011
+ var _GetEnvironmentCommand = class _GetEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1022
1012
  return [
1023
1013
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1024
1014
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1032,9 +1022,7 @@ var GetEnvironmentCommand = _GetEnvironmentCommand;
1032
1022
 
1033
1023
 
1034
1024
 
1035
- var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
1036
- ...commonParams
1037
- }).m(function(Command, cs, config, o) {
1025
+ var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1038
1026
  return [
1039
1027
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1040
1028
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1048,9 +1036,7 @@ var ListEnvironmentsCommand = _ListEnvironmentsCommand;
1048
1036
 
1049
1037
 
1050
1038
 
1051
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1052
- ...commonParams
1053
- }).m(function(Command, cs, config, o) {
1039
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1054
1040
  return [
1055
1041
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1056
1042
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1064,9 +1050,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1064
1050
 
1065
1051
 
1066
1052
 
1067
- var _PublishMetricsCommand = class _PublishMetricsCommand extends import_smithy_client.Command.classBuilder().ep({
1068
- ...commonParams
1069
- }).m(function(Command, cs, config, o) {
1053
+ var _PublishMetricsCommand = class _PublishMetricsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1070
1054
  return [
1071
1055
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1072
1056
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1080,9 +1064,7 @@ var PublishMetricsCommand = _PublishMetricsCommand;
1080
1064
 
1081
1065
 
1082
1066
 
1083
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1084
- ...commonParams
1085
- }).m(function(Command, cs, config, o) {
1067
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1086
1068
  return [
1087
1069
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1088
1070
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1096,9 +1078,7 @@ var TagResourceCommand = _TagResourceCommand;
1096
1078
 
1097
1079
 
1098
1080
 
1099
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1100
- ...commonParams
1101
- }).m(function(Command, cs, config, o) {
1081
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1102
1082
  return [
1103
1083
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1104
1084
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1112,9 +1092,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1112
1092
 
1113
1093
 
1114
1094
 
1115
- var _UpdateEnvironmentCommand = class _UpdateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1116
- ...commonParams
1117
- }).m(function(Command, cs, config, o) {
1095
+ var _UpdateEnvironmentCommand = class _UpdateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1118
1096
  return [
1119
1097
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1120
1098
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_CreateCliTokenCommand, se_CreateCliTokenCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class CreateCliTokenCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateEnvironmentCommand, se_CreateEnvironmentCommand } from "../pro
7
7
  export { $Command };
8
8
  export class CreateEnvironmentCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateWebLoginTokenCommand, se_CreateWebLoginTokenCommand } from "..
7
7
  export { $Command };
8
8
  export class CreateWebLoginTokenCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteEnvironmentCommand, se_DeleteEnvironmentCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteEnvironmentCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetEnvironmentCommand, se_GetEnvironmentCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class GetEnvironmentCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListEnvironmentsCommand, se_ListEnvironmentsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListEnvironmentsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PublishMetricsCommand, se_PublishMetricsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class PublishMetricsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../pro
7
7
  export { $Command };
8
8
  export class UpdateEnvironmentCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
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.649.0",
4
+ "version": "3.651.1",
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,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
25
- "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.651.1",
24
+ "@aws-sdk/client-sts": "3.651.1",
25
+ "@aws-sdk/core": "3.651.1",
26
+ "@aws-sdk/credential-provider-node": "3.651.1",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }