@aws-sdk/client-grafana 3.721.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
@@ -195,7 +195,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
195
195
  }, "resolveRuntimeExtensions");
196
196
 
197
197
  // src/GrafanaClient.ts
198
- var _GrafanaClient = class _GrafanaClient extends import_smithy_client.Client {
198
+ var GrafanaClient = class extends import_smithy_client.Client {
199
+ static {
200
+ __name(this, "GrafanaClient");
201
+ }
202
+ /**
203
+ * The resolved configuration of GrafanaClient class. This is resolved and normalized from the {@link GrafanaClientConfig | constructor configuration interface}.
204
+ */
205
+ config;
199
206
  constructor(...[configuration]) {
200
207
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
201
208
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -205,7 +212,7 @@ var _GrafanaClient = class _GrafanaClient extends import_smithy_client.Client {
205
212
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
206
213
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
207
214
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
208
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
215
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
209
216
  super(_config_8);
210
217
  this.config = _config_8;
211
218
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -233,8 +240,6 @@ var _GrafanaClient = class _GrafanaClient extends import_smithy_client.Client {
233
240
  super.destroy();
234
241
  }
235
242
  };
236
- __name(_GrafanaClient, "GrafanaClient");
237
- var GrafanaClient = _GrafanaClient;
238
243
 
239
244
  // src/Grafana.ts
240
245
 
@@ -249,7 +254,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
249
254
 
250
255
  // src/models/GrafanaServiceException.ts
251
256
 
252
- var _GrafanaServiceException = class _GrafanaServiceException extends import_smithy_client.ServiceException {
257
+ var GrafanaServiceException = class _GrafanaServiceException extends import_smithy_client.ServiceException {
258
+ static {
259
+ __name(this, "GrafanaServiceException");
260
+ }
253
261
  /**
254
262
  * @internal
255
263
  */
@@ -258,11 +266,14 @@ var _GrafanaServiceException = class _GrafanaServiceException extends import_smi
258
266
  Object.setPrototypeOf(this, _GrafanaServiceException.prototype);
259
267
  }
260
268
  };
261
- __name(_GrafanaServiceException, "GrafanaServiceException");
262
- var GrafanaServiceException = _GrafanaServiceException;
263
269
 
264
270
  // src/models/models_0.ts
265
- var _AccessDeniedException = class _AccessDeniedException extends GrafanaServiceException {
271
+ var AccessDeniedException = class _AccessDeniedException extends GrafanaServiceException {
272
+ static {
273
+ __name(this, "AccessDeniedException");
274
+ }
275
+ name = "AccessDeniedException";
276
+ $fault = "client";
266
277
  /**
267
278
  * @internal
268
279
  */
@@ -272,13 +283,9 @@ var _AccessDeniedException = class _AccessDeniedException extends GrafanaService
272
283
  $fault: "client",
273
284
  ...opts
274
285
  });
275
- this.name = "AccessDeniedException";
276
- this.$fault = "client";
277
286
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
278
287
  }
279
288
  };
280
- __name(_AccessDeniedException, "AccessDeniedException");
281
- var AccessDeniedException = _AccessDeniedException;
282
289
  var AccountAccessType = {
283
290
  /**
284
291
  * Indicates that the customer is using Grafana to monitor resources in their current account.
@@ -289,7 +296,22 @@ var AccountAccessType = {
289
296
  */
290
297
  ORGANIZATION: "ORGANIZATION"
291
298
  };
292
- var _ConflictException = class _ConflictException extends GrafanaServiceException {
299
+ var ConflictException = class _ConflictException extends GrafanaServiceException {
300
+ static {
301
+ __name(this, "ConflictException");
302
+ }
303
+ name = "ConflictException";
304
+ $fault = "client";
305
+ /**
306
+ * <p>The ID of the resource that is associated with the error.</p>
307
+ * @public
308
+ */
309
+ resourceId;
310
+ /**
311
+ * <p>The type of the resource that is associated with the error.</p>
312
+ * @public
313
+ */
314
+ resourceType;
293
315
  /**
294
316
  * @internal
295
317
  */
@@ -299,16 +321,23 @@ var _ConflictException = class _ConflictException extends GrafanaServiceExceptio
299
321
  $fault: "client",
300
322
  ...opts
301
323
  });
302
- this.name = "ConflictException";
303
- this.$fault = "client";
304
324
  Object.setPrototypeOf(this, _ConflictException.prototype);
305
325
  this.resourceId = opts.resourceId;
306
326
  this.resourceType = opts.resourceType;
307
327
  }
308
328
  };
309
- __name(_ConflictException, "ConflictException");
310
- var ConflictException = _ConflictException;
311
- var _InternalServerException = class _InternalServerException extends GrafanaServiceException {
329
+ var InternalServerException = class _InternalServerException extends GrafanaServiceException {
330
+ static {
331
+ __name(this, "InternalServerException");
332
+ }
333
+ name = "InternalServerException";
334
+ $fault = "server";
335
+ $retryable = {};
336
+ /**
337
+ * <p>How long to wait before you retry this operation.</p>
338
+ * @public
339
+ */
340
+ retryAfterSeconds;
312
341
  /**
313
342
  * @internal
314
343
  */
@@ -318,16 +347,26 @@ var _InternalServerException = class _InternalServerException extends GrafanaSer
318
347
  $fault: "server",
319
348
  ...opts
320
349
  });
321
- this.name = "InternalServerException";
322
- this.$fault = "server";
323
- this.$retryable = {};
324
350
  Object.setPrototypeOf(this, _InternalServerException.prototype);
325
351
  this.retryAfterSeconds = opts.retryAfterSeconds;
326
352
  }
327
353
  };
328
- __name(_InternalServerException, "InternalServerException");
329
- var InternalServerException = _InternalServerException;
330
- var _ResourceNotFoundException = class _ResourceNotFoundException extends GrafanaServiceException {
354
+ var ResourceNotFoundException = class _ResourceNotFoundException extends GrafanaServiceException {
355
+ static {
356
+ __name(this, "ResourceNotFoundException");
357
+ }
358
+ name = "ResourceNotFoundException";
359
+ $fault = "client";
360
+ /**
361
+ * <p>The ID of the resource that is associated with the error.</p>
362
+ * @public
363
+ */
364
+ resourceId;
365
+ /**
366
+ * <p>The type of the resource that is associated with the error.</p>
367
+ * @public
368
+ */
369
+ resourceType;
331
370
  /**
332
371
  * @internal
333
372
  */
@@ -337,16 +376,37 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Grafan
337
376
  $fault: "client",
338
377
  ...opts
339
378
  });
340
- this.name = "ResourceNotFoundException";
341
- this.$fault = "client";
342
379
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
343
380
  this.resourceId = opts.resourceId;
344
381
  this.resourceType = opts.resourceType;
345
382
  }
346
383
  };
347
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
348
- var ResourceNotFoundException = _ResourceNotFoundException;
349
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends GrafanaServiceException {
384
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends GrafanaServiceException {
385
+ static {
386
+ __name(this, "ServiceQuotaExceededException");
387
+ }
388
+ name = "ServiceQuotaExceededException";
389
+ $fault = "client";
390
+ /**
391
+ * <p>The ID of the resource that is associated with the error.</p>
392
+ * @public
393
+ */
394
+ resourceId;
395
+ /**
396
+ * <p>The type of the resource that is associated with the error.</p>
397
+ * @public
398
+ */
399
+ resourceType;
400
+ /**
401
+ * <p>The value of a parameter in the request caused an error.</p>
402
+ * @public
403
+ */
404
+ serviceCode;
405
+ /**
406
+ * <p>The ID of the service quota that was exceeded.</p>
407
+ * @public
408
+ */
409
+ quotaCode;
350
410
  /**
351
411
  * @internal
352
412
  */
@@ -356,8 +416,6 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
356
416
  $fault: "client",
357
417
  ...opts
358
418
  });
359
- this.name = "ServiceQuotaExceededException";
360
- this.$fault = "client";
361
419
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
362
420
  this.resourceId = opts.resourceId;
363
421
  this.resourceType = opts.resourceType;
@@ -365,9 +423,28 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
365
423
  this.quotaCode = opts.quotaCode;
366
424
  }
367
425
  };
368
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
369
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
370
- var _ThrottlingException = class _ThrottlingException extends GrafanaServiceException {
426
+ var ThrottlingException = class _ThrottlingException extends GrafanaServiceException {
427
+ static {
428
+ __name(this, "ThrottlingException");
429
+ }
430
+ name = "ThrottlingException";
431
+ $fault = "client";
432
+ $retryable = {};
433
+ /**
434
+ * <p>The ID of the service that is associated with the error.</p>
435
+ * @public
436
+ */
437
+ serviceCode;
438
+ /**
439
+ * <p>The ID of the service quota that was exceeded.</p>
440
+ * @public
441
+ */
442
+ quotaCode;
443
+ /**
444
+ * <p>The value of a parameter in the request caused an error.</p>
445
+ * @public
446
+ */
447
+ retryAfterSeconds;
371
448
  /**
372
449
  * @internal
373
450
  */
@@ -377,24 +454,34 @@ var _ThrottlingException = class _ThrottlingException extends GrafanaServiceExce
377
454
  $fault: "client",
378
455
  ...opts
379
456
  });
380
- this.name = "ThrottlingException";
381
- this.$fault = "client";
382
- this.$retryable = {};
383
457
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
384
458
  this.serviceCode = opts.serviceCode;
385
459
  this.quotaCode = opts.quotaCode;
386
460
  this.retryAfterSeconds = opts.retryAfterSeconds;
387
461
  }
388
462
  };
389
- __name(_ThrottlingException, "ThrottlingException");
390
- var ThrottlingException = _ThrottlingException;
391
463
  var ValidationExceptionReason = {
392
464
  CANNOT_PARSE: "CANNOT_PARSE",
393
465
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
394
466
  OTHER: "OTHER",
395
467
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION"
396
468
  };
397
- var _ValidationException = class _ValidationException extends GrafanaServiceException {
469
+ var ValidationException = class _ValidationException extends GrafanaServiceException {
470
+ static {
471
+ __name(this, "ValidationException");
472
+ }
473
+ name = "ValidationException";
474
+ $fault = "client";
475
+ /**
476
+ * <p>The reason that the operation failed.</p>
477
+ * @public
478
+ */
479
+ reason;
480
+ /**
481
+ * <p>A list of fields that might be associated with the error.</p>
482
+ * @public
483
+ */
484
+ fieldList;
398
485
  /**
399
486
  * @internal
400
487
  */
@@ -404,15 +491,11 @@ var _ValidationException = class _ValidationException extends GrafanaServiceExce
404
491
  $fault: "client",
405
492
  ...opts
406
493
  });
407
- this.name = "ValidationException";
408
- this.$fault = "client";
409
494
  Object.setPrototypeOf(this, _ValidationException.prototype);
410
495
  this.reason = opts.reason;
411
496
  this.fieldList = opts.fieldList;
412
497
  }
413
498
  };
414
- __name(_ValidationException, "ValidationException");
415
- var ValidationException = _ValidationException;
416
499
  var LicenseType = {
417
500
  /**
418
501
  * Grafana Enterprise License.
@@ -1649,351 +1732,376 @@ var _wI = "workspaceId";
1649
1732
  var _wi = "workspace-id";
1650
1733
 
1651
1734
  // src/commands/AssociateLicenseCommand.ts
1652
- var _AssociateLicenseCommand = class _AssociateLicenseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1735
+ var AssociateLicenseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1653
1736
  return [
1654
1737
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1655
1738
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1656
1739
  ];
1657
1740
  }).s("AWSGrafanaControlPlane", "AssociateLicense", {}).n("GrafanaClient", "AssociateLicenseCommand").f(void 0, AssociateLicenseResponseFilterSensitiveLog).ser(se_AssociateLicenseCommand).de(de_AssociateLicenseCommand).build() {
1741
+ static {
1742
+ __name(this, "AssociateLicenseCommand");
1743
+ }
1658
1744
  };
1659
- __name(_AssociateLicenseCommand, "AssociateLicenseCommand");
1660
- var AssociateLicenseCommand = _AssociateLicenseCommand;
1661
1745
 
1662
1746
  // src/commands/CreateWorkspaceApiKeyCommand.ts
1663
1747
 
1664
1748
 
1665
1749
 
1666
- var _CreateWorkspaceApiKeyCommand = class _CreateWorkspaceApiKeyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1750
+ var CreateWorkspaceApiKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1667
1751
  return [
1668
1752
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1669
1753
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1670
1754
  ];
1671
1755
  }).s("AWSGrafanaControlPlane", "CreateWorkspaceApiKey", {}).n("GrafanaClient", "CreateWorkspaceApiKeyCommand").f(void 0, CreateWorkspaceApiKeyResponseFilterSensitiveLog).ser(se_CreateWorkspaceApiKeyCommand).de(de_CreateWorkspaceApiKeyCommand).build() {
1756
+ static {
1757
+ __name(this, "CreateWorkspaceApiKeyCommand");
1758
+ }
1672
1759
  };
1673
- __name(_CreateWorkspaceApiKeyCommand, "CreateWorkspaceApiKeyCommand");
1674
- var CreateWorkspaceApiKeyCommand = _CreateWorkspaceApiKeyCommand;
1675
1760
 
1676
1761
  // src/commands/CreateWorkspaceCommand.ts
1677
1762
 
1678
1763
 
1679
1764
 
1680
- var _CreateWorkspaceCommand = class _CreateWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1765
+ var CreateWorkspaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1681
1766
  return [
1682
1767
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1683
1768
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1684
1769
  ];
1685
1770
  }).s("AWSGrafanaControlPlane", "CreateWorkspace", {}).n("GrafanaClient", "CreateWorkspaceCommand").f(CreateWorkspaceRequestFilterSensitiveLog, CreateWorkspaceResponseFilterSensitiveLog).ser(se_CreateWorkspaceCommand).de(de_CreateWorkspaceCommand).build() {
1771
+ static {
1772
+ __name(this, "CreateWorkspaceCommand");
1773
+ }
1686
1774
  };
1687
- __name(_CreateWorkspaceCommand, "CreateWorkspaceCommand");
1688
- var CreateWorkspaceCommand = _CreateWorkspaceCommand;
1689
1775
 
1690
1776
  // src/commands/CreateWorkspaceServiceAccountCommand.ts
1691
1777
 
1692
1778
 
1693
1779
 
1694
- var _CreateWorkspaceServiceAccountCommand = class _CreateWorkspaceServiceAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1780
+ var CreateWorkspaceServiceAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1695
1781
  return [
1696
1782
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1697
1783
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1698
1784
  ];
1699
1785
  }).s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccount", {}).n("GrafanaClient", "CreateWorkspaceServiceAccountCommand").f(void 0, void 0).ser(se_CreateWorkspaceServiceAccountCommand).de(de_CreateWorkspaceServiceAccountCommand).build() {
1786
+ static {
1787
+ __name(this, "CreateWorkspaceServiceAccountCommand");
1788
+ }
1700
1789
  };
1701
- __name(_CreateWorkspaceServiceAccountCommand, "CreateWorkspaceServiceAccountCommand");
1702
- var CreateWorkspaceServiceAccountCommand = _CreateWorkspaceServiceAccountCommand;
1703
1790
 
1704
1791
  // src/commands/CreateWorkspaceServiceAccountTokenCommand.ts
1705
1792
 
1706
1793
 
1707
1794
 
1708
- var _CreateWorkspaceServiceAccountTokenCommand = class _CreateWorkspaceServiceAccountTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1795
+ var CreateWorkspaceServiceAccountTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1709
1796
  return [
1710
1797
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1711
1798
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1712
1799
  ];
1713
1800
  }).s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccountToken", {}).n("GrafanaClient", "CreateWorkspaceServiceAccountTokenCommand").f(void 0, CreateWorkspaceServiceAccountTokenResponseFilterSensitiveLog).ser(se_CreateWorkspaceServiceAccountTokenCommand).de(de_CreateWorkspaceServiceAccountTokenCommand).build() {
1801
+ static {
1802
+ __name(this, "CreateWorkspaceServiceAccountTokenCommand");
1803
+ }
1714
1804
  };
1715
- __name(_CreateWorkspaceServiceAccountTokenCommand, "CreateWorkspaceServiceAccountTokenCommand");
1716
- var CreateWorkspaceServiceAccountTokenCommand = _CreateWorkspaceServiceAccountTokenCommand;
1717
1805
 
1718
1806
  // src/commands/DeleteWorkspaceApiKeyCommand.ts
1719
1807
 
1720
1808
 
1721
1809
 
1722
- var _DeleteWorkspaceApiKeyCommand = class _DeleteWorkspaceApiKeyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1810
+ var DeleteWorkspaceApiKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1723
1811
  return [
1724
1812
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1725
1813
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1726
1814
  ];
1727
1815
  }).s("AWSGrafanaControlPlane", "DeleteWorkspaceApiKey", {}).n("GrafanaClient", "DeleteWorkspaceApiKeyCommand").f(void 0, void 0).ser(se_DeleteWorkspaceApiKeyCommand).de(de_DeleteWorkspaceApiKeyCommand).build() {
1816
+ static {
1817
+ __name(this, "DeleteWorkspaceApiKeyCommand");
1818
+ }
1728
1819
  };
1729
- __name(_DeleteWorkspaceApiKeyCommand, "DeleteWorkspaceApiKeyCommand");
1730
- var DeleteWorkspaceApiKeyCommand = _DeleteWorkspaceApiKeyCommand;
1731
1820
 
1732
1821
  // src/commands/DeleteWorkspaceCommand.ts
1733
1822
 
1734
1823
 
1735
1824
 
1736
- var _DeleteWorkspaceCommand = class _DeleteWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1825
+ var DeleteWorkspaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1737
1826
  return [
1738
1827
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1739
1828
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1740
1829
  ];
1741
1830
  }).s("AWSGrafanaControlPlane", "DeleteWorkspace", {}).n("GrafanaClient", "DeleteWorkspaceCommand").f(void 0, DeleteWorkspaceResponseFilterSensitiveLog).ser(se_DeleteWorkspaceCommand).de(de_DeleteWorkspaceCommand).build() {
1831
+ static {
1832
+ __name(this, "DeleteWorkspaceCommand");
1833
+ }
1742
1834
  };
1743
- __name(_DeleteWorkspaceCommand, "DeleteWorkspaceCommand");
1744
- var DeleteWorkspaceCommand = _DeleteWorkspaceCommand;
1745
1835
 
1746
1836
  // src/commands/DeleteWorkspaceServiceAccountCommand.ts
1747
1837
 
1748
1838
 
1749
1839
 
1750
- var _DeleteWorkspaceServiceAccountCommand = class _DeleteWorkspaceServiceAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1840
+ var DeleteWorkspaceServiceAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1751
1841
  return [
1752
1842
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1753
1843
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1754
1844
  ];
1755
1845
  }).s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccount", {}).n("GrafanaClient", "DeleteWorkspaceServiceAccountCommand").f(void 0, void 0).ser(se_DeleteWorkspaceServiceAccountCommand).de(de_DeleteWorkspaceServiceAccountCommand).build() {
1846
+ static {
1847
+ __name(this, "DeleteWorkspaceServiceAccountCommand");
1848
+ }
1756
1849
  };
1757
- __name(_DeleteWorkspaceServiceAccountCommand, "DeleteWorkspaceServiceAccountCommand");
1758
- var DeleteWorkspaceServiceAccountCommand = _DeleteWorkspaceServiceAccountCommand;
1759
1850
 
1760
1851
  // src/commands/DeleteWorkspaceServiceAccountTokenCommand.ts
1761
1852
 
1762
1853
 
1763
1854
 
1764
- var _DeleteWorkspaceServiceAccountTokenCommand = class _DeleteWorkspaceServiceAccountTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1855
+ var DeleteWorkspaceServiceAccountTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1765
1856
  return [
1766
1857
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1767
1858
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1768
1859
  ];
1769
1860
  }).s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccountToken", {}).n("GrafanaClient", "DeleteWorkspaceServiceAccountTokenCommand").f(void 0, void 0).ser(se_DeleteWorkspaceServiceAccountTokenCommand).de(de_DeleteWorkspaceServiceAccountTokenCommand).build() {
1861
+ static {
1862
+ __name(this, "DeleteWorkspaceServiceAccountTokenCommand");
1863
+ }
1770
1864
  };
1771
- __name(_DeleteWorkspaceServiceAccountTokenCommand, "DeleteWorkspaceServiceAccountTokenCommand");
1772
- var DeleteWorkspaceServiceAccountTokenCommand = _DeleteWorkspaceServiceAccountTokenCommand;
1773
1865
 
1774
1866
  // src/commands/DescribeWorkspaceAuthenticationCommand.ts
1775
1867
 
1776
1868
 
1777
1869
 
1778
- var _DescribeWorkspaceAuthenticationCommand = class _DescribeWorkspaceAuthenticationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1870
+ var DescribeWorkspaceAuthenticationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1779
1871
  return [
1780
1872
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1781
1873
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1782
1874
  ];
1783
1875
  }).s("AWSGrafanaControlPlane", "DescribeWorkspaceAuthentication", {}).n("GrafanaClient", "DescribeWorkspaceAuthenticationCommand").f(void 0, DescribeWorkspaceAuthenticationResponseFilterSensitiveLog).ser(se_DescribeWorkspaceAuthenticationCommand).de(de_DescribeWorkspaceAuthenticationCommand).build() {
1876
+ static {
1877
+ __name(this, "DescribeWorkspaceAuthenticationCommand");
1878
+ }
1784
1879
  };
1785
- __name(_DescribeWorkspaceAuthenticationCommand, "DescribeWorkspaceAuthenticationCommand");
1786
- var DescribeWorkspaceAuthenticationCommand = _DescribeWorkspaceAuthenticationCommand;
1787
1880
 
1788
1881
  // src/commands/DescribeWorkspaceCommand.ts
1789
1882
 
1790
1883
 
1791
1884
 
1792
- var _DescribeWorkspaceCommand = class _DescribeWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1885
+ var DescribeWorkspaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1793
1886
  return [
1794
1887
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1795
1888
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1796
1889
  ];
1797
1890
  }).s("AWSGrafanaControlPlane", "DescribeWorkspace", {}).n("GrafanaClient", "DescribeWorkspaceCommand").f(void 0, DescribeWorkspaceResponseFilterSensitiveLog).ser(se_DescribeWorkspaceCommand).de(de_DescribeWorkspaceCommand).build() {
1891
+ static {
1892
+ __name(this, "DescribeWorkspaceCommand");
1893
+ }
1798
1894
  };
1799
- __name(_DescribeWorkspaceCommand, "DescribeWorkspaceCommand");
1800
- var DescribeWorkspaceCommand = _DescribeWorkspaceCommand;
1801
1895
 
1802
1896
  // src/commands/DescribeWorkspaceConfigurationCommand.ts
1803
1897
 
1804
1898
 
1805
1899
 
1806
- var _DescribeWorkspaceConfigurationCommand = class _DescribeWorkspaceConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1900
+ var DescribeWorkspaceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1807
1901
  return [
1808
1902
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1809
1903
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1810
1904
  ];
1811
1905
  }).s("AWSGrafanaControlPlane", "DescribeWorkspaceConfiguration", {}).n("GrafanaClient", "DescribeWorkspaceConfigurationCommand").f(void 0, void 0).ser(se_DescribeWorkspaceConfigurationCommand).de(de_DescribeWorkspaceConfigurationCommand).build() {
1906
+ static {
1907
+ __name(this, "DescribeWorkspaceConfigurationCommand");
1908
+ }
1812
1909
  };
1813
- __name(_DescribeWorkspaceConfigurationCommand, "DescribeWorkspaceConfigurationCommand");
1814
- var DescribeWorkspaceConfigurationCommand = _DescribeWorkspaceConfigurationCommand;
1815
1910
 
1816
1911
  // src/commands/DisassociateLicenseCommand.ts
1817
1912
 
1818
1913
 
1819
1914
 
1820
- var _DisassociateLicenseCommand = class _DisassociateLicenseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1915
+ var DisassociateLicenseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1821
1916
  return [
1822
1917
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1823
1918
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1824
1919
  ];
1825
1920
  }).s("AWSGrafanaControlPlane", "DisassociateLicense", {}).n("GrafanaClient", "DisassociateLicenseCommand").f(void 0, DisassociateLicenseResponseFilterSensitiveLog).ser(se_DisassociateLicenseCommand).de(de_DisassociateLicenseCommand).build() {
1921
+ static {
1922
+ __name(this, "DisassociateLicenseCommand");
1923
+ }
1826
1924
  };
1827
- __name(_DisassociateLicenseCommand, "DisassociateLicenseCommand");
1828
- var DisassociateLicenseCommand = _DisassociateLicenseCommand;
1829
1925
 
1830
1926
  // src/commands/ListPermissionsCommand.ts
1831
1927
 
1832
1928
 
1833
1929
 
1834
- var _ListPermissionsCommand = class _ListPermissionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1930
+ var ListPermissionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1835
1931
  return [
1836
1932
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1837
1933
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1838
1934
  ];
1839
1935
  }).s("AWSGrafanaControlPlane", "ListPermissions", {}).n("GrafanaClient", "ListPermissionsCommand").f(void 0, void 0).ser(se_ListPermissionsCommand).de(de_ListPermissionsCommand).build() {
1936
+ static {
1937
+ __name(this, "ListPermissionsCommand");
1938
+ }
1840
1939
  };
1841
- __name(_ListPermissionsCommand, "ListPermissionsCommand");
1842
- var ListPermissionsCommand = _ListPermissionsCommand;
1843
1940
 
1844
1941
  // src/commands/ListTagsForResourceCommand.ts
1845
1942
 
1846
1943
 
1847
1944
 
1848
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1945
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1849
1946
  return [
1850
1947
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1851
1948
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1852
1949
  ];
1853
1950
  }).s("AWSGrafanaControlPlane", "ListTagsForResource", {}).n("GrafanaClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1951
+ static {
1952
+ __name(this, "ListTagsForResourceCommand");
1953
+ }
1854
1954
  };
1855
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1856
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1857
1955
 
1858
1956
  // src/commands/ListVersionsCommand.ts
1859
1957
 
1860
1958
 
1861
1959
 
1862
- var _ListVersionsCommand = class _ListVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1960
+ var ListVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1863
1961
  return [
1864
1962
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1865
1963
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1866
1964
  ];
1867
1965
  }).s("AWSGrafanaControlPlane", "ListVersions", {}).n("GrafanaClient", "ListVersionsCommand").f(void 0, void 0).ser(se_ListVersionsCommand).de(de_ListVersionsCommand).build() {
1966
+ static {
1967
+ __name(this, "ListVersionsCommand");
1968
+ }
1868
1969
  };
1869
- __name(_ListVersionsCommand, "ListVersionsCommand");
1870
- var ListVersionsCommand = _ListVersionsCommand;
1871
1970
 
1872
1971
  // src/commands/ListWorkspacesCommand.ts
1873
1972
 
1874
1973
 
1875
1974
 
1876
- var _ListWorkspacesCommand = class _ListWorkspacesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1975
+ var ListWorkspacesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1877
1976
  return [
1878
1977
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1879
1978
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1880
1979
  ];
1881
1980
  }).s("AWSGrafanaControlPlane", "ListWorkspaces", {}).n("GrafanaClient", "ListWorkspacesCommand").f(void 0, ListWorkspacesResponseFilterSensitiveLog).ser(se_ListWorkspacesCommand).de(de_ListWorkspacesCommand).build() {
1981
+ static {
1982
+ __name(this, "ListWorkspacesCommand");
1983
+ }
1882
1984
  };
1883
- __name(_ListWorkspacesCommand, "ListWorkspacesCommand");
1884
- var ListWorkspacesCommand = _ListWorkspacesCommand;
1885
1985
 
1886
1986
  // src/commands/ListWorkspaceServiceAccountsCommand.ts
1887
1987
 
1888
1988
 
1889
1989
 
1890
- var _ListWorkspaceServiceAccountsCommand = class _ListWorkspaceServiceAccountsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1990
+ var ListWorkspaceServiceAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1891
1991
  return [
1892
1992
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1893
1993
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1894
1994
  ];
1895
1995
  }).s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccounts", {}).n("GrafanaClient", "ListWorkspaceServiceAccountsCommand").f(void 0, void 0).ser(se_ListWorkspaceServiceAccountsCommand).de(de_ListWorkspaceServiceAccountsCommand).build() {
1996
+ static {
1997
+ __name(this, "ListWorkspaceServiceAccountsCommand");
1998
+ }
1896
1999
  };
1897
- __name(_ListWorkspaceServiceAccountsCommand, "ListWorkspaceServiceAccountsCommand");
1898
- var ListWorkspaceServiceAccountsCommand = _ListWorkspaceServiceAccountsCommand;
1899
2000
 
1900
2001
  // src/commands/ListWorkspaceServiceAccountTokensCommand.ts
1901
2002
 
1902
2003
 
1903
2004
 
1904
- var _ListWorkspaceServiceAccountTokensCommand = class _ListWorkspaceServiceAccountTokensCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2005
+ var ListWorkspaceServiceAccountTokensCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1905
2006
  return [
1906
2007
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1907
2008
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1908
2009
  ];
1909
2010
  }).s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccountTokens", {}).n("GrafanaClient", "ListWorkspaceServiceAccountTokensCommand").f(void 0, void 0).ser(se_ListWorkspaceServiceAccountTokensCommand).de(de_ListWorkspaceServiceAccountTokensCommand).build() {
2011
+ static {
2012
+ __name(this, "ListWorkspaceServiceAccountTokensCommand");
2013
+ }
1910
2014
  };
1911
- __name(_ListWorkspaceServiceAccountTokensCommand, "ListWorkspaceServiceAccountTokensCommand");
1912
- var ListWorkspaceServiceAccountTokensCommand = _ListWorkspaceServiceAccountTokensCommand;
1913
2015
 
1914
2016
  // src/commands/TagResourceCommand.ts
1915
2017
 
1916
2018
 
1917
2019
 
1918
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2020
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1919
2021
  return [
1920
2022
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1921
2023
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1922
2024
  ];
1923
2025
  }).s("AWSGrafanaControlPlane", "TagResource", {}).n("GrafanaClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2026
+ static {
2027
+ __name(this, "TagResourceCommand");
2028
+ }
1924
2029
  };
1925
- __name(_TagResourceCommand, "TagResourceCommand");
1926
- var TagResourceCommand = _TagResourceCommand;
1927
2030
 
1928
2031
  // src/commands/UntagResourceCommand.ts
1929
2032
 
1930
2033
 
1931
2034
 
1932
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2035
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1933
2036
  return [
1934
2037
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1935
2038
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1936
2039
  ];
1937
2040
  }).s("AWSGrafanaControlPlane", "UntagResource", {}).n("GrafanaClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2041
+ static {
2042
+ __name(this, "UntagResourceCommand");
2043
+ }
1938
2044
  };
1939
- __name(_UntagResourceCommand, "UntagResourceCommand");
1940
- var UntagResourceCommand = _UntagResourceCommand;
1941
2045
 
1942
2046
  // src/commands/UpdatePermissionsCommand.ts
1943
2047
 
1944
2048
 
1945
2049
 
1946
- var _UpdatePermissionsCommand = class _UpdatePermissionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2050
+ var UpdatePermissionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1947
2051
  return [
1948
2052
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1949
2053
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1950
2054
  ];
1951
2055
  }).s("AWSGrafanaControlPlane", "UpdatePermissions", {}).n("GrafanaClient", "UpdatePermissionsCommand").f(void 0, void 0).ser(se_UpdatePermissionsCommand).de(de_UpdatePermissionsCommand).build() {
2056
+ static {
2057
+ __name(this, "UpdatePermissionsCommand");
2058
+ }
1952
2059
  };
1953
- __name(_UpdatePermissionsCommand, "UpdatePermissionsCommand");
1954
- var UpdatePermissionsCommand = _UpdatePermissionsCommand;
1955
2060
 
1956
2061
  // src/commands/UpdateWorkspaceAuthenticationCommand.ts
1957
2062
 
1958
2063
 
1959
2064
 
1960
- var _UpdateWorkspaceAuthenticationCommand = class _UpdateWorkspaceAuthenticationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2065
+ var UpdateWorkspaceAuthenticationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1961
2066
  return [
1962
2067
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1963
2068
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1964
2069
  ];
1965
2070
  }).s("AWSGrafanaControlPlane", "UpdateWorkspaceAuthentication", {}).n("GrafanaClient", "UpdateWorkspaceAuthenticationCommand").f(UpdateWorkspaceAuthenticationRequestFilterSensitiveLog, UpdateWorkspaceAuthenticationResponseFilterSensitiveLog).ser(se_UpdateWorkspaceAuthenticationCommand).de(de_UpdateWorkspaceAuthenticationCommand).build() {
2071
+ static {
2072
+ __name(this, "UpdateWorkspaceAuthenticationCommand");
2073
+ }
1966
2074
  };
1967
- __name(_UpdateWorkspaceAuthenticationCommand, "UpdateWorkspaceAuthenticationCommand");
1968
- var UpdateWorkspaceAuthenticationCommand = _UpdateWorkspaceAuthenticationCommand;
1969
2075
 
1970
2076
  // src/commands/UpdateWorkspaceCommand.ts
1971
2077
 
1972
2078
 
1973
2079
 
1974
- var _UpdateWorkspaceCommand = class _UpdateWorkspaceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2080
+ var UpdateWorkspaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1975
2081
  return [
1976
2082
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1977
2083
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1978
2084
  ];
1979
2085
  }).s("AWSGrafanaControlPlane", "UpdateWorkspace", {}).n("GrafanaClient", "UpdateWorkspaceCommand").f(UpdateWorkspaceRequestFilterSensitiveLog, UpdateWorkspaceResponseFilterSensitiveLog).ser(se_UpdateWorkspaceCommand).de(de_UpdateWorkspaceCommand).build() {
2086
+ static {
2087
+ __name(this, "UpdateWorkspaceCommand");
2088
+ }
1980
2089
  };
1981
- __name(_UpdateWorkspaceCommand, "UpdateWorkspaceCommand");
1982
- var UpdateWorkspaceCommand = _UpdateWorkspaceCommand;
1983
2090
 
1984
2091
  // src/commands/UpdateWorkspaceConfigurationCommand.ts
1985
2092
 
1986
2093
 
1987
2094
 
1988
- var _UpdateWorkspaceConfigurationCommand = class _UpdateWorkspaceConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2095
+ var UpdateWorkspaceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1989
2096
  return [
1990
2097
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1991
2098
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1992
2099
  ];
1993
2100
  }).s("AWSGrafanaControlPlane", "UpdateWorkspaceConfiguration", {}).n("GrafanaClient", "UpdateWorkspaceConfigurationCommand").f(void 0, void 0).ser(se_UpdateWorkspaceConfigurationCommand).de(de_UpdateWorkspaceConfigurationCommand).build() {
2101
+ static {
2102
+ __name(this, "UpdateWorkspaceConfigurationCommand");
2103
+ }
1994
2104
  };
1995
- __name(_UpdateWorkspaceConfigurationCommand, "UpdateWorkspaceConfigurationCommand");
1996
- var UpdateWorkspaceConfigurationCommand = _UpdateWorkspaceConfigurationCommand;
1997
2105
 
1998
2106
  // src/Grafana.ts
1999
2107
  var commands = {
@@ -2023,10 +2131,11 @@ var commands = {
2023
2131
  UpdateWorkspaceAuthenticationCommand,
2024
2132
  UpdateWorkspaceConfigurationCommand
2025
2133
  };
2026
- var _Grafana = class _Grafana extends GrafanaClient {
2134
+ var Grafana = class extends GrafanaClient {
2135
+ static {
2136
+ __name(this, "Grafana");
2137
+ }
2027
2138
  };
2028
- __name(_Grafana, "Grafana");
2029
- var Grafana = _Grafana;
2030
2139
  (0, import_smithy_client.createAggregatedClient)(commands, Grafana);
2031
2140
 
2032
2141
  // src/pagination/ListPermissionsPaginator.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 GrafanaClient 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 { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
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
  }
@@ -17,56 +17,65 @@ export const AccountAccessType = {
17
17
  ORGANIZATION: "ORGANIZATION",
18
18
  };
19
19
  export class ConflictException extends __BaseException {
20
+ name = "ConflictException";
21
+ $fault = "client";
22
+ resourceId;
23
+ resourceType;
20
24
  constructor(opts) {
21
25
  super({
22
26
  name: "ConflictException",
23
27
  $fault: "client",
24
28
  ...opts,
25
29
  });
26
- this.name = "ConflictException";
27
- this.$fault = "client";
28
30
  Object.setPrototypeOf(this, ConflictException.prototype);
29
31
  this.resourceId = opts.resourceId;
30
32
  this.resourceType = opts.resourceType;
31
33
  }
32
34
  }
33
35
  export class InternalServerException extends __BaseException {
36
+ name = "InternalServerException";
37
+ $fault = "server";
38
+ $retryable = {};
39
+ retryAfterSeconds;
34
40
  constructor(opts) {
35
41
  super({
36
42
  name: "InternalServerException",
37
43
  $fault: "server",
38
44
  ...opts,
39
45
  });
40
- this.name = "InternalServerException";
41
- this.$fault = "server";
42
- this.$retryable = {};
43
46
  Object.setPrototypeOf(this, InternalServerException.prototype);
44
47
  this.retryAfterSeconds = opts.retryAfterSeconds;
45
48
  }
46
49
  }
47
50
  export class ResourceNotFoundException extends __BaseException {
51
+ name = "ResourceNotFoundException";
52
+ $fault = "client";
53
+ resourceId;
54
+ resourceType;
48
55
  constructor(opts) {
49
56
  super({
50
57
  name: "ResourceNotFoundException",
51
58
  $fault: "client",
52
59
  ...opts,
53
60
  });
54
- this.name = "ResourceNotFoundException";
55
- this.$fault = "client";
56
61
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
57
62
  this.resourceId = opts.resourceId;
58
63
  this.resourceType = opts.resourceType;
59
64
  }
60
65
  }
61
66
  export class ServiceQuotaExceededException extends __BaseException {
67
+ name = "ServiceQuotaExceededException";
68
+ $fault = "client";
69
+ resourceId;
70
+ resourceType;
71
+ serviceCode;
72
+ quotaCode;
62
73
  constructor(opts) {
63
74
  super({
64
75
  name: "ServiceQuotaExceededException",
65
76
  $fault: "client",
66
77
  ...opts,
67
78
  });
68
- this.name = "ServiceQuotaExceededException";
69
- this.$fault = "client";
70
79
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
71
80
  this.resourceId = opts.resourceId;
72
81
  this.resourceType = opts.resourceType;
@@ -75,15 +84,18 @@ export class ServiceQuotaExceededException extends __BaseException {
75
84
  }
76
85
  }
77
86
  export class ThrottlingException extends __BaseException {
87
+ name = "ThrottlingException";
88
+ $fault = "client";
89
+ $retryable = {};
90
+ serviceCode;
91
+ quotaCode;
92
+ retryAfterSeconds;
78
93
  constructor(opts) {
79
94
  super({
80
95
  name: "ThrottlingException",
81
96
  $fault: "client",
82
97
  ...opts,
83
98
  });
84
- this.name = "ThrottlingException";
85
- this.$fault = "client";
86
- this.$retryable = {};
87
99
  Object.setPrototypeOf(this, ThrottlingException.prototype);
88
100
  this.serviceCode = opts.serviceCode;
89
101
  this.quotaCode = opts.quotaCode;
@@ -97,14 +109,16 @@ export const ValidationExceptionReason = {
97
109
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
98
110
  };
99
111
  export class ValidationException extends __BaseException {
112
+ name = "ValidationException";
113
+ $fault = "client";
114
+ reason;
115
+ fieldList;
100
116
  constructor(opts) {
101
117
  super({
102
118
  name: "ValidationException",
103
119
  $fault: "client",
104
120
  ...opts,
105
121
  });
106
- this.name = "ValidationException";
107
- this.$fault = "client";
108
122
  Object.setPrototypeOf(this, ValidationException.prototype);
109
123
  this.reason = opts.reason;
110
124
  this.fieldList = opts.fieldList;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
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: GrafanaClientConfig) => {
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: GrafanaClientConfig) => {
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: GrafanaClientConfig) => {
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: GrafanaClientConfig) => {
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: GrafanaClientConfig) => {
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: GrafanaClientConfig) => {
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: GrafanaClientConfig) => {
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-grafana",
3
3
  "description": "AWS SDK for JavaScript Grafana Client for Node.js, Browser and React Native",
4
- "version": "3.721.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-grafana",
@@ -20,58 +20,58 @@
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.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.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.721.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.721.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
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {