@aws-sdk/client-grafana 3.300.0 → 3.303.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/models/models_0.js +66 -78
- package/dist-es/models/models_0.js +66 -78
- package/dist-types/commands/AssociateLicenseCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +12 -12
- package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLicenseCommand.d.ts +1 -1
- package/dist-types/commands/ListPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkspacesCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePermissionsCommand.d.ts +5 -5
- package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +8 -8
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +10 -10
- package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +126 -66
- package/dist-types/ts3.4/models/models_0.d.ts +86 -66
- package/package.json +34 -34
|
@@ -16,11 +16,10 @@ class AccessDeniedException extends GrafanaServiceException_1.GrafanaServiceExce
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(AccountAccessType = exports.AccountAccessType || (exports.AccountAccessType = {}));
|
|
19
|
+
exports.AccountAccessType = {
|
|
20
|
+
CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
|
|
21
|
+
ORGANIZATION: "ORGANIZATION",
|
|
22
|
+
};
|
|
24
23
|
class ConflictException extends GrafanaServiceException_1.GrafanaServiceException {
|
|
25
24
|
constructor(opts) {
|
|
26
25
|
super({
|
|
@@ -100,13 +99,12 @@ class ThrottlingException extends GrafanaServiceException_1.GrafanaServiceExcept
|
|
|
100
99
|
}
|
|
101
100
|
}
|
|
102
101
|
exports.ThrottlingException = ThrottlingException;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
102
|
+
exports.ValidationExceptionReason = {
|
|
103
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
104
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
105
|
+
OTHER: "OTHER",
|
|
106
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
107
|
+
};
|
|
110
108
|
class ValidationException extends GrafanaServiceException_1.GrafanaServiceException {
|
|
111
109
|
constructor(opts) {
|
|
112
110
|
super({
|
|
@@ -122,56 +120,49 @@ class ValidationException extends GrafanaServiceException_1.GrafanaServiceExcept
|
|
|
122
120
|
}
|
|
123
121
|
}
|
|
124
122
|
exports.ValidationException = ValidationException;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
WorkspaceStatus["FAILED"] = "FAILED";
|
|
169
|
-
WorkspaceStatus["LICENSE_REMOVAL_FAILED"] = "LICENSE_REMOVAL_FAILED";
|
|
170
|
-
WorkspaceStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
171
|
-
WorkspaceStatus["UPDATING"] = "UPDATING";
|
|
172
|
-
WorkspaceStatus["UPGRADE_FAILED"] = "UPGRADE_FAILED";
|
|
173
|
-
WorkspaceStatus["UPGRADING"] = "UPGRADING";
|
|
174
|
-
})(WorkspaceStatus = exports.WorkspaceStatus || (exports.WorkspaceStatus = {}));
|
|
123
|
+
exports.LicenseType = {
|
|
124
|
+
ENTERPRISE: "ENTERPRISE",
|
|
125
|
+
ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
|
|
126
|
+
};
|
|
127
|
+
exports.AuthenticationProviderTypes = {
|
|
128
|
+
AWS_SSO: "AWS_SSO",
|
|
129
|
+
SAML: "SAML",
|
|
130
|
+
};
|
|
131
|
+
exports.SamlConfigurationStatus = {
|
|
132
|
+
CONFIGURED: "CONFIGURED",
|
|
133
|
+
NOT_CONFIGURED: "NOT_CONFIGURED",
|
|
134
|
+
};
|
|
135
|
+
exports.DataSourceType = {
|
|
136
|
+
AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
|
|
137
|
+
ATHENA: "ATHENA",
|
|
138
|
+
CLOUDWATCH: "CLOUDWATCH",
|
|
139
|
+
PROMETHEUS: "PROMETHEUS",
|
|
140
|
+
REDSHIFT: "REDSHIFT",
|
|
141
|
+
SITEWISE: "SITEWISE",
|
|
142
|
+
TIMESTREAM: "TIMESTREAM",
|
|
143
|
+
TWINMAKER: "TWINMAKER",
|
|
144
|
+
XRAY: "XRAY",
|
|
145
|
+
};
|
|
146
|
+
exports.NotificationDestinationType = {
|
|
147
|
+
SNS: "SNS",
|
|
148
|
+
};
|
|
149
|
+
exports.PermissionType = {
|
|
150
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
151
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
152
|
+
};
|
|
153
|
+
exports.WorkspaceStatus = {
|
|
154
|
+
ACTIVE: "ACTIVE",
|
|
155
|
+
CREATING: "CREATING",
|
|
156
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
157
|
+
DELETING: "DELETING",
|
|
158
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
159
|
+
FAILED: "FAILED",
|
|
160
|
+
LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED",
|
|
161
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
162
|
+
UPDATING: "UPDATING",
|
|
163
|
+
UPGRADE_FAILED: "UPGRADE_FAILED",
|
|
164
|
+
UPGRADING: "UPGRADING",
|
|
165
|
+
};
|
|
175
166
|
var IdpMetadata;
|
|
176
167
|
(function (IdpMetadata) {
|
|
177
168
|
IdpMetadata.visit = (value, visitor) => {
|
|
@@ -182,22 +173,19 @@ var IdpMetadata;
|
|
|
182
173
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
183
174
|
};
|
|
184
175
|
})(IdpMetadata = exports.IdpMetadata || (exports.IdpMetadata = {}));
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
UpdateAction["ADD"] = "ADD";
|
|
199
|
-
UpdateAction["REVOKE"] = "REVOKE";
|
|
200
|
-
})(UpdateAction = exports.UpdateAction || (exports.UpdateAction = {}));
|
|
176
|
+
exports.UserType = {
|
|
177
|
+
SSO_GROUP: "SSO_GROUP",
|
|
178
|
+
SSO_USER: "SSO_USER",
|
|
179
|
+
};
|
|
180
|
+
exports.Role = {
|
|
181
|
+
ADMIN: "ADMIN",
|
|
182
|
+
EDITOR: "EDITOR",
|
|
183
|
+
VIEWER: "VIEWER",
|
|
184
|
+
};
|
|
185
|
+
exports.UpdateAction = {
|
|
186
|
+
ADD: "ADD",
|
|
187
|
+
REVOKE: "REVOKE",
|
|
188
|
+
};
|
|
201
189
|
const CreateWorkspaceApiKeyResponseFilterSensitiveLog = (obj) => ({
|
|
202
190
|
...obj,
|
|
203
191
|
...(obj.key && { key: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -12,11 +12,10 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
})(AccountAccessType || (AccountAccessType = {}));
|
|
15
|
+
export const AccountAccessType = {
|
|
16
|
+
CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
|
|
17
|
+
ORGANIZATION: "ORGANIZATION",
|
|
18
|
+
};
|
|
20
19
|
export class ConflictException extends __BaseException {
|
|
21
20
|
constructor(opts) {
|
|
22
21
|
super({
|
|
@@ -91,13 +90,12 @@ export class ThrottlingException extends __BaseException {
|
|
|
91
90
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
|
-
export
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
93
|
+
export const ValidationExceptionReason = {
|
|
94
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
95
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
96
|
+
OTHER: "OTHER",
|
|
97
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
98
|
+
};
|
|
101
99
|
export class ValidationException extends __BaseException {
|
|
102
100
|
constructor(opts) {
|
|
103
101
|
super({
|
|
@@ -112,56 +110,49 @@ export class ValidationException extends __BaseException {
|
|
|
112
110
|
this.fieldList = opts.fieldList;
|
|
113
111
|
}
|
|
114
112
|
}
|
|
115
|
-
export
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
WorkspaceStatus["FAILED"] = "FAILED";
|
|
159
|
-
WorkspaceStatus["LICENSE_REMOVAL_FAILED"] = "LICENSE_REMOVAL_FAILED";
|
|
160
|
-
WorkspaceStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
161
|
-
WorkspaceStatus["UPDATING"] = "UPDATING";
|
|
162
|
-
WorkspaceStatus["UPGRADE_FAILED"] = "UPGRADE_FAILED";
|
|
163
|
-
WorkspaceStatus["UPGRADING"] = "UPGRADING";
|
|
164
|
-
})(WorkspaceStatus || (WorkspaceStatus = {}));
|
|
113
|
+
export const LicenseType = {
|
|
114
|
+
ENTERPRISE: "ENTERPRISE",
|
|
115
|
+
ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
|
|
116
|
+
};
|
|
117
|
+
export const AuthenticationProviderTypes = {
|
|
118
|
+
AWS_SSO: "AWS_SSO",
|
|
119
|
+
SAML: "SAML",
|
|
120
|
+
};
|
|
121
|
+
export const SamlConfigurationStatus = {
|
|
122
|
+
CONFIGURED: "CONFIGURED",
|
|
123
|
+
NOT_CONFIGURED: "NOT_CONFIGURED",
|
|
124
|
+
};
|
|
125
|
+
export const DataSourceType = {
|
|
126
|
+
AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
|
|
127
|
+
ATHENA: "ATHENA",
|
|
128
|
+
CLOUDWATCH: "CLOUDWATCH",
|
|
129
|
+
PROMETHEUS: "PROMETHEUS",
|
|
130
|
+
REDSHIFT: "REDSHIFT",
|
|
131
|
+
SITEWISE: "SITEWISE",
|
|
132
|
+
TIMESTREAM: "TIMESTREAM",
|
|
133
|
+
TWINMAKER: "TWINMAKER",
|
|
134
|
+
XRAY: "XRAY",
|
|
135
|
+
};
|
|
136
|
+
export const NotificationDestinationType = {
|
|
137
|
+
SNS: "SNS",
|
|
138
|
+
};
|
|
139
|
+
export const PermissionType = {
|
|
140
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
141
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
142
|
+
};
|
|
143
|
+
export const WorkspaceStatus = {
|
|
144
|
+
ACTIVE: "ACTIVE",
|
|
145
|
+
CREATING: "CREATING",
|
|
146
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
147
|
+
DELETING: "DELETING",
|
|
148
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
149
|
+
FAILED: "FAILED",
|
|
150
|
+
LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED",
|
|
151
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
152
|
+
UPDATING: "UPDATING",
|
|
153
|
+
UPGRADE_FAILED: "UPGRADE_FAILED",
|
|
154
|
+
UPGRADING: "UPGRADING",
|
|
155
|
+
};
|
|
165
156
|
export var IdpMetadata;
|
|
166
157
|
(function (IdpMetadata) {
|
|
167
158
|
IdpMetadata.visit = (value, visitor) => {
|
|
@@ -172,22 +163,19 @@ export var IdpMetadata;
|
|
|
172
163
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
173
164
|
};
|
|
174
165
|
})(IdpMetadata || (IdpMetadata = {}));
|
|
175
|
-
export
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
UpdateAction["ADD"] = "ADD";
|
|
189
|
-
UpdateAction["REVOKE"] = "REVOKE";
|
|
190
|
-
})(UpdateAction || (UpdateAction = {}));
|
|
166
|
+
export const UserType = {
|
|
167
|
+
SSO_GROUP: "SSO_GROUP",
|
|
168
|
+
SSO_USER: "SSO_USER",
|
|
169
|
+
};
|
|
170
|
+
export const Role = {
|
|
171
|
+
ADMIN: "ADMIN",
|
|
172
|
+
EDITOR: "EDITOR",
|
|
173
|
+
VIEWER: "VIEWER",
|
|
174
|
+
};
|
|
175
|
+
export const UpdateAction = {
|
|
176
|
+
ADD: "ADD",
|
|
177
|
+
REVOKE: "REVOKE",
|
|
178
|
+
};
|
|
191
179
|
export const CreateWorkspaceApiKeyResponseFilterSensitiveLog = (obj) => ({
|
|
192
180
|
...obj,
|
|
193
181
|
...(obj.key && { key: SENSITIVE_STRING }),
|
|
@@ -28,7 +28,7 @@ export interface AssociateLicenseCommandOutput extends AssociateLicenseResponse,
|
|
|
28
28
|
* import { GrafanaClient, AssociateLicenseCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
29
29
|
* // const { GrafanaClient, AssociateLicenseCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
30
30
|
* const client = new GrafanaClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // AssociateLicenseRequest
|
|
32
32
|
* workspaceId: "STRING_VALUE", // required
|
|
33
33
|
* licenseType: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -28,7 +28,7 @@ export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKe
|
|
|
28
28
|
* import { GrafanaClient, CreateWorkspaceApiKeyCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
29
29
|
* // const { GrafanaClient, CreateWorkspaceApiKeyCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
30
30
|
* const client = new GrafanaClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CreateWorkspaceApiKeyRequest
|
|
32
32
|
* keyName: "STRING_VALUE", // required
|
|
33
33
|
* keyRole: "STRING_VALUE", // required
|
|
34
34
|
* secondsToLive: Number("int"), // required
|
|
@@ -30,44 +30,44 @@ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, _
|
|
|
30
30
|
* import { GrafanaClient, CreateWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
31
31
|
* // const { GrafanaClient, CreateWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
32
32
|
* const client = new GrafanaClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CreateWorkspaceRequest
|
|
34
34
|
* accountAccessType: "STRING_VALUE", // required
|
|
35
35
|
* clientToken: "STRING_VALUE",
|
|
36
36
|
* organizationRoleName: "STRING_VALUE",
|
|
37
37
|
* permissionType: "STRING_VALUE", // required
|
|
38
38
|
* stackSetName: "STRING_VALUE",
|
|
39
|
-
* workspaceDataSources: [
|
|
39
|
+
* workspaceDataSources: [ // DataSourceTypesList
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* workspaceDescription: "STRING_VALUE",
|
|
43
43
|
* workspaceName: "STRING_VALUE",
|
|
44
|
-
* workspaceNotificationDestinations: [
|
|
44
|
+
* workspaceNotificationDestinations: [ // NotificationDestinationsList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
|
-
* workspaceOrganizationalUnits: [
|
|
47
|
+
* workspaceOrganizationalUnits: [ // OrganizationalUnitList
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* workspaceRoleArn: "STRING_VALUE",
|
|
51
|
-
* authenticationProviders: [ // required
|
|
51
|
+
* authenticationProviders: [ // AuthenticationProviders // required
|
|
52
52
|
* "STRING_VALUE",
|
|
53
53
|
* ],
|
|
54
|
-
* tags: {
|
|
54
|
+
* tags: { // TagMap
|
|
55
55
|
* "<keys>": "STRING_VALUE",
|
|
56
56
|
* },
|
|
57
|
-
* vpcConfiguration: {
|
|
58
|
-
* securityGroupIds: [ // required
|
|
57
|
+
* vpcConfiguration: { // VpcConfiguration
|
|
58
|
+
* securityGroupIds: [ // SecurityGroupIds // required
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
|
-
* subnetIds: [ // required
|
|
61
|
+
* subnetIds: [ // SubnetIds // required
|
|
62
62
|
* "STRING_VALUE",
|
|
63
63
|
* ],
|
|
64
64
|
* },
|
|
65
65
|
* configuration: "STRING_VALUE",
|
|
66
|
-
* networkAccessControl: {
|
|
67
|
-
* prefixListIds: [ // required
|
|
66
|
+
* networkAccessControl: { // NetworkAccessConfiguration
|
|
67
|
+
* prefixListIds: [ // PrefixListIds // required
|
|
68
68
|
* "STRING_VALUE",
|
|
69
69
|
* ],
|
|
70
|
-
* vpceIds: [ // required
|
|
70
|
+
* vpceIds: [ // VpceIds // required
|
|
71
71
|
* "STRING_VALUE",
|
|
72
72
|
* ],
|
|
73
73
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DeleteWorkspaceApiKeyCommandOutput extends DeleteWorkspaceApiKe
|
|
|
26
26
|
* import { GrafanaClient, DeleteWorkspaceApiKeyCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
27
27
|
* // const { GrafanaClient, DeleteWorkspaceApiKeyCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
28
28
|
* const client = new GrafanaClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteWorkspaceApiKeyRequest
|
|
30
30
|
* keyName: "STRING_VALUE", // required
|
|
31
31
|
* workspaceId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteWorkspaceCommandOutput extends DeleteWorkspaceResponse, _
|
|
|
26
26
|
* import { GrafanaClient, DeleteWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
27
27
|
* // const { GrafanaClient, DeleteWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
28
28
|
* const client = new GrafanaClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteWorkspaceRequest
|
|
30
30
|
* workspaceId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteWorkspaceCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DescribeWorkspaceAuthenticationCommandOutput extends DescribeWo
|
|
|
27
27
|
* import { GrafanaClient, DescribeWorkspaceAuthenticationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
28
28
|
* // const { GrafanaClient, DescribeWorkspaceAuthenticationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
29
29
|
* const client = new GrafanaClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeWorkspaceAuthenticationRequest
|
|
31
31
|
* workspaceId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeWorkspaceAuthenticationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DescribeWorkspaceCommandOutput extends DescribeWorkspaceRespons
|
|
|
26
26
|
* import { GrafanaClient, DescribeWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
27
27
|
* // const { GrafanaClient, DescribeWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
28
28
|
* const client = new GrafanaClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeWorkspaceRequest
|
|
30
30
|
* workspaceId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeWorkspaceCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DescribeWorkspaceConfigurationCommandOutput extends DescribeWor
|
|
|
26
26
|
* import { GrafanaClient, DescribeWorkspaceConfigurationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
27
27
|
* // const { GrafanaClient, DescribeWorkspaceConfigurationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
28
28
|
* const client = new GrafanaClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeWorkspaceConfigurationRequest
|
|
30
30
|
* workspaceId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeWorkspaceConfigurationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DisassociateLicenseCommandOutput extends DisassociateLicenseRes
|
|
|
26
26
|
* import { GrafanaClient, DisassociateLicenseCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
27
27
|
* // const { GrafanaClient, DisassociateLicenseCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
28
28
|
* const client = new GrafanaClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisassociateLicenseRequest
|
|
30
30
|
* workspaceId: "STRING_VALUE", // required
|
|
31
31
|
* licenseType: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -31,7 +31,7 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
31
31
|
* import { GrafanaClient, ListPermissionsCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
32
32
|
* // const { GrafanaClient, ListPermissionsCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
33
33
|
* const client = new GrafanaClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListPermissionsRequest
|
|
35
35
|
* maxResults: Number("int"),
|
|
36
36
|
* nextToken: "STRING_VALUE",
|
|
37
37
|
* userType: "STRING_VALUE",
|
|
@@ -29,7 +29,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
29
29
|
* import { GrafanaClient, ListTagsForResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
30
30
|
* // const { GrafanaClient, ListTagsForResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
31
31
|
* const client = new GrafanaClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListTagsForResourceRequest
|
|
33
33
|
* resourceArn: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface ListWorkspacesCommandOutput extends ListWorkspacesResponse, __M
|
|
|
27
27
|
* import { GrafanaClient, ListWorkspacesCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
28
28
|
* // const { GrafanaClient, ListWorkspacesCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
29
29
|
* const client = new GrafanaClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListWorkspacesRequest
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
33
|
* };
|
|
@@ -31,9 +31,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
31
31
|
* import { GrafanaClient, TagResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
32
32
|
* // const { GrafanaClient, TagResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
33
33
|
* const client = new GrafanaClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // TagResourceRequest
|
|
35
35
|
* resourceArn: "STRING_VALUE", // required
|
|
36
|
-
* tags: { // required
|
|
36
|
+
* tags: { // TagMap // required
|
|
37
37
|
* "<keys>": "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* };
|
|
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { GrafanaClient, UntagResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
28
28
|
* // const { GrafanaClient, UntagResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
29
29
|
* const client = new GrafanaClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
|
-
* tagKeys: [ // required
|
|
32
|
+
* tagKeys: [ // TagKeys // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -27,13 +27,13 @@ export interface UpdatePermissionsCommandOutput extends UpdatePermissionsRespons
|
|
|
27
27
|
* import { GrafanaClient, UpdatePermissionsCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
28
28
|
* // const { GrafanaClient, UpdatePermissionsCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
29
29
|
* const client = new GrafanaClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* updateInstructionBatch: [ // required
|
|
32
|
-
* {
|
|
30
|
+
* const input = { // UpdatePermissionsRequest
|
|
31
|
+
* updateInstructionBatch: [ // UpdateInstructionBatch // required
|
|
32
|
+
* { // UpdateInstruction
|
|
33
33
|
* action: "STRING_VALUE", // required
|
|
34
34
|
* role: "STRING_VALUE", // required
|
|
35
|
-
* users: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* users: [ // UserList // required
|
|
36
|
+
* { // User
|
|
37
37
|
* id: "STRING_VALUE", // required
|
|
38
38
|
* type: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
@@ -33,17 +33,17 @@ export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorksp
|
|
|
33
33
|
* import { GrafanaClient, UpdateWorkspaceAuthenticationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
|
|
34
34
|
* // const { GrafanaClient, UpdateWorkspaceAuthenticationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
|
|
35
35
|
* const client = new GrafanaClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // UpdateWorkspaceAuthenticationRequest
|
|
37
37
|
* workspaceId: "STRING_VALUE", // required
|
|
38
|
-
* authenticationProviders: [ // required
|
|
38
|
+
* authenticationProviders: [ // AuthenticationProviders // required
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
|
-
* samlConfiguration: {
|
|
42
|
-
* idpMetadata: { // Union: only one key present
|
|
41
|
+
* samlConfiguration: { // SamlConfiguration
|
|
42
|
+
* idpMetadata: { // IdpMetadata Union: only one key present
|
|
43
43
|
* url: "STRING_VALUE",
|
|
44
44
|
* xml: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
|
-
* assertionAttributes: {
|
|
46
|
+
* assertionAttributes: { // AssertionAttributes
|
|
47
47
|
* name: "STRING_VALUE",
|
|
48
48
|
* login: "STRING_VALUE",
|
|
49
49
|
* email: "STRING_VALUE",
|
|
@@ -51,15 +51,15 @@ export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorksp
|
|
|
51
51
|
* role: "STRING_VALUE",
|
|
52
52
|
* org: "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
|
-
* roleValues: {
|
|
55
|
-
* editor: [
|
|
54
|
+
* roleValues: { // RoleValues
|
|
55
|
+
* editor: [ // RoleValueList
|
|
56
56
|
* "STRING_VALUE",
|
|
57
57
|
* ],
|
|
58
58
|
* admin: [
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
61
|
* },
|
|
62
|
-
* allowedOrganizations: [
|
|
62
|
+
* allowedOrganizations: [ // AllowedOrganizations
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* loginValidityDuration: Number("int"),
|