@aws-sdk/client-grafana 3.935.0 → 3.939.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 +81 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +68 -0
- package/dist-es/models/models_0.js +1 -68
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +284 -0
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1 -284
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +88 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +13 -88
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -1749,6 +1749,75 @@ const paginateListWorkspaceServiceAccounts = core.createPaginator(GrafanaClient,
|
|
|
1749
1749
|
|
|
1750
1750
|
const paginateListWorkspaces = core.createPaginator(GrafanaClient, ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
|
|
1751
1751
|
|
|
1752
|
+
const AccountAccessType = {
|
|
1753
|
+
CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
|
|
1754
|
+
ORGANIZATION: "ORGANIZATION",
|
|
1755
|
+
};
|
|
1756
|
+
const ValidationExceptionReason = {
|
|
1757
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
1758
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
1759
|
+
OTHER: "OTHER",
|
|
1760
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
1761
|
+
};
|
|
1762
|
+
const LicenseType = {
|
|
1763
|
+
ENTERPRISE: "ENTERPRISE",
|
|
1764
|
+
ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
|
|
1765
|
+
};
|
|
1766
|
+
const AuthenticationProviderTypes = {
|
|
1767
|
+
AWS_SSO: "AWS_SSO",
|
|
1768
|
+
SAML: "SAML",
|
|
1769
|
+
};
|
|
1770
|
+
const SamlConfigurationStatus = {
|
|
1771
|
+
CONFIGURED: "CONFIGURED",
|
|
1772
|
+
NOT_CONFIGURED: "NOT_CONFIGURED",
|
|
1773
|
+
};
|
|
1774
|
+
const DataSourceType = {
|
|
1775
|
+
AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
|
|
1776
|
+
ATHENA: "ATHENA",
|
|
1777
|
+
CLOUDWATCH: "CLOUDWATCH",
|
|
1778
|
+
PROMETHEUS: "PROMETHEUS",
|
|
1779
|
+
REDSHIFT: "REDSHIFT",
|
|
1780
|
+
SITEWISE: "SITEWISE",
|
|
1781
|
+
TIMESTREAM: "TIMESTREAM",
|
|
1782
|
+
TWINMAKER: "TWINMAKER",
|
|
1783
|
+
XRAY: "XRAY",
|
|
1784
|
+
};
|
|
1785
|
+
const NotificationDestinationType = {
|
|
1786
|
+
SNS: "SNS",
|
|
1787
|
+
};
|
|
1788
|
+
const PermissionType = {
|
|
1789
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
1790
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
1791
|
+
};
|
|
1792
|
+
const WorkspaceStatus = {
|
|
1793
|
+
ACTIVE: "ACTIVE",
|
|
1794
|
+
CREATING: "CREATING",
|
|
1795
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
1796
|
+
DELETING: "DELETING",
|
|
1797
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
1798
|
+
FAILED: "FAILED",
|
|
1799
|
+
LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED",
|
|
1800
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
1801
|
+
UPDATING: "UPDATING",
|
|
1802
|
+
UPGRADE_FAILED: "UPGRADE_FAILED",
|
|
1803
|
+
UPGRADING: "UPGRADING",
|
|
1804
|
+
VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED",
|
|
1805
|
+
VERSION_UPDATING: "VERSION_UPDATING",
|
|
1806
|
+
};
|
|
1807
|
+
const UserType = {
|
|
1808
|
+
SSO_GROUP: "SSO_GROUP",
|
|
1809
|
+
SSO_USER: "SSO_USER",
|
|
1810
|
+
};
|
|
1811
|
+
const Role = {
|
|
1812
|
+
ADMIN: "ADMIN",
|
|
1813
|
+
EDITOR: "EDITOR",
|
|
1814
|
+
VIEWER: "VIEWER",
|
|
1815
|
+
};
|
|
1816
|
+
const UpdateAction = {
|
|
1817
|
+
ADD: "ADD",
|
|
1818
|
+
REVOKE: "REVOKE",
|
|
1819
|
+
};
|
|
1820
|
+
|
|
1752
1821
|
Object.defineProperty(exports, "$Command", {
|
|
1753
1822
|
enumerable: true,
|
|
1754
1823
|
get: function () { return smithyClient.Command; }
|
|
@@ -1758,12 +1827,15 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1758
1827
|
get: function () { return smithyClient.Client; }
|
|
1759
1828
|
});
|
|
1760
1829
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1830
|
+
exports.AccountAccessType = AccountAccessType;
|
|
1761
1831
|
exports.AssociateLicenseCommand = AssociateLicenseCommand;
|
|
1832
|
+
exports.AuthenticationProviderTypes = AuthenticationProviderTypes;
|
|
1762
1833
|
exports.ConflictException = ConflictException$1;
|
|
1763
1834
|
exports.CreateWorkspaceApiKeyCommand = CreateWorkspaceApiKeyCommand;
|
|
1764
1835
|
exports.CreateWorkspaceCommand = CreateWorkspaceCommand;
|
|
1765
1836
|
exports.CreateWorkspaceServiceAccountCommand = CreateWorkspaceServiceAccountCommand;
|
|
1766
1837
|
exports.CreateWorkspaceServiceAccountTokenCommand = CreateWorkspaceServiceAccountTokenCommand;
|
|
1838
|
+
exports.DataSourceType = DataSourceType;
|
|
1767
1839
|
exports.DeleteWorkspaceApiKeyCommand = DeleteWorkspaceApiKeyCommand;
|
|
1768
1840
|
exports.DeleteWorkspaceCommand = DeleteWorkspaceCommand;
|
|
1769
1841
|
exports.DeleteWorkspaceServiceAccountCommand = DeleteWorkspaceServiceAccountCommand;
|
|
@@ -1776,22 +1848,31 @@ exports.Grafana = Grafana;
|
|
|
1776
1848
|
exports.GrafanaClient = GrafanaClient;
|
|
1777
1849
|
exports.GrafanaServiceException = GrafanaServiceException$1;
|
|
1778
1850
|
exports.InternalServerException = InternalServerException$1;
|
|
1851
|
+
exports.LicenseType = LicenseType;
|
|
1779
1852
|
exports.ListPermissionsCommand = ListPermissionsCommand;
|
|
1780
1853
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1781
1854
|
exports.ListVersionsCommand = ListVersionsCommand;
|
|
1782
1855
|
exports.ListWorkspaceServiceAccountTokensCommand = ListWorkspaceServiceAccountTokensCommand;
|
|
1783
1856
|
exports.ListWorkspaceServiceAccountsCommand = ListWorkspaceServiceAccountsCommand;
|
|
1784
1857
|
exports.ListWorkspacesCommand = ListWorkspacesCommand;
|
|
1858
|
+
exports.NotificationDestinationType = NotificationDestinationType;
|
|
1859
|
+
exports.PermissionType = PermissionType;
|
|
1785
1860
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1861
|
+
exports.Role = Role;
|
|
1862
|
+
exports.SamlConfigurationStatus = SamlConfigurationStatus;
|
|
1786
1863
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1787
1864
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1788
1865
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1789
1866
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1867
|
+
exports.UpdateAction = UpdateAction;
|
|
1790
1868
|
exports.UpdatePermissionsCommand = UpdatePermissionsCommand;
|
|
1791
1869
|
exports.UpdateWorkspaceAuthenticationCommand = UpdateWorkspaceAuthenticationCommand;
|
|
1792
1870
|
exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
|
|
1793
1871
|
exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;
|
|
1872
|
+
exports.UserType = UserType;
|
|
1794
1873
|
exports.ValidationException = ValidationException$1;
|
|
1874
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1875
|
+
exports.WorkspaceStatus = WorkspaceStatus;
|
|
1795
1876
|
exports.paginateListPermissions = paginateListPermissions;
|
|
1796
1877
|
exports.paginateListVersions = paginateListVersions;
|
|
1797
1878
|
exports.paginateListWorkspaceServiceAccountTokens = paginateListWorkspaceServiceAccountTokens;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export const AccountAccessType = {
|
|
2
|
+
CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
|
|
3
|
+
ORGANIZATION: "ORGANIZATION",
|
|
4
|
+
};
|
|
5
|
+
export const ValidationExceptionReason = {
|
|
6
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
7
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
8
|
+
OTHER: "OTHER",
|
|
9
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
10
|
+
};
|
|
11
|
+
export const LicenseType = {
|
|
12
|
+
ENTERPRISE: "ENTERPRISE",
|
|
13
|
+
ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
|
|
14
|
+
};
|
|
15
|
+
export const AuthenticationProviderTypes = {
|
|
16
|
+
AWS_SSO: "AWS_SSO",
|
|
17
|
+
SAML: "SAML",
|
|
18
|
+
};
|
|
19
|
+
export const SamlConfigurationStatus = {
|
|
20
|
+
CONFIGURED: "CONFIGURED",
|
|
21
|
+
NOT_CONFIGURED: "NOT_CONFIGURED",
|
|
22
|
+
};
|
|
23
|
+
export const DataSourceType = {
|
|
24
|
+
AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
|
|
25
|
+
ATHENA: "ATHENA",
|
|
26
|
+
CLOUDWATCH: "CLOUDWATCH",
|
|
27
|
+
PROMETHEUS: "PROMETHEUS",
|
|
28
|
+
REDSHIFT: "REDSHIFT",
|
|
29
|
+
SITEWISE: "SITEWISE",
|
|
30
|
+
TIMESTREAM: "TIMESTREAM",
|
|
31
|
+
TWINMAKER: "TWINMAKER",
|
|
32
|
+
XRAY: "XRAY",
|
|
33
|
+
};
|
|
34
|
+
export const NotificationDestinationType = {
|
|
35
|
+
SNS: "SNS",
|
|
36
|
+
};
|
|
37
|
+
export const PermissionType = {
|
|
38
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
39
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
40
|
+
};
|
|
41
|
+
export const WorkspaceStatus = {
|
|
42
|
+
ACTIVE: "ACTIVE",
|
|
43
|
+
CREATING: "CREATING",
|
|
44
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
45
|
+
DELETING: "DELETING",
|
|
46
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
47
|
+
FAILED: "FAILED",
|
|
48
|
+
LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED",
|
|
49
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
50
|
+
UPDATING: "UPDATING",
|
|
51
|
+
UPGRADE_FAILED: "UPGRADE_FAILED",
|
|
52
|
+
UPGRADING: "UPGRADING",
|
|
53
|
+
VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED",
|
|
54
|
+
VERSION_UPDATING: "VERSION_UPDATING",
|
|
55
|
+
};
|
|
56
|
+
export const UserType = {
|
|
57
|
+
SSO_GROUP: "SSO_GROUP",
|
|
58
|
+
SSO_USER: "SSO_USER",
|
|
59
|
+
};
|
|
60
|
+
export const Role = {
|
|
61
|
+
ADMIN: "ADMIN",
|
|
62
|
+
EDITOR: "EDITOR",
|
|
63
|
+
VIEWER: "VIEWER",
|
|
64
|
+
};
|
|
65
|
+
export const UpdateAction = {
|
|
66
|
+
ADD: "ADD",
|
|
67
|
+
REVOKE: "REVOKE",
|
|
68
|
+
};
|
|
@@ -1,68 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
|
|
3
|
-
ORGANIZATION: "ORGANIZATION",
|
|
4
|
-
};
|
|
5
|
-
export const ValidationExceptionReason = {
|
|
6
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
7
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
8
|
-
OTHER: "OTHER",
|
|
9
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
10
|
-
};
|
|
11
|
-
export const LicenseType = {
|
|
12
|
-
ENTERPRISE: "ENTERPRISE",
|
|
13
|
-
ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
|
|
14
|
-
};
|
|
15
|
-
export const AuthenticationProviderTypes = {
|
|
16
|
-
AWS_SSO: "AWS_SSO",
|
|
17
|
-
SAML: "SAML",
|
|
18
|
-
};
|
|
19
|
-
export const SamlConfigurationStatus = {
|
|
20
|
-
CONFIGURED: "CONFIGURED",
|
|
21
|
-
NOT_CONFIGURED: "NOT_CONFIGURED",
|
|
22
|
-
};
|
|
23
|
-
export const DataSourceType = {
|
|
24
|
-
AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
|
|
25
|
-
ATHENA: "ATHENA",
|
|
26
|
-
CLOUDWATCH: "CLOUDWATCH",
|
|
27
|
-
PROMETHEUS: "PROMETHEUS",
|
|
28
|
-
REDSHIFT: "REDSHIFT",
|
|
29
|
-
SITEWISE: "SITEWISE",
|
|
30
|
-
TIMESTREAM: "TIMESTREAM",
|
|
31
|
-
TWINMAKER: "TWINMAKER",
|
|
32
|
-
XRAY: "XRAY",
|
|
33
|
-
};
|
|
34
|
-
export const NotificationDestinationType = {
|
|
35
|
-
SNS: "SNS",
|
|
36
|
-
};
|
|
37
|
-
export const PermissionType = {
|
|
38
|
-
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
39
|
-
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
40
|
-
};
|
|
41
|
-
export const WorkspaceStatus = {
|
|
42
|
-
ACTIVE: "ACTIVE",
|
|
43
|
-
CREATING: "CREATING",
|
|
44
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
45
|
-
DELETING: "DELETING",
|
|
46
|
-
DELETION_FAILED: "DELETION_FAILED",
|
|
47
|
-
FAILED: "FAILED",
|
|
48
|
-
LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED",
|
|
49
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
50
|
-
UPDATING: "UPDATING",
|
|
51
|
-
UPGRADE_FAILED: "UPGRADE_FAILED",
|
|
52
|
-
UPGRADING: "UPGRADING",
|
|
53
|
-
VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED",
|
|
54
|
-
VERSION_UPDATING: "VERSION_UPDATING",
|
|
55
|
-
};
|
|
56
|
-
export const UserType = {
|
|
57
|
-
SSO_GROUP: "SSO_GROUP",
|
|
58
|
-
SSO_USER: "SSO_USER",
|
|
59
|
-
};
|
|
60
|
-
export const Role = {
|
|
61
|
-
ADMIN: "ADMIN",
|
|
62
|
-
EDITOR: "EDITOR",
|
|
63
|
-
VIEWER: "VIEWER",
|
|
64
|
-
};
|
|
65
|
-
export const UpdateAction = {
|
|
66
|
-
ADD: "ADD",
|
|
67
|
-
REVOKE: "REVOKE",
|
|
68
|
-
};
|
|
1
|
+
export {};
|
package/dist-types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
18
18
|
export type { GrafanaExtensionConfiguration } from "./extensionConfiguration";
|
|
19
19
|
export * from "./commands";
|
|
20
20
|
export * from "./pagination";
|
|
21
|
+
export * from "./models/enums";
|
|
21
22
|
export * from "./models/errors";
|
|
22
23
|
export type * from "./models/models_0";
|
|
23
24
|
export { GrafanaServiceException } from "./models/GrafanaServiceException";
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AccountAccessType: {
|
|
6
|
+
/**
|
|
7
|
+
* Indicates that the customer is using Grafana to monitor resources in their current account.
|
|
8
|
+
*/
|
|
9
|
+
readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
|
|
10
|
+
/**
|
|
11
|
+
* Indicates that the customer is using Grafana to monitor resources in organizational units.
|
|
12
|
+
*/
|
|
13
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export type AccountAccessType = (typeof AccountAccessType)[keyof typeof AccountAccessType];
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
* @enum
|
|
22
|
+
*/
|
|
23
|
+
export declare const ValidationExceptionReason: {
|
|
24
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
25
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
26
|
+
readonly OTHER: "OTHER";
|
|
27
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
* @enum
|
|
36
|
+
*/
|
|
37
|
+
export declare const LicenseType: {
|
|
38
|
+
/**
|
|
39
|
+
* Grafana Enterprise License.
|
|
40
|
+
*/
|
|
41
|
+
readonly ENTERPRISE: "ENTERPRISE";
|
|
42
|
+
/**
|
|
43
|
+
* Grafana Enterprise Free Trial License.
|
|
44
|
+
*/
|
|
45
|
+
readonly ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType];
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @enum
|
|
54
|
+
*/
|
|
55
|
+
export declare const AuthenticationProviderTypes: {
|
|
56
|
+
/**
|
|
57
|
+
* Indicates that AMG workspace has AWS SSO enabled as its authentication provider.
|
|
58
|
+
*/
|
|
59
|
+
readonly AWS_SSO: "AWS_SSO";
|
|
60
|
+
/**
|
|
61
|
+
* Indicates that the AMG workspace has SAML enabled as its authentication provider.
|
|
62
|
+
*/
|
|
63
|
+
readonly SAML: "SAML";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type AuthenticationProviderTypes = (typeof AuthenticationProviderTypes)[keyof typeof AuthenticationProviderTypes];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* @enum
|
|
72
|
+
*/
|
|
73
|
+
export declare const SamlConfigurationStatus: {
|
|
74
|
+
/**
|
|
75
|
+
* Indicates that SAML on an AMG workspace is enabled and has been configured.
|
|
76
|
+
*/
|
|
77
|
+
readonly CONFIGURED: "CONFIGURED";
|
|
78
|
+
/**
|
|
79
|
+
* Indicates that SAML on an AMG workspace is enabled but has not been configured.
|
|
80
|
+
*/
|
|
81
|
+
readonly NOT_CONFIGURED: "NOT_CONFIGURED";
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type SamlConfigurationStatus = (typeof SamlConfigurationStatus)[keyof typeof SamlConfigurationStatus];
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* @enum
|
|
90
|
+
*/
|
|
91
|
+
export declare const DataSourceType: {
|
|
92
|
+
/**
|
|
93
|
+
* Amazon OpenSearch Service
|
|
94
|
+
*/
|
|
95
|
+
readonly AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE";
|
|
96
|
+
/**
|
|
97
|
+
* Amazon Athena
|
|
98
|
+
*/
|
|
99
|
+
readonly ATHENA: "ATHENA";
|
|
100
|
+
/**
|
|
101
|
+
* CloudWatch Logs
|
|
102
|
+
*/
|
|
103
|
+
readonly CLOUDWATCH: "CLOUDWATCH";
|
|
104
|
+
/**
|
|
105
|
+
* Managed Prometheus
|
|
106
|
+
*/
|
|
107
|
+
readonly PROMETHEUS: "PROMETHEUS";
|
|
108
|
+
/**
|
|
109
|
+
* Redshift
|
|
110
|
+
*/
|
|
111
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
112
|
+
/**
|
|
113
|
+
* IoT SiteWise
|
|
114
|
+
*/
|
|
115
|
+
readonly SITEWISE: "SITEWISE";
|
|
116
|
+
/**
|
|
117
|
+
* Timestream
|
|
118
|
+
*/
|
|
119
|
+
readonly TIMESTREAM: "TIMESTREAM";
|
|
120
|
+
/**
|
|
121
|
+
* IoT TwinMaker
|
|
122
|
+
*/
|
|
123
|
+
readonly TWINMAKER: "TWINMAKER";
|
|
124
|
+
/**
|
|
125
|
+
* X-Ray
|
|
126
|
+
*/
|
|
127
|
+
readonly XRAY: "XRAY";
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType];
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
* @enum
|
|
136
|
+
*/
|
|
137
|
+
export declare const NotificationDestinationType: {
|
|
138
|
+
/**
|
|
139
|
+
* AWS Simple Notification Service
|
|
140
|
+
*/
|
|
141
|
+
readonly SNS: "SNS";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export type NotificationDestinationType = (typeof NotificationDestinationType)[keyof typeof NotificationDestinationType];
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
* @enum
|
|
150
|
+
*/
|
|
151
|
+
export declare const PermissionType: {
|
|
152
|
+
/**
|
|
153
|
+
* Customer Managed
|
|
154
|
+
*/
|
|
155
|
+
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
156
|
+
/**
|
|
157
|
+
* Service Managed
|
|
158
|
+
*/
|
|
159
|
+
readonly SERVICE_MANAGED: "SERVICE_MANAGED";
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
* @enum
|
|
168
|
+
*/
|
|
169
|
+
export declare const WorkspaceStatus: {
|
|
170
|
+
/**
|
|
171
|
+
* Workspace is active.
|
|
172
|
+
*/
|
|
173
|
+
readonly ACTIVE: "ACTIVE";
|
|
174
|
+
/**
|
|
175
|
+
* Workspace is being created.
|
|
176
|
+
*/
|
|
177
|
+
readonly CREATING: "CREATING";
|
|
178
|
+
/**
|
|
179
|
+
* Workspace creation failed.
|
|
180
|
+
*/
|
|
181
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
182
|
+
/**
|
|
183
|
+
* Workspace is being deleted.
|
|
184
|
+
*/
|
|
185
|
+
readonly DELETING: "DELETING";
|
|
186
|
+
/**
|
|
187
|
+
* Workspace deletion failed.
|
|
188
|
+
*/
|
|
189
|
+
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
190
|
+
/**
|
|
191
|
+
* Workspace is in an invalid state, it can only and should be deleted.
|
|
192
|
+
*/
|
|
193
|
+
readonly FAILED: "FAILED";
|
|
194
|
+
/**
|
|
195
|
+
* Failed to remove enterprise license from workspace.
|
|
196
|
+
*/
|
|
197
|
+
readonly LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED";
|
|
198
|
+
/**
|
|
199
|
+
* Workspace update failed.
|
|
200
|
+
*/
|
|
201
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
202
|
+
/**
|
|
203
|
+
* Workspace is being updated.
|
|
204
|
+
*/
|
|
205
|
+
readonly UPDATING: "UPDATING";
|
|
206
|
+
/**
|
|
207
|
+
* Workspace upgrade failed.
|
|
208
|
+
*/
|
|
209
|
+
readonly UPGRADE_FAILED: "UPGRADE_FAILED";
|
|
210
|
+
/**
|
|
211
|
+
* Workspace is being upgraded to enterprise.
|
|
212
|
+
*/
|
|
213
|
+
readonly UPGRADING: "UPGRADING";
|
|
214
|
+
/**
|
|
215
|
+
* Workspace version update failed.
|
|
216
|
+
*/
|
|
217
|
+
readonly VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED";
|
|
218
|
+
/**
|
|
219
|
+
* Workspace version is being updated.
|
|
220
|
+
*/
|
|
221
|
+
readonly VERSION_UPDATING: "VERSION_UPDATING";
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export type WorkspaceStatus = (typeof WorkspaceStatus)[keyof typeof WorkspaceStatus];
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
* @enum
|
|
230
|
+
*/
|
|
231
|
+
export declare const UserType: {
|
|
232
|
+
/**
|
|
233
|
+
* SSO group.
|
|
234
|
+
*/
|
|
235
|
+
readonly SSO_GROUP: "SSO_GROUP";
|
|
236
|
+
/**
|
|
237
|
+
* SSO user.
|
|
238
|
+
*/
|
|
239
|
+
readonly SSO_USER: "SSO_USER";
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
245
|
+
/**
|
|
246
|
+
* @public
|
|
247
|
+
* @enum
|
|
248
|
+
*/
|
|
249
|
+
export declare const Role: {
|
|
250
|
+
/**
|
|
251
|
+
* Role Admin.
|
|
252
|
+
*/
|
|
253
|
+
readonly ADMIN: "ADMIN";
|
|
254
|
+
/**
|
|
255
|
+
* Role Editor.
|
|
256
|
+
*/
|
|
257
|
+
readonly EDITOR: "EDITOR";
|
|
258
|
+
/**
|
|
259
|
+
* Role Viewer.
|
|
260
|
+
*/
|
|
261
|
+
readonly VIEWER: "VIEWER";
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
export type Role = (typeof Role)[keyof typeof Role];
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
* @enum
|
|
270
|
+
*/
|
|
271
|
+
export declare const UpdateAction: {
|
|
272
|
+
/**
|
|
273
|
+
* Add permissions.
|
|
274
|
+
*/
|
|
275
|
+
readonly ADD: "ADD";
|
|
276
|
+
/**
|
|
277
|
+
* Revoke permissions.
|
|
278
|
+
*/
|
|
279
|
+
readonly REVOKE: "REVOKE";
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export type UpdateAction = (typeof UpdateAction)[keyof typeof UpdateAction];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
2
3
|
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
3
|
-
import { ValidationExceptionField
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
5
|
/**
|
|
5
6
|
* <p>You do not have sufficient permissions to perform this action. </p>
|
|
6
7
|
* @public
|
|
@@ -1,22 +1,5 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
-
|
|
3
|
-
* @public
|
|
4
|
-
* @enum
|
|
5
|
-
*/
|
|
6
|
-
export declare const AccountAccessType: {
|
|
7
|
-
/**
|
|
8
|
-
* Indicates that the customer is using Grafana to monitor resources in their current account.
|
|
9
|
-
*/
|
|
10
|
-
readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
|
|
11
|
-
/**
|
|
12
|
-
* Indicates that the customer is using Grafana to monitor resources in organizational units.
|
|
13
|
-
*/
|
|
14
|
-
readonly ORGANIZATION: "ORGANIZATION";
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export type AccountAccessType = (typeof AccountAccessType)[keyof typeof AccountAccessType];
|
|
2
|
+
import { AccountAccessType, AuthenticationProviderTypes, DataSourceType, LicenseType, NotificationDestinationType, PermissionType, Role, SamlConfigurationStatus, UpdateAction, UserType, WorkspaceStatus } from "./enums";
|
|
20
3
|
/**
|
|
21
4
|
* @public
|
|
22
5
|
*/
|
|
@@ -83,20 +66,6 @@ export interface ValidationExceptionField {
|
|
|
83
66
|
*/
|
|
84
67
|
message: string | undefined;
|
|
85
68
|
}
|
|
86
|
-
/**
|
|
87
|
-
* @public
|
|
88
|
-
* @enum
|
|
89
|
-
*/
|
|
90
|
-
export declare const ValidationExceptionReason: {
|
|
91
|
-
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
92
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
93
|
-
readonly OTHER: "OTHER";
|
|
94
|
-
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
100
69
|
/**
|
|
101
70
|
* @public
|
|
102
71
|
*/
|
|
@@ -169,24 +138,6 @@ export interface AssertionAttributes {
|
|
|
169
138
|
*/
|
|
170
139
|
org?: string | undefined;
|
|
171
140
|
}
|
|
172
|
-
/**
|
|
173
|
-
* @public
|
|
174
|
-
* @enum
|
|
175
|
-
*/
|
|
176
|
-
export declare const LicenseType: {
|
|
177
|
-
/**
|
|
178
|
-
* Grafana Enterprise License.
|
|
179
|
-
*/
|
|
180
|
-
readonly ENTERPRISE: "ENTERPRISE";
|
|
181
|
-
/**
|
|
182
|
-
* Grafana Enterprise Free Trial License.
|
|
183
|
-
*/
|
|
184
|
-
readonly ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL";
|
|
185
|
-
};
|
|
186
|
-
/**
|
|
187
|
-
* @public
|
|
188
|
-
*/
|
|
189
|
-
export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType];
|
|
190
141
|
/**
|
|
191
142
|
* @public
|
|
192
143
|
*/
|
|
@@ -211,42 +162,6 @@ export interface AssociateLicenseRequest {
|
|
|
211
162
|
*/
|
|
212
163
|
grafanaToken?: string | undefined;
|
|
213
164
|
}
|
|
214
|
-
/**
|
|
215
|
-
* @public
|
|
216
|
-
* @enum
|
|
217
|
-
*/
|
|
218
|
-
export declare const AuthenticationProviderTypes: {
|
|
219
|
-
/**
|
|
220
|
-
* Indicates that AMG workspace has AWS SSO enabled as its authentication provider.
|
|
221
|
-
*/
|
|
222
|
-
readonly AWS_SSO: "AWS_SSO";
|
|
223
|
-
/**
|
|
224
|
-
* Indicates that the AMG workspace has SAML enabled as its authentication provider.
|
|
225
|
-
*/
|
|
226
|
-
readonly SAML: "SAML";
|
|
227
|
-
};
|
|
228
|
-
/**
|
|
229
|
-
* @public
|
|
230
|
-
*/
|
|
231
|
-
export type AuthenticationProviderTypes = (typeof AuthenticationProviderTypes)[keyof typeof AuthenticationProviderTypes];
|
|
232
|
-
/**
|
|
233
|
-
* @public
|
|
234
|
-
* @enum
|
|
235
|
-
*/
|
|
236
|
-
export declare const SamlConfigurationStatus: {
|
|
237
|
-
/**
|
|
238
|
-
* Indicates that SAML on an AMG workspace is enabled and has been configured.
|
|
239
|
-
*/
|
|
240
|
-
readonly CONFIGURED: "CONFIGURED";
|
|
241
|
-
/**
|
|
242
|
-
* Indicates that SAML on an AMG workspace is enabled but has not been configured.
|
|
243
|
-
*/
|
|
244
|
-
readonly NOT_CONFIGURED: "NOT_CONFIGURED";
|
|
245
|
-
};
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
*/
|
|
249
|
-
export type SamlConfigurationStatus = (typeof SamlConfigurationStatus)[keyof typeof SamlConfigurationStatus];
|
|
250
165
|
/**
|
|
251
166
|
* <p>A structure that describes whether the workspace uses SAML, IAM Identity Center, or
|
|
252
167
|
* both methods for user authentication, and whether that authentication is fully
|
|
@@ -267,52 +182,6 @@ export interface AuthenticationSummary {
|
|
|
267
182
|
*/
|
|
268
183
|
samlConfigurationStatus?: SamlConfigurationStatus | undefined;
|
|
269
184
|
}
|
|
270
|
-
/**
|
|
271
|
-
* @public
|
|
272
|
-
* @enum
|
|
273
|
-
*/
|
|
274
|
-
export declare const DataSourceType: {
|
|
275
|
-
/**
|
|
276
|
-
* Amazon OpenSearch Service
|
|
277
|
-
*/
|
|
278
|
-
readonly AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE";
|
|
279
|
-
/**
|
|
280
|
-
* Amazon Athena
|
|
281
|
-
*/
|
|
282
|
-
readonly ATHENA: "ATHENA";
|
|
283
|
-
/**
|
|
284
|
-
* CloudWatch Logs
|
|
285
|
-
*/
|
|
286
|
-
readonly CLOUDWATCH: "CLOUDWATCH";
|
|
287
|
-
/**
|
|
288
|
-
* Managed Prometheus
|
|
289
|
-
*/
|
|
290
|
-
readonly PROMETHEUS: "PROMETHEUS";
|
|
291
|
-
/**
|
|
292
|
-
* Redshift
|
|
293
|
-
*/
|
|
294
|
-
readonly REDSHIFT: "REDSHIFT";
|
|
295
|
-
/**
|
|
296
|
-
* IoT SiteWise
|
|
297
|
-
*/
|
|
298
|
-
readonly SITEWISE: "SITEWISE";
|
|
299
|
-
/**
|
|
300
|
-
* Timestream
|
|
301
|
-
*/
|
|
302
|
-
readonly TIMESTREAM: "TIMESTREAM";
|
|
303
|
-
/**
|
|
304
|
-
* IoT TwinMaker
|
|
305
|
-
*/
|
|
306
|
-
readonly TWINMAKER: "TWINMAKER";
|
|
307
|
-
/**
|
|
308
|
-
* X-Ray
|
|
309
|
-
*/
|
|
310
|
-
readonly XRAY: "XRAY";
|
|
311
|
-
};
|
|
312
|
-
/**
|
|
313
|
-
* @public
|
|
314
|
-
*/
|
|
315
|
-
export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType];
|
|
316
185
|
/**
|
|
317
186
|
* <p>The configuration settings for in-bound network access to your workspace.</p>
|
|
318
187
|
* <p>When this is configured, only listed IP addresses and VPC endpoints will be able to
|
|
@@ -368,100 +237,6 @@ export interface NetworkAccessConfiguration {
|
|
|
368
237
|
*/
|
|
369
238
|
vpceIds: string[] | undefined;
|
|
370
239
|
}
|
|
371
|
-
/**
|
|
372
|
-
* @public
|
|
373
|
-
* @enum
|
|
374
|
-
*/
|
|
375
|
-
export declare const NotificationDestinationType: {
|
|
376
|
-
/**
|
|
377
|
-
* AWS Simple Notification Service
|
|
378
|
-
*/
|
|
379
|
-
readonly SNS: "SNS";
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* @public
|
|
383
|
-
*/
|
|
384
|
-
export type NotificationDestinationType = (typeof NotificationDestinationType)[keyof typeof NotificationDestinationType];
|
|
385
|
-
/**
|
|
386
|
-
* @public
|
|
387
|
-
* @enum
|
|
388
|
-
*/
|
|
389
|
-
export declare const PermissionType: {
|
|
390
|
-
/**
|
|
391
|
-
* Customer Managed
|
|
392
|
-
*/
|
|
393
|
-
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
394
|
-
/**
|
|
395
|
-
* Service Managed
|
|
396
|
-
*/
|
|
397
|
-
readonly SERVICE_MANAGED: "SERVICE_MANAGED";
|
|
398
|
-
};
|
|
399
|
-
/**
|
|
400
|
-
* @public
|
|
401
|
-
*/
|
|
402
|
-
export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
|
|
403
|
-
/**
|
|
404
|
-
* @public
|
|
405
|
-
* @enum
|
|
406
|
-
*/
|
|
407
|
-
export declare const WorkspaceStatus: {
|
|
408
|
-
/**
|
|
409
|
-
* Workspace is active.
|
|
410
|
-
*/
|
|
411
|
-
readonly ACTIVE: "ACTIVE";
|
|
412
|
-
/**
|
|
413
|
-
* Workspace is being created.
|
|
414
|
-
*/
|
|
415
|
-
readonly CREATING: "CREATING";
|
|
416
|
-
/**
|
|
417
|
-
* Workspace creation failed.
|
|
418
|
-
*/
|
|
419
|
-
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
420
|
-
/**
|
|
421
|
-
* Workspace is being deleted.
|
|
422
|
-
*/
|
|
423
|
-
readonly DELETING: "DELETING";
|
|
424
|
-
/**
|
|
425
|
-
* Workspace deletion failed.
|
|
426
|
-
*/
|
|
427
|
-
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
428
|
-
/**
|
|
429
|
-
* Workspace is in an invalid state, it can only and should be deleted.
|
|
430
|
-
*/
|
|
431
|
-
readonly FAILED: "FAILED";
|
|
432
|
-
/**
|
|
433
|
-
* Failed to remove enterprise license from workspace.
|
|
434
|
-
*/
|
|
435
|
-
readonly LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED";
|
|
436
|
-
/**
|
|
437
|
-
* Workspace update failed.
|
|
438
|
-
*/
|
|
439
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
440
|
-
/**
|
|
441
|
-
* Workspace is being updated.
|
|
442
|
-
*/
|
|
443
|
-
readonly UPDATING: "UPDATING";
|
|
444
|
-
/**
|
|
445
|
-
* Workspace upgrade failed.
|
|
446
|
-
*/
|
|
447
|
-
readonly UPGRADE_FAILED: "UPGRADE_FAILED";
|
|
448
|
-
/**
|
|
449
|
-
* Workspace is being upgraded to enterprise.
|
|
450
|
-
*/
|
|
451
|
-
readonly UPGRADING: "UPGRADING";
|
|
452
|
-
/**
|
|
453
|
-
* Workspace version update failed.
|
|
454
|
-
*/
|
|
455
|
-
readonly VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED";
|
|
456
|
-
/**
|
|
457
|
-
* Workspace version is being updated.
|
|
458
|
-
*/
|
|
459
|
-
readonly VERSION_UPDATING: "VERSION_UPDATING";
|
|
460
|
-
};
|
|
461
|
-
/**
|
|
462
|
-
* @public
|
|
463
|
-
*/
|
|
464
|
-
export type WorkspaceStatus = (typeof WorkspaceStatus)[keyof typeof WorkspaceStatus];
|
|
465
240
|
/**
|
|
466
241
|
* <p>The configuration settings for an Amazon VPC that contains data sources for
|
|
467
242
|
* your Grafana workspace to connect to.</p>
|
|
@@ -1036,24 +811,6 @@ export interface ListVersionsResponse {
|
|
|
1036
811
|
*/
|
|
1037
812
|
grafanaVersions?: string[] | undefined;
|
|
1038
813
|
}
|
|
1039
|
-
/**
|
|
1040
|
-
* @public
|
|
1041
|
-
* @enum
|
|
1042
|
-
*/
|
|
1043
|
-
export declare const UserType: {
|
|
1044
|
-
/**
|
|
1045
|
-
* SSO group.
|
|
1046
|
-
*/
|
|
1047
|
-
readonly SSO_GROUP: "SSO_GROUP";
|
|
1048
|
-
/**
|
|
1049
|
-
* SSO user.
|
|
1050
|
-
*/
|
|
1051
|
-
readonly SSO_USER: "SSO_USER";
|
|
1052
|
-
};
|
|
1053
|
-
/**
|
|
1054
|
-
* @public
|
|
1055
|
-
*/
|
|
1056
|
-
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
1057
814
|
/**
|
|
1058
815
|
* @public
|
|
1059
816
|
*/
|
|
@@ -1091,28 +848,6 @@ export interface ListPermissionsRequest {
|
|
|
1091
848
|
*/
|
|
1092
849
|
workspaceId: string | undefined;
|
|
1093
850
|
}
|
|
1094
|
-
/**
|
|
1095
|
-
* @public
|
|
1096
|
-
* @enum
|
|
1097
|
-
*/
|
|
1098
|
-
export declare const Role: {
|
|
1099
|
-
/**
|
|
1100
|
-
* Role Admin.
|
|
1101
|
-
*/
|
|
1102
|
-
readonly ADMIN: "ADMIN";
|
|
1103
|
-
/**
|
|
1104
|
-
* Role Editor.
|
|
1105
|
-
*/
|
|
1106
|
-
readonly EDITOR: "EDITOR";
|
|
1107
|
-
/**
|
|
1108
|
-
* Role Viewer.
|
|
1109
|
-
*/
|
|
1110
|
-
readonly VIEWER: "VIEWER";
|
|
1111
|
-
};
|
|
1112
|
-
/**
|
|
1113
|
-
* @public
|
|
1114
|
-
*/
|
|
1115
|
-
export type Role = (typeof Role)[keyof typeof Role];
|
|
1116
851
|
/**
|
|
1117
852
|
* <p>A structure that specifies one user or group in the workspace.</p>
|
|
1118
853
|
* @public
|
|
@@ -1166,24 +901,6 @@ export interface ListPermissionsResponse {
|
|
|
1166
901
|
*/
|
|
1167
902
|
permissions: PermissionEntry[] | undefined;
|
|
1168
903
|
}
|
|
1169
|
-
/**
|
|
1170
|
-
* @public
|
|
1171
|
-
* @enum
|
|
1172
|
-
*/
|
|
1173
|
-
export declare const UpdateAction: {
|
|
1174
|
-
/**
|
|
1175
|
-
* Add permissions.
|
|
1176
|
-
*/
|
|
1177
|
-
readonly ADD: "ADD";
|
|
1178
|
-
/**
|
|
1179
|
-
* Revoke permissions.
|
|
1180
|
-
*/
|
|
1181
|
-
readonly REVOKE: "REVOKE";
|
|
1182
|
-
};
|
|
1183
|
-
/**
|
|
1184
|
-
* @public
|
|
1185
|
-
*/
|
|
1186
|
-
export type UpdateAction = (typeof UpdateAction)[keyof typeof UpdateAction];
|
|
1187
904
|
/**
|
|
1188
905
|
* <p>Contains the instructions for one Grafana role permission update in a <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a> operation.</p>
|
|
1189
906
|
* @public
|
|
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { GrafanaExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
+
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
10
11
|
export { GrafanaServiceException } from "./models/GrafanaServiceException";
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export declare const AccountAccessType: {
|
|
2
|
+
readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
|
|
3
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
4
|
+
};
|
|
5
|
+
export type AccountAccessType =
|
|
6
|
+
(typeof AccountAccessType)[keyof typeof AccountAccessType];
|
|
7
|
+
export declare const ValidationExceptionReason: {
|
|
8
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
9
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
10
|
+
readonly OTHER: "OTHER";
|
|
11
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
12
|
+
};
|
|
13
|
+
export type ValidationExceptionReason =
|
|
14
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
15
|
+
export declare const LicenseType: {
|
|
16
|
+
readonly ENTERPRISE: "ENTERPRISE";
|
|
17
|
+
readonly ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL";
|
|
18
|
+
};
|
|
19
|
+
export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType];
|
|
20
|
+
export declare const AuthenticationProviderTypes: {
|
|
21
|
+
readonly AWS_SSO: "AWS_SSO";
|
|
22
|
+
readonly SAML: "SAML";
|
|
23
|
+
};
|
|
24
|
+
export type AuthenticationProviderTypes =
|
|
25
|
+
(typeof AuthenticationProviderTypes)[keyof typeof AuthenticationProviderTypes];
|
|
26
|
+
export declare const SamlConfigurationStatus: {
|
|
27
|
+
readonly CONFIGURED: "CONFIGURED";
|
|
28
|
+
readonly NOT_CONFIGURED: "NOT_CONFIGURED";
|
|
29
|
+
};
|
|
30
|
+
export type SamlConfigurationStatus =
|
|
31
|
+
(typeof SamlConfigurationStatus)[keyof typeof SamlConfigurationStatus];
|
|
32
|
+
export declare const DataSourceType: {
|
|
33
|
+
readonly AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE";
|
|
34
|
+
readonly ATHENA: "ATHENA";
|
|
35
|
+
readonly CLOUDWATCH: "CLOUDWATCH";
|
|
36
|
+
readonly PROMETHEUS: "PROMETHEUS";
|
|
37
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
38
|
+
readonly SITEWISE: "SITEWISE";
|
|
39
|
+
readonly TIMESTREAM: "TIMESTREAM";
|
|
40
|
+
readonly TWINMAKER: "TWINMAKER";
|
|
41
|
+
readonly XRAY: "XRAY";
|
|
42
|
+
};
|
|
43
|
+
export type DataSourceType =
|
|
44
|
+
(typeof DataSourceType)[keyof typeof DataSourceType];
|
|
45
|
+
export declare const NotificationDestinationType: {
|
|
46
|
+
readonly SNS: "SNS";
|
|
47
|
+
};
|
|
48
|
+
export type NotificationDestinationType =
|
|
49
|
+
(typeof NotificationDestinationType)[keyof typeof NotificationDestinationType];
|
|
50
|
+
export declare const PermissionType: {
|
|
51
|
+
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
52
|
+
readonly SERVICE_MANAGED: "SERVICE_MANAGED";
|
|
53
|
+
};
|
|
54
|
+
export type PermissionType =
|
|
55
|
+
(typeof PermissionType)[keyof typeof PermissionType];
|
|
56
|
+
export declare const WorkspaceStatus: {
|
|
57
|
+
readonly ACTIVE: "ACTIVE";
|
|
58
|
+
readonly CREATING: "CREATING";
|
|
59
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
60
|
+
readonly DELETING: "DELETING";
|
|
61
|
+
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
62
|
+
readonly FAILED: "FAILED";
|
|
63
|
+
readonly LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED";
|
|
64
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
65
|
+
readonly UPDATING: "UPDATING";
|
|
66
|
+
readonly UPGRADE_FAILED: "UPGRADE_FAILED";
|
|
67
|
+
readonly UPGRADING: "UPGRADING";
|
|
68
|
+
readonly VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED";
|
|
69
|
+
readonly VERSION_UPDATING: "VERSION_UPDATING";
|
|
70
|
+
};
|
|
71
|
+
export type WorkspaceStatus =
|
|
72
|
+
(typeof WorkspaceStatus)[keyof typeof WorkspaceStatus];
|
|
73
|
+
export declare const UserType: {
|
|
74
|
+
readonly SSO_GROUP: "SSO_GROUP";
|
|
75
|
+
readonly SSO_USER: "SSO_USER";
|
|
76
|
+
};
|
|
77
|
+
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
78
|
+
export declare const Role: {
|
|
79
|
+
readonly ADMIN: "ADMIN";
|
|
80
|
+
readonly EDITOR: "EDITOR";
|
|
81
|
+
readonly VIEWER: "VIEWER";
|
|
82
|
+
};
|
|
83
|
+
export type Role = (typeof Role)[keyof typeof Role];
|
|
84
|
+
export declare const UpdateAction: {
|
|
85
|
+
readonly ADD: "ADD";
|
|
86
|
+
readonly REVOKE: "REVOKE";
|
|
87
|
+
};
|
|
88
|
+
export type UpdateAction = (typeof UpdateAction)[keyof typeof UpdateAction];
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
2
3
|
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
3
|
-
import {
|
|
4
|
-
ValidationExceptionField,
|
|
5
|
-
ValidationExceptionReason,
|
|
6
|
-
} from "./models_0";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
7
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
6
|
readonly name: "AccessDeniedException";
|
|
9
7
|
readonly $fault: "client";
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import {
|
|
3
|
+
AccountAccessType,
|
|
4
|
+
AuthenticationProviderTypes,
|
|
5
|
+
DataSourceType,
|
|
6
|
+
LicenseType,
|
|
7
|
+
NotificationDestinationType,
|
|
8
|
+
PermissionType,
|
|
9
|
+
Role,
|
|
10
|
+
SamlConfigurationStatus,
|
|
11
|
+
UpdateAction,
|
|
12
|
+
UserType,
|
|
13
|
+
WorkspaceStatus,
|
|
14
|
+
} from "./enums";
|
|
8
15
|
export interface CreateWorkspaceApiKeyRequest {
|
|
9
16
|
keyName: string | undefined;
|
|
10
17
|
keyRole: string | undefined;
|
|
@@ -20,14 +27,6 @@ export interface ValidationExceptionField {
|
|
|
20
27
|
name: string | undefined;
|
|
21
28
|
message: string | undefined;
|
|
22
29
|
}
|
|
23
|
-
export declare const ValidationExceptionReason: {
|
|
24
|
-
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
25
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
26
|
-
readonly OTHER: "OTHER";
|
|
27
|
-
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
28
|
-
};
|
|
29
|
-
export type ValidationExceptionReason =
|
|
30
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
31
30
|
export interface DeleteWorkspaceApiKeyRequest {
|
|
32
31
|
keyName: string | undefined;
|
|
33
32
|
workspaceId: string | undefined;
|
|
@@ -44,77 +43,19 @@ export interface AssertionAttributes {
|
|
|
44
43
|
role?: string | undefined;
|
|
45
44
|
org?: string | undefined;
|
|
46
45
|
}
|
|
47
|
-
export declare const LicenseType: {
|
|
48
|
-
readonly ENTERPRISE: "ENTERPRISE";
|
|
49
|
-
readonly ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL";
|
|
50
|
-
};
|
|
51
|
-
export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType];
|
|
52
46
|
export interface AssociateLicenseRequest {
|
|
53
47
|
workspaceId: string | undefined;
|
|
54
48
|
licenseType: LicenseType | undefined;
|
|
55
49
|
grafanaToken?: string | undefined;
|
|
56
50
|
}
|
|
57
|
-
export declare const AuthenticationProviderTypes: {
|
|
58
|
-
readonly AWS_SSO: "AWS_SSO";
|
|
59
|
-
readonly SAML: "SAML";
|
|
60
|
-
};
|
|
61
|
-
export type AuthenticationProviderTypes =
|
|
62
|
-
(typeof AuthenticationProviderTypes)[keyof typeof AuthenticationProviderTypes];
|
|
63
|
-
export declare const SamlConfigurationStatus: {
|
|
64
|
-
readonly CONFIGURED: "CONFIGURED";
|
|
65
|
-
readonly NOT_CONFIGURED: "NOT_CONFIGURED";
|
|
66
|
-
};
|
|
67
|
-
export type SamlConfigurationStatus =
|
|
68
|
-
(typeof SamlConfigurationStatus)[keyof typeof SamlConfigurationStatus];
|
|
69
51
|
export interface AuthenticationSummary {
|
|
70
52
|
providers: AuthenticationProviderTypes[] | undefined;
|
|
71
53
|
samlConfigurationStatus?: SamlConfigurationStatus | undefined;
|
|
72
54
|
}
|
|
73
|
-
export declare const DataSourceType: {
|
|
74
|
-
readonly AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE";
|
|
75
|
-
readonly ATHENA: "ATHENA";
|
|
76
|
-
readonly CLOUDWATCH: "CLOUDWATCH";
|
|
77
|
-
readonly PROMETHEUS: "PROMETHEUS";
|
|
78
|
-
readonly REDSHIFT: "REDSHIFT";
|
|
79
|
-
readonly SITEWISE: "SITEWISE";
|
|
80
|
-
readonly TIMESTREAM: "TIMESTREAM";
|
|
81
|
-
readonly TWINMAKER: "TWINMAKER";
|
|
82
|
-
readonly XRAY: "XRAY";
|
|
83
|
-
};
|
|
84
|
-
export type DataSourceType =
|
|
85
|
-
(typeof DataSourceType)[keyof typeof DataSourceType];
|
|
86
55
|
export interface NetworkAccessConfiguration {
|
|
87
56
|
prefixListIds: string[] | undefined;
|
|
88
57
|
vpceIds: string[] | undefined;
|
|
89
58
|
}
|
|
90
|
-
export declare const NotificationDestinationType: {
|
|
91
|
-
readonly SNS: "SNS";
|
|
92
|
-
};
|
|
93
|
-
export type NotificationDestinationType =
|
|
94
|
-
(typeof NotificationDestinationType)[keyof typeof NotificationDestinationType];
|
|
95
|
-
export declare const PermissionType: {
|
|
96
|
-
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
97
|
-
readonly SERVICE_MANAGED: "SERVICE_MANAGED";
|
|
98
|
-
};
|
|
99
|
-
export type PermissionType =
|
|
100
|
-
(typeof PermissionType)[keyof typeof PermissionType];
|
|
101
|
-
export declare const WorkspaceStatus: {
|
|
102
|
-
readonly ACTIVE: "ACTIVE";
|
|
103
|
-
readonly CREATING: "CREATING";
|
|
104
|
-
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
105
|
-
readonly DELETING: "DELETING";
|
|
106
|
-
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
107
|
-
readonly FAILED: "FAILED";
|
|
108
|
-
readonly LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED";
|
|
109
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
110
|
-
readonly UPDATING: "UPDATING";
|
|
111
|
-
readonly UPGRADE_FAILED: "UPGRADE_FAILED";
|
|
112
|
-
readonly UPGRADING: "UPGRADING";
|
|
113
|
-
readonly VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED";
|
|
114
|
-
readonly VERSION_UPDATING: "VERSION_UPDATING";
|
|
115
|
-
};
|
|
116
|
-
export type WorkspaceStatus =
|
|
117
|
-
(typeof WorkspaceStatus)[keyof typeof WorkspaceStatus];
|
|
118
59
|
export interface VpcConfiguration {
|
|
119
60
|
securityGroupIds: string[] | undefined;
|
|
120
61
|
subnetIds: string[] | undefined;
|
|
@@ -247,11 +188,6 @@ export interface ListVersionsResponse {
|
|
|
247
188
|
nextToken?: string | undefined;
|
|
248
189
|
grafanaVersions?: string[] | undefined;
|
|
249
190
|
}
|
|
250
|
-
export declare const UserType: {
|
|
251
|
-
readonly SSO_GROUP: "SSO_GROUP";
|
|
252
|
-
readonly SSO_USER: "SSO_USER";
|
|
253
|
-
};
|
|
254
|
-
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
255
191
|
export interface ListPermissionsRequest {
|
|
256
192
|
maxResults?: number | undefined;
|
|
257
193
|
nextToken?: string | undefined;
|
|
@@ -260,12 +196,6 @@ export interface ListPermissionsRequest {
|
|
|
260
196
|
groupId?: string | undefined;
|
|
261
197
|
workspaceId: string | undefined;
|
|
262
198
|
}
|
|
263
|
-
export declare const Role: {
|
|
264
|
-
readonly ADMIN: "ADMIN";
|
|
265
|
-
readonly EDITOR: "EDITOR";
|
|
266
|
-
readonly VIEWER: "VIEWER";
|
|
267
|
-
};
|
|
268
|
-
export type Role = (typeof Role)[keyof typeof Role];
|
|
269
199
|
export interface User {
|
|
270
200
|
id: string | undefined;
|
|
271
201
|
type: UserType | undefined;
|
|
@@ -278,11 +208,6 @@ export interface ListPermissionsResponse {
|
|
|
278
208
|
nextToken?: string | undefined;
|
|
279
209
|
permissions: PermissionEntry[] | undefined;
|
|
280
210
|
}
|
|
281
|
-
export declare const UpdateAction: {
|
|
282
|
-
readonly ADD: "ADD";
|
|
283
|
-
readonly REVOKE: "REVOKE";
|
|
284
|
-
};
|
|
285
|
-
export type UpdateAction = (typeof UpdateAction)[keyof typeof UpdateAction];
|
|
286
211
|
export interface UpdateInstruction {
|
|
287
212
|
action: UpdateAction | undefined;
|
|
288
213
|
role: Role | undefined;
|
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.
|
|
4
|
+
"version": "3.939.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,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.939.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|