@aws-sdk/client-detective 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
@@ -186,7 +186,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
186
186
  }, "resolveRuntimeExtensions");
187
187
 
188
188
  // src/DetectiveClient.ts
189
- var _DetectiveClient = class _DetectiveClient extends import_smithy_client.Client {
189
+ var DetectiveClient = class extends import_smithy_client.Client {
190
+ static {
191
+ __name(this, "DetectiveClient");
192
+ }
193
+ /**
194
+ * The resolved configuration of DetectiveClient class. This is resolved and normalized from the {@link DetectiveClientConfig | constructor configuration interface}.
195
+ */
196
+ config;
190
197
  constructor(...[configuration]) {
191
198
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
192
199
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -196,7 +203,7 @@ var _DetectiveClient = class _DetectiveClient extends import_smithy_client.Clien
196
203
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
197
204
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
198
205
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
199
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
206
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
200
207
  super(_config_8);
201
208
  this.config = _config_8;
202
209
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -224,8 +231,6 @@ var _DetectiveClient = class _DetectiveClient extends import_smithy_client.Clien
224
231
  super.destroy();
225
232
  }
226
233
  };
227
- __name(_DetectiveClient, "DetectiveClient");
228
- var DetectiveClient = _DetectiveClient;
229
234
 
230
235
  // src/Detective.ts
231
236
 
@@ -242,7 +247,10 @@ var import_core2 = require("@aws-sdk/core");
242
247
 
243
248
  // src/models/DetectiveServiceException.ts
244
249
 
245
- var _DetectiveServiceException = class _DetectiveServiceException extends import_smithy_client.ServiceException {
250
+ var DetectiveServiceException = class _DetectiveServiceException extends import_smithy_client.ServiceException {
251
+ static {
252
+ __name(this, "DetectiveServiceException");
253
+ }
246
254
  /**
247
255
  * @internal
248
256
  */
@@ -251,8 +259,6 @@ var _DetectiveServiceException = class _DetectiveServiceException extends import
251
259
  Object.setPrototypeOf(this, _DetectiveServiceException.prototype);
252
260
  }
253
261
  };
254
- __name(_DetectiveServiceException, "DetectiveServiceException");
255
- var DetectiveServiceException = _DetectiveServiceException;
256
262
 
257
263
  // src/models/models_0.ts
258
264
 
@@ -261,7 +267,33 @@ var ErrorCode = {
261
267
  InvalidGraphArn: "INVALID_GRAPH_ARN",
262
268
  InvalidRequestBody: "INVALID_REQUEST_BODY"
263
269
  };
264
- var _AccessDeniedException = class _AccessDeniedException extends DetectiveServiceException {
270
+ var AccessDeniedException = class _AccessDeniedException extends DetectiveServiceException {
271
+ static {
272
+ __name(this, "AccessDeniedException");
273
+ }
274
+ name = "AccessDeniedException";
275
+ $fault = "client";
276
+ Message;
277
+ /**
278
+ * <p>The SDK default error code associated with the access denied exception.</p>
279
+ * @public
280
+ */
281
+ ErrorCode;
282
+ /**
283
+ * <p>The SDK default explanation of why access was denied.</p>
284
+ * @public
285
+ */
286
+ ErrorCodeReason;
287
+ /**
288
+ * <p>The error code associated with the access denied exception.</p>
289
+ * @public
290
+ */
291
+ SubErrorCode;
292
+ /**
293
+ * <p> An explanation of why access was denied.</p>
294
+ * @public
295
+ */
296
+ SubErrorCodeReason;
265
297
  /**
266
298
  * @internal
267
299
  */
@@ -271,8 +303,6 @@ var _AccessDeniedException = class _AccessDeniedException extends DetectiveServi
271
303
  $fault: "client",
272
304
  ...opts
273
305
  });
274
- this.name = "AccessDeniedException";
275
- this.$fault = "client";
276
306
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
277
307
  this.Message = opts.Message;
278
308
  this.ErrorCode = opts.ErrorCode;
@@ -281,9 +311,13 @@ var _AccessDeniedException = class _AccessDeniedException extends DetectiveServi
281
311
  this.SubErrorCodeReason = opts.SubErrorCodeReason;
282
312
  }
283
313
  };
284
- __name(_AccessDeniedException, "AccessDeniedException");
285
- var AccessDeniedException = _AccessDeniedException;
286
- var _ConflictException = class _ConflictException extends DetectiveServiceException {
314
+ var ConflictException = class _ConflictException extends DetectiveServiceException {
315
+ static {
316
+ __name(this, "ConflictException");
317
+ }
318
+ name = "ConflictException";
319
+ $fault = "client";
320
+ Message;
287
321
  /**
288
322
  * @internal
289
323
  */
@@ -293,15 +327,17 @@ var _ConflictException = class _ConflictException extends DetectiveServiceExcept
293
327
  $fault: "client",
294
328
  ...opts
295
329
  });
296
- this.name = "ConflictException";
297
- this.$fault = "client";
298
330
  Object.setPrototypeOf(this, _ConflictException.prototype);
299
331
  this.Message = opts.Message;
300
332
  }
301
333
  };
302
- __name(_ConflictException, "ConflictException");
303
- var ConflictException = _ConflictException;
304
- var _InternalServerException = class _InternalServerException extends DetectiveServiceException {
334
+ var InternalServerException = class _InternalServerException extends DetectiveServiceException {
335
+ static {
336
+ __name(this, "InternalServerException");
337
+ }
338
+ name = "InternalServerException";
339
+ $fault = "server";
340
+ Message;
305
341
  /**
306
342
  * @internal
307
343
  */
@@ -311,15 +347,17 @@ var _InternalServerException = class _InternalServerException extends DetectiveS
311
347
  $fault: "server",
312
348
  ...opts
313
349
  });
314
- this.name = "InternalServerException";
315
- this.$fault = "server";
316
350
  Object.setPrototypeOf(this, _InternalServerException.prototype);
317
351
  this.Message = opts.Message;
318
352
  }
319
353
  };
320
- __name(_InternalServerException, "InternalServerException");
321
- var InternalServerException = _InternalServerException;
322
- var _ResourceNotFoundException = class _ResourceNotFoundException extends DetectiveServiceException {
354
+ var ResourceNotFoundException = class _ResourceNotFoundException extends DetectiveServiceException {
355
+ static {
356
+ __name(this, "ResourceNotFoundException");
357
+ }
358
+ name = "ResourceNotFoundException";
359
+ $fault = "client";
360
+ Message;
323
361
  /**
324
362
  * @internal
325
363
  */
@@ -329,15 +367,27 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Detect
329
367
  $fault: "client",
330
368
  ...opts
331
369
  });
332
- this.name = "ResourceNotFoundException";
333
- this.$fault = "client";
334
370
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
335
371
  this.Message = opts.Message;
336
372
  }
337
373
  };
338
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
339
- var ResourceNotFoundException = _ResourceNotFoundException;
340
- var _ValidationException = class _ValidationException extends DetectiveServiceException {
374
+ var ValidationException = class _ValidationException extends DetectiveServiceException {
375
+ static {
376
+ __name(this, "ValidationException");
377
+ }
378
+ name = "ValidationException";
379
+ $fault = "client";
380
+ Message;
381
+ /**
382
+ * <p>The error code associated with the validation failure.</p>
383
+ * @public
384
+ */
385
+ ErrorCode;
386
+ /**
387
+ * <p> An explanation of why validation failed.</p>
388
+ * @public
389
+ */
390
+ ErrorCodeReason;
341
391
  /**
342
392
  * @internal
343
393
  */
@@ -347,16 +397,12 @@ var _ValidationException = class _ValidationException extends DetectiveServiceEx
347
397
  $fault: "client",
348
398
  ...opts
349
399
  });
350
- this.name = "ValidationException";
351
- this.$fault = "client";
352
400
  Object.setPrototypeOf(this, _ValidationException.prototype);
353
401
  this.Message = opts.Message;
354
402
  this.ErrorCode = opts.ErrorCode;
355
403
  this.ErrorCodeReason = opts.ErrorCodeReason;
356
404
  }
357
405
  };
358
- __name(_ValidationException, "ValidationException");
359
- var ValidationException = _ValidationException;
360
406
  var DatasourcePackage = {
361
407
  ASFF_SECURITYHUB_FINDING: "ASFF_SECURITYHUB_FINDING",
362
408
  DETECTIVE_CORE: "DETECTIVE_CORE",
@@ -367,7 +413,18 @@ var DatasourcePackageIngestState = {
367
413
  STARTED: "STARTED",
368
414
  STOPPED: "STOPPED"
369
415
  };
370
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DetectiveServiceException {
416
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DetectiveServiceException {
417
+ static {
418
+ __name(this, "ServiceQuotaExceededException");
419
+ }
420
+ name = "ServiceQuotaExceededException";
421
+ $fault = "client";
422
+ Message;
423
+ /**
424
+ * <p>The type of resource that has exceeded the service quota.</p>
425
+ * @public
426
+ */
427
+ Resources;
371
428
  /**
372
429
  * @internal
373
430
  */
@@ -377,15 +434,11 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
377
434
  $fault: "client",
378
435
  ...opts
379
436
  });
380
- this.name = "ServiceQuotaExceededException";
381
- this.$fault = "client";
382
437
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
383
438
  this.Message = opts.Message;
384
439
  this.Resources = opts.Resources;
385
440
  }
386
441
  };
387
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
388
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
389
442
  var MemberDisabledReason = {
390
443
  VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH",
391
444
  VOLUME_UNKNOWN: "VOLUME_UNKNOWN"
@@ -401,7 +454,13 @@ var MemberStatus = {
401
454
  VERIFICATION_FAILED: "VERIFICATION_FAILED",
402
455
  VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS"
403
456
  };
404
- var _TooManyRequestsException = class _TooManyRequestsException extends DetectiveServiceException {
457
+ var TooManyRequestsException = class _TooManyRequestsException extends DetectiveServiceException {
458
+ static {
459
+ __name(this, "TooManyRequestsException");
460
+ }
461
+ name = "TooManyRequestsException";
462
+ $fault = "client";
463
+ Message;
405
464
  /**
406
465
  * @internal
407
466
  */
@@ -411,14 +470,10 @@ var _TooManyRequestsException = class _TooManyRequestsException extends Detectiv
411
470
  $fault: "client",
412
471
  ...opts
413
472
  });
414
- this.name = "TooManyRequestsException";
415
- this.$fault = "client";
416
473
  Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
417
474
  this.Message = opts.Message;
418
475
  }
419
476
  };
420
- __name(_TooManyRequestsException, "TooManyRequestsException");
421
- var TooManyRequestsException = _TooManyRequestsException;
422
477
  var EntityType = {
423
478
  IAM_ROLE: "IAM_ROLE",
424
479
  IAM_USER: "IAM_USER"
@@ -1630,407 +1685,436 @@ var _TK = "TagKeys";
1630
1685
  var _tK = "tagKeys";
1631
1686
 
1632
1687
  // src/commands/AcceptInvitationCommand.ts
1633
- var _AcceptInvitationCommand = class _AcceptInvitationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1688
+ var AcceptInvitationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1634
1689
  return [
1635
1690
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1636
1691
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1637
1692
  ];
1638
1693
  }).s("AmazonDetective", "AcceptInvitation", {}).n("DetectiveClient", "AcceptInvitationCommand").f(void 0, void 0).ser(se_AcceptInvitationCommand).de(de_AcceptInvitationCommand).build() {
1694
+ static {
1695
+ __name(this, "AcceptInvitationCommand");
1696
+ }
1639
1697
  };
1640
- __name(_AcceptInvitationCommand, "AcceptInvitationCommand");
1641
- var AcceptInvitationCommand = _AcceptInvitationCommand;
1642
1698
 
1643
1699
  // src/commands/BatchGetGraphMemberDatasourcesCommand.ts
1644
1700
 
1645
1701
 
1646
1702
 
1647
- var _BatchGetGraphMemberDatasourcesCommand = class _BatchGetGraphMemberDatasourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1703
+ var BatchGetGraphMemberDatasourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1648
1704
  return [
1649
1705
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1650
1706
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1651
1707
  ];
1652
1708
  }).s("AmazonDetective", "BatchGetGraphMemberDatasources", {}).n("DetectiveClient", "BatchGetGraphMemberDatasourcesCommand").f(void 0, void 0).ser(se_BatchGetGraphMemberDatasourcesCommand).de(de_BatchGetGraphMemberDatasourcesCommand).build() {
1709
+ static {
1710
+ __name(this, "BatchGetGraphMemberDatasourcesCommand");
1711
+ }
1653
1712
  };
1654
- __name(_BatchGetGraphMemberDatasourcesCommand, "BatchGetGraphMemberDatasourcesCommand");
1655
- var BatchGetGraphMemberDatasourcesCommand = _BatchGetGraphMemberDatasourcesCommand;
1656
1713
 
1657
1714
  // src/commands/BatchGetMembershipDatasourcesCommand.ts
1658
1715
 
1659
1716
 
1660
1717
 
1661
- var _BatchGetMembershipDatasourcesCommand = class _BatchGetMembershipDatasourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1718
+ var BatchGetMembershipDatasourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1662
1719
  return [
1663
1720
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1664
1721
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1665
1722
  ];
1666
1723
  }).s("AmazonDetective", "BatchGetMembershipDatasources", {}).n("DetectiveClient", "BatchGetMembershipDatasourcesCommand").f(void 0, void 0).ser(se_BatchGetMembershipDatasourcesCommand).de(de_BatchGetMembershipDatasourcesCommand).build() {
1724
+ static {
1725
+ __name(this, "BatchGetMembershipDatasourcesCommand");
1726
+ }
1667
1727
  };
1668
- __name(_BatchGetMembershipDatasourcesCommand, "BatchGetMembershipDatasourcesCommand");
1669
- var BatchGetMembershipDatasourcesCommand = _BatchGetMembershipDatasourcesCommand;
1670
1728
 
1671
1729
  // src/commands/CreateGraphCommand.ts
1672
1730
 
1673
1731
 
1674
1732
 
1675
- var _CreateGraphCommand = class _CreateGraphCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1733
+ var CreateGraphCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1676
1734
  return [
1677
1735
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1678
1736
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1679
1737
  ];
1680
1738
  }).s("AmazonDetective", "CreateGraph", {}).n("DetectiveClient", "CreateGraphCommand").f(void 0, void 0).ser(se_CreateGraphCommand).de(de_CreateGraphCommand).build() {
1739
+ static {
1740
+ __name(this, "CreateGraphCommand");
1741
+ }
1681
1742
  };
1682
- __name(_CreateGraphCommand, "CreateGraphCommand");
1683
- var CreateGraphCommand = _CreateGraphCommand;
1684
1743
 
1685
1744
  // src/commands/CreateMembersCommand.ts
1686
1745
 
1687
1746
 
1688
1747
 
1689
- var _CreateMembersCommand = class _CreateMembersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1748
+ var CreateMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1690
1749
  return [
1691
1750
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1692
1751
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1693
1752
  ];
1694
1753
  }).s("AmazonDetective", "CreateMembers", {}).n("DetectiveClient", "CreateMembersCommand").f(CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog).ser(se_CreateMembersCommand).de(de_CreateMembersCommand).build() {
1754
+ static {
1755
+ __name(this, "CreateMembersCommand");
1756
+ }
1695
1757
  };
1696
- __name(_CreateMembersCommand, "CreateMembersCommand");
1697
- var CreateMembersCommand = _CreateMembersCommand;
1698
1758
 
1699
1759
  // src/commands/DeleteGraphCommand.ts
1700
1760
 
1701
1761
 
1702
1762
 
1703
- var _DeleteGraphCommand = class _DeleteGraphCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1763
+ var DeleteGraphCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1704
1764
  return [
1705
1765
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1706
1766
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1707
1767
  ];
1708
1768
  }).s("AmazonDetective", "DeleteGraph", {}).n("DetectiveClient", "DeleteGraphCommand").f(void 0, void 0).ser(se_DeleteGraphCommand).de(de_DeleteGraphCommand).build() {
1769
+ static {
1770
+ __name(this, "DeleteGraphCommand");
1771
+ }
1709
1772
  };
1710
- __name(_DeleteGraphCommand, "DeleteGraphCommand");
1711
- var DeleteGraphCommand = _DeleteGraphCommand;
1712
1773
 
1713
1774
  // src/commands/DeleteMembersCommand.ts
1714
1775
 
1715
1776
 
1716
1777
 
1717
- var _DeleteMembersCommand = class _DeleteMembersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1778
+ var DeleteMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1718
1779
  return [
1719
1780
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1720
1781
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1721
1782
  ];
1722
1783
  }).s("AmazonDetective", "DeleteMembers", {}).n("DetectiveClient", "DeleteMembersCommand").f(void 0, void 0).ser(se_DeleteMembersCommand).de(de_DeleteMembersCommand).build() {
1784
+ static {
1785
+ __name(this, "DeleteMembersCommand");
1786
+ }
1723
1787
  };
1724
- __name(_DeleteMembersCommand, "DeleteMembersCommand");
1725
- var DeleteMembersCommand = _DeleteMembersCommand;
1726
1788
 
1727
1789
  // src/commands/DescribeOrganizationConfigurationCommand.ts
1728
1790
 
1729
1791
 
1730
1792
 
1731
- var _DescribeOrganizationConfigurationCommand = class _DescribeOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1793
+ var DescribeOrganizationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1732
1794
  return [
1733
1795
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1734
1796
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1735
1797
  ];
1736
1798
  }).s("AmazonDetective", "DescribeOrganizationConfiguration", {}).n("DetectiveClient", "DescribeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_DescribeOrganizationConfigurationCommand).de(de_DescribeOrganizationConfigurationCommand).build() {
1799
+ static {
1800
+ __name(this, "DescribeOrganizationConfigurationCommand");
1801
+ }
1737
1802
  };
1738
- __name(_DescribeOrganizationConfigurationCommand, "DescribeOrganizationConfigurationCommand");
1739
- var DescribeOrganizationConfigurationCommand = _DescribeOrganizationConfigurationCommand;
1740
1803
 
1741
1804
  // src/commands/DisableOrganizationAdminAccountCommand.ts
1742
1805
 
1743
1806
 
1744
1807
 
1745
- var _DisableOrganizationAdminAccountCommand = class _DisableOrganizationAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1808
+ var DisableOrganizationAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1746
1809
  return [
1747
1810
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1748
1811
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1749
1812
  ];
1750
1813
  }).s("AmazonDetective", "DisableOrganizationAdminAccount", {}).n("DetectiveClient", "DisableOrganizationAdminAccountCommand").f(void 0, void 0).ser(se_DisableOrganizationAdminAccountCommand).de(de_DisableOrganizationAdminAccountCommand).build() {
1814
+ static {
1815
+ __name(this, "DisableOrganizationAdminAccountCommand");
1816
+ }
1751
1817
  };
1752
- __name(_DisableOrganizationAdminAccountCommand, "DisableOrganizationAdminAccountCommand");
1753
- var DisableOrganizationAdminAccountCommand = _DisableOrganizationAdminAccountCommand;
1754
1818
 
1755
1819
  // src/commands/DisassociateMembershipCommand.ts
1756
1820
 
1757
1821
 
1758
1822
 
1759
- var _DisassociateMembershipCommand = class _DisassociateMembershipCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1823
+ var DisassociateMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1760
1824
  return [
1761
1825
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1762
1826
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1763
1827
  ];
1764
1828
  }).s("AmazonDetective", "DisassociateMembership", {}).n("DetectiveClient", "DisassociateMembershipCommand").f(void 0, void 0).ser(se_DisassociateMembershipCommand).de(de_DisassociateMembershipCommand).build() {
1829
+ static {
1830
+ __name(this, "DisassociateMembershipCommand");
1831
+ }
1765
1832
  };
1766
- __name(_DisassociateMembershipCommand, "DisassociateMembershipCommand");
1767
- var DisassociateMembershipCommand = _DisassociateMembershipCommand;
1768
1833
 
1769
1834
  // src/commands/EnableOrganizationAdminAccountCommand.ts
1770
1835
 
1771
1836
 
1772
1837
 
1773
- var _EnableOrganizationAdminAccountCommand = class _EnableOrganizationAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1838
+ var EnableOrganizationAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1774
1839
  return [
1775
1840
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1776
1841
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1777
1842
  ];
1778
1843
  }).s("AmazonDetective", "EnableOrganizationAdminAccount", {}).n("DetectiveClient", "EnableOrganizationAdminAccountCommand").f(void 0, void 0).ser(se_EnableOrganizationAdminAccountCommand).de(de_EnableOrganizationAdminAccountCommand).build() {
1844
+ static {
1845
+ __name(this, "EnableOrganizationAdminAccountCommand");
1846
+ }
1779
1847
  };
1780
- __name(_EnableOrganizationAdminAccountCommand, "EnableOrganizationAdminAccountCommand");
1781
- var EnableOrganizationAdminAccountCommand = _EnableOrganizationAdminAccountCommand;
1782
1848
 
1783
1849
  // src/commands/GetInvestigationCommand.ts
1784
1850
 
1785
1851
 
1786
1852
 
1787
- var _GetInvestigationCommand = class _GetInvestigationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1853
+ var GetInvestigationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1788
1854
  return [
1789
1855
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1790
1856
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1791
1857
  ];
1792
1858
  }).s("AmazonDetective", "GetInvestigation", {}).n("DetectiveClient", "GetInvestigationCommand").f(void 0, void 0).ser(se_GetInvestigationCommand).de(de_GetInvestigationCommand).build() {
1859
+ static {
1860
+ __name(this, "GetInvestigationCommand");
1861
+ }
1793
1862
  };
1794
- __name(_GetInvestigationCommand, "GetInvestigationCommand");
1795
- var GetInvestigationCommand = _GetInvestigationCommand;
1796
1863
 
1797
1864
  // src/commands/GetMembersCommand.ts
1798
1865
 
1799
1866
 
1800
1867
 
1801
- var _GetMembersCommand = class _GetMembersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1868
+ var GetMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1802
1869
  return [
1803
1870
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1804
1871
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1805
1872
  ];
1806
1873
  }).s("AmazonDetective", "GetMembers", {}).n("DetectiveClient", "GetMembersCommand").f(void 0, GetMembersResponseFilterSensitiveLog).ser(se_GetMembersCommand).de(de_GetMembersCommand).build() {
1874
+ static {
1875
+ __name(this, "GetMembersCommand");
1876
+ }
1807
1877
  };
1808
- __name(_GetMembersCommand, "GetMembersCommand");
1809
- var GetMembersCommand = _GetMembersCommand;
1810
1878
 
1811
1879
  // src/commands/ListDatasourcePackagesCommand.ts
1812
1880
 
1813
1881
 
1814
1882
 
1815
- var _ListDatasourcePackagesCommand = class _ListDatasourcePackagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1883
+ var ListDatasourcePackagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1816
1884
  return [
1817
1885
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1818
1886
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1819
1887
  ];
1820
1888
  }).s("AmazonDetective", "ListDatasourcePackages", {}).n("DetectiveClient", "ListDatasourcePackagesCommand").f(void 0, void 0).ser(se_ListDatasourcePackagesCommand).de(de_ListDatasourcePackagesCommand).build() {
1889
+ static {
1890
+ __name(this, "ListDatasourcePackagesCommand");
1891
+ }
1821
1892
  };
1822
- __name(_ListDatasourcePackagesCommand, "ListDatasourcePackagesCommand");
1823
- var ListDatasourcePackagesCommand = _ListDatasourcePackagesCommand;
1824
1893
 
1825
1894
  // src/commands/ListGraphsCommand.ts
1826
1895
 
1827
1896
 
1828
1897
 
1829
- var _ListGraphsCommand = class _ListGraphsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1898
+ var ListGraphsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1830
1899
  return [
1831
1900
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1832
1901
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1833
1902
  ];
1834
1903
  }).s("AmazonDetective", "ListGraphs", {}).n("DetectiveClient", "ListGraphsCommand").f(void 0, void 0).ser(se_ListGraphsCommand).de(de_ListGraphsCommand).build() {
1904
+ static {
1905
+ __name(this, "ListGraphsCommand");
1906
+ }
1835
1907
  };
1836
- __name(_ListGraphsCommand, "ListGraphsCommand");
1837
- var ListGraphsCommand = _ListGraphsCommand;
1838
1908
 
1839
1909
  // src/commands/ListIndicatorsCommand.ts
1840
1910
 
1841
1911
 
1842
1912
 
1843
- var _ListIndicatorsCommand = class _ListIndicatorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1913
+ var ListIndicatorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1844
1914
  return [
1845
1915
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1846
1916
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1847
1917
  ];
1848
1918
  }).s("AmazonDetective", "ListIndicators", {}).n("DetectiveClient", "ListIndicatorsCommand").f(void 0, void 0).ser(se_ListIndicatorsCommand).de(de_ListIndicatorsCommand).build() {
1919
+ static {
1920
+ __name(this, "ListIndicatorsCommand");
1921
+ }
1849
1922
  };
1850
- __name(_ListIndicatorsCommand, "ListIndicatorsCommand");
1851
- var ListIndicatorsCommand = _ListIndicatorsCommand;
1852
1923
 
1853
1924
  // src/commands/ListInvestigationsCommand.ts
1854
1925
 
1855
1926
 
1856
1927
 
1857
- var _ListInvestigationsCommand = class _ListInvestigationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1928
+ var ListInvestigationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1858
1929
  return [
1859
1930
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1860
1931
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1861
1932
  ];
1862
1933
  }).s("AmazonDetective", "ListInvestigations", {}).n("DetectiveClient", "ListInvestigationsCommand").f(void 0, void 0).ser(se_ListInvestigationsCommand).de(de_ListInvestigationsCommand).build() {
1934
+ static {
1935
+ __name(this, "ListInvestigationsCommand");
1936
+ }
1863
1937
  };
1864
- __name(_ListInvestigationsCommand, "ListInvestigationsCommand");
1865
- var ListInvestigationsCommand = _ListInvestigationsCommand;
1866
1938
 
1867
1939
  // src/commands/ListInvitationsCommand.ts
1868
1940
 
1869
1941
 
1870
1942
 
1871
- var _ListInvitationsCommand = class _ListInvitationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1943
+ var ListInvitationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1872
1944
  return [
1873
1945
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1874
1946
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1875
1947
  ];
1876
1948
  }).s("AmazonDetective", "ListInvitations", {}).n("DetectiveClient", "ListInvitationsCommand").f(void 0, ListInvitationsResponseFilterSensitiveLog).ser(se_ListInvitationsCommand).de(de_ListInvitationsCommand).build() {
1949
+ static {
1950
+ __name(this, "ListInvitationsCommand");
1951
+ }
1877
1952
  };
1878
- __name(_ListInvitationsCommand, "ListInvitationsCommand");
1879
- var ListInvitationsCommand = _ListInvitationsCommand;
1880
1953
 
1881
1954
  // src/commands/ListMembersCommand.ts
1882
1955
 
1883
1956
 
1884
1957
 
1885
- var _ListMembersCommand = class _ListMembersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1958
+ var ListMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1886
1959
  return [
1887
1960
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1888
1961
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1889
1962
  ];
1890
1963
  }).s("AmazonDetective", "ListMembers", {}).n("DetectiveClient", "ListMembersCommand").f(void 0, ListMembersResponseFilterSensitiveLog).ser(se_ListMembersCommand).de(de_ListMembersCommand).build() {
1964
+ static {
1965
+ __name(this, "ListMembersCommand");
1966
+ }
1891
1967
  };
1892
- __name(_ListMembersCommand, "ListMembersCommand");
1893
- var ListMembersCommand = _ListMembersCommand;
1894
1968
 
1895
1969
  // src/commands/ListOrganizationAdminAccountsCommand.ts
1896
1970
 
1897
1971
 
1898
1972
 
1899
- var _ListOrganizationAdminAccountsCommand = class _ListOrganizationAdminAccountsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1973
+ var ListOrganizationAdminAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1900
1974
  return [
1901
1975
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1902
1976
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1903
1977
  ];
1904
1978
  }).s("AmazonDetective", "ListOrganizationAdminAccounts", {}).n("DetectiveClient", "ListOrganizationAdminAccountsCommand").f(void 0, void 0).ser(se_ListOrganizationAdminAccountsCommand).de(de_ListOrganizationAdminAccountsCommand).build() {
1979
+ static {
1980
+ __name(this, "ListOrganizationAdminAccountsCommand");
1981
+ }
1905
1982
  };
1906
- __name(_ListOrganizationAdminAccountsCommand, "ListOrganizationAdminAccountsCommand");
1907
- var ListOrganizationAdminAccountsCommand = _ListOrganizationAdminAccountsCommand;
1908
1983
 
1909
1984
  // src/commands/ListTagsForResourceCommand.ts
1910
1985
 
1911
1986
 
1912
1987
 
1913
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1988
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1914
1989
  return [
1915
1990
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1916
1991
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1917
1992
  ];
1918
1993
  }).s("AmazonDetective", "ListTagsForResource", {}).n("DetectiveClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1994
+ static {
1995
+ __name(this, "ListTagsForResourceCommand");
1996
+ }
1919
1997
  };
1920
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1921
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1922
1998
 
1923
1999
  // src/commands/RejectInvitationCommand.ts
1924
2000
 
1925
2001
 
1926
2002
 
1927
- var _RejectInvitationCommand = class _RejectInvitationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2003
+ var RejectInvitationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1928
2004
  return [
1929
2005
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1930
2006
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1931
2007
  ];
1932
2008
  }).s("AmazonDetective", "RejectInvitation", {}).n("DetectiveClient", "RejectInvitationCommand").f(void 0, void 0).ser(se_RejectInvitationCommand).de(de_RejectInvitationCommand).build() {
2009
+ static {
2010
+ __name(this, "RejectInvitationCommand");
2011
+ }
1933
2012
  };
1934
- __name(_RejectInvitationCommand, "RejectInvitationCommand");
1935
- var RejectInvitationCommand = _RejectInvitationCommand;
1936
2013
 
1937
2014
  // src/commands/StartInvestigationCommand.ts
1938
2015
 
1939
2016
 
1940
2017
 
1941
- var _StartInvestigationCommand = class _StartInvestigationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2018
+ var StartInvestigationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1942
2019
  return [
1943
2020
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1944
2021
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1945
2022
  ];
1946
2023
  }).s("AmazonDetective", "StartInvestigation", {}).n("DetectiveClient", "StartInvestigationCommand").f(void 0, void 0).ser(se_StartInvestigationCommand).de(de_StartInvestigationCommand).build() {
2024
+ static {
2025
+ __name(this, "StartInvestigationCommand");
2026
+ }
1947
2027
  };
1948
- __name(_StartInvestigationCommand, "StartInvestigationCommand");
1949
- var StartInvestigationCommand = _StartInvestigationCommand;
1950
2028
 
1951
2029
  // src/commands/StartMonitoringMemberCommand.ts
1952
2030
 
1953
2031
 
1954
2032
 
1955
- var _StartMonitoringMemberCommand = class _StartMonitoringMemberCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2033
+ var StartMonitoringMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1956
2034
  return [
1957
2035
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1958
2036
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1959
2037
  ];
1960
2038
  }).s("AmazonDetective", "StartMonitoringMember", {}).n("DetectiveClient", "StartMonitoringMemberCommand").f(void 0, void 0).ser(se_StartMonitoringMemberCommand).de(de_StartMonitoringMemberCommand).build() {
2039
+ static {
2040
+ __name(this, "StartMonitoringMemberCommand");
2041
+ }
1961
2042
  };
1962
- __name(_StartMonitoringMemberCommand, "StartMonitoringMemberCommand");
1963
- var StartMonitoringMemberCommand = _StartMonitoringMemberCommand;
1964
2043
 
1965
2044
  // src/commands/TagResourceCommand.ts
1966
2045
 
1967
2046
 
1968
2047
 
1969
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2048
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1970
2049
  return [
1971
2050
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1972
2051
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1973
2052
  ];
1974
2053
  }).s("AmazonDetective", "TagResource", {}).n("DetectiveClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2054
+ static {
2055
+ __name(this, "TagResourceCommand");
2056
+ }
1975
2057
  };
1976
- __name(_TagResourceCommand, "TagResourceCommand");
1977
- var TagResourceCommand = _TagResourceCommand;
1978
2058
 
1979
2059
  // src/commands/UntagResourceCommand.ts
1980
2060
 
1981
2061
 
1982
2062
 
1983
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2063
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1984
2064
  return [
1985
2065
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1986
2066
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1987
2067
  ];
1988
2068
  }).s("AmazonDetective", "UntagResource", {}).n("DetectiveClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2069
+ static {
2070
+ __name(this, "UntagResourceCommand");
2071
+ }
1989
2072
  };
1990
- __name(_UntagResourceCommand, "UntagResourceCommand");
1991
- var UntagResourceCommand = _UntagResourceCommand;
1992
2073
 
1993
2074
  // src/commands/UpdateDatasourcePackagesCommand.ts
1994
2075
 
1995
2076
 
1996
2077
 
1997
- var _UpdateDatasourcePackagesCommand = class _UpdateDatasourcePackagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2078
+ var UpdateDatasourcePackagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1998
2079
  return [
1999
2080
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2000
2081
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2001
2082
  ];
2002
2083
  }).s("AmazonDetective", "UpdateDatasourcePackages", {}).n("DetectiveClient", "UpdateDatasourcePackagesCommand").f(void 0, void 0).ser(se_UpdateDatasourcePackagesCommand).de(de_UpdateDatasourcePackagesCommand).build() {
2084
+ static {
2085
+ __name(this, "UpdateDatasourcePackagesCommand");
2086
+ }
2003
2087
  };
2004
- __name(_UpdateDatasourcePackagesCommand, "UpdateDatasourcePackagesCommand");
2005
- var UpdateDatasourcePackagesCommand = _UpdateDatasourcePackagesCommand;
2006
2088
 
2007
2089
  // src/commands/UpdateInvestigationStateCommand.ts
2008
2090
 
2009
2091
 
2010
2092
 
2011
- var _UpdateInvestigationStateCommand = class _UpdateInvestigationStateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2093
+ var UpdateInvestigationStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2012
2094
  return [
2013
2095
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2014
2096
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2015
2097
  ];
2016
2098
  }).s("AmazonDetective", "UpdateInvestigationState", {}).n("DetectiveClient", "UpdateInvestigationStateCommand").f(void 0, void 0).ser(se_UpdateInvestigationStateCommand).de(de_UpdateInvestigationStateCommand).build() {
2099
+ static {
2100
+ __name(this, "UpdateInvestigationStateCommand");
2101
+ }
2017
2102
  };
2018
- __name(_UpdateInvestigationStateCommand, "UpdateInvestigationStateCommand");
2019
- var UpdateInvestigationStateCommand = _UpdateInvestigationStateCommand;
2020
2103
 
2021
2104
  // src/commands/UpdateOrganizationConfigurationCommand.ts
2022
2105
 
2023
2106
 
2024
2107
 
2025
- var _UpdateOrganizationConfigurationCommand = class _UpdateOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2108
+ var UpdateOrganizationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2026
2109
  return [
2027
2110
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2028
2111
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2029
2112
  ];
2030
2113
  }).s("AmazonDetective", "UpdateOrganizationConfiguration", {}).n("DetectiveClient", "UpdateOrganizationConfigurationCommand").f(void 0, void 0).ser(se_UpdateOrganizationConfigurationCommand).de(de_UpdateOrganizationConfigurationCommand).build() {
2114
+ static {
2115
+ __name(this, "UpdateOrganizationConfigurationCommand");
2116
+ }
2031
2117
  };
2032
- __name(_UpdateOrganizationConfigurationCommand, "UpdateOrganizationConfigurationCommand");
2033
- var UpdateOrganizationConfigurationCommand = _UpdateOrganizationConfigurationCommand;
2034
2118
 
2035
2119
  // src/Detective.ts
2036
2120
  var commands = {
@@ -2064,10 +2148,11 @@ var commands = {
2064
2148
  UpdateInvestigationStateCommand,
2065
2149
  UpdateOrganizationConfigurationCommand
2066
2150
  };
2067
- var _Detective = class _Detective extends DetectiveClient {
2151
+ var Detective = class extends DetectiveClient {
2152
+ static {
2153
+ __name(this, "Detective");
2154
+ }
2068
2155
  };
2069
- __name(_Detective, "Detective");
2070
- var Detective = _Detective;
2071
2156
  (0, import_smithy_client.createAggregatedClient)(commands, Detective);
2072
2157
 
2073
2158
  // src/pagination/ListDatasourcePackagesPaginator.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 DetectiveClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -6,14 +6,19 @@ export const ErrorCode = {
6
6
  InvalidRequestBody: "INVALID_REQUEST_BODY",
7
7
  };
8
8
  export class AccessDeniedException extends __BaseException {
9
+ name = "AccessDeniedException";
10
+ $fault = "client";
11
+ Message;
12
+ ErrorCode;
13
+ ErrorCodeReason;
14
+ SubErrorCode;
15
+ SubErrorCodeReason;
9
16
  constructor(opts) {
10
17
  super({
11
18
  name: "AccessDeniedException",
12
19
  $fault: "client",
13
20
  ...opts,
14
21
  });
15
- this.name = "AccessDeniedException";
16
- this.$fault = "client";
17
22
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
18
23
  this.Message = opts.Message;
19
24
  this.ErrorCode = opts.ErrorCode;
@@ -23,53 +28,59 @@ export class AccessDeniedException extends __BaseException {
23
28
  }
24
29
  }
25
30
  export class ConflictException extends __BaseException {
31
+ name = "ConflictException";
32
+ $fault = "client";
33
+ Message;
26
34
  constructor(opts) {
27
35
  super({
28
36
  name: "ConflictException",
29
37
  $fault: "client",
30
38
  ...opts,
31
39
  });
32
- this.name = "ConflictException";
33
- this.$fault = "client";
34
40
  Object.setPrototypeOf(this, ConflictException.prototype);
35
41
  this.Message = opts.Message;
36
42
  }
37
43
  }
38
44
  export class InternalServerException extends __BaseException {
45
+ name = "InternalServerException";
46
+ $fault = "server";
47
+ Message;
39
48
  constructor(opts) {
40
49
  super({
41
50
  name: "InternalServerException",
42
51
  $fault: "server",
43
52
  ...opts,
44
53
  });
45
- this.name = "InternalServerException";
46
- this.$fault = "server";
47
54
  Object.setPrototypeOf(this, InternalServerException.prototype);
48
55
  this.Message = opts.Message;
49
56
  }
50
57
  }
51
58
  export class ResourceNotFoundException extends __BaseException {
59
+ name = "ResourceNotFoundException";
60
+ $fault = "client";
61
+ Message;
52
62
  constructor(opts) {
53
63
  super({
54
64
  name: "ResourceNotFoundException",
55
65
  $fault: "client",
56
66
  ...opts,
57
67
  });
58
- this.name = "ResourceNotFoundException";
59
- this.$fault = "client";
60
68
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
61
69
  this.Message = opts.Message;
62
70
  }
63
71
  }
64
72
  export class ValidationException extends __BaseException {
73
+ name = "ValidationException";
74
+ $fault = "client";
75
+ Message;
76
+ ErrorCode;
77
+ ErrorCodeReason;
65
78
  constructor(opts) {
66
79
  super({
67
80
  name: "ValidationException",
68
81
  $fault: "client",
69
82
  ...opts,
70
83
  });
71
- this.name = "ValidationException";
72
- this.$fault = "client";
73
84
  Object.setPrototypeOf(this, ValidationException.prototype);
74
85
  this.Message = opts.Message;
75
86
  this.ErrorCode = opts.ErrorCode;
@@ -87,14 +98,16 @@ export const DatasourcePackageIngestState = {
87
98
  STOPPED: "STOPPED",
88
99
  };
89
100
  export class ServiceQuotaExceededException extends __BaseException {
101
+ name = "ServiceQuotaExceededException";
102
+ $fault = "client";
103
+ Message;
104
+ Resources;
90
105
  constructor(opts) {
91
106
  super({
92
107
  name: "ServiceQuotaExceededException",
93
108
  $fault: "client",
94
109
  ...opts,
95
110
  });
96
- this.name = "ServiceQuotaExceededException";
97
- this.$fault = "client";
98
111
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
99
112
  this.Message = opts.Message;
100
113
  this.Resources = opts.Resources;
@@ -116,14 +129,15 @@ export const MemberStatus = {
116
129
  VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS",
117
130
  };
118
131
  export class TooManyRequestsException extends __BaseException {
132
+ name = "TooManyRequestsException";
133
+ $fault = "client";
134
+ Message;
119
135
  constructor(opts) {
120
136
  super({
121
137
  name: "TooManyRequestsException",
122
138
  $fault: "client",
123
139
  ...opts,
124
140
  });
125
- this.name = "TooManyRequestsException";
126
- this.$fault = "client";
127
141
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
128
142
  this.Message = opts.Message;
129
143
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DetectiveClientConfig) => {
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: DetectiveClientConfig) => {
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: DetectiveClientConfig) => {
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: DetectiveClientConfig) => {
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: DetectiveClientConfig) => {
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: DetectiveClientConfig) => {
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: DetectiveClientConfig) => {
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: DetectiveClientConfig) => {
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-detective",
3
3
  "description": "AWS SDK for JavaScript Detective 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-detective",
@@ -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": {