@aws-sdk/client-rolesanywhere 3.716.0 → 3.723.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -174,7 +174,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
174
174
  }, "resolveRuntimeExtensions");
175
175
 
176
176
  // src/RolesAnywhereClient.ts
177
- var _RolesAnywhereClient = class _RolesAnywhereClient extends import_smithy_client.Client {
177
+ var RolesAnywhereClient = class extends import_smithy_client.Client {
178
+ static {
179
+ __name(this, "RolesAnywhereClient");
180
+ }
181
+ /**
182
+ * The resolved configuration of RolesAnywhereClient class. This is resolved and normalized from the {@link RolesAnywhereClientConfig | constructor configuration interface}.
183
+ */
184
+ config;
178
185
  constructor(...[configuration]) {
179
186
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
180
187
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -184,7 +191,7 @@ var _RolesAnywhereClient = class _RolesAnywhereClient extends import_smithy_clie
184
191
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
185
192
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
186
193
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
187
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
194
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
188
195
  super(_config_8);
189
196
  this.config = _config_8;
190
197
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -212,8 +219,6 @@ var _RolesAnywhereClient = class _RolesAnywhereClient extends import_smithy_clie
212
219
  super.destroy();
213
220
  }
214
221
  };
215
- __name(_RolesAnywhereClient, "RolesAnywhereClient");
216
- var RolesAnywhereClient = _RolesAnywhereClient;
217
222
 
218
223
  // src/RolesAnywhere.ts
219
224
 
@@ -228,7 +233,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
228
233
 
229
234
  // src/models/RolesAnywhereServiceException.ts
230
235
 
231
- var _RolesAnywhereServiceException = class _RolesAnywhereServiceException extends import_smithy_client.ServiceException {
236
+ var RolesAnywhereServiceException = class _RolesAnywhereServiceException extends import_smithy_client.ServiceException {
237
+ static {
238
+ __name(this, "RolesAnywhereServiceException");
239
+ }
232
240
  /**
233
241
  * @internal
234
242
  */
@@ -237,11 +245,14 @@ var _RolesAnywhereServiceException = class _RolesAnywhereServiceException extend
237
245
  Object.setPrototypeOf(this, _RolesAnywhereServiceException.prototype);
238
246
  }
239
247
  };
240
- __name(_RolesAnywhereServiceException, "RolesAnywhereServiceException");
241
- var RolesAnywhereServiceException = _RolesAnywhereServiceException;
242
248
 
243
249
  // src/models/models_0.ts
244
- var _AccessDeniedException = class _AccessDeniedException extends RolesAnywhereServiceException {
250
+ var AccessDeniedException = class _AccessDeniedException extends RolesAnywhereServiceException {
251
+ static {
252
+ __name(this, "AccessDeniedException");
253
+ }
254
+ name = "AccessDeniedException";
255
+ $fault = "client";
245
256
  /**
246
257
  * @internal
247
258
  */
@@ -251,19 +262,20 @@ var _AccessDeniedException = class _AccessDeniedException extends RolesAnywhereS
251
262
  $fault: "client",
252
263
  ...opts
253
264
  });
254
- this.name = "AccessDeniedException";
255
- this.$fault = "client";
256
265
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
257
266
  }
258
267
  };
259
- __name(_AccessDeniedException, "AccessDeniedException");
260
- var AccessDeniedException = _AccessDeniedException;
261
268
  var CertificateField = {
262
269
  x509Issuer: "x509Issuer",
263
270
  x509SAN: "x509SAN",
264
271
  x509Subject: "x509Subject"
265
272
  };
266
- var _ValidationException = class _ValidationException extends RolesAnywhereServiceException {
273
+ var ValidationException = class _ValidationException extends RolesAnywhereServiceException {
274
+ static {
275
+ __name(this, "ValidationException");
276
+ }
277
+ name = "ValidationException";
278
+ $fault = "client";
267
279
  /**
268
280
  * @internal
269
281
  */
@@ -273,13 +285,9 @@ var _ValidationException = class _ValidationException extends RolesAnywhereServi
273
285
  $fault: "client",
274
286
  ...opts
275
287
  });
276
- this.name = "ValidationException";
277
- this.$fault = "client";
278
288
  Object.setPrototypeOf(this, _ValidationException.prototype);
279
289
  }
280
290
  };
281
- __name(_ValidationException, "ValidationException");
282
- var ValidationException = _ValidationException;
283
291
  var NotificationChannel = {
284
292
  ALL: "ALL"
285
293
  };
@@ -302,7 +310,12 @@ var TrustAnchorType = {
302
310
  CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
303
311
  SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY"
304
312
  };
305
- var _ResourceNotFoundException = class _ResourceNotFoundException extends RolesAnywhereServiceException {
313
+ var ResourceNotFoundException = class _ResourceNotFoundException extends RolesAnywhereServiceException {
314
+ static {
315
+ __name(this, "ResourceNotFoundException");
316
+ }
317
+ name = "ResourceNotFoundException";
318
+ $fault = "client";
306
319
  /**
307
320
  * @internal
308
321
  */
@@ -312,14 +325,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends RolesA
312
325
  $fault: "client",
313
326
  ...opts
314
327
  });
315
- this.name = "ResourceNotFoundException";
316
- this.$fault = "client";
317
328
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
318
329
  }
319
330
  };
320
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
321
- var ResourceNotFoundException = _ResourceNotFoundException;
322
- var _TooManyTagsException = class _TooManyTagsException extends RolesAnywhereServiceException {
331
+ var TooManyTagsException = class _TooManyTagsException extends RolesAnywhereServiceException {
332
+ static {
333
+ __name(this, "TooManyTagsException");
334
+ }
335
+ name = "TooManyTagsException";
336
+ $fault = "client";
323
337
  /**
324
338
  * @internal
325
339
  */
@@ -329,13 +343,9 @@ var _TooManyTagsException = class _TooManyTagsException extends RolesAnywhereSer
329
343
  $fault: "client",
330
344
  ...opts
331
345
  });
332
- this.name = "TooManyTagsException";
333
- this.$fault = "client";
334
346
  Object.setPrototypeOf(this, _TooManyTagsException.prototype);
335
347
  }
336
348
  };
337
- __name(_TooManyTagsException, "TooManyTagsException");
338
- var TooManyTagsException = _TooManyTagsException;
339
349
  var TagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
340
350
  ...obj,
341
351
  ...obj.key && { key: import_smithy_client.SENSITIVE_STRING },
@@ -1386,421 +1396,451 @@ var _rA = "resourceArn";
1386
1396
  var _s = "specifiers";
1387
1397
 
1388
1398
  // src/commands/CreateProfileCommand.ts
1389
- var _CreateProfileCommand = class _CreateProfileCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1399
+ var CreateProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1390
1400
  return [
1391
1401
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1392
1402
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1393
1403
  ];
1394
1404
  }).s("RolesAnywhere", "CreateProfile", {}).n("RolesAnywhereClient", "CreateProfileCommand").f(CreateProfileRequestFilterSensitiveLog, void 0).ser(se_CreateProfileCommand).de(de_CreateProfileCommand).build() {
1405
+ static {
1406
+ __name(this, "CreateProfileCommand");
1407
+ }
1395
1408
  };
1396
- __name(_CreateProfileCommand, "CreateProfileCommand");
1397
- var CreateProfileCommand = _CreateProfileCommand;
1398
1409
 
1399
1410
  // src/commands/CreateTrustAnchorCommand.ts
1400
1411
 
1401
1412
 
1402
1413
 
1403
- var _CreateTrustAnchorCommand = class _CreateTrustAnchorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1414
+ var CreateTrustAnchorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1404
1415
  return [
1405
1416
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1406
1417
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1407
1418
  ];
1408
1419
  }).s("RolesAnywhere", "CreateTrustAnchor", {}).n("RolesAnywhereClient", "CreateTrustAnchorCommand").f(CreateTrustAnchorRequestFilterSensitiveLog, void 0).ser(se_CreateTrustAnchorCommand).de(de_CreateTrustAnchorCommand).build() {
1420
+ static {
1421
+ __name(this, "CreateTrustAnchorCommand");
1422
+ }
1409
1423
  };
1410
- __name(_CreateTrustAnchorCommand, "CreateTrustAnchorCommand");
1411
- var CreateTrustAnchorCommand = _CreateTrustAnchorCommand;
1412
1424
 
1413
1425
  // src/commands/DeleteAttributeMappingCommand.ts
1414
1426
 
1415
1427
 
1416
1428
 
1417
- var _DeleteAttributeMappingCommand = class _DeleteAttributeMappingCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1429
+ var DeleteAttributeMappingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1418
1430
  return [
1419
1431
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1420
1432
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1421
1433
  ];
1422
1434
  }).s("RolesAnywhere", "DeleteAttributeMapping", {}).n("RolesAnywhereClient", "DeleteAttributeMappingCommand").f(void 0, void 0).ser(se_DeleteAttributeMappingCommand).de(de_DeleteAttributeMappingCommand).build() {
1435
+ static {
1436
+ __name(this, "DeleteAttributeMappingCommand");
1437
+ }
1423
1438
  };
1424
- __name(_DeleteAttributeMappingCommand, "DeleteAttributeMappingCommand");
1425
- var DeleteAttributeMappingCommand = _DeleteAttributeMappingCommand;
1426
1439
 
1427
1440
  // src/commands/DeleteCrlCommand.ts
1428
1441
 
1429
1442
 
1430
1443
 
1431
- var _DeleteCrlCommand = class _DeleteCrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1444
+ var DeleteCrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1432
1445
  return [
1433
1446
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1434
1447
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1435
1448
  ];
1436
1449
  }).s("RolesAnywhere", "DeleteCrl", {}).n("RolesAnywhereClient", "DeleteCrlCommand").f(void 0, void 0).ser(se_DeleteCrlCommand).de(de_DeleteCrlCommand).build() {
1450
+ static {
1451
+ __name(this, "DeleteCrlCommand");
1452
+ }
1437
1453
  };
1438
- __name(_DeleteCrlCommand, "DeleteCrlCommand");
1439
- var DeleteCrlCommand = _DeleteCrlCommand;
1440
1454
 
1441
1455
  // src/commands/DeleteProfileCommand.ts
1442
1456
 
1443
1457
 
1444
1458
 
1445
- var _DeleteProfileCommand = class _DeleteProfileCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1459
+ var DeleteProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1446
1460
  return [
1447
1461
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1448
1462
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1449
1463
  ];
1450
1464
  }).s("RolesAnywhere", "DeleteProfile", {}).n("RolesAnywhereClient", "DeleteProfileCommand").f(void 0, void 0).ser(se_DeleteProfileCommand).de(de_DeleteProfileCommand).build() {
1465
+ static {
1466
+ __name(this, "DeleteProfileCommand");
1467
+ }
1451
1468
  };
1452
- __name(_DeleteProfileCommand, "DeleteProfileCommand");
1453
- var DeleteProfileCommand = _DeleteProfileCommand;
1454
1469
 
1455
1470
  // src/commands/DeleteTrustAnchorCommand.ts
1456
1471
 
1457
1472
 
1458
1473
 
1459
- var _DeleteTrustAnchorCommand = class _DeleteTrustAnchorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1474
+ var DeleteTrustAnchorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1460
1475
  return [
1461
1476
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1462
1477
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1463
1478
  ];
1464
1479
  }).s("RolesAnywhere", "DeleteTrustAnchor", {}).n("RolesAnywhereClient", "DeleteTrustAnchorCommand").f(void 0, void 0).ser(se_DeleteTrustAnchorCommand).de(de_DeleteTrustAnchorCommand).build() {
1480
+ static {
1481
+ __name(this, "DeleteTrustAnchorCommand");
1482
+ }
1465
1483
  };
1466
- __name(_DeleteTrustAnchorCommand, "DeleteTrustAnchorCommand");
1467
- var DeleteTrustAnchorCommand = _DeleteTrustAnchorCommand;
1468
1484
 
1469
1485
  // src/commands/DisableCrlCommand.ts
1470
1486
 
1471
1487
 
1472
1488
 
1473
- var _DisableCrlCommand = class _DisableCrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1489
+ var DisableCrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1474
1490
  return [
1475
1491
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1476
1492
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1477
1493
  ];
1478
1494
  }).s("RolesAnywhere", "DisableCrl", {}).n("RolesAnywhereClient", "DisableCrlCommand").f(void 0, void 0).ser(se_DisableCrlCommand).de(de_DisableCrlCommand).build() {
1495
+ static {
1496
+ __name(this, "DisableCrlCommand");
1497
+ }
1479
1498
  };
1480
- __name(_DisableCrlCommand, "DisableCrlCommand");
1481
- var DisableCrlCommand = _DisableCrlCommand;
1482
1499
 
1483
1500
  // src/commands/DisableProfileCommand.ts
1484
1501
 
1485
1502
 
1486
1503
 
1487
- var _DisableProfileCommand = class _DisableProfileCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1504
+ var DisableProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1488
1505
  return [
1489
1506
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1490
1507
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1491
1508
  ];
1492
1509
  }).s("RolesAnywhere", "DisableProfile", {}).n("RolesAnywhereClient", "DisableProfileCommand").f(void 0, void 0).ser(se_DisableProfileCommand).de(de_DisableProfileCommand).build() {
1510
+ static {
1511
+ __name(this, "DisableProfileCommand");
1512
+ }
1493
1513
  };
1494
- __name(_DisableProfileCommand, "DisableProfileCommand");
1495
- var DisableProfileCommand = _DisableProfileCommand;
1496
1514
 
1497
1515
  // src/commands/DisableTrustAnchorCommand.ts
1498
1516
 
1499
1517
 
1500
1518
 
1501
- var _DisableTrustAnchorCommand = class _DisableTrustAnchorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1519
+ var DisableTrustAnchorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1502
1520
  return [
1503
1521
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1504
1522
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1505
1523
  ];
1506
1524
  }).s("RolesAnywhere", "DisableTrustAnchor", {}).n("RolesAnywhereClient", "DisableTrustAnchorCommand").f(void 0, void 0).ser(se_DisableTrustAnchorCommand).de(de_DisableTrustAnchorCommand).build() {
1525
+ static {
1526
+ __name(this, "DisableTrustAnchorCommand");
1527
+ }
1507
1528
  };
1508
- __name(_DisableTrustAnchorCommand, "DisableTrustAnchorCommand");
1509
- var DisableTrustAnchorCommand = _DisableTrustAnchorCommand;
1510
1529
 
1511
1530
  // src/commands/EnableCrlCommand.ts
1512
1531
 
1513
1532
 
1514
1533
 
1515
- var _EnableCrlCommand = class _EnableCrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1534
+ var EnableCrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1516
1535
  return [
1517
1536
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1518
1537
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1519
1538
  ];
1520
1539
  }).s("RolesAnywhere", "EnableCrl", {}).n("RolesAnywhereClient", "EnableCrlCommand").f(void 0, void 0).ser(se_EnableCrlCommand).de(de_EnableCrlCommand).build() {
1540
+ static {
1541
+ __name(this, "EnableCrlCommand");
1542
+ }
1521
1543
  };
1522
- __name(_EnableCrlCommand, "EnableCrlCommand");
1523
- var EnableCrlCommand = _EnableCrlCommand;
1524
1544
 
1525
1545
  // src/commands/EnableProfileCommand.ts
1526
1546
 
1527
1547
 
1528
1548
 
1529
- var _EnableProfileCommand = class _EnableProfileCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1549
+ var EnableProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1530
1550
  return [
1531
1551
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1532
1552
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1533
1553
  ];
1534
1554
  }).s("RolesAnywhere", "EnableProfile", {}).n("RolesAnywhereClient", "EnableProfileCommand").f(void 0, void 0).ser(se_EnableProfileCommand).de(de_EnableProfileCommand).build() {
1555
+ static {
1556
+ __name(this, "EnableProfileCommand");
1557
+ }
1535
1558
  };
1536
- __name(_EnableProfileCommand, "EnableProfileCommand");
1537
- var EnableProfileCommand = _EnableProfileCommand;
1538
1559
 
1539
1560
  // src/commands/EnableTrustAnchorCommand.ts
1540
1561
 
1541
1562
 
1542
1563
 
1543
- var _EnableTrustAnchorCommand = class _EnableTrustAnchorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1564
+ var EnableTrustAnchorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1544
1565
  return [
1545
1566
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1546
1567
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1547
1568
  ];
1548
1569
  }).s("RolesAnywhere", "EnableTrustAnchor", {}).n("RolesAnywhereClient", "EnableTrustAnchorCommand").f(void 0, void 0).ser(se_EnableTrustAnchorCommand).de(de_EnableTrustAnchorCommand).build() {
1570
+ static {
1571
+ __name(this, "EnableTrustAnchorCommand");
1572
+ }
1549
1573
  };
1550
- __name(_EnableTrustAnchorCommand, "EnableTrustAnchorCommand");
1551
- var EnableTrustAnchorCommand = _EnableTrustAnchorCommand;
1552
1574
 
1553
1575
  // src/commands/GetCrlCommand.ts
1554
1576
 
1555
1577
 
1556
1578
 
1557
- var _GetCrlCommand = class _GetCrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1579
+ var GetCrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1558
1580
  return [
1559
1581
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1560
1582
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1561
1583
  ];
1562
1584
  }).s("RolesAnywhere", "GetCrl", {}).n("RolesAnywhereClient", "GetCrlCommand").f(void 0, void 0).ser(se_GetCrlCommand).de(de_GetCrlCommand).build() {
1585
+ static {
1586
+ __name(this, "GetCrlCommand");
1587
+ }
1563
1588
  };
1564
- __name(_GetCrlCommand, "GetCrlCommand");
1565
- var GetCrlCommand = _GetCrlCommand;
1566
1589
 
1567
1590
  // src/commands/GetProfileCommand.ts
1568
1591
 
1569
1592
 
1570
1593
 
1571
- var _GetProfileCommand = class _GetProfileCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1594
+ var GetProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1572
1595
  return [
1573
1596
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1574
1597
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1575
1598
  ];
1576
1599
  }).s("RolesAnywhere", "GetProfile", {}).n("RolesAnywhereClient", "GetProfileCommand").f(void 0, void 0).ser(se_GetProfileCommand).de(de_GetProfileCommand).build() {
1600
+ static {
1601
+ __name(this, "GetProfileCommand");
1602
+ }
1577
1603
  };
1578
- __name(_GetProfileCommand, "GetProfileCommand");
1579
- var GetProfileCommand = _GetProfileCommand;
1580
1604
 
1581
1605
  // src/commands/GetSubjectCommand.ts
1582
1606
 
1583
1607
 
1584
1608
 
1585
- var _GetSubjectCommand = class _GetSubjectCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1609
+ var GetSubjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1586
1610
  return [
1587
1611
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1588
1612
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1589
1613
  ];
1590
1614
  }).s("RolesAnywhere", "GetSubject", {}).n("RolesAnywhereClient", "GetSubjectCommand").f(void 0, void 0).ser(se_GetSubjectCommand).de(de_GetSubjectCommand).build() {
1615
+ static {
1616
+ __name(this, "GetSubjectCommand");
1617
+ }
1591
1618
  };
1592
- __name(_GetSubjectCommand, "GetSubjectCommand");
1593
- var GetSubjectCommand = _GetSubjectCommand;
1594
1619
 
1595
1620
  // src/commands/GetTrustAnchorCommand.ts
1596
1621
 
1597
1622
 
1598
1623
 
1599
- var _GetTrustAnchorCommand = class _GetTrustAnchorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1624
+ var GetTrustAnchorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1600
1625
  return [
1601
1626
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1602
1627
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1603
1628
  ];
1604
1629
  }).s("RolesAnywhere", "GetTrustAnchor", {}).n("RolesAnywhereClient", "GetTrustAnchorCommand").f(void 0, void 0).ser(se_GetTrustAnchorCommand).de(de_GetTrustAnchorCommand).build() {
1630
+ static {
1631
+ __name(this, "GetTrustAnchorCommand");
1632
+ }
1605
1633
  };
1606
- __name(_GetTrustAnchorCommand, "GetTrustAnchorCommand");
1607
- var GetTrustAnchorCommand = _GetTrustAnchorCommand;
1608
1634
 
1609
1635
  // src/commands/ImportCrlCommand.ts
1610
1636
 
1611
1637
 
1612
1638
 
1613
- var _ImportCrlCommand = class _ImportCrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1639
+ var ImportCrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1614
1640
  return [
1615
1641
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1616
1642
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1617
1643
  ];
1618
1644
  }).s("RolesAnywhere", "ImportCrl", {}).n("RolesAnywhereClient", "ImportCrlCommand").f(ImportCrlRequestFilterSensitiveLog, void 0).ser(se_ImportCrlCommand).de(de_ImportCrlCommand).build() {
1645
+ static {
1646
+ __name(this, "ImportCrlCommand");
1647
+ }
1619
1648
  };
1620
- __name(_ImportCrlCommand, "ImportCrlCommand");
1621
- var ImportCrlCommand = _ImportCrlCommand;
1622
1649
 
1623
1650
  // src/commands/ListCrlsCommand.ts
1624
1651
 
1625
1652
 
1626
1653
 
1627
- var _ListCrlsCommand = class _ListCrlsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1654
+ var ListCrlsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1628
1655
  return [
1629
1656
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1630
1657
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1631
1658
  ];
1632
1659
  }).s("RolesAnywhere", "ListCrls", {}).n("RolesAnywhereClient", "ListCrlsCommand").f(void 0, void 0).ser(se_ListCrlsCommand).de(de_ListCrlsCommand).build() {
1660
+ static {
1661
+ __name(this, "ListCrlsCommand");
1662
+ }
1633
1663
  };
1634
- __name(_ListCrlsCommand, "ListCrlsCommand");
1635
- var ListCrlsCommand = _ListCrlsCommand;
1636
1664
 
1637
1665
  // src/commands/ListProfilesCommand.ts
1638
1666
 
1639
1667
 
1640
1668
 
1641
- var _ListProfilesCommand = class _ListProfilesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1669
+ var ListProfilesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1642
1670
  return [
1643
1671
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1644
1672
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1645
1673
  ];
1646
1674
  }).s("RolesAnywhere", "ListProfiles", {}).n("RolesAnywhereClient", "ListProfilesCommand").f(void 0, void 0).ser(se_ListProfilesCommand).de(de_ListProfilesCommand).build() {
1675
+ static {
1676
+ __name(this, "ListProfilesCommand");
1677
+ }
1647
1678
  };
1648
- __name(_ListProfilesCommand, "ListProfilesCommand");
1649
- var ListProfilesCommand = _ListProfilesCommand;
1650
1679
 
1651
1680
  // src/commands/ListSubjectsCommand.ts
1652
1681
 
1653
1682
 
1654
1683
 
1655
- var _ListSubjectsCommand = class _ListSubjectsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1684
+ var ListSubjectsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1656
1685
  return [
1657
1686
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1658
1687
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1659
1688
  ];
1660
1689
  }).s("RolesAnywhere", "ListSubjects", {}).n("RolesAnywhereClient", "ListSubjectsCommand").f(void 0, void 0).ser(se_ListSubjectsCommand).de(de_ListSubjectsCommand).build() {
1690
+ static {
1691
+ __name(this, "ListSubjectsCommand");
1692
+ }
1661
1693
  };
1662
- __name(_ListSubjectsCommand, "ListSubjectsCommand");
1663
- var ListSubjectsCommand = _ListSubjectsCommand;
1664
1694
 
1665
1695
  // src/commands/ListTagsForResourceCommand.ts
1666
1696
 
1667
1697
 
1668
1698
 
1669
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1699
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1670
1700
  return [
1671
1701
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1672
1702
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1673
1703
  ];
1674
1704
  }).s("RolesAnywhere", "ListTagsForResource", {}).n("RolesAnywhereClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1705
+ static {
1706
+ __name(this, "ListTagsForResourceCommand");
1707
+ }
1675
1708
  };
1676
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1677
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1678
1709
 
1679
1710
  // src/commands/ListTrustAnchorsCommand.ts
1680
1711
 
1681
1712
 
1682
1713
 
1683
- var _ListTrustAnchorsCommand = class _ListTrustAnchorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1714
+ var ListTrustAnchorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1684
1715
  return [
1685
1716
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1686
1717
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1687
1718
  ];
1688
1719
  }).s("RolesAnywhere", "ListTrustAnchors", {}).n("RolesAnywhereClient", "ListTrustAnchorsCommand").f(void 0, void 0).ser(se_ListTrustAnchorsCommand).de(de_ListTrustAnchorsCommand).build() {
1720
+ static {
1721
+ __name(this, "ListTrustAnchorsCommand");
1722
+ }
1689
1723
  };
1690
- __name(_ListTrustAnchorsCommand, "ListTrustAnchorsCommand");
1691
- var ListTrustAnchorsCommand = _ListTrustAnchorsCommand;
1692
1724
 
1693
1725
  // src/commands/PutAttributeMappingCommand.ts
1694
1726
 
1695
1727
 
1696
1728
 
1697
- var _PutAttributeMappingCommand = class _PutAttributeMappingCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1729
+ var PutAttributeMappingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1698
1730
  return [
1699
1731
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1700
1732
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1701
1733
  ];
1702
1734
  }).s("RolesAnywhere", "PutAttributeMapping", {}).n("RolesAnywhereClient", "PutAttributeMappingCommand").f(void 0, void 0).ser(se_PutAttributeMappingCommand).de(de_PutAttributeMappingCommand).build() {
1735
+ static {
1736
+ __name(this, "PutAttributeMappingCommand");
1737
+ }
1703
1738
  };
1704
- __name(_PutAttributeMappingCommand, "PutAttributeMappingCommand");
1705
- var PutAttributeMappingCommand = _PutAttributeMappingCommand;
1706
1739
 
1707
1740
  // src/commands/PutNotificationSettingsCommand.ts
1708
1741
 
1709
1742
 
1710
1743
 
1711
- var _PutNotificationSettingsCommand = class _PutNotificationSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1744
+ var PutNotificationSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1712
1745
  return [
1713
1746
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1714
1747
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1715
1748
  ];
1716
1749
  }).s("RolesAnywhere", "PutNotificationSettings", {}).n("RolesAnywhereClient", "PutNotificationSettingsCommand").f(void 0, void 0).ser(se_PutNotificationSettingsCommand).de(de_PutNotificationSettingsCommand).build() {
1750
+ static {
1751
+ __name(this, "PutNotificationSettingsCommand");
1752
+ }
1717
1753
  };
1718
- __name(_PutNotificationSettingsCommand, "PutNotificationSettingsCommand");
1719
- var PutNotificationSettingsCommand = _PutNotificationSettingsCommand;
1720
1754
 
1721
1755
  // src/commands/ResetNotificationSettingsCommand.ts
1722
1756
 
1723
1757
 
1724
1758
 
1725
- var _ResetNotificationSettingsCommand = class _ResetNotificationSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1759
+ var ResetNotificationSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1726
1760
  return [
1727
1761
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1728
1762
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1729
1763
  ];
1730
1764
  }).s("RolesAnywhere", "ResetNotificationSettings", {}).n("RolesAnywhereClient", "ResetNotificationSettingsCommand").f(void 0, void 0).ser(se_ResetNotificationSettingsCommand).de(de_ResetNotificationSettingsCommand).build() {
1765
+ static {
1766
+ __name(this, "ResetNotificationSettingsCommand");
1767
+ }
1731
1768
  };
1732
- __name(_ResetNotificationSettingsCommand, "ResetNotificationSettingsCommand");
1733
- var ResetNotificationSettingsCommand = _ResetNotificationSettingsCommand;
1734
1769
 
1735
1770
  // src/commands/TagResourceCommand.ts
1736
1771
 
1737
1772
 
1738
1773
 
1739
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1774
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1740
1775
  return [
1741
1776
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1742
1777
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1743
1778
  ];
1744
1779
  }).s("RolesAnywhere", "TagResource", {}).n("RolesAnywhereClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1780
+ static {
1781
+ __name(this, "TagResourceCommand");
1782
+ }
1745
1783
  };
1746
- __name(_TagResourceCommand, "TagResourceCommand");
1747
- var TagResourceCommand = _TagResourceCommand;
1748
1784
 
1749
1785
  // src/commands/UntagResourceCommand.ts
1750
1786
 
1751
1787
 
1752
1788
 
1753
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1789
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1754
1790
  return [
1755
1791
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1756
1792
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1757
1793
  ];
1758
1794
  }).s("RolesAnywhere", "UntagResource", {}).n("RolesAnywhereClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1795
+ static {
1796
+ __name(this, "UntagResourceCommand");
1797
+ }
1759
1798
  };
1760
- __name(_UntagResourceCommand, "UntagResourceCommand");
1761
- var UntagResourceCommand = _UntagResourceCommand;
1762
1799
 
1763
1800
  // src/commands/UpdateCrlCommand.ts
1764
1801
 
1765
1802
 
1766
1803
 
1767
- var _UpdateCrlCommand = class _UpdateCrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1804
+ var UpdateCrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1768
1805
  return [
1769
1806
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1770
1807
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1771
1808
  ];
1772
1809
  }).s("RolesAnywhere", "UpdateCrl", {}).n("RolesAnywhereClient", "UpdateCrlCommand").f(void 0, void 0).ser(se_UpdateCrlCommand).de(de_UpdateCrlCommand).build() {
1810
+ static {
1811
+ __name(this, "UpdateCrlCommand");
1812
+ }
1773
1813
  };
1774
- __name(_UpdateCrlCommand, "UpdateCrlCommand");
1775
- var UpdateCrlCommand = _UpdateCrlCommand;
1776
1814
 
1777
1815
  // src/commands/UpdateProfileCommand.ts
1778
1816
 
1779
1817
 
1780
1818
 
1781
- var _UpdateProfileCommand = class _UpdateProfileCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1819
+ var UpdateProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1782
1820
  return [
1783
1821
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1784
1822
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1785
1823
  ];
1786
1824
  }).s("RolesAnywhere", "UpdateProfile", {}).n("RolesAnywhereClient", "UpdateProfileCommand").f(void 0, void 0).ser(se_UpdateProfileCommand).de(de_UpdateProfileCommand).build() {
1825
+ static {
1826
+ __name(this, "UpdateProfileCommand");
1827
+ }
1787
1828
  };
1788
- __name(_UpdateProfileCommand, "UpdateProfileCommand");
1789
- var UpdateProfileCommand = _UpdateProfileCommand;
1790
1829
 
1791
1830
  // src/commands/UpdateTrustAnchorCommand.ts
1792
1831
 
1793
1832
 
1794
1833
 
1795
- var _UpdateTrustAnchorCommand = class _UpdateTrustAnchorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1834
+ var UpdateTrustAnchorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1796
1835
  return [
1797
1836
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1798
1837
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1799
1838
  ];
1800
1839
  }).s("RolesAnywhere", "UpdateTrustAnchor", {}).n("RolesAnywhereClient", "UpdateTrustAnchorCommand").f(void 0, void 0).ser(se_UpdateTrustAnchorCommand).de(de_UpdateTrustAnchorCommand).build() {
1840
+ static {
1841
+ __name(this, "UpdateTrustAnchorCommand");
1842
+ }
1801
1843
  };
1802
- __name(_UpdateTrustAnchorCommand, "UpdateTrustAnchorCommand");
1803
- var UpdateTrustAnchorCommand = _UpdateTrustAnchorCommand;
1804
1844
 
1805
1845
  // src/RolesAnywhere.ts
1806
1846
  var commands = {
@@ -1835,10 +1875,11 @@ var commands = {
1835
1875
  UpdateProfileCommand,
1836
1876
  UpdateTrustAnchorCommand
1837
1877
  };
1838
- var _RolesAnywhere = class _RolesAnywhere extends RolesAnywhereClient {
1878
+ var RolesAnywhere = class extends RolesAnywhereClient {
1879
+ static {
1880
+ __name(this, "RolesAnywhere");
1881
+ }
1839
1882
  };
1840
- __name(_RolesAnywhere, "RolesAnywhere");
1841
- var RolesAnywhere = _RolesAnywhere;
1842
1883
  (0, import_smithy_client.createAggregatedClient)(commands, RolesAnywhere);
1843
1884
 
1844
1885
  // src/pagination/ListCrlsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class RolesAnywhereClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,14 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "AccessDeniedException",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
@@ -18,14 +18,14 @@ export const CertificateField = {
18
18
  x509Subject: "x509Subject",
19
19
  };
20
20
  export class ValidationException extends __BaseException {
21
+ name = "ValidationException";
22
+ $fault = "client";
21
23
  constructor(opts) {
22
24
  super({
23
25
  name: "ValidationException",
24
26
  $fault: "client",
25
27
  ...opts,
26
28
  });
27
- this.name = "ValidationException";
28
- this.$fault = "client";
29
29
  Object.setPrototypeOf(this, ValidationException.prototype);
30
30
  }
31
31
  }
@@ -52,26 +52,26 @@ export const TrustAnchorType = {
52
52
  SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
53
53
  };
54
54
  export class ResourceNotFoundException extends __BaseException {
55
+ name = "ResourceNotFoundException";
56
+ $fault = "client";
55
57
  constructor(opts) {
56
58
  super({
57
59
  name: "ResourceNotFoundException",
58
60
  $fault: "client",
59
61
  ...opts,
60
62
  });
61
- this.name = "ResourceNotFoundException";
62
- this.$fault = "client";
63
63
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
64
64
  }
65
65
  }
66
66
  export class TooManyTagsException extends __BaseException {
67
+ name = "TooManyTagsException";
68
+ $fault = "client";
67
69
  constructor(opts) {
68
70
  super({
69
71
  name: "TooManyTagsException",
70
72
  $fault: "client",
71
73
  ...opts,
72
74
  });
73
- this.name = "TooManyTagsException";
74
- this.$fault = "client";
75
75
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
76
76
  }
77
77
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rolesanywhere",
3
3
  "description": "AWS SDK for JavaScript Rolesanywhere Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rolesanywhere",
@@ -20,56 +20,56 @@
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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {