@aws-sdk/client-mwaa 3.54.0 → 3.56.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.
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
package/dist-es/MWAA.js CHANGED
@@ -23,7 +23,7 @@ var MWAA = (function (_super) {
23
23
  }
24
24
  else if (typeof cb === "function") {
25
25
  if (typeof optionsOrCb !== "object")
26
- throw new Error("Expect http options but get " + typeof optionsOrCb);
26
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
27
27
  this.send(command, optionsOrCb || {}, cb);
28
28
  }
29
29
  else {
@@ -37,7 +37,7 @@ var MWAA = (function (_super) {
37
37
  }
38
38
  else if (typeof cb === "function") {
39
39
  if (typeof optionsOrCb !== "object")
40
- throw new Error("Expect http options but get " + typeof optionsOrCb);
40
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
41
41
  this.send(command, optionsOrCb || {}, cb);
42
42
  }
43
43
  else {
@@ -51,7 +51,7 @@ var MWAA = (function (_super) {
51
51
  }
52
52
  else if (typeof cb === "function") {
53
53
  if (typeof optionsOrCb !== "object")
54
- throw new Error("Expect http options but get " + typeof optionsOrCb);
54
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
55
55
  this.send(command, optionsOrCb || {}, cb);
56
56
  }
57
57
  else {
@@ -65,7 +65,7 @@ var MWAA = (function (_super) {
65
65
  }
66
66
  else if (typeof cb === "function") {
67
67
  if (typeof optionsOrCb !== "object")
68
- throw new Error("Expect http options but get " + typeof optionsOrCb);
68
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
69
69
  this.send(command, optionsOrCb || {}, cb);
70
70
  }
71
71
  else {
@@ -79,7 +79,7 @@ var MWAA = (function (_super) {
79
79
  }
80
80
  else if (typeof cb === "function") {
81
81
  if (typeof optionsOrCb !== "object")
82
- throw new Error("Expect http options but get " + typeof optionsOrCb);
82
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
83
83
  this.send(command, optionsOrCb || {}, cb);
84
84
  }
85
85
  else {
@@ -93,7 +93,7 @@ var MWAA = (function (_super) {
93
93
  }
94
94
  else if (typeof cb === "function") {
95
95
  if (typeof optionsOrCb !== "object")
96
- throw new Error("Expect http options but get " + typeof optionsOrCb);
96
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
97
97
  this.send(command, optionsOrCb || {}, cb);
98
98
  }
99
99
  else {
@@ -107,7 +107,7 @@ var MWAA = (function (_super) {
107
107
  }
108
108
  else if (typeof cb === "function") {
109
109
  if (typeof optionsOrCb !== "object")
110
- throw new Error("Expect http options but get " + typeof optionsOrCb);
110
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
111
111
  this.send(command, optionsOrCb || {}, cb);
112
112
  }
113
113
  else {
@@ -121,7 +121,7 @@ var MWAA = (function (_super) {
121
121
  }
122
122
  else if (typeof cb === "function") {
123
123
  if (typeof optionsOrCb !== "object")
124
- throw new Error("Expect http options but get " + typeof optionsOrCb);
124
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
125
125
  this.send(command, optionsOrCb || {}, cb);
126
126
  }
127
127
  else {
@@ -135,7 +135,7 @@ var MWAA = (function (_super) {
135
135
  }
136
136
  else if (typeof cb === "function") {
137
137
  if (typeof optionsOrCb !== "object")
138
- throw new Error("Expect http options but get " + typeof optionsOrCb);
138
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
139
139
  this.send(command, optionsOrCb || {}, cb);
140
140
  }
141
141
  else {
@@ -149,7 +149,7 @@ var MWAA = (function (_super) {
149
149
  }
150
150
  else if (typeof cb === "function") {
151
151
  if (typeof optionsOrCb !== "object")
152
- throw new Error("Expect http options but get " + typeof optionsOrCb);
152
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
153
153
  this.send(command, optionsOrCb || {}, cb);
154
154
  }
155
155
  else {
@@ -163,7 +163,7 @@ var MWAA = (function (_super) {
163
163
  }
164
164
  else if (typeof cb === "function") {
165
165
  if (typeof optionsOrCb !== "object")
166
- throw new Error("Expect http options but get " + typeof optionsOrCb);
166
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
167
167
  this.send(command, optionsOrCb || {}, cb);
168
168
  }
169
169
  else {
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListEnvironmentsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListEnvironmentsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listEnvironments.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listEnvironments.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListEnvironments(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof MWAA)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof MWAAClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -11,7 +11,7 @@ export var serializeAws_restJson1CreateCliTokenCommand = function (input, contex
11
11
  case 1:
12
12
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
13
13
  headers = {};
14
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/clitoken/{Name}";
14
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/clitoken/{Name}";
15
15
  if (input.Name !== undefined) {
16
16
  labelValue = input.Name;
17
17
  if (labelValue.length <= 0) {
@@ -53,7 +53,7 @@ export var serializeAws_restJson1CreateEnvironmentCommand = function (input, con
53
53
  headers = {
54
54
  "content-type": "application/json",
55
55
  };
56
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
56
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
57
57
  if (input.Name !== undefined) {
58
58
  labelValue = input.Name;
59
59
  if (labelValue.length <= 0) {
@@ -114,7 +114,7 @@ export var serializeAws_restJson1CreateWebLoginTokenCommand = function (input, c
114
114
  case 1:
115
115
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
116
116
  headers = {};
117
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/webtoken/{Name}";
117
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/webtoken/{Name}";
118
118
  if (input.Name !== undefined) {
119
119
  labelValue = input.Name;
120
120
  if (labelValue.length <= 0) {
@@ -154,7 +154,7 @@ export var serializeAws_restJson1DeleteEnvironmentCommand = function (input, con
154
154
  case 1:
155
155
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
156
156
  headers = {};
157
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
157
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
158
158
  if (input.Name !== undefined) {
159
159
  labelValue = input.Name;
160
160
  if (labelValue.length <= 0) {
@@ -194,7 +194,7 @@ export var serializeAws_restJson1GetEnvironmentCommand = function (input, contex
194
194
  case 1:
195
195
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
196
196
  headers = {};
197
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
197
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
198
198
  if (input.Name !== undefined) {
199
199
  labelValue = input.Name;
200
200
  if (labelValue.length <= 0) {
@@ -234,7 +234,7 @@ export var serializeAws_restJson1ListEnvironmentsCommand = function (input, cont
234
234
  case 1:
235
235
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
236
236
  headers = {};
237
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments";
237
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments";
238
238
  query = __assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() }));
239
239
  return [4, context.endpoint()];
240
240
  case 2:
@@ -266,7 +266,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
266
266
  case 1:
267
267
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
268
268
  headers = {};
269
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
269
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
270
270
  if (input.ResourceArn !== undefined) {
271
271
  labelValue = input.ResourceArn;
272
272
  if (labelValue.length <= 0) {
@@ -308,7 +308,7 @@ export var serializeAws_restJson1PublishMetricsCommand = function (input, contex
308
308
  headers = {
309
309
  "content-type": "application/json",
310
310
  };
311
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/metrics/environments/{EnvironmentName}";
311
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/metrics/environments/{EnvironmentName}";
312
312
  if (input.EnvironmentName !== undefined) {
313
313
  labelValue = input.EnvironmentName;
314
314
  if (labelValue.length <= 0) {
@@ -352,7 +352,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
352
352
  headers = {
353
353
  "content-type": "application/json",
354
354
  };
355
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
355
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
356
356
  if (input.ResourceArn !== undefined) {
357
357
  labelValue = input.ResourceArn;
358
358
  if (labelValue.length <= 0) {
@@ -393,7 +393,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
393
393
  case 1:
394
394
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
395
395
  headers = {};
396
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
396
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
397
397
  if (input.ResourceArn !== undefined) {
398
398
  labelValue = input.ResourceArn;
399
399
  if (labelValue.length <= 0) {
@@ -437,7 +437,7 @@ export var serializeAws_restJson1UpdateEnvironmentCommand = function (input, con
437
437
  headers = {
438
438
  "content-type": "application/json",
439
439
  };
440
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
440
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{Name}";
441
441
  if (input.Name !== undefined) {
442
442
  labelValue = input.Name;
443
443
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.54.0",
4
+ "version": "3.56.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.0",
22
- "@aws-sdk/config-resolver": "3.54.0",
23
- "@aws-sdk/credential-provider-node": "3.54.0",
24
- "@aws-sdk/fetch-http-handler": "3.54.0",
25
- "@aws-sdk/hash-node": "3.54.0",
26
- "@aws-sdk/invalid-dependency": "3.54.0",
27
- "@aws-sdk/middleware-content-length": "3.54.0",
28
- "@aws-sdk/middleware-host-header": "3.54.0",
29
- "@aws-sdk/middleware-logger": "3.54.0",
30
- "@aws-sdk/middleware-retry": "3.54.0",
31
- "@aws-sdk/middleware-serde": "3.54.0",
32
- "@aws-sdk/middleware-signing": "3.54.0",
33
- "@aws-sdk/middleware-stack": "3.54.0",
34
- "@aws-sdk/middleware-user-agent": "3.54.0",
35
- "@aws-sdk/node-config-provider": "3.54.0",
36
- "@aws-sdk/node-http-handler": "3.54.0",
37
- "@aws-sdk/protocol-http": "3.54.0",
38
- "@aws-sdk/smithy-client": "3.54.0",
39
- "@aws-sdk/types": "3.54.0",
40
- "@aws-sdk/url-parser": "3.54.0",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
- "@aws-sdk/util-user-agent-browser": "3.54.0",
48
- "@aws-sdk/util-user-agent-node": "3.54.0",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.56.0",
22
+ "@aws-sdk/config-resolver": "3.56.0",
23
+ "@aws-sdk/credential-provider-node": "3.56.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.56.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.56.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.56.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.56.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.56.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"