@aws-sdk/client-networkmonitor 3.1067.0 → 3.1069.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.
@@ -1,17 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthSchemeConfig = exports.defaultNetworkMonitorHttpAuthSchemeProvider = exports.defaultNetworkMonitorHttpAuthSchemeParametersProvider = void 0;
4
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const client_1 = require("@smithy/core/client");
6
- const defaultNetworkMonitorHttpAuthSchemeParametersProvider = async (config, context, input) => {
1
+ const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
2
+ const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
3
+ exports.defaultNetworkMonitorHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
4
  return {
8
- operation: (0, client_1.getSmithyContext)(context).operation,
9
- region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
5
+ operation: getSmithyContext(context).operation,
6
+ region: await normalizeProvider(config.region)() || (() => {
10
7
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
8
  })(),
12
9
  };
13
10
  };
14
- exports.defaultNetworkMonitorHttpAuthSchemeParametersProvider = defaultNetworkMonitorHttpAuthSchemeParametersProvider;
15
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
16
12
  return {
17
13
  schemeId: "aws.auth#sigv4",
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
23
  }),
28
24
  };
29
25
  }
30
- const defaultNetworkMonitorHttpAuthSchemeProvider = (authParameters) => {
26
+ exports.defaultNetworkMonitorHttpAuthSchemeProvider = (authParameters) => {
31
27
  const options = [];
32
28
  switch (authParameters.operation) {
33
29
  default: {
@@ -36,11 +32,9 @@ const defaultNetworkMonitorHttpAuthSchemeProvider = (authParameters) => {
36
32
  }
37
33
  return options;
38
34
  };
39
- exports.defaultNetworkMonitorHttpAuthSchemeProvider = defaultNetworkMonitorHttpAuthSchemeProvider;
40
- const resolveHttpAuthSchemeConfig = (config) => {
41
- const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
35
+ exports.resolveHttpAuthSchemeConfig = (config) => {
36
+ const config_0 = resolveAwsSdkSigV4Config(config);
42
37
  return Object.assign(config_0, {
43
- authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
38
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
44
39
  });
45
40
  };
46
- exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bdd = void 0;
4
- const endpoints_1 = require("@smithy/core/endpoints");
1
+ const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
5
2
  const k = "ref";
6
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
7
4
  const _data = {
@@ -46,4 +43,4 @@ const nodes = new Int32Array([
46
43
  3, r + 1, 13,
47
44
  4, r + 2, r + 3,
48
45
  ]);
49
- exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
46
+ exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -1,18 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultEndpointResolver = void 0;
4
- const client_1 = require("@aws-sdk/core/client");
5
- const endpoints_1 = require("@smithy/core/endpoints");
6
- const bdd_1 = require("./bdd");
7
- const cache = new endpoints_1.EndpointCache({
1
+ const { awsEndpointFunctions } = require("@aws-sdk/core/client");
2
+ const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
3
+ const { bdd } = require("./bdd");
4
+ const cache = new EndpointCache({
8
5
  size: 50,
9
6
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
7
  });
11
- const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
8
+ exports.defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
13
10
  endpointParams: endpointParams,
14
11
  logger: context.logger,
15
12
  }));
16
13
  };
17
- exports.defaultEndpointResolver = defaultEndpointResolver;
18
- endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1,18 +1,21 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var core = require('@smithy/core');
5
- var client = require('@smithy/core/client');
6
- var config = require('@smithy/core/config');
7
- var endpoints = require('@smithy/core/endpoints');
8
- var protocols = require('@smithy/core/protocols');
9
- var retry = require('@smithy/core/retry');
10
- var schema = require('@smithy/core/schema');
11
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
12
- var runtimeConfig = require('./runtimeConfig');
13
- var schemas_0 = require('./schemas/schemas_0');
14
- var errors = require('./models/errors');
15
- var NetworkMonitorServiceException = require('./models/NetworkMonitorServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
+ exports.$Command = Command;
6
+ 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 { resolveHttpAuthSchemeConfig, defaultNetworkMonitorHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { CreateMonitor$, CreateProbe$, DeleteMonitor$, DeleteProbe$, GetMonitor$, GetProbe$, ListMonitors$, ListTagsForResource$, TagResource$, UntagResource$, UpdateMonitor$, UpdateProbe$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { NetworkMonitorServiceException } = require("./models/NetworkMonitorServiceException");
18
+ exports.NetworkMonitorServiceException = NetworkMonitorServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -68,191 +71,191 @@ const resolveHttpAuthRuntimeConfig = (config) => {
68
71
  };
69
72
 
70
73
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
71
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
74
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
75
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
73
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
77
  };
75
78
 
76
- class NetworkMonitorClient extends client.Client {
79
+ class NetworkMonitorClient extends Client {
77
80
  config;
78
81
  constructor(...[configuration]) {
79
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
82
+ const _config_0 = getRuntimeConfig(configuration || {});
80
83
  super(_config_0);
81
84
  this.initConfig = _config_0;
82
85
  const _config_1 = resolveClientEndpointParameters(_config_0);
83
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
84
- const _config_3 = retry.resolveRetryConfig(_config_2);
85
- const _config_4 = config.resolveRegionConfig(_config_3);
86
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
87
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
88
- const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
86
+ const _config_2 = resolveUserAgentConfig(_config_1);
87
+ const _config_3 = resolveRetryConfig(_config_2);
88
+ const _config_4 = resolveRegionConfig(_config_3);
89
+ const _config_5 = resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = resolveEndpointConfig(_config_5);
91
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
89
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
90
93
  this.config = _config_8;
91
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
92
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
93
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
94
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
95
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
96
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
97
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
98
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
99
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultNetworkMonitorHttpAuthSchemeParametersProvider,
100
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
94
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
95
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(getRetryPlugin(this.config));
97
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: defaultNetworkMonitorHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
101
104
  "aws.auth#sigv4": config.credentials,
102
105
  }),
103
106
  }));
104
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
107
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
105
108
  }
106
109
  destroy() {
107
110
  super.destroy();
108
111
  }
109
112
  }
110
113
 
111
- class CreateMonitorCommand extends client.Command
114
+ class CreateMonitorCommand extends Command
112
115
  .classBuilder()
113
116
  .ep(commonParams)
114
117
  .m(function (Command, cs, config, o) {
115
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
118
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
116
119
  })
117
120
  .s("NetworkMonitor", "CreateMonitor", {})
118
121
  .n("NetworkMonitorClient", "CreateMonitorCommand")
119
- .sc(schemas_0.CreateMonitor$)
122
+ .sc(CreateMonitor$)
120
123
  .build() {
121
124
  }
122
125
 
123
- class CreateProbeCommand extends client.Command
126
+ class CreateProbeCommand extends Command
124
127
  .classBuilder()
125
128
  .ep(commonParams)
126
129
  .m(function (Command, cs, config, o) {
127
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
130
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
131
  })
129
132
  .s("NetworkMonitor", "CreateProbe", {})
130
133
  .n("NetworkMonitorClient", "CreateProbeCommand")
131
- .sc(schemas_0.CreateProbe$)
134
+ .sc(CreateProbe$)
132
135
  .build() {
133
136
  }
134
137
 
135
- class DeleteMonitorCommand extends client.Command
138
+ class DeleteMonitorCommand extends Command
136
139
  .classBuilder()
137
140
  .ep(commonParams)
138
141
  .m(function (Command, cs, config, o) {
139
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
142
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
143
  })
141
144
  .s("NetworkMonitor", "DeleteMonitor", {})
142
145
  .n("NetworkMonitorClient", "DeleteMonitorCommand")
143
- .sc(schemas_0.DeleteMonitor$)
146
+ .sc(DeleteMonitor$)
144
147
  .build() {
145
148
  }
146
149
 
147
- class DeleteProbeCommand extends client.Command
150
+ class DeleteProbeCommand extends Command
148
151
  .classBuilder()
149
152
  .ep(commonParams)
150
153
  .m(function (Command, cs, config, o) {
151
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
154
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
155
  })
153
156
  .s("NetworkMonitor", "DeleteProbe", {})
154
157
  .n("NetworkMonitorClient", "DeleteProbeCommand")
155
- .sc(schemas_0.DeleteProbe$)
158
+ .sc(DeleteProbe$)
156
159
  .build() {
157
160
  }
158
161
 
159
- class GetMonitorCommand extends client.Command
162
+ class GetMonitorCommand extends Command
160
163
  .classBuilder()
161
164
  .ep(commonParams)
162
165
  .m(function (Command, cs, config, o) {
163
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
166
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
164
167
  })
165
168
  .s("NetworkMonitor", "GetMonitor", {})
166
169
  .n("NetworkMonitorClient", "GetMonitorCommand")
167
- .sc(schemas_0.GetMonitor$)
170
+ .sc(GetMonitor$)
168
171
  .build() {
169
172
  }
170
173
 
171
- class GetProbeCommand extends client.Command
174
+ class GetProbeCommand extends Command
172
175
  .classBuilder()
173
176
  .ep(commonParams)
174
177
  .m(function (Command, cs, config, o) {
175
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
178
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
176
179
  })
177
180
  .s("NetworkMonitor", "GetProbe", {})
178
181
  .n("NetworkMonitorClient", "GetProbeCommand")
179
- .sc(schemas_0.GetProbe$)
182
+ .sc(GetProbe$)
180
183
  .build() {
181
184
  }
182
185
 
183
- class ListMonitorsCommand extends client.Command
186
+ class ListMonitorsCommand extends Command
184
187
  .classBuilder()
185
188
  .ep(commonParams)
186
189
  .m(function (Command, cs, config, o) {
187
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
190
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
191
  })
189
192
  .s("NetworkMonitor", "ListMonitors", {})
190
193
  .n("NetworkMonitorClient", "ListMonitorsCommand")
191
- .sc(schemas_0.ListMonitors$)
194
+ .sc(ListMonitors$)
192
195
  .build() {
193
196
  }
194
197
 
195
- class ListTagsForResourceCommand extends client.Command
198
+ class ListTagsForResourceCommand extends Command
196
199
  .classBuilder()
197
200
  .ep(commonParams)
198
201
  .m(function (Command, cs, config, o) {
199
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
202
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
203
  })
201
204
  .s("NetworkMonitor", "ListTagsForResource", {})
202
205
  .n("NetworkMonitorClient", "ListTagsForResourceCommand")
203
- .sc(schemas_0.ListTagsForResource$)
206
+ .sc(ListTagsForResource$)
204
207
  .build() {
205
208
  }
206
209
 
207
- class TagResourceCommand extends client.Command
210
+ class TagResourceCommand extends Command
208
211
  .classBuilder()
209
212
  .ep(commonParams)
210
213
  .m(function (Command, cs, config, o) {
211
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
214
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
215
  })
213
216
  .s("NetworkMonitor", "TagResource", {})
214
217
  .n("NetworkMonitorClient", "TagResourceCommand")
215
- .sc(schemas_0.TagResource$)
218
+ .sc(TagResource$)
216
219
  .build() {
217
220
  }
218
221
 
219
- class UntagResourceCommand extends client.Command
222
+ class UntagResourceCommand extends Command
220
223
  .classBuilder()
221
224
  .ep(commonParams)
222
225
  .m(function (Command, cs, config, o) {
223
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
226
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
227
  })
225
228
  .s("NetworkMonitor", "UntagResource", {})
226
229
  .n("NetworkMonitorClient", "UntagResourceCommand")
227
- .sc(schemas_0.UntagResource$)
230
+ .sc(UntagResource$)
228
231
  .build() {
229
232
  }
230
233
 
231
- class UpdateMonitorCommand extends client.Command
234
+ class UpdateMonitorCommand extends Command
232
235
  .classBuilder()
233
236
  .ep(commonParams)
234
237
  .m(function (Command, cs, config, o) {
235
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
238
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
236
239
  })
237
240
  .s("NetworkMonitor", "UpdateMonitor", {})
238
241
  .n("NetworkMonitorClient", "UpdateMonitorCommand")
239
- .sc(schemas_0.UpdateMonitor$)
242
+ .sc(UpdateMonitor$)
240
243
  .build() {
241
244
  }
242
245
 
243
- class UpdateProbeCommand extends client.Command
246
+ class UpdateProbeCommand extends Command
244
247
  .classBuilder()
245
248
  .ep(commonParams)
246
249
  .m(function (Command, cs, config, o) {
247
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
250
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
251
  })
249
252
  .s("NetworkMonitor", "UpdateProbe", {})
250
253
  .n("NetworkMonitorClient", "UpdateProbeCommand")
251
- .sc(schemas_0.UpdateProbe$)
254
+ .sc(UpdateProbe$)
252
255
  .build() {
253
256
  }
254
257
 
255
- const paginateListMonitors = core.createPaginator(NetworkMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
258
+ const paginateListMonitors = createPaginator(NetworkMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
256
259
 
257
260
  const commands = {
258
261
  CreateMonitorCommand,
@@ -273,7 +276,7 @@ const paginators = {
273
276
  };
274
277
  class NetworkMonitor extends NetworkMonitorClient {
275
278
  }
276
- client.createAggregatedClient(commands, NetworkMonitor, { paginators });
279
+ createAggregatedClient(commands, NetworkMonitor, { paginators });
277
280
 
278
281
  const AddressFamily = {
279
282
  IPV4: "IPV4",
@@ -299,9 +302,6 @@ const ProbeState = {
299
302
  PENDING: "PENDING",
300
303
  };
301
304
 
302
- exports.$Command = client.Command;
303
- exports.__Client = client.Client;
304
- exports.NetworkMonitorServiceException = NetworkMonitorServiceException.NetworkMonitorServiceException;
305
305
  exports.AddressFamily = AddressFamily;
306
306
  exports.CreateMonitorCommand = CreateMonitorCommand;
307
307
  exports.CreateProbeCommand = CreateProbeCommand;
@@ -321,23 +321,3 @@ exports.UntagResourceCommand = UntagResourceCommand;
321
321
  exports.UpdateMonitorCommand = UpdateMonitorCommand;
322
322
  exports.UpdateProbeCommand = UpdateProbeCommand;
323
323
  exports.paginateListMonitors = paginateListMonitors;
324
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
325
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
326
- Object.defineProperty(exports, '__proto__', {
327
- enumerable: true,
328
- value: schemas_0['__proto__']
329
- });
330
-
331
- Object.keys(schemas_0).forEach(function (k) {
332
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
333
- });
334
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
335
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
336
- Object.defineProperty(exports, '__proto__', {
337
- enumerable: true,
338
- value: errors['__proto__']
339
- });
340
-
341
- Object.keys(errors).forEach(function (k) {
342
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
343
- });
@@ -1,12 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NetworkMonitorServiceException = exports.__ServiceException = void 0;
4
- const client_1 = require("@smithy/core/client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
- class NetworkMonitorServiceException extends client_1.ServiceException {
1
+ const { ServiceException: __ServiceException } = require("@smithy/core/client");
2
+ exports.__ServiceException = __ServiceException;
3
+ exports.NetworkMonitorServiceException = class NetworkMonitorServiceException extends __ServiceException {
7
4
  constructor(options) {
8
5
  super(options);
9
6
  Object.setPrototypeOf(this, NetworkMonitorServiceException.prototype);
10
7
  }
11
- }
12
- exports.NetworkMonitorServiceException = NetworkMonitorServiceException;
8
+ };
@@ -1,8 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- const NetworkMonitorServiceException_1 = require("./NetworkMonitorServiceException");
5
- class AccessDeniedException extends NetworkMonitorServiceException_1.NetworkMonitorServiceException {
1
+ const { NetworkMonitorServiceException: __BaseException } = require("./NetworkMonitorServiceException");
2
+ exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
6
3
  name = "AccessDeniedException";
7
4
  $fault = "client";
8
5
  constructor(opts) {
@@ -13,9 +10,8 @@ class AccessDeniedException extends NetworkMonitorServiceException_1.NetworkMoni
13
10
  });
14
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
12
  }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- class ConflictException extends NetworkMonitorServiceException_1.NetworkMonitorServiceException {
13
+ };
14
+ exports.ConflictException = class ConflictException extends __BaseException {
19
15
  name = "ConflictException";
20
16
  $fault = "client";
21
17
  constructor(opts) {
@@ -26,9 +22,8 @@ class ConflictException extends NetworkMonitorServiceException_1.NetworkMonitorS
26
22
  });
27
23
  Object.setPrototypeOf(this, ConflictException.prototype);
28
24
  }
29
- }
30
- exports.ConflictException = ConflictException;
31
- class InternalServerException extends NetworkMonitorServiceException_1.NetworkMonitorServiceException {
25
+ };
26
+ exports.InternalServerException = class InternalServerException extends __BaseException {
32
27
  name = "InternalServerException";
33
28
  $fault = "server";
34
29
  $retryable = {};
@@ -40,9 +35,8 @@ class InternalServerException extends NetworkMonitorServiceException_1.NetworkMo
40
35
  });
41
36
  Object.setPrototypeOf(this, InternalServerException.prototype);
42
37
  }
43
- }
44
- exports.InternalServerException = InternalServerException;
45
- class ServiceQuotaExceededException extends NetworkMonitorServiceException_1.NetworkMonitorServiceException {
38
+ };
39
+ exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
46
40
  name = "ServiceQuotaExceededException";
47
41
  $fault = "client";
48
42
  constructor(opts) {
@@ -53,9 +47,8 @@ class ServiceQuotaExceededException extends NetworkMonitorServiceException_1.Net
53
47
  });
54
48
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
55
49
  }
56
- }
57
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
58
- class ThrottlingException extends NetworkMonitorServiceException_1.NetworkMonitorServiceException {
50
+ };
51
+ exports.ThrottlingException = class ThrottlingException extends __BaseException {
59
52
  name = "ThrottlingException";
60
53
  $fault = "client";
61
54
  $retryable = {
@@ -69,9 +62,8 @@ class ThrottlingException extends NetworkMonitorServiceException_1.NetworkMonito
69
62
  });
70
63
  Object.setPrototypeOf(this, ThrottlingException.prototype);
71
64
  }
72
- }
73
- exports.ThrottlingException = ThrottlingException;
74
- class ValidationException extends NetworkMonitorServiceException_1.NetworkMonitorServiceException {
65
+ };
66
+ exports.ValidationException = class ValidationException extends __BaseException {
75
67
  name = "ValidationException";
76
68
  $fault = "client";
77
69
  constructor(opts) {
@@ -82,9 +74,8 @@ class ValidationException extends NetworkMonitorServiceException_1.NetworkMonito
82
74
  });
83
75
  Object.setPrototypeOf(this, ValidationException.prototype);
84
76
  }
85
- }
86
- exports.ValidationException = ValidationException;
87
- class ResourceNotFoundException extends NetworkMonitorServiceException_1.NetworkMonitorServiceException {
77
+ };
78
+ exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
88
79
  name = "ResourceNotFoundException";
89
80
  $fault = "client";
90
81
  constructor(opts) {
@@ -95,5 +86,4 @@ class ResourceNotFoundException extends NetworkMonitorServiceException_1.Network
95
86
  });
96
87
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
97
88
  }
98
- }
99
- exports.ResourceNotFoundException = ResourceNotFoundException;
89
+ };
@@ -1,36 +1,32 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const client_1 = require("@aws-sdk/core/client");
8
- const client_2 = require("@smithy/core/client");
9
- const config_1 = require("@smithy/core/config");
10
- const retry_1 = require("@smithy/core/retry");
11
- const serde_1 = require("@smithy/core/serde");
12
- const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
13
- const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
1
+ const packageInfo = require("../package.json");
2
+ const { Sha256 } = require("@aws-crypto/sha256-browser");
3
+ const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
4
+ const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
5
+ const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
6
+ const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
7
+ const { calculateBodyLength } = require("@smithy/core/serde");
8
+ const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
9
+ const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
14
10
  const getRuntimeConfig = (config) => {
15
- const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
16
- const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
17
- const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
11
+ const defaultsMode = resolveDefaultsModeConfig(config);
12
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
13
+ const clientSharedValues = getSharedRuntimeConfig(config);
18
14
  return {
19
15
  ...clientSharedValues,
20
16
  ...config,
21
17
  runtime: "browser",
22
18
  defaultsMode,
23
- bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
19
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
24
20
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
25
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
26
- maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
27
- region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
28
- requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
29
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
30
- sha256: config?.sha256 ?? sha256_browser_1.Sha256,
31
- streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
32
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
21
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
22
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
23
+ region: config?.region ?? invalidProvider("Region is missing"),
24
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
+ sha256: config?.sha256 ?? Sha256,
27
+ streamCollector: config?.streamCollector ?? streamCollector,
28
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
34
30
  };
35
31
  };
36
32
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,23 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const client_1 = require("@aws-sdk/core/client");
7
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
8
- const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const client_2 = require("@smithy/core/client");
10
- const config_1 = require("@smithy/core/config");
11
- const retry_1 = require("@smithy/core/retry");
12
- const serde_1 = require("@smithy/core/serde");
13
- const node_http_handler_1 = require("@smithy/node-http-handler");
14
- const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
1
+ const packageInfo = require("../package.json");
2
+ const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
3
+ const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
4
+ const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
5
+ const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
6
+ const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
7
+ const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
8
+ const { calculateBodyLength, Hash } = require("@smithy/core/serde");
9
+ const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
10
+ const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
15
11
  const getRuntimeConfig = (config) => {
16
- (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
17
- const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
18
- const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
19
- const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
- (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
12
+ emitWarningIfUnsupportedVersion(process.version);
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ awsCheckVersion(process.version);
21
17
  const loaderConfig = {
22
18
  profile: config?.profile,
23
19
  logger: clientSharedValues.logger,
@@ -27,23 +23,23 @@ const getRuntimeConfig = (config) => {
27
23
  ...config,
28
24
  runtime: "node",
29
25
  defaultsMode,
30
- authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
- bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
32
- credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
- maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
35
- region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
- requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
26
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
27
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
31
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
32
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
33
  retryMode: config?.retryMode ??
38
- (0, config_1.loadConfig)({
39
- ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
- default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
34
+ loadNodeConfig({
35
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
41
37
  }, config),
42
- sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
43
- streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
- userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
38
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
+ streamCollector: config?.streamCollector ?? streamCollector,
40
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
42
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
43
  };
48
44
  };
49
45
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,15 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const sha256_js_1 = require("@aws-crypto/sha256-js");
5
- const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
1
+ const { Sha256 } = require("@aws-crypto/sha256-js");
2
+ const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
6
3
  const getRuntimeConfig = (config) => {
7
- const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
8
5
  return {
9
6
  ...browserDefaults,
10
7
  ...config,
11
8
  runtime: "react-native",
12
- sha256: config?.sha256 ?? sha256_js_1.Sha256,
9
+ sha256: config?.sha256 ?? Sha256,
13
10
  };
14
11
  };
15
12
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,42 +1,38 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const protocols_1 = require("@aws-sdk/core/protocols");
6
- const client_1 = require("@smithy/core/client");
7
- const protocols_2 = require("@smithy/core/protocols");
8
- const serde_1 = require("@smithy/core/serde");
9
- const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
- const endpointResolver_1 = require("./endpoint/endpointResolver");
11
- const schemas_0_1 = require("./schemas/schemas_0");
12
- const getRuntimeConfig = (config) => {
1
+ const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
2
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
3
+ const { NoOpLogger } = require("@smithy/core/client");
4
+ const { parseUrl } = require("@smithy/core/protocols");
5
+ const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
6
+ const { defaultNetworkMonitorHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
7
+ const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
8
+ const { errorTypeRegistries } = require("./schemas/schemas_0");
9
+ exports.getRuntimeConfig = (config) => {
13
10
  return {
14
11
  apiVersion: "2023-08-01",
15
- base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
16
- base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
12
+ base64Decoder: config?.base64Decoder ?? fromBase64,
13
+ base64Encoder: config?.base64Encoder ?? toBase64,
17
14
  disableHostPrefix: config?.disableHostPrefix ?? false,
18
- endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
15
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
19
16
  extensions: config?.extensions ?? [],
20
- httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultNetworkMonitorHttpAuthSchemeProvider,
17
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultNetworkMonitorHttpAuthSchemeProvider,
21
18
  httpAuthSchemes: config?.httpAuthSchemes ?? [
22
19
  {
23
20
  schemeId: "aws.auth#sigv4",
24
21
  identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
25
- signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
22
+ signer: new AwsSdkSigV4Signer(),
26
23
  },
27
24
  ],
28
- logger: config?.logger ?? new client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
25
+ logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
30
27
  protocolSettings: config?.protocolSettings ?? {
31
28
  defaultNamespace: "com.amazonaws.networkmonitor",
32
- errorTypeRegistries: schemas_0_1.errorTypeRegistries,
29
+ errorTypeRegistries,
33
30
  version: "2023-08-01",
34
31
  serviceTarget: "NetworkMonitor",
35
32
  },
36
33
  serviceId: config?.serviceId ?? "NetworkMonitor",
37
- urlParser: config?.urlParser ?? protocols_2.parseUrl,
38
- utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
39
- utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
34
+ urlParser: config?.urlParser ?? parseUrl,
35
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
40
37
  };
41
38
  };
42
- exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,6 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProbe$ = exports.UpdateMonitor$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListMonitors$ = exports.GetProbe$ = exports.GetMonitor$ = exports.DeleteProbe$ = exports.DeleteMonitor$ = exports.CreateProbe$ = exports.CreateMonitor$ = exports.UpdateProbeOutput$ = exports.UpdateProbeInput$ = exports.UpdateMonitorOutput$ = exports.UpdateMonitorInput$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.ProbeInput$ = exports.Probe$ = exports.MonitorSummary$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListMonitorsOutput$ = exports.ListMonitorsInput$ = exports.GetProbeOutput$ = exports.GetProbeInput$ = exports.GetMonitorOutput$ = exports.GetMonitorInput$ = exports.DeleteProbeOutput$ = exports.DeleteProbeInput$ = exports.DeleteMonitorOutput$ = exports.DeleteMonitorInput$ = exports.CreateProbeOutput$ = exports.CreateProbeInput$ = exports.CreateMonitorProbeInput$ = exports.CreateMonitorOutput$ = exports.CreateMonitorInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.NetworkMonitorServiceException$ = void 0;
4
1
  const _ADE = "AccessDeniedException";
5
2
  const _CE = "ConflictException";
6
3
  const _CM = "CreateMonitor";
@@ -85,243 +82,279 @@ const _t = "tags";
85
82
  const _tK = "tagKeys";
86
83
  const _vI = "vpcId";
87
84
  const n0 = "com.amazonaws.networkmonitor";
88
- const schema_1 = require("@smithy/core/schema");
89
- const errors_1 = require("../models/errors");
90
- const NetworkMonitorServiceException_1 = require("../models/NetworkMonitorServiceException");
91
- const _s_registry = schema_1.TypeRegistry.for(_s);
92
- exports.NetworkMonitorServiceException$ = [-3, _s, "NetworkMonitorServiceException", 0, [], []];
93
- _s_registry.registerError(exports.NetworkMonitorServiceException$, NetworkMonitorServiceException_1.NetworkMonitorServiceException);
94
- const n0_registry = schema_1.TypeRegistry.for(n0);
95
- exports.AccessDeniedException$ = [-3, n0, _ADE,
85
+ const { TypeRegistry } = require("@smithy/core/schema");
86
+ const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } = require("../models/errors");
87
+ const { NetworkMonitorServiceException } = require("../models/NetworkMonitorServiceException");
88
+ const _s_registry = TypeRegistry.for(_s);
89
+ const NetworkMonitorServiceException$ = [-3, _s, "NetworkMonitorServiceException", 0, [], []];
90
+ exports.NetworkMonitorServiceException$ = NetworkMonitorServiceException$;
91
+ _s_registry.registerError(NetworkMonitorServiceException$, NetworkMonitorServiceException);
92
+ const n0_registry = TypeRegistry.for(n0);
93
+ const AccessDeniedException$ = [-3, n0, _ADE,
96
94
  { [_e]: _c, [_hE]: 403 },
97
95
  [_m],
98
96
  [0]
99
97
  ];
100
- n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
101
- exports.ConflictException$ = [-3, n0, _CE,
98
+ exports.AccessDeniedException$ = AccessDeniedException$;
99
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
100
+ const ConflictException$ = [-3, n0, _CE,
102
101
  { [_e]: _c, [_hE]: 409 },
103
102
  [_m],
104
103
  [0]
105
104
  ];
106
- n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
107
- exports.InternalServerException$ = [-3, n0, _ISE,
105
+ exports.ConflictException$ = ConflictException$;
106
+ n0_registry.registerError(ConflictException$, ConflictException);
107
+ const InternalServerException$ = [-3, n0, _ISE,
108
108
  { [_e]: _se, [_hE]: 500 },
109
109
  [_m],
110
110
  [0]
111
111
  ];
112
- n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
113
- exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
112
+ exports.InternalServerException$ = InternalServerException$;
113
+ n0_registry.registerError(InternalServerException$, InternalServerException);
114
+ const ResourceNotFoundException$ = [-3, n0, _RNFE,
114
115
  { [_e]: _c, [_hE]: 404 },
115
116
  [_m],
116
117
  [0]
117
118
  ];
118
- n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
119
- exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
119
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
120
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
121
+ const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
120
122
  { [_e]: _c, [_hE]: 402 },
121
123
  [_m],
122
124
  [0]
123
125
  ];
124
- n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
125
- exports.ThrottlingException$ = [-3, n0, _TE,
126
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
127
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
128
+ const ThrottlingException$ = [-3, n0, _TE,
126
129
  { [_e]: _c, [_hE]: 429 },
127
130
  [_m],
128
131
  [0]
129
132
  ];
130
- n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
131
- exports.ValidationException$ = [-3, n0, _VE,
133
+ exports.ThrottlingException$ = ThrottlingException$;
134
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
135
+ const ValidationException$ = [-3, n0, _VE,
132
136
  { [_e]: _c, [_hE]: 400 },
133
137
  [_m],
134
138
  [0]
135
139
  ];
136
- n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
140
+ exports.ValidationException$ = ValidationException$;
141
+ n0_registry.registerError(ValidationException$, ValidationException);
137
142
  exports.errorTypeRegistries = [
138
143
  _s_registry,
139
144
  n0_registry,
140
145
  ];
141
- exports.CreateMonitorInput$ = [3, n0, _CMI,
146
+ const CreateMonitorInput$ = [3, n0, _CMI,
142
147
  0,
143
148
  [_mN, _p, _aP, _cT, _t],
144
149
  [0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0], 1
145
150
  ];
146
- exports.CreateMonitorOutput$ = [3, n0, _CMO,
151
+ exports.CreateMonitorInput$ = CreateMonitorInput$;
152
+ const CreateMonitorOutput$ = [3, n0, _CMO,
147
153
  0,
148
154
  [_mA, _mN, _st, _aP, _t],
149
155
  [0, 0, 0, 1, 128 | 0], 3
150
156
  ];
151
- exports.CreateMonitorProbeInput$ = [3, n0, _CMPI,
157
+ exports.CreateMonitorOutput$ = CreateMonitorOutput$;
158
+ const CreateMonitorProbeInput$ = [3, n0, _CMPI,
152
159
  0,
153
160
  [_sA, _d, _pr, _dP, _pS, _pT],
154
161
  [0, 0, 0, 1, 1, 128 | 0], 3
155
162
  ];
156
- exports.CreateProbeInput$ = [3, n0, _CPI,
163
+ exports.CreateMonitorProbeInput$ = CreateMonitorProbeInput$;
164
+ const CreateProbeInput$ = [3, n0, _CPI,
157
165
  0,
158
166
  [_mN, _pro, _cT, _t],
159
- [[0, 1], () => exports.ProbeInput$, [0, 4], 128 | 0], 2
167
+ [[0, 1], () => ProbeInput$, [0, 4], 128 | 0], 2
160
168
  ];
161
- exports.CreateProbeOutput$ = [3, n0, _CPO,
169
+ exports.CreateProbeInput$ = CreateProbeInput$;
170
+ const CreateProbeOutput$ = [3, n0, _CPO,
162
171
  0,
163
172
  [_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _st, _cA, _mAo, _t],
164
173
  [0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
165
174
  ];
166
- exports.DeleteMonitorInput$ = [3, n0, _DMI,
175
+ exports.CreateProbeOutput$ = CreateProbeOutput$;
176
+ const DeleteMonitorInput$ = [3, n0, _DMI,
167
177
  0,
168
178
  [_mN],
169
179
  [[0, 1]], 1
170
180
  ];
171
- exports.DeleteMonitorOutput$ = [3, n0, _DMO,
181
+ exports.DeleteMonitorInput$ = DeleteMonitorInput$;
182
+ const DeleteMonitorOutput$ = [3, n0, _DMO,
172
183
  0,
173
184
  [],
174
185
  []
175
186
  ];
176
- exports.DeleteProbeInput$ = [3, n0, _DPI,
187
+ exports.DeleteMonitorOutput$ = DeleteMonitorOutput$;
188
+ const DeleteProbeInput$ = [3, n0, _DPI,
177
189
  0,
178
190
  [_mN, _pI],
179
191
  [[0, 1], [0, 1]], 2
180
192
  ];
181
- exports.DeleteProbeOutput$ = [3, n0, _DPO,
193
+ exports.DeleteProbeInput$ = DeleteProbeInput$;
194
+ const DeleteProbeOutput$ = [3, n0, _DPO,
182
195
  0,
183
196
  [],
184
197
  []
185
198
  ];
186
- exports.GetMonitorInput$ = [3, n0, _GMI,
199
+ exports.DeleteProbeOutput$ = DeleteProbeOutput$;
200
+ const GetMonitorInput$ = [3, n0, _GMI,
187
201
  0,
188
202
  [_mN],
189
203
  [[0, 1]], 1
190
204
  ];
191
- exports.GetMonitorOutput$ = [3, n0, _GMO,
205
+ exports.GetMonitorInput$ = GetMonitorInput$;
206
+ const GetMonitorOutput$ = [3, n0, _GMO,
192
207
  0,
193
208
  [_mA, _mN, _st, _aP, _cA, _mAo, _t, _p],
194
209
  [0, 0, 0, 1, 4, 4, 128 | 0, () => ProbeList], 6
195
210
  ];
196
- exports.GetProbeInput$ = [3, n0, _GPI,
211
+ exports.GetMonitorOutput$ = GetMonitorOutput$;
212
+ const GetProbeInput$ = [3, n0, _GPI,
197
213
  0,
198
214
  [_mN, _pI],
199
215
  [[0, 1], [0, 1]], 2
200
216
  ];
201
- exports.GetProbeOutput$ = [3, n0, _GPO,
217
+ exports.GetProbeInput$ = GetProbeInput$;
218
+ const GetProbeOutput$ = [3, n0, _GPO,
202
219
  0,
203
220
  [_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _st, _cA, _mAo, _t],
204
221
  [0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
205
222
  ];
206
- exports.ListMonitorsInput$ = [3, n0, _LMI,
223
+ exports.GetProbeOutput$ = GetProbeOutput$;
224
+ const ListMonitorsInput$ = [3, n0, _LMI,
207
225
  0,
208
226
  [_nT, _mR, _st],
209
227
  [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }]]
210
228
  ];
211
- exports.ListMonitorsOutput$ = [3, n0, _LMO,
229
+ exports.ListMonitorsInput$ = ListMonitorsInput$;
230
+ const ListMonitorsOutput$ = [3, n0, _LMO,
212
231
  0,
213
232
  [_mo, _nT],
214
233
  [() => MonitorList, 0], 1
215
234
  ];
216
- exports.ListTagsForResourceInput$ = [3, n0, _LTFRI,
235
+ exports.ListMonitorsOutput$ = ListMonitorsOutput$;
236
+ const ListTagsForResourceInput$ = [3, n0, _LTFRI,
217
237
  0,
218
238
  [_rA],
219
239
  [[0, 1]], 1
220
240
  ];
221
- exports.ListTagsForResourceOutput$ = [3, n0, _LTFRO,
241
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
242
+ const ListTagsForResourceOutput$ = [3, n0, _LTFRO,
222
243
  0,
223
244
  [_t],
224
245
  [128 | 0]
225
246
  ];
226
- exports.MonitorSummary$ = [3, n0, _MS,
247
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
248
+ const MonitorSummary$ = [3, n0, _MS,
227
249
  0,
228
250
  [_mA, _mN, _st, _aP, _t],
229
251
  [0, 0, 0, 1, 128 | 0], 3
230
252
  ];
231
- exports.Probe$ = [3, n0, _P,
253
+ exports.MonitorSummary$ = MonitorSummary$;
254
+ const Probe$ = [3, n0, _P,
232
255
  0,
233
256
  [_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _st, _cA, _mAo, _t],
234
257
  [0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
235
258
  ];
236
- exports.ProbeInput$ = [3, n0, _PI,
259
+ exports.Probe$ = Probe$;
260
+ const ProbeInput$ = [3, n0, _PI,
237
261
  0,
238
262
  [_sA, _d, _pr, _dP, _pS, _t],
239
263
  [0, 0, 0, 1, 1, 128 | 0], 3
240
264
  ];
241
- exports.TagResourceInput$ = [3, n0, _TRI,
265
+ exports.ProbeInput$ = ProbeInput$;
266
+ const TagResourceInput$ = [3, n0, _TRI,
242
267
  0,
243
268
  [_rA, _t],
244
269
  [[0, 1], 128 | 0], 2
245
270
  ];
246
- exports.TagResourceOutput$ = [3, n0, _TRO,
271
+ exports.TagResourceInput$ = TagResourceInput$;
272
+ const TagResourceOutput$ = [3, n0, _TRO,
247
273
  0,
248
274
  [],
249
275
  []
250
276
  ];
251
- exports.UntagResourceInput$ = [3, n0, _URI,
277
+ exports.TagResourceOutput$ = TagResourceOutput$;
278
+ const UntagResourceInput$ = [3, n0, _URI,
252
279
  0,
253
280
  [_rA, _tK],
254
281
  [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
255
282
  ];
256
- exports.UntagResourceOutput$ = [3, n0, _URO,
283
+ exports.UntagResourceInput$ = UntagResourceInput$;
284
+ const UntagResourceOutput$ = [3, n0, _URO,
257
285
  0,
258
286
  [],
259
287
  []
260
288
  ];
261
- exports.UpdateMonitorInput$ = [3, n0, _UMI,
289
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
290
+ const UpdateMonitorInput$ = [3, n0, _UMI,
262
291
  0,
263
292
  [_mN, _aP],
264
293
  [[0, 1], 1], 2
265
294
  ];
266
- exports.UpdateMonitorOutput$ = [3, n0, _UMO,
295
+ exports.UpdateMonitorInput$ = UpdateMonitorInput$;
296
+ const UpdateMonitorOutput$ = [3, n0, _UMO,
267
297
  0,
268
298
  [_mA, _mN, _st, _aP, _t],
269
299
  [0, 0, 0, 1, 128 | 0], 3
270
300
  ];
271
- exports.UpdateProbeInput$ = [3, n0, _UPI,
301
+ exports.UpdateMonitorOutput$ = UpdateMonitorOutput$;
302
+ const UpdateProbeInput$ = [3, n0, _UPI,
272
303
  0,
273
304
  [_mN, _pI, _st, _d, _dP, _pr, _pS],
274
305
  [[0, 1], [0, 1], 0, 0, 1, 0, 1], 2
275
306
  ];
276
- exports.UpdateProbeOutput$ = [3, n0, _UPO,
307
+ exports.UpdateProbeInput$ = UpdateProbeInput$;
308
+ const UpdateProbeOutput$ = [3, n0, _UPO,
277
309
  0,
278
310
  [_sA, _d, _pr, _pI, _pA, _dP, _pS, _aF, _vI, _st, _cA, _mAo, _t],
279
311
  [0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 4, 4, 128 | 0], 3
280
312
  ];
313
+ exports.UpdateProbeOutput$ = UpdateProbeOutput$;
281
314
  var CreateMonitorProbeInputList = [1, n0, _CMPIL,
282
- 0, () => exports.CreateMonitorProbeInput$
315
+ 0, () => CreateMonitorProbeInput$
283
316
  ];
284
317
  var MonitorList = [1, n0, _ML,
285
- 0, () => exports.MonitorSummary$
318
+ 0, () => MonitorSummary$
286
319
  ];
287
320
  var ProbeList = [1, n0, _PL,
288
- 0, () => exports.Probe$
321
+ 0, () => Probe$
289
322
  ];
290
323
  var TagKeyList = 64 | 0;
291
324
  var TagMap = 128 | 0;
292
325
  exports.CreateMonitor$ = [9, n0, _CM,
293
- { [_h]: ["POST", "/monitors", 200] }, () => exports.CreateMonitorInput$, () => exports.CreateMonitorOutput$
326
+ { [_h]: ["POST", "/monitors", 200] }, () => CreateMonitorInput$, () => CreateMonitorOutput$
294
327
  ];
295
328
  exports.CreateProbe$ = [9, n0, _CP,
296
- { [_h]: ["POST", "/monitors/{monitorName}/probes", 200] }, () => exports.CreateProbeInput$, () => exports.CreateProbeOutput$
329
+ { [_h]: ["POST", "/monitors/{monitorName}/probes", 200] }, () => CreateProbeInput$, () => CreateProbeOutput$
297
330
  ];
298
331
  exports.DeleteMonitor$ = [9, n0, _DM,
299
- { [_h]: ["DELETE", "/monitors/{monitorName}", 200] }, () => exports.DeleteMonitorInput$, () => exports.DeleteMonitorOutput$
332
+ { [_h]: ["DELETE", "/monitors/{monitorName}", 200] }, () => DeleteMonitorInput$, () => DeleteMonitorOutput$
300
333
  ];
301
334
  exports.DeleteProbe$ = [9, n0, _DP,
302
- { [_h]: ["DELETE", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => exports.DeleteProbeInput$, () => exports.DeleteProbeOutput$
335
+ { [_h]: ["DELETE", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => DeleteProbeInput$, () => DeleteProbeOutput$
303
336
  ];
304
337
  exports.GetMonitor$ = [9, n0, _GM,
305
- { [_h]: ["GET", "/monitors/{monitorName}", 200] }, () => exports.GetMonitorInput$, () => exports.GetMonitorOutput$
338
+ { [_h]: ["GET", "/monitors/{monitorName}", 200] }, () => GetMonitorInput$, () => GetMonitorOutput$
306
339
  ];
307
340
  exports.GetProbe$ = [9, n0, _GP,
308
- { [_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => exports.GetProbeInput$, () => exports.GetProbeOutput$
341
+ { [_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => GetProbeInput$, () => GetProbeOutput$
309
342
  ];
310
343
  exports.ListMonitors$ = [9, n0, _LM,
311
- { [_h]: ["GET", "/monitors", 200] }, () => exports.ListMonitorsInput$, () => exports.ListMonitorsOutput$
344
+ { [_h]: ["GET", "/monitors", 200] }, () => ListMonitorsInput$, () => ListMonitorsOutput$
312
345
  ];
313
346
  exports.ListTagsForResource$ = [9, n0, _LTFR,
314
- { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceInput$, () => exports.ListTagsForResourceOutput$
347
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
315
348
  ];
316
349
  exports.TagResource$ = [9, n0, _TR,
317
- { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceInput$, () => exports.TagResourceOutput$
350
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
318
351
  ];
319
352
  exports.UntagResource$ = [9, n0, _UR,
320
- { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceInput$, () => exports.UntagResourceOutput$
353
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
321
354
  ];
322
355
  exports.UpdateMonitor$ = [9, n0, _UM,
323
- { [_h]: ["PATCH", "/monitors/{monitorName}", 200] }, () => exports.UpdateMonitorInput$, () => exports.UpdateMonitorOutput$
356
+ { [_h]: ["PATCH", "/monitors/{monitorName}", 200] }, () => UpdateMonitorInput$, () => UpdateMonitorOutput$
324
357
  ];
325
358
  exports.UpdateProbe$ = [9, n0, _UP,
326
- { [_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => exports.UpdateProbeInput$, () => exports.UpdateProbeOutput$
359
+ { [_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200] }, () => UpdateProbeInput$, () => UpdateProbeOutput$
327
360
  ];
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmonitor",
3
3
  "description": "AWS SDK for JavaScript Networkmonitor Client for Node.js, Browser and React Native",
4
- "version": "3.1067.0",
4
+ "version": "3.1069.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
8
- "build:es": "tsc -p tsconfig.es.json",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo networkmonitor",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
15
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
16
  },
17
17
  "main": "./dist-cjs/index.js",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.20",
25
- "@aws-sdk/credential-provider-node": "^3.972.55",
26
- "@aws-sdk/types": "^3.973.12",
24
+ "@aws-sdk/core": "^3.974.21",
25
+ "@aws-sdk/credential-provider-node": "^3.972.56",
26
+ "@aws-sdk/types": "^3.973.13",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",
29
29
  "@smithy/node-http-handler": "^4.7.6",