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