@aws-sdk/client-grafana 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/GrafanaServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +110 -1
- package/dist-cjs/protocols/Aws_restJson1.js +166 -528
- package/dist-es/index.js +1 -0
- package/dist-es/models/GrafanaServiceException.js +12 -0
- package/dist-es/models/models_0.js +102 -1
- package/dist-es/protocols/Aws_restJson1.js +299 -581
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/GrafanaServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -47
- package/dist-types/ts3.4/Grafana.d.ts +60 -0
- package/dist-types/ts3.4/GrafanaClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/AssociateLicenseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWorkspaceAuthenticationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateLicenseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateWorkspaceAuthenticationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/GrafanaServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +679 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +35 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
|
+
}
|
|
10
|
+
export declare enum AccountAccessType {
|
|
11
|
+
|
|
12
|
+
CURRENT_ACCOUNT = "CURRENT_ACCOUNT",
|
|
13
|
+
|
|
14
|
+
ORGANIZATION = "ORGANIZATION"
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface AssertionAttributes {
|
|
18
|
+
|
|
19
|
+
name?: string;
|
|
20
|
+
|
|
21
|
+
login?: string;
|
|
22
|
+
|
|
23
|
+
email?: string;
|
|
24
|
+
|
|
25
|
+
groups?: string;
|
|
26
|
+
|
|
27
|
+
role?: string;
|
|
28
|
+
|
|
29
|
+
org?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace AssertionAttributes {
|
|
32
|
+
|
|
33
|
+
const filterSensitiveLog: (obj: AssertionAttributes) => any;
|
|
34
|
+
}
|
|
35
|
+
export declare enum LicenseType {
|
|
36
|
+
|
|
37
|
+
ENTERPRISE = "ENTERPRISE",
|
|
38
|
+
|
|
39
|
+
ENTERPRISE_FREE_TRIAL = "ENTERPRISE_FREE_TRIAL"
|
|
40
|
+
}
|
|
41
|
+
export interface AssociateLicenseRequest {
|
|
42
|
+
|
|
43
|
+
workspaceId: string | undefined;
|
|
44
|
+
|
|
45
|
+
licenseType: LicenseType | string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace AssociateLicenseRequest {
|
|
48
|
+
|
|
49
|
+
const filterSensitiveLog: (obj: AssociateLicenseRequest) => any;
|
|
50
|
+
}
|
|
51
|
+
export declare enum AuthenticationProviderTypes {
|
|
52
|
+
|
|
53
|
+
AWS_SSO = "AWS_SSO",
|
|
54
|
+
|
|
55
|
+
SAML = "SAML"
|
|
56
|
+
}
|
|
57
|
+
export declare enum SamlConfigurationStatus {
|
|
58
|
+
|
|
59
|
+
CONFIGURED = "CONFIGURED",
|
|
60
|
+
|
|
61
|
+
NOT_CONFIGURED = "NOT_CONFIGURED"
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface AuthenticationSummary {
|
|
65
|
+
|
|
66
|
+
providers: (AuthenticationProviderTypes | string)[] | undefined;
|
|
67
|
+
|
|
68
|
+
samlConfigurationStatus?: SamlConfigurationStatus | string;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace AuthenticationSummary {
|
|
71
|
+
|
|
72
|
+
const filterSensitiveLog: (obj: AuthenticationSummary) => any;
|
|
73
|
+
}
|
|
74
|
+
export declare enum DataSourceType {
|
|
75
|
+
|
|
76
|
+
AMAZON_OPENSEARCH_SERVICE = "AMAZON_OPENSEARCH_SERVICE",
|
|
77
|
+
|
|
78
|
+
CLOUDWATCH = "CLOUDWATCH",
|
|
79
|
+
|
|
80
|
+
PROMETHEUS = "PROMETHEUS",
|
|
81
|
+
|
|
82
|
+
SITEWISE = "SITEWISE",
|
|
83
|
+
|
|
84
|
+
TIMESTREAM = "TIMESTREAM",
|
|
85
|
+
|
|
86
|
+
XRAY = "XRAY"
|
|
87
|
+
}
|
|
88
|
+
export declare enum NotificationDestinationType {
|
|
89
|
+
|
|
90
|
+
SNS = "SNS"
|
|
91
|
+
}
|
|
92
|
+
export declare enum PermissionType {
|
|
93
|
+
|
|
94
|
+
CUSTOMER_MANAGED = "CUSTOMER_MANAGED",
|
|
95
|
+
|
|
96
|
+
SERVICE_MANAGED = "SERVICE_MANAGED"
|
|
97
|
+
}
|
|
98
|
+
export declare enum WorkspaceStatus {
|
|
99
|
+
|
|
100
|
+
ACTIVE = "ACTIVE",
|
|
101
|
+
|
|
102
|
+
CREATING = "CREATING",
|
|
103
|
+
|
|
104
|
+
CREATION_FAILED = "CREATION_FAILED",
|
|
105
|
+
|
|
106
|
+
DELETING = "DELETING",
|
|
107
|
+
|
|
108
|
+
DELETION_FAILED = "DELETION_FAILED",
|
|
109
|
+
|
|
110
|
+
FAILED = "FAILED",
|
|
111
|
+
|
|
112
|
+
LICENSE_REMOVAL_FAILED = "LICENSE_REMOVAL_FAILED",
|
|
113
|
+
|
|
114
|
+
UPDATE_FAILED = "UPDATE_FAILED",
|
|
115
|
+
|
|
116
|
+
UPDATING = "UPDATING",
|
|
117
|
+
|
|
118
|
+
UPGRADE_FAILED = "UPGRADE_FAILED",
|
|
119
|
+
|
|
120
|
+
UPGRADING = "UPGRADING"
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface WorkspaceDescription {
|
|
124
|
+
|
|
125
|
+
accountAccessType?: AccountAccessType | string;
|
|
126
|
+
|
|
127
|
+
created: Date | undefined;
|
|
128
|
+
|
|
129
|
+
dataSources: (DataSourceType | string)[] | undefined;
|
|
130
|
+
|
|
131
|
+
description?: string;
|
|
132
|
+
|
|
133
|
+
endpoint: string | undefined;
|
|
134
|
+
|
|
135
|
+
grafanaVersion: string | undefined;
|
|
136
|
+
|
|
137
|
+
id: string | undefined;
|
|
138
|
+
|
|
139
|
+
modified: Date | undefined;
|
|
140
|
+
|
|
141
|
+
name?: string;
|
|
142
|
+
|
|
143
|
+
organizationRoleName?: string;
|
|
144
|
+
|
|
145
|
+
notificationDestinations?: (NotificationDestinationType | string)[];
|
|
146
|
+
|
|
147
|
+
organizationalUnits?: string[];
|
|
148
|
+
|
|
149
|
+
permissionType?: PermissionType | string;
|
|
150
|
+
|
|
151
|
+
stackSetName?: string;
|
|
152
|
+
|
|
153
|
+
status: WorkspaceStatus | string | undefined;
|
|
154
|
+
|
|
155
|
+
workspaceRoleArn?: string;
|
|
156
|
+
|
|
157
|
+
licenseType?: LicenseType | string;
|
|
158
|
+
|
|
159
|
+
freeTrialConsumed?: boolean;
|
|
160
|
+
|
|
161
|
+
licenseExpiration?: Date;
|
|
162
|
+
|
|
163
|
+
freeTrialExpiration?: Date;
|
|
164
|
+
|
|
165
|
+
authentication: AuthenticationSummary | undefined;
|
|
166
|
+
}
|
|
167
|
+
export declare namespace WorkspaceDescription {
|
|
168
|
+
|
|
169
|
+
const filterSensitiveLog: (obj: WorkspaceDescription) => any;
|
|
170
|
+
}
|
|
171
|
+
export interface AssociateLicenseResponse {
|
|
172
|
+
|
|
173
|
+
workspace: WorkspaceDescription | undefined;
|
|
174
|
+
}
|
|
175
|
+
export declare namespace AssociateLicenseResponse {
|
|
176
|
+
|
|
177
|
+
const filterSensitiveLog: (obj: AssociateLicenseResponse) => any;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export declare class InternalServerException extends __BaseException {
|
|
181
|
+
readonly name: "InternalServerException";
|
|
182
|
+
readonly $fault: "server";
|
|
183
|
+
$retryable: {};
|
|
184
|
+
|
|
185
|
+
retryAfterSeconds?: number;
|
|
186
|
+
|
|
187
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
191
|
+
readonly name: "ResourceNotFoundException";
|
|
192
|
+
readonly $fault: "client";
|
|
193
|
+
|
|
194
|
+
resourceId: string | undefined;
|
|
195
|
+
|
|
196
|
+
resourceType: string | undefined;
|
|
197
|
+
|
|
198
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export declare class ThrottlingException extends __BaseException {
|
|
202
|
+
readonly name: "ThrottlingException";
|
|
203
|
+
readonly $fault: "client";
|
|
204
|
+
$retryable: {};
|
|
205
|
+
|
|
206
|
+
serviceCode?: string;
|
|
207
|
+
|
|
208
|
+
quotaCode?: string;
|
|
209
|
+
|
|
210
|
+
retryAfterSeconds?: number;
|
|
211
|
+
|
|
212
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface ValidationExceptionField {
|
|
216
|
+
|
|
217
|
+
name: string | undefined;
|
|
218
|
+
|
|
219
|
+
message: string | undefined;
|
|
220
|
+
}
|
|
221
|
+
export declare namespace ValidationExceptionField {
|
|
222
|
+
|
|
223
|
+
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
224
|
+
}
|
|
225
|
+
export declare enum ValidationExceptionReason {
|
|
226
|
+
CANNOT_PARSE = "CANNOT_PARSE",
|
|
227
|
+
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
228
|
+
OTHER = "OTHER",
|
|
229
|
+
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export declare class ValidationException extends __BaseException {
|
|
233
|
+
readonly name: "ValidationException";
|
|
234
|
+
readonly $fault: "client";
|
|
235
|
+
|
|
236
|
+
reason: ValidationExceptionReason | string | undefined;
|
|
237
|
+
|
|
238
|
+
fieldList?: ValidationExceptionField[];
|
|
239
|
+
|
|
240
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
241
|
+
}
|
|
242
|
+
export interface DescribeWorkspaceAuthenticationRequest {
|
|
243
|
+
|
|
244
|
+
workspaceId: string | undefined;
|
|
245
|
+
}
|
|
246
|
+
export declare namespace DescribeWorkspaceAuthenticationRequest {
|
|
247
|
+
|
|
248
|
+
const filterSensitiveLog: (obj: DescribeWorkspaceAuthenticationRequest) => any;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export interface AwsSsoAuthentication {
|
|
252
|
+
|
|
253
|
+
ssoClientId?: string;
|
|
254
|
+
}
|
|
255
|
+
export declare namespace AwsSsoAuthentication {
|
|
256
|
+
|
|
257
|
+
const filterSensitiveLog: (obj: AwsSsoAuthentication) => any;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export declare type IdpMetadata = IdpMetadata.UrlMember | IdpMetadata.XmlMember | IdpMetadata.$UnknownMember;
|
|
261
|
+
export declare namespace IdpMetadata {
|
|
262
|
+
|
|
263
|
+
interface UrlMember {
|
|
264
|
+
url: string;
|
|
265
|
+
xml?: never;
|
|
266
|
+
$unknown?: never;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
interface XmlMember {
|
|
270
|
+
url?: never;
|
|
271
|
+
xml: string;
|
|
272
|
+
$unknown?: never;
|
|
273
|
+
}
|
|
274
|
+
interface $UnknownMember {
|
|
275
|
+
url?: never;
|
|
276
|
+
xml?: never;
|
|
277
|
+
$unknown: [
|
|
278
|
+
string,
|
|
279
|
+
any
|
|
280
|
+
];
|
|
281
|
+
}
|
|
282
|
+
interface Visitor<T> {
|
|
283
|
+
url: (value: string) => T;
|
|
284
|
+
xml: (value: string) => T;
|
|
285
|
+
_: (name: string, value: any) => T;
|
|
286
|
+
}
|
|
287
|
+
const visit: <T>(value: IdpMetadata, visitor: Visitor<T>) => T;
|
|
288
|
+
|
|
289
|
+
const filterSensitiveLog: (obj: IdpMetadata) => any;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export interface RoleValues {
|
|
293
|
+
|
|
294
|
+
editor?: string[];
|
|
295
|
+
|
|
296
|
+
admin?: string[];
|
|
297
|
+
}
|
|
298
|
+
export declare namespace RoleValues {
|
|
299
|
+
|
|
300
|
+
const filterSensitiveLog: (obj: RoleValues) => any;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export interface SamlConfiguration {
|
|
304
|
+
|
|
305
|
+
idpMetadata: IdpMetadata | undefined;
|
|
306
|
+
|
|
307
|
+
assertionAttributes?: AssertionAttributes;
|
|
308
|
+
|
|
309
|
+
roleValues?: RoleValues;
|
|
310
|
+
|
|
311
|
+
allowedOrganizations?: string[];
|
|
312
|
+
|
|
313
|
+
loginValidityDuration?: number;
|
|
314
|
+
}
|
|
315
|
+
export declare namespace SamlConfiguration {
|
|
316
|
+
|
|
317
|
+
const filterSensitiveLog: (obj: SamlConfiguration) => any;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export interface SamlAuthentication {
|
|
321
|
+
|
|
322
|
+
status: SamlConfigurationStatus | string | undefined;
|
|
323
|
+
|
|
324
|
+
configuration?: SamlConfiguration;
|
|
325
|
+
}
|
|
326
|
+
export declare namespace SamlAuthentication {
|
|
327
|
+
|
|
328
|
+
const filterSensitiveLog: (obj: SamlAuthentication) => any;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export interface AuthenticationDescription {
|
|
332
|
+
|
|
333
|
+
providers: (AuthenticationProviderTypes | string)[] | undefined;
|
|
334
|
+
|
|
335
|
+
saml?: SamlAuthentication;
|
|
336
|
+
|
|
337
|
+
awsSso?: AwsSsoAuthentication;
|
|
338
|
+
}
|
|
339
|
+
export declare namespace AuthenticationDescription {
|
|
340
|
+
|
|
341
|
+
const filterSensitiveLog: (obj: AuthenticationDescription) => any;
|
|
342
|
+
}
|
|
343
|
+
export interface DescribeWorkspaceAuthenticationResponse {
|
|
344
|
+
|
|
345
|
+
authentication: AuthenticationDescription | undefined;
|
|
346
|
+
}
|
|
347
|
+
export declare namespace DescribeWorkspaceAuthenticationResponse {
|
|
348
|
+
|
|
349
|
+
const filterSensitiveLog: (obj: DescribeWorkspaceAuthenticationResponse) => any;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export declare class ConflictException extends __BaseException {
|
|
353
|
+
readonly name: "ConflictException";
|
|
354
|
+
readonly $fault: "client";
|
|
355
|
+
|
|
356
|
+
resourceId: string | undefined;
|
|
357
|
+
|
|
358
|
+
resourceType: string | undefined;
|
|
359
|
+
|
|
360
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
361
|
+
}
|
|
362
|
+
export interface UpdateWorkspaceAuthenticationRequest {
|
|
363
|
+
|
|
364
|
+
workspaceId: string | undefined;
|
|
365
|
+
|
|
366
|
+
authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
|
|
367
|
+
|
|
368
|
+
samlConfiguration?: SamlConfiguration;
|
|
369
|
+
}
|
|
370
|
+
export declare namespace UpdateWorkspaceAuthenticationRequest {
|
|
371
|
+
|
|
372
|
+
const filterSensitiveLog: (obj: UpdateWorkspaceAuthenticationRequest) => any;
|
|
373
|
+
}
|
|
374
|
+
export interface UpdateWorkspaceAuthenticationResponse {
|
|
375
|
+
|
|
376
|
+
authentication: AuthenticationDescription | undefined;
|
|
377
|
+
}
|
|
378
|
+
export declare namespace UpdateWorkspaceAuthenticationResponse {
|
|
379
|
+
|
|
380
|
+
const filterSensitiveLog: (obj: UpdateWorkspaceAuthenticationResponse) => any;
|
|
381
|
+
}
|
|
382
|
+
export interface DisassociateLicenseRequest {
|
|
383
|
+
|
|
384
|
+
workspaceId: string | undefined;
|
|
385
|
+
|
|
386
|
+
licenseType: LicenseType | string | undefined;
|
|
387
|
+
}
|
|
388
|
+
export declare namespace DisassociateLicenseRequest {
|
|
389
|
+
|
|
390
|
+
const filterSensitiveLog: (obj: DisassociateLicenseRequest) => any;
|
|
391
|
+
}
|
|
392
|
+
export interface DisassociateLicenseResponse {
|
|
393
|
+
|
|
394
|
+
workspace: WorkspaceDescription | undefined;
|
|
395
|
+
}
|
|
396
|
+
export declare namespace DisassociateLicenseResponse {
|
|
397
|
+
|
|
398
|
+
const filterSensitiveLog: (obj: DisassociateLicenseResponse) => any;
|
|
399
|
+
}
|
|
400
|
+
export declare enum UserType {
|
|
401
|
+
|
|
402
|
+
SSO_GROUP = "SSO_GROUP",
|
|
403
|
+
|
|
404
|
+
SSO_USER = "SSO_USER"
|
|
405
|
+
}
|
|
406
|
+
export interface ListPermissionsRequest {
|
|
407
|
+
|
|
408
|
+
maxResults?: number;
|
|
409
|
+
|
|
410
|
+
nextToken?: string;
|
|
411
|
+
|
|
412
|
+
userType?: UserType | string;
|
|
413
|
+
|
|
414
|
+
userId?: string;
|
|
415
|
+
|
|
416
|
+
groupId?: string;
|
|
417
|
+
|
|
418
|
+
workspaceId: string | undefined;
|
|
419
|
+
}
|
|
420
|
+
export declare namespace ListPermissionsRequest {
|
|
421
|
+
|
|
422
|
+
const filterSensitiveLog: (obj: ListPermissionsRequest) => any;
|
|
423
|
+
}
|
|
424
|
+
export declare enum Role {
|
|
425
|
+
|
|
426
|
+
ADMIN = "ADMIN",
|
|
427
|
+
|
|
428
|
+
EDITOR = "EDITOR"
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export interface User {
|
|
432
|
+
|
|
433
|
+
id: string | undefined;
|
|
434
|
+
|
|
435
|
+
type: UserType | string | undefined;
|
|
436
|
+
}
|
|
437
|
+
export declare namespace User {
|
|
438
|
+
|
|
439
|
+
const filterSensitiveLog: (obj: User) => any;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export interface PermissionEntry {
|
|
443
|
+
|
|
444
|
+
user: User | undefined;
|
|
445
|
+
|
|
446
|
+
role: Role | string | undefined;
|
|
447
|
+
}
|
|
448
|
+
export declare namespace PermissionEntry {
|
|
449
|
+
|
|
450
|
+
const filterSensitiveLog: (obj: PermissionEntry) => any;
|
|
451
|
+
}
|
|
452
|
+
export interface ListPermissionsResponse {
|
|
453
|
+
|
|
454
|
+
nextToken?: string;
|
|
455
|
+
|
|
456
|
+
permissions: PermissionEntry[] | undefined;
|
|
457
|
+
}
|
|
458
|
+
export declare namespace ListPermissionsResponse {
|
|
459
|
+
|
|
460
|
+
const filterSensitiveLog: (obj: ListPermissionsResponse) => any;
|
|
461
|
+
}
|
|
462
|
+
export declare enum UpdateAction {
|
|
463
|
+
|
|
464
|
+
ADD = "ADD",
|
|
465
|
+
|
|
466
|
+
REVOKE = "REVOKE"
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export interface UpdateInstruction {
|
|
470
|
+
|
|
471
|
+
action: UpdateAction | string | undefined;
|
|
472
|
+
|
|
473
|
+
role: Role | string | undefined;
|
|
474
|
+
|
|
475
|
+
users: User[] | undefined;
|
|
476
|
+
}
|
|
477
|
+
export declare namespace UpdateInstruction {
|
|
478
|
+
|
|
479
|
+
const filterSensitiveLog: (obj: UpdateInstruction) => any;
|
|
480
|
+
}
|
|
481
|
+
export interface UpdatePermissionsRequest {
|
|
482
|
+
|
|
483
|
+
updateInstructionBatch: UpdateInstruction[] | undefined;
|
|
484
|
+
|
|
485
|
+
workspaceId: string | undefined;
|
|
486
|
+
}
|
|
487
|
+
export declare namespace UpdatePermissionsRequest {
|
|
488
|
+
|
|
489
|
+
const filterSensitiveLog: (obj: UpdatePermissionsRequest) => any;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export interface UpdateError {
|
|
493
|
+
|
|
494
|
+
code: number | undefined;
|
|
495
|
+
|
|
496
|
+
message: string | undefined;
|
|
497
|
+
|
|
498
|
+
causedBy: UpdateInstruction | undefined;
|
|
499
|
+
}
|
|
500
|
+
export declare namespace UpdateError {
|
|
501
|
+
|
|
502
|
+
const filterSensitiveLog: (obj: UpdateError) => any;
|
|
503
|
+
}
|
|
504
|
+
export interface UpdatePermissionsResponse {
|
|
505
|
+
|
|
506
|
+
errors: UpdateError[] | undefined;
|
|
507
|
+
}
|
|
508
|
+
export declare namespace UpdatePermissionsResponse {
|
|
509
|
+
|
|
510
|
+
const filterSensitiveLog: (obj: UpdatePermissionsResponse) => any;
|
|
511
|
+
}
|
|
512
|
+
export interface CreateWorkspaceRequest {
|
|
513
|
+
|
|
514
|
+
accountAccessType: AccountAccessType | string | undefined;
|
|
515
|
+
|
|
516
|
+
clientToken?: string;
|
|
517
|
+
|
|
518
|
+
organizationRoleName?: string;
|
|
519
|
+
|
|
520
|
+
permissionType: PermissionType | string | undefined;
|
|
521
|
+
|
|
522
|
+
stackSetName?: string;
|
|
523
|
+
|
|
524
|
+
workspaceDataSources?: (DataSourceType | string)[];
|
|
525
|
+
|
|
526
|
+
workspaceDescription?: string;
|
|
527
|
+
|
|
528
|
+
workspaceName?: string;
|
|
529
|
+
|
|
530
|
+
workspaceNotificationDestinations?: (NotificationDestinationType | string)[];
|
|
531
|
+
|
|
532
|
+
workspaceOrganizationalUnits?: string[];
|
|
533
|
+
|
|
534
|
+
workspaceRoleArn?: string;
|
|
535
|
+
|
|
536
|
+
authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
|
|
537
|
+
}
|
|
538
|
+
export declare namespace CreateWorkspaceRequest {
|
|
539
|
+
|
|
540
|
+
const filterSensitiveLog: (obj: CreateWorkspaceRequest) => any;
|
|
541
|
+
}
|
|
542
|
+
export interface CreateWorkspaceResponse {
|
|
543
|
+
|
|
544
|
+
workspace: WorkspaceDescription | undefined;
|
|
545
|
+
}
|
|
546
|
+
export declare namespace CreateWorkspaceResponse {
|
|
547
|
+
|
|
548
|
+
const filterSensitiveLog: (obj: CreateWorkspaceResponse) => any;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
552
|
+
readonly name: "ServiceQuotaExceededException";
|
|
553
|
+
readonly $fault: "client";
|
|
554
|
+
|
|
555
|
+
resourceId: string | undefined;
|
|
556
|
+
|
|
557
|
+
resourceType: string | undefined;
|
|
558
|
+
|
|
559
|
+
serviceCode: string | undefined;
|
|
560
|
+
|
|
561
|
+
quotaCode: string | undefined;
|
|
562
|
+
|
|
563
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
564
|
+
}
|
|
565
|
+
export interface DeleteWorkspaceRequest {
|
|
566
|
+
|
|
567
|
+
workspaceId: string | undefined;
|
|
568
|
+
}
|
|
569
|
+
export declare namespace DeleteWorkspaceRequest {
|
|
570
|
+
|
|
571
|
+
const filterSensitiveLog: (obj: DeleteWorkspaceRequest) => any;
|
|
572
|
+
}
|
|
573
|
+
export interface DeleteWorkspaceResponse {
|
|
574
|
+
|
|
575
|
+
workspace: WorkspaceDescription | undefined;
|
|
576
|
+
}
|
|
577
|
+
export declare namespace DeleteWorkspaceResponse {
|
|
578
|
+
|
|
579
|
+
const filterSensitiveLog: (obj: DeleteWorkspaceResponse) => any;
|
|
580
|
+
}
|
|
581
|
+
export interface DescribeWorkspaceRequest {
|
|
582
|
+
|
|
583
|
+
workspaceId: string | undefined;
|
|
584
|
+
}
|
|
585
|
+
export declare namespace DescribeWorkspaceRequest {
|
|
586
|
+
|
|
587
|
+
const filterSensitiveLog: (obj: DescribeWorkspaceRequest) => any;
|
|
588
|
+
}
|
|
589
|
+
export interface DescribeWorkspaceResponse {
|
|
590
|
+
|
|
591
|
+
workspace: WorkspaceDescription | undefined;
|
|
592
|
+
}
|
|
593
|
+
export declare namespace DescribeWorkspaceResponse {
|
|
594
|
+
|
|
595
|
+
const filterSensitiveLog: (obj: DescribeWorkspaceResponse) => any;
|
|
596
|
+
}
|
|
597
|
+
export interface ListWorkspacesRequest {
|
|
598
|
+
|
|
599
|
+
maxResults?: number;
|
|
600
|
+
|
|
601
|
+
nextToken?: string;
|
|
602
|
+
}
|
|
603
|
+
export declare namespace ListWorkspacesRequest {
|
|
604
|
+
|
|
605
|
+
const filterSensitiveLog: (obj: ListWorkspacesRequest) => any;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export interface WorkspaceSummary {
|
|
609
|
+
|
|
610
|
+
created: Date | undefined;
|
|
611
|
+
|
|
612
|
+
description?: string;
|
|
613
|
+
|
|
614
|
+
endpoint: string | undefined;
|
|
615
|
+
|
|
616
|
+
grafanaVersion: string | undefined;
|
|
617
|
+
|
|
618
|
+
id: string | undefined;
|
|
619
|
+
|
|
620
|
+
modified: Date | undefined;
|
|
621
|
+
|
|
622
|
+
name?: string;
|
|
623
|
+
|
|
624
|
+
notificationDestinations?: (NotificationDestinationType | string)[];
|
|
625
|
+
|
|
626
|
+
status: WorkspaceStatus | string | undefined;
|
|
627
|
+
|
|
628
|
+
authentication: AuthenticationSummary | undefined;
|
|
629
|
+
}
|
|
630
|
+
export declare namespace WorkspaceSummary {
|
|
631
|
+
|
|
632
|
+
const filterSensitiveLog: (obj: WorkspaceSummary) => any;
|
|
633
|
+
}
|
|
634
|
+
export interface ListWorkspacesResponse {
|
|
635
|
+
|
|
636
|
+
workspaces: WorkspaceSummary[] | undefined;
|
|
637
|
+
|
|
638
|
+
nextToken?: string;
|
|
639
|
+
}
|
|
640
|
+
export declare namespace ListWorkspacesResponse {
|
|
641
|
+
|
|
642
|
+
const filterSensitiveLog: (obj: ListWorkspacesResponse) => any;
|
|
643
|
+
}
|
|
644
|
+
export interface UpdateWorkspaceRequest {
|
|
645
|
+
|
|
646
|
+
accountAccessType?: AccountAccessType | string;
|
|
647
|
+
|
|
648
|
+
organizationRoleName?: string;
|
|
649
|
+
|
|
650
|
+
permissionType?: PermissionType | string;
|
|
651
|
+
|
|
652
|
+
stackSetName?: string;
|
|
653
|
+
|
|
654
|
+
workspaceDataSources?: (DataSourceType | string)[];
|
|
655
|
+
|
|
656
|
+
workspaceDescription?: string;
|
|
657
|
+
|
|
658
|
+
workspaceId: string | undefined;
|
|
659
|
+
|
|
660
|
+
workspaceName?: string;
|
|
661
|
+
|
|
662
|
+
workspaceNotificationDestinations?: (NotificationDestinationType | string)[];
|
|
663
|
+
|
|
664
|
+
workspaceOrganizationalUnits?: string[];
|
|
665
|
+
|
|
666
|
+
workspaceRoleArn?: string;
|
|
667
|
+
}
|
|
668
|
+
export declare namespace UpdateWorkspaceRequest {
|
|
669
|
+
|
|
670
|
+
const filterSensitiveLog: (obj: UpdateWorkspaceRequest) => any;
|
|
671
|
+
}
|
|
672
|
+
export interface UpdateWorkspaceResponse {
|
|
673
|
+
|
|
674
|
+
workspace: WorkspaceDescription | undefined;
|
|
675
|
+
}
|
|
676
|
+
export declare namespace UpdateWorkspaceResponse {
|
|
677
|
+
|
|
678
|
+
const filterSensitiveLog: (obj: UpdateWorkspaceResponse) => any;
|
|
679
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { Grafana } from "../Grafana";
|
|
3
|
+
import { GrafanaClient } from "../GrafanaClient";
|
|
4
|
+
export interface GrafanaPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
+
client: Grafana | GrafanaClient;
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
|
|
3
|
+
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListPermissions(config: GrafanaPaginationConfiguration, input: ListPermissionsCommandInput, ...additionalArguments: any): Paginator<ListPermissionsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
3
|
+
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListWorkspaces(config: GrafanaPaginationConfiguration, input: ListWorkspacesCommandInput, ...additionalArguments: any): Paginator<ListWorkspacesCommandOutput>;
|