@aws-sdk/client-grafana 3.576.0 → 3.577.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/README.md +48 -0
- package/dist-cjs/index.js +341 -0
- package/dist-es/Grafana.js +12 -0
- package/dist-es/commands/CreateWorkspaceServiceAccountCommand.js +24 -0
- package/dist-es/commands/CreateWorkspaceServiceAccountTokenCommand.js +25 -0
- package/dist-es/commands/DeleteWorkspaceServiceAccountCommand.js +24 -0
- package/dist-es/commands/DeleteWorkspaceServiceAccountTokenCommand.js +24 -0
- package/dist-es/commands/ListWorkspaceServiceAccountTokensCommand.js +24 -0
- package/dist-es/commands/ListWorkspaceServiceAccountsCommand.js +24 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/pagination/ListWorkspaceServiceAccountTokensPaginator.js +4 -0
- package/dist-es/pagination/ListWorkspaceServiceAccountsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +193 -0
- package/dist-types/Grafana.d.ts +42 -0
- package/dist-types/GrafanaClient.d.ts +8 -2
- package/dist-types/commands/AssociateLicenseCommand.d.ts +3 -1
- package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/CreateWorkspaceServiceAccountCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkspaceServiceAccountTokenCommand.d.ts +101 -0
- package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWorkspaceServiceAccountCommand.d.ts +84 -0
- package/dist-types/commands/DeleteWorkspaceServiceAccountTokenCommand.d.ts +86 -0
- package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +3 -0
- package/dist-types/commands/ListWorkspaceServiceAccountTokensCommand.d.ts +97 -0
- package/dist-types/commands/ListWorkspaceServiceAccountsCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +357 -5
- package/dist-types/pagination/ListWorkspaceServiceAccountTokensPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkspaceServiceAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/Grafana.d.ts +120 -0
- package/dist-types/ts3.4/GrafanaClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountTokenCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountTokenCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountTokensCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +86 -0
- package/dist-types/ts3.4/pagination/ListWorkspaceServiceAccountTokensPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkspaceServiceAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +13 -13
|
@@ -63,7 +63,7 @@ export interface CreateWorkspaceApiKeyRequest {
|
|
|
63
63
|
keyName: string | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* <p>Specifies the permission level of the key.</p>
|
|
66
|
-
* <p> Valid values: <code>
|
|
66
|
+
* <p> Valid values: <code>ADMIN</code>|<code>EDITOR</code>|<code>VIEWER</code>
|
|
67
67
|
* </p>
|
|
68
68
|
* @public
|
|
69
69
|
*/
|
|
@@ -363,7 +363,7 @@ export interface AssociateLicenseRequest {
|
|
|
363
363
|
licenseType: LicenseType | undefined;
|
|
364
364
|
/**
|
|
365
365
|
* <p>A token from Grafana Labs that ties your Amazon Web Services account with a Grafana
|
|
366
|
-
* Labs account. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise">
|
|
366
|
+
* Labs account. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise">Link your account with Grafana Labs</a>.</p>
|
|
367
367
|
* @public
|
|
368
368
|
*/
|
|
369
369
|
grafanaToken?: string;
|
|
@@ -817,7 +817,7 @@ export interface WorkspaceDescription {
|
|
|
817
817
|
networkAccessControl?: NetworkAccessConfiguration;
|
|
818
818
|
/**
|
|
819
819
|
* <p>The token that ties this workspace to a Grafana Labs account. For more information,
|
|
820
|
-
* see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise">
|
|
820
|
+
* see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise">Link your account with Grafana Labs</a>.</p>
|
|
821
821
|
* @public
|
|
822
822
|
*/
|
|
823
823
|
grafanaToken?: string;
|
|
@@ -1407,6 +1407,350 @@ export interface UpdatePermissionsResponse {
|
|
|
1407
1407
|
*/
|
|
1408
1408
|
errors: UpdateError[] | undefined;
|
|
1409
1409
|
}
|
|
1410
|
+
/**
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
export interface CreateWorkspaceServiceAccountRequest {
|
|
1414
|
+
/**
|
|
1415
|
+
* <p>A name for the service account. The name must be unique within the workspace, as it
|
|
1416
|
+
* determines the ID associated with the service account.</p>
|
|
1417
|
+
* @public
|
|
1418
|
+
*/
|
|
1419
|
+
name: string | undefined;
|
|
1420
|
+
/**
|
|
1421
|
+
* <p>The permission level to use for this service account.</p>
|
|
1422
|
+
* <note>
|
|
1423
|
+
* <p>For more information about the roles and the permissions each has, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/Grafana-user-roles.html">User
|
|
1424
|
+
* roles</a> in the <i>Amazon Managed Grafana User Guide</i>.</p>
|
|
1425
|
+
* </note>
|
|
1426
|
+
* @public
|
|
1427
|
+
*/
|
|
1428
|
+
grafanaRole: Role | undefined;
|
|
1429
|
+
/**
|
|
1430
|
+
* <p>The ID of the workspace within which to create the service account.</p>
|
|
1431
|
+
* @public
|
|
1432
|
+
*/
|
|
1433
|
+
workspaceId: string | undefined;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* @public
|
|
1437
|
+
*/
|
|
1438
|
+
export interface CreateWorkspaceServiceAccountResponse {
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>The ID of the service account.</p>
|
|
1441
|
+
* @public
|
|
1442
|
+
*/
|
|
1443
|
+
id: string | undefined;
|
|
1444
|
+
/**
|
|
1445
|
+
* <p>The name of the service account.</p>
|
|
1446
|
+
* @public
|
|
1447
|
+
*/
|
|
1448
|
+
name: string | undefined;
|
|
1449
|
+
/**
|
|
1450
|
+
* <p>The permission level given to the service account.</p>
|
|
1451
|
+
* @public
|
|
1452
|
+
*/
|
|
1453
|
+
grafanaRole: Role | undefined;
|
|
1454
|
+
/**
|
|
1455
|
+
* <p>The workspace with which the service account is associated.</p>
|
|
1456
|
+
* @public
|
|
1457
|
+
*/
|
|
1458
|
+
workspaceId: string | undefined;
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* @public
|
|
1462
|
+
*/
|
|
1463
|
+
export interface DeleteWorkspaceServiceAccountRequest {
|
|
1464
|
+
/**
|
|
1465
|
+
* <p>The ID of the service account to delete.</p>
|
|
1466
|
+
* @public
|
|
1467
|
+
*/
|
|
1468
|
+
serviceAccountId: string | undefined;
|
|
1469
|
+
/**
|
|
1470
|
+
* <p>The ID of the workspace where the service account resides.</p>
|
|
1471
|
+
* @public
|
|
1472
|
+
*/
|
|
1473
|
+
workspaceId: string | undefined;
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
export interface DeleteWorkspaceServiceAccountResponse {
|
|
1479
|
+
/**
|
|
1480
|
+
* <p>The ID of the service account deleted.</p>
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
serviceAccountId: string | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The ID of the workspace where the service account was deleted.</p>
|
|
1486
|
+
* @public
|
|
1487
|
+
*/
|
|
1488
|
+
workspaceId: string | undefined;
|
|
1489
|
+
}
|
|
1490
|
+
/**
|
|
1491
|
+
* @public
|
|
1492
|
+
*/
|
|
1493
|
+
export interface ListWorkspaceServiceAccountsRequest {
|
|
1494
|
+
/**
|
|
1495
|
+
* <p>The maximum number of service accounts to include in the results.</p>
|
|
1496
|
+
* @public
|
|
1497
|
+
*/
|
|
1498
|
+
maxResults?: number;
|
|
1499
|
+
/**
|
|
1500
|
+
* <p>The token for the next set of service accounts to return. (You receive this token
|
|
1501
|
+
* from a previous <code>ListWorkspaceServiceAccounts</code> operation.)</p>
|
|
1502
|
+
* @public
|
|
1503
|
+
*/
|
|
1504
|
+
nextToken?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* <p>The workspace for which to list service accounts.</p>
|
|
1507
|
+
* @public
|
|
1508
|
+
*/
|
|
1509
|
+
workspaceId: string | undefined;
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
* <p>A structure that contains the information about one service account.</p>
|
|
1513
|
+
* @public
|
|
1514
|
+
*/
|
|
1515
|
+
export interface ServiceAccountSummary {
|
|
1516
|
+
/**
|
|
1517
|
+
* <p>The unique ID of the service account.</p>
|
|
1518
|
+
* @public
|
|
1519
|
+
*/
|
|
1520
|
+
id: string | undefined;
|
|
1521
|
+
/**
|
|
1522
|
+
* <p>The name of the service account.</p>
|
|
1523
|
+
* @public
|
|
1524
|
+
*/
|
|
1525
|
+
name: string | undefined;
|
|
1526
|
+
/**
|
|
1527
|
+
* <p>Returns true if the service account is disabled. Service accounts can be disabled and
|
|
1528
|
+
* enabled in the Amazon Managed Grafana console.</p>
|
|
1529
|
+
* @public
|
|
1530
|
+
*/
|
|
1531
|
+
isDisabled: string | undefined;
|
|
1532
|
+
/**
|
|
1533
|
+
* <p>The role of the service account, which sets the permission level used when calling
|
|
1534
|
+
* Grafana APIs.</p>
|
|
1535
|
+
* @public
|
|
1536
|
+
*/
|
|
1537
|
+
grafanaRole: Role | undefined;
|
|
1538
|
+
}
|
|
1539
|
+
/**
|
|
1540
|
+
* @public
|
|
1541
|
+
*/
|
|
1542
|
+
export interface ListWorkspaceServiceAccountsResponse {
|
|
1543
|
+
/**
|
|
1544
|
+
* <p>The token to use when requesting the next set of service accounts.</p>
|
|
1545
|
+
* @public
|
|
1546
|
+
*/
|
|
1547
|
+
nextToken?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* <p>An array of structures containing information about the service accounts.</p>
|
|
1550
|
+
* @public
|
|
1551
|
+
*/
|
|
1552
|
+
serviceAccounts: ServiceAccountSummary[] | undefined;
|
|
1553
|
+
/**
|
|
1554
|
+
* <p>The workspace to which the service accounts are associated.</p>
|
|
1555
|
+
* @public
|
|
1556
|
+
*/
|
|
1557
|
+
workspaceId: string | undefined;
|
|
1558
|
+
}
|
|
1559
|
+
/**
|
|
1560
|
+
* @public
|
|
1561
|
+
*/
|
|
1562
|
+
export interface CreateWorkspaceServiceAccountTokenRequest {
|
|
1563
|
+
/**
|
|
1564
|
+
* <p>A name for the token to create.</p>
|
|
1565
|
+
* @public
|
|
1566
|
+
*/
|
|
1567
|
+
name: string | undefined;
|
|
1568
|
+
/**
|
|
1569
|
+
* <p>Sets how long the token will be valid, in seconds. You can set the time up to 30
|
|
1570
|
+
* days in the future.</p>
|
|
1571
|
+
* @public
|
|
1572
|
+
*/
|
|
1573
|
+
secondsToLive: number | undefined;
|
|
1574
|
+
/**
|
|
1575
|
+
* <p>The ID of the service account for which to create a token.</p>
|
|
1576
|
+
* @public
|
|
1577
|
+
*/
|
|
1578
|
+
serviceAccountId: string | undefined;
|
|
1579
|
+
/**
|
|
1580
|
+
* <p>The ID of the workspace the service account resides within.</p>
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1583
|
+
workspaceId: string | undefined;
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* <p>A structure that contains the information about a service account token.</p>
|
|
1587
|
+
* <p>This structure is returned when creating the token. It is important to store the
|
|
1588
|
+
* <code>key</code> that is returned, as it is not retrievable at a later time.</p>
|
|
1589
|
+
* <p>If you lose the key, you can delete and recreate the token, which will create a
|
|
1590
|
+
* new key.</p>
|
|
1591
|
+
* @public
|
|
1592
|
+
*/
|
|
1593
|
+
export interface ServiceAccountTokenSummaryWithKey {
|
|
1594
|
+
/**
|
|
1595
|
+
* <p>The unique ID of the service account token.</p>
|
|
1596
|
+
* @public
|
|
1597
|
+
*/
|
|
1598
|
+
id: string | undefined;
|
|
1599
|
+
/**
|
|
1600
|
+
* <p>The name of the service account token.</p>
|
|
1601
|
+
* @public
|
|
1602
|
+
*/
|
|
1603
|
+
name: string | undefined;
|
|
1604
|
+
/**
|
|
1605
|
+
* <p>The key for the service account token. Used when making calls to the Grafana HTTP
|
|
1606
|
+
* APIs to authenticate and authorize the requests.</p>
|
|
1607
|
+
* @public
|
|
1608
|
+
*/
|
|
1609
|
+
key: string | undefined;
|
|
1610
|
+
}
|
|
1611
|
+
/**
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
export interface CreateWorkspaceServiceAccountTokenResponse {
|
|
1615
|
+
/**
|
|
1616
|
+
* <p>Information about the created token, including the key. Be sure to store the key
|
|
1617
|
+
* securely.</p>
|
|
1618
|
+
* @public
|
|
1619
|
+
*/
|
|
1620
|
+
serviceAccountToken: ServiceAccountTokenSummaryWithKey | undefined;
|
|
1621
|
+
/**
|
|
1622
|
+
* <p>The ID of the service account where the token was created.</p>
|
|
1623
|
+
* @public
|
|
1624
|
+
*/
|
|
1625
|
+
serviceAccountId: string | undefined;
|
|
1626
|
+
/**
|
|
1627
|
+
* <p>The ID of the workspace where the token was created.</p>
|
|
1628
|
+
* @public
|
|
1629
|
+
*/
|
|
1630
|
+
workspaceId: string | undefined;
|
|
1631
|
+
}
|
|
1632
|
+
/**
|
|
1633
|
+
* @public
|
|
1634
|
+
*/
|
|
1635
|
+
export interface DeleteWorkspaceServiceAccountTokenRequest {
|
|
1636
|
+
/**
|
|
1637
|
+
* <p>The ID of the token to delete.</p>
|
|
1638
|
+
* @public
|
|
1639
|
+
*/
|
|
1640
|
+
tokenId: string | undefined;
|
|
1641
|
+
/**
|
|
1642
|
+
* <p>The ID of the service account from which to delete the token.</p>
|
|
1643
|
+
* @public
|
|
1644
|
+
*/
|
|
1645
|
+
serviceAccountId: string | undefined;
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>The ID of the workspace from which to delete the token.</p>
|
|
1648
|
+
* @public
|
|
1649
|
+
*/
|
|
1650
|
+
workspaceId: string | undefined;
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* @public
|
|
1654
|
+
*/
|
|
1655
|
+
export interface DeleteWorkspaceServiceAccountTokenResponse {
|
|
1656
|
+
/**
|
|
1657
|
+
* <p>The ID of the token that was deleted.</p>
|
|
1658
|
+
* @public
|
|
1659
|
+
*/
|
|
1660
|
+
tokenId: string | undefined;
|
|
1661
|
+
/**
|
|
1662
|
+
* <p>The ID of the service account where the token was deleted.</p>
|
|
1663
|
+
* @public
|
|
1664
|
+
*/
|
|
1665
|
+
serviceAccountId: string | undefined;
|
|
1666
|
+
/**
|
|
1667
|
+
* <p>The ID of the workspace where the token was deleted.</p>
|
|
1668
|
+
* @public
|
|
1669
|
+
*/
|
|
1670
|
+
workspaceId: string | undefined;
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
export interface ListWorkspaceServiceAccountTokensRequest {
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>The maximum number of tokens to include in the results.</p>
|
|
1678
|
+
* @public
|
|
1679
|
+
*/
|
|
1680
|
+
maxResults?: number;
|
|
1681
|
+
/**
|
|
1682
|
+
* <p>The token for the next set of service accounts to return. (You receive this token
|
|
1683
|
+
* from a previous <code>ListWorkspaceServiceAccountTokens</code> operation.)</p>
|
|
1684
|
+
* @public
|
|
1685
|
+
*/
|
|
1686
|
+
nextToken?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* <p>The ID of the service account for which to return tokens.</p>
|
|
1689
|
+
* @public
|
|
1690
|
+
*/
|
|
1691
|
+
serviceAccountId: string | undefined;
|
|
1692
|
+
/**
|
|
1693
|
+
* <p>The ID of the workspace for which to return tokens.</p>
|
|
1694
|
+
* @public
|
|
1695
|
+
*/
|
|
1696
|
+
workspaceId: string | undefined;
|
|
1697
|
+
}
|
|
1698
|
+
/**
|
|
1699
|
+
* <p>A structure that contains the information about a service account token.</p>
|
|
1700
|
+
* @public
|
|
1701
|
+
*/
|
|
1702
|
+
export interface ServiceAccountTokenSummary {
|
|
1703
|
+
/**
|
|
1704
|
+
* <p>The unique ID of the service account token.</p>
|
|
1705
|
+
* @public
|
|
1706
|
+
*/
|
|
1707
|
+
id: string | undefined;
|
|
1708
|
+
/**
|
|
1709
|
+
* <p>The name of the service account token.</p>
|
|
1710
|
+
* @public
|
|
1711
|
+
*/
|
|
1712
|
+
name: string | undefined;
|
|
1713
|
+
/**
|
|
1714
|
+
* <p>When the service account token was created.</p>
|
|
1715
|
+
* @public
|
|
1716
|
+
*/
|
|
1717
|
+
createdAt: Date | undefined;
|
|
1718
|
+
/**
|
|
1719
|
+
* <p>When the service account token will expire.</p>
|
|
1720
|
+
* @public
|
|
1721
|
+
*/
|
|
1722
|
+
expiresAt: Date | undefined;
|
|
1723
|
+
/**
|
|
1724
|
+
* <p>The last time the token was used to authorize a Grafana HTTP API.</p>
|
|
1725
|
+
* @public
|
|
1726
|
+
*/
|
|
1727
|
+
lastUsedAt?: Date;
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
* @public
|
|
1731
|
+
*/
|
|
1732
|
+
export interface ListWorkspaceServiceAccountTokensResponse {
|
|
1733
|
+
/**
|
|
1734
|
+
* <p>The token to use when requesting the next set of service accounts.</p>
|
|
1735
|
+
* @public
|
|
1736
|
+
*/
|
|
1737
|
+
nextToken?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* <p>An array of structures containing information about the tokens.</p>
|
|
1740
|
+
* @public
|
|
1741
|
+
*/
|
|
1742
|
+
serviceAccountTokens: ServiceAccountTokenSummary[] | undefined;
|
|
1743
|
+
/**
|
|
1744
|
+
* <p>The ID of the service account where the tokens reside.</p>
|
|
1745
|
+
* @public
|
|
1746
|
+
*/
|
|
1747
|
+
serviceAccountId: string | undefined;
|
|
1748
|
+
/**
|
|
1749
|
+
* <p>The ID of the workspace where the tokens reside.</p>
|
|
1750
|
+
* @public
|
|
1751
|
+
*/
|
|
1752
|
+
workspaceId: string | undefined;
|
|
1753
|
+
}
|
|
1410
1754
|
/**
|
|
1411
1755
|
* @public
|
|
1412
1756
|
*/
|
|
@@ -1581,7 +1925,7 @@ export interface CreateWorkspaceRequest {
|
|
|
1581
1925
|
networkAccessControl?: NetworkAccessConfiguration;
|
|
1582
1926
|
/**
|
|
1583
1927
|
* <p>Specifies the version of Grafana to support in the new workspace. If not specified,
|
|
1584
|
-
* defaults to the latest version (for example,
|
|
1928
|
+
* defaults to the latest version (for example, 10.4).</p>
|
|
1585
1929
|
* <p>To get a list of supported versions, use the <code>ListVersions</code>
|
|
1586
1930
|
* operation.</p>
|
|
1587
1931
|
* @public
|
|
@@ -1727,7 +2071,7 @@ export interface WorkspaceSummary {
|
|
|
1727
2071
|
licenseType?: LicenseType;
|
|
1728
2072
|
/**
|
|
1729
2073
|
* <p>The token that ties this workspace to a Grafana Labs account. For more information,
|
|
1730
|
-
* see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise">
|
|
2074
|
+
* see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise">Link your account with Grafana Labs</a>.</p>
|
|
1731
2075
|
* @public
|
|
1732
2076
|
*/
|
|
1733
2077
|
grafanaToken?: string;
|
|
@@ -1932,6 +2276,14 @@ export declare const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog: (o
|
|
|
1932
2276
|
* @internal
|
|
1933
2277
|
*/
|
|
1934
2278
|
export declare const DisassociateLicenseResponseFilterSensitiveLog: (obj: DisassociateLicenseResponse) => any;
|
|
2279
|
+
/**
|
|
2280
|
+
* @internal
|
|
2281
|
+
*/
|
|
2282
|
+
export declare const ServiceAccountTokenSummaryWithKeyFilterSensitiveLog: (obj: ServiceAccountTokenSummaryWithKey) => any;
|
|
2283
|
+
/**
|
|
2284
|
+
* @internal
|
|
2285
|
+
*/
|
|
2286
|
+
export declare const CreateWorkspaceServiceAccountTokenResponseFilterSensitiveLog: (obj: CreateWorkspaceServiceAccountTokenResponse) => any;
|
|
1935
2287
|
/**
|
|
1936
2288
|
* @internal
|
|
1937
2289
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListWorkspaceServiceAccountTokensCommandInput, ListWorkspaceServiceAccountTokensCommandOutput } from "../commands/ListWorkspaceServiceAccountTokensCommand";
|
|
3
|
+
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListWorkspaceServiceAccountTokens: (config: GrafanaPaginationConfiguration, input: ListWorkspaceServiceAccountTokensCommandInput, ...rest: any[]) => Paginator<ListWorkspaceServiceAccountTokensCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListWorkspaceServiceAccountsCommandInput, ListWorkspaceServiceAccountsCommandOutput } from "../commands/ListWorkspaceServiceAccountsCommand";
|
|
3
|
+
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListWorkspaceServiceAccounts: (config: GrafanaPaginationConfiguration, input: ListWorkspaceServiceAccountsCommandInput, ...rest: any[]) => Paginator<ListWorkspaceServiceAccountsCommandOutput>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListPermissionsPaginator";
|
|
3
3
|
export * from "./ListVersionsPaginator";
|
|
4
|
+
export * from "./ListWorkspaceServiceAccountTokensPaginator";
|
|
5
|
+
export * from "./ListWorkspaceServiceAccountsPaginator";
|
|
4
6
|
export * from "./ListWorkspacesPaginator";
|
|
@@ -3,8 +3,12 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
|
3
3
|
import { AssociateLicenseCommandInput, AssociateLicenseCommandOutput } from "../commands/AssociateLicenseCommand";
|
|
4
4
|
import { CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput } from "../commands/CreateWorkspaceApiKeyCommand";
|
|
5
5
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
|
|
6
|
+
import { CreateWorkspaceServiceAccountCommandInput, CreateWorkspaceServiceAccountCommandOutput } from "../commands/CreateWorkspaceServiceAccountCommand";
|
|
7
|
+
import { CreateWorkspaceServiceAccountTokenCommandInput, CreateWorkspaceServiceAccountTokenCommandOutput } from "../commands/CreateWorkspaceServiceAccountTokenCommand";
|
|
6
8
|
import { DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput } from "../commands/DeleteWorkspaceApiKeyCommand";
|
|
7
9
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
|
|
10
|
+
import { DeleteWorkspaceServiceAccountCommandInput, DeleteWorkspaceServiceAccountCommandOutput } from "../commands/DeleteWorkspaceServiceAccountCommand";
|
|
11
|
+
import { DeleteWorkspaceServiceAccountTokenCommandInput, DeleteWorkspaceServiceAccountTokenCommandOutput } from "../commands/DeleteWorkspaceServiceAccountTokenCommand";
|
|
8
12
|
import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput } from "../commands/DescribeWorkspaceAuthenticationCommand";
|
|
9
13
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
10
14
|
import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "../commands/DescribeWorkspaceConfigurationCommand";
|
|
@@ -13,6 +17,8 @@ import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../co
|
|
|
13
17
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
14
18
|
import { ListVersionsCommandInput, ListVersionsCommandOutput } from "../commands/ListVersionsCommand";
|
|
15
19
|
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
20
|
+
import { ListWorkspaceServiceAccountsCommandInput, ListWorkspaceServiceAccountsCommandOutput } from "../commands/ListWorkspaceServiceAccountsCommand";
|
|
21
|
+
import { ListWorkspaceServiceAccountTokensCommandInput, ListWorkspaceServiceAccountTokensCommandOutput } from "../commands/ListWorkspaceServiceAccountTokensCommand";
|
|
16
22
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
17
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
18
24
|
import { UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput } from "../commands/UpdatePermissionsCommand";
|
|
@@ -31,6 +37,14 @@ export declare const se_CreateWorkspaceCommand: (input: CreateWorkspaceCommandIn
|
|
|
31
37
|
* serializeAws_restJson1CreateWorkspaceApiKeyCommand
|
|
32
38
|
*/
|
|
33
39
|
export declare const se_CreateWorkspaceApiKeyCommand: (input: CreateWorkspaceApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
|
+
/**
|
|
41
|
+
* serializeAws_restJson1CreateWorkspaceServiceAccountCommand
|
|
42
|
+
*/
|
|
43
|
+
export declare const se_CreateWorkspaceServiceAccountCommand: (input: CreateWorkspaceServiceAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
|
+
/**
|
|
45
|
+
* serializeAws_restJson1CreateWorkspaceServiceAccountTokenCommand
|
|
46
|
+
*/
|
|
47
|
+
export declare const se_CreateWorkspaceServiceAccountTokenCommand: (input: CreateWorkspaceServiceAccountTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
48
|
/**
|
|
35
49
|
* serializeAws_restJson1DeleteWorkspaceCommand
|
|
36
50
|
*/
|
|
@@ -39,6 +53,14 @@ export declare const se_DeleteWorkspaceCommand: (input: DeleteWorkspaceCommandIn
|
|
|
39
53
|
* serializeAws_restJson1DeleteWorkspaceApiKeyCommand
|
|
40
54
|
*/
|
|
41
55
|
export declare const se_DeleteWorkspaceApiKeyCommand: (input: DeleteWorkspaceApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
|
+
/**
|
|
57
|
+
* serializeAws_restJson1DeleteWorkspaceServiceAccountCommand
|
|
58
|
+
*/
|
|
59
|
+
export declare const se_DeleteWorkspaceServiceAccountCommand: (input: DeleteWorkspaceServiceAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* serializeAws_restJson1DeleteWorkspaceServiceAccountTokenCommand
|
|
62
|
+
*/
|
|
63
|
+
export declare const se_DeleteWorkspaceServiceAccountTokenCommand: (input: DeleteWorkspaceServiceAccountTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
64
|
/**
|
|
43
65
|
* serializeAws_restJson1DescribeWorkspaceCommand
|
|
44
66
|
*/
|
|
@@ -71,6 +93,14 @@ export declare const se_ListVersionsCommand: (input: ListVersionsCommandInput, c
|
|
|
71
93
|
* serializeAws_restJson1ListWorkspacesCommand
|
|
72
94
|
*/
|
|
73
95
|
export declare const se_ListWorkspacesCommand: (input: ListWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
|
+
/**
|
|
97
|
+
* serializeAws_restJson1ListWorkspaceServiceAccountsCommand
|
|
98
|
+
*/
|
|
99
|
+
export declare const se_ListWorkspaceServiceAccountsCommand: (input: ListWorkspaceServiceAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
100
|
+
/**
|
|
101
|
+
* serializeAws_restJson1ListWorkspaceServiceAccountTokensCommand
|
|
102
|
+
*/
|
|
103
|
+
export declare const se_ListWorkspaceServiceAccountTokensCommand: (input: ListWorkspaceServiceAccountTokensCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
74
104
|
/**
|
|
75
105
|
* serializeAws_restJson1TagResourceCommand
|
|
76
106
|
*/
|
|
@@ -107,6 +137,14 @@ export declare const de_CreateWorkspaceCommand: (output: __HttpResponse, context
|
|
|
107
137
|
* deserializeAws_restJson1CreateWorkspaceApiKeyCommand
|
|
108
138
|
*/
|
|
109
139
|
export declare const de_CreateWorkspaceApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceApiKeyCommandOutput>;
|
|
140
|
+
/**
|
|
141
|
+
* deserializeAws_restJson1CreateWorkspaceServiceAccountCommand
|
|
142
|
+
*/
|
|
143
|
+
export declare const de_CreateWorkspaceServiceAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceServiceAccountCommandOutput>;
|
|
144
|
+
/**
|
|
145
|
+
* deserializeAws_restJson1CreateWorkspaceServiceAccountTokenCommand
|
|
146
|
+
*/
|
|
147
|
+
export declare const de_CreateWorkspaceServiceAccountTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceServiceAccountTokenCommandOutput>;
|
|
110
148
|
/**
|
|
111
149
|
* deserializeAws_restJson1DeleteWorkspaceCommand
|
|
112
150
|
*/
|
|
@@ -115,6 +153,14 @@ export declare const de_DeleteWorkspaceCommand: (output: __HttpResponse, context
|
|
|
115
153
|
* deserializeAws_restJson1DeleteWorkspaceApiKeyCommand
|
|
116
154
|
*/
|
|
117
155
|
export declare const de_DeleteWorkspaceApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceApiKeyCommandOutput>;
|
|
156
|
+
/**
|
|
157
|
+
* deserializeAws_restJson1DeleteWorkspaceServiceAccountCommand
|
|
158
|
+
*/
|
|
159
|
+
export declare const de_DeleteWorkspaceServiceAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceServiceAccountCommandOutput>;
|
|
160
|
+
/**
|
|
161
|
+
* deserializeAws_restJson1DeleteWorkspaceServiceAccountTokenCommand
|
|
162
|
+
*/
|
|
163
|
+
export declare const de_DeleteWorkspaceServiceAccountTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceServiceAccountTokenCommandOutput>;
|
|
118
164
|
/**
|
|
119
165
|
* deserializeAws_restJson1DescribeWorkspaceCommand
|
|
120
166
|
*/
|
|
@@ -147,6 +193,14 @@ export declare const de_ListVersionsCommand: (output: __HttpResponse, context: _
|
|
|
147
193
|
* deserializeAws_restJson1ListWorkspacesCommand
|
|
148
194
|
*/
|
|
149
195
|
export declare const de_ListWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspacesCommandOutput>;
|
|
196
|
+
/**
|
|
197
|
+
* deserializeAws_restJson1ListWorkspaceServiceAccountsCommand
|
|
198
|
+
*/
|
|
199
|
+
export declare const de_ListWorkspaceServiceAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspaceServiceAccountsCommandOutput>;
|
|
200
|
+
/**
|
|
201
|
+
* deserializeAws_restJson1ListWorkspaceServiceAccountTokensCommand
|
|
202
|
+
*/
|
|
203
|
+
export declare const de_ListWorkspaceServiceAccountTokensCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspaceServiceAccountTokensCommandOutput>;
|
|
150
204
|
/**
|
|
151
205
|
* deserializeAws_restJson1TagResourceCommand
|
|
152
206
|
*/
|