@aws-sdk/client-grafana 3.379.1 → 3.385.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-types/models/models_0.d.ts +184 -0
- package/package.json +5 -5
|
@@ -38,10 +38,12 @@ export declare class ConflictException extends __BaseException {
|
|
|
38
38
|
readonly name: "ConflictException";
|
|
39
39
|
readonly $fault: "client";
|
|
40
40
|
/**
|
|
41
|
+
* @public
|
|
41
42
|
* <p>The ID of the resource that is associated with the error.</p>
|
|
42
43
|
*/
|
|
43
44
|
resourceId: string | undefined;
|
|
44
45
|
/**
|
|
46
|
+
* @public
|
|
45
47
|
* <p>The type of the resource that is associated with the error.</p>
|
|
46
48
|
*/
|
|
47
49
|
resourceType: string | undefined;
|
|
@@ -55,21 +57,25 @@ export declare class ConflictException extends __BaseException {
|
|
|
55
57
|
*/
|
|
56
58
|
export interface CreateWorkspaceApiKeyRequest {
|
|
57
59
|
/**
|
|
60
|
+
* @public
|
|
58
61
|
* <p>Specifies the name of the key. Keynames must be unique to the workspace.</p>
|
|
59
62
|
*/
|
|
60
63
|
keyName: string | undefined;
|
|
61
64
|
/**
|
|
65
|
+
* @public
|
|
62
66
|
* <p>Specifies the permission level of the key.</p>
|
|
63
67
|
* <p> Valid values: <code>VIEWER</code>|<code>EDITOR</code>|<code>ADMIN</code>
|
|
64
68
|
* </p>
|
|
65
69
|
*/
|
|
66
70
|
keyRole: string | undefined;
|
|
67
71
|
/**
|
|
72
|
+
* @public
|
|
68
73
|
* <p>Specifies the time in seconds until the key expires. Keys can be valid for up to 30
|
|
69
74
|
* days.</p>
|
|
70
75
|
*/
|
|
71
76
|
secondsToLive: number | undefined;
|
|
72
77
|
/**
|
|
78
|
+
* @public
|
|
73
79
|
* <p>The ID of the workspace to create an API key.</p>
|
|
74
80
|
*/
|
|
75
81
|
workspaceId: string | undefined;
|
|
@@ -79,15 +85,18 @@ export interface CreateWorkspaceApiKeyRequest {
|
|
|
79
85
|
*/
|
|
80
86
|
export interface CreateWorkspaceApiKeyResponse {
|
|
81
87
|
/**
|
|
88
|
+
* @public
|
|
82
89
|
* <p>The name of the key that was created.</p>
|
|
83
90
|
*/
|
|
84
91
|
keyName: string | undefined;
|
|
85
92
|
/**
|
|
93
|
+
* @public
|
|
86
94
|
* <p>The key token. Use this value as a bearer token to authenticate HTTP requests to the
|
|
87
95
|
* workspace.</p>
|
|
88
96
|
*/
|
|
89
97
|
key: string | undefined;
|
|
90
98
|
/**
|
|
99
|
+
* @public
|
|
91
100
|
* <p>The ID of the workspace that the key is valid for.</p>
|
|
92
101
|
*/
|
|
93
102
|
workspaceId: string | undefined;
|
|
@@ -101,6 +110,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
101
110
|
readonly $fault: "server";
|
|
102
111
|
$retryable: {};
|
|
103
112
|
/**
|
|
113
|
+
* @public
|
|
104
114
|
* <p>How long to wait before you retry this operation.</p>
|
|
105
115
|
*/
|
|
106
116
|
retryAfterSeconds?: number;
|
|
@@ -117,10 +127,12 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
117
127
|
readonly name: "ResourceNotFoundException";
|
|
118
128
|
readonly $fault: "client";
|
|
119
129
|
/**
|
|
130
|
+
* @public
|
|
120
131
|
* <p>The ID of the resource that is associated with the error.</p>
|
|
121
132
|
*/
|
|
122
133
|
resourceId: string | undefined;
|
|
123
134
|
/**
|
|
135
|
+
* @public
|
|
124
136
|
* <p>The type of the resource that is associated with the error.</p>
|
|
125
137
|
*/
|
|
126
138
|
resourceType: string | undefined;
|
|
@@ -137,18 +149,22 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
137
149
|
readonly name: "ServiceQuotaExceededException";
|
|
138
150
|
readonly $fault: "client";
|
|
139
151
|
/**
|
|
152
|
+
* @public
|
|
140
153
|
* <p>The ID of the resource that is associated with the error.</p>
|
|
141
154
|
*/
|
|
142
155
|
resourceId: string | undefined;
|
|
143
156
|
/**
|
|
157
|
+
* @public
|
|
144
158
|
* <p>The type of the resource that is associated with the error.</p>
|
|
145
159
|
*/
|
|
146
160
|
resourceType: string | undefined;
|
|
147
161
|
/**
|
|
162
|
+
* @public
|
|
148
163
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
149
164
|
*/
|
|
150
165
|
serviceCode: string | undefined;
|
|
151
166
|
/**
|
|
167
|
+
* @public
|
|
152
168
|
* <p>The ID of the service quota that was exceeded.</p>
|
|
153
169
|
*/
|
|
154
170
|
quotaCode: string | undefined;
|
|
@@ -166,14 +182,17 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
166
182
|
readonly $fault: "client";
|
|
167
183
|
$retryable: {};
|
|
168
184
|
/**
|
|
185
|
+
* @public
|
|
169
186
|
* <p>The ID of the service that is associated with the error.</p>
|
|
170
187
|
*/
|
|
171
188
|
serviceCode?: string;
|
|
172
189
|
/**
|
|
190
|
+
* @public
|
|
173
191
|
* <p>The ID of the service quota that was exceeded.</p>
|
|
174
192
|
*/
|
|
175
193
|
quotaCode?: string;
|
|
176
194
|
/**
|
|
195
|
+
* @public
|
|
177
196
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
178
197
|
*/
|
|
179
198
|
retryAfterSeconds?: number;
|
|
@@ -189,10 +208,12 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
189
208
|
*/
|
|
190
209
|
export interface ValidationExceptionField {
|
|
191
210
|
/**
|
|
211
|
+
* @public
|
|
192
212
|
* <p>The name of the field that caused the validation error.</p>
|
|
193
213
|
*/
|
|
194
214
|
name: string | undefined;
|
|
195
215
|
/**
|
|
216
|
+
* @public
|
|
196
217
|
* <p>A message describing why this field couldn't be validated.</p>
|
|
197
218
|
*/
|
|
198
219
|
message: string | undefined;
|
|
@@ -219,10 +240,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
219
240
|
readonly name: "ValidationException";
|
|
220
241
|
readonly $fault: "client";
|
|
221
242
|
/**
|
|
243
|
+
* @public
|
|
222
244
|
* <p>The reason that the operation failed.</p>
|
|
223
245
|
*/
|
|
224
246
|
reason: ValidationExceptionReason | string | undefined;
|
|
225
247
|
/**
|
|
248
|
+
* @public
|
|
226
249
|
* <p>A list of fields that might be associated with the error.</p>
|
|
227
250
|
*/
|
|
228
251
|
fieldList?: ValidationExceptionField[];
|
|
@@ -236,10 +259,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
236
259
|
*/
|
|
237
260
|
export interface DeleteWorkspaceApiKeyRequest {
|
|
238
261
|
/**
|
|
262
|
+
* @public
|
|
239
263
|
* <p>The name of the API key to delete.</p>
|
|
240
264
|
*/
|
|
241
265
|
keyName: string | undefined;
|
|
242
266
|
/**
|
|
267
|
+
* @public
|
|
243
268
|
* <p>The ID of the workspace to delete.</p>
|
|
244
269
|
*/
|
|
245
270
|
workspaceId: string | undefined;
|
|
@@ -249,10 +274,12 @@ export interface DeleteWorkspaceApiKeyRequest {
|
|
|
249
274
|
*/
|
|
250
275
|
export interface DeleteWorkspaceApiKeyResponse {
|
|
251
276
|
/**
|
|
277
|
+
* @public
|
|
252
278
|
* <p>The name of the key that was deleted.</p>
|
|
253
279
|
*/
|
|
254
280
|
keyName: string | undefined;
|
|
255
281
|
/**
|
|
282
|
+
* @public
|
|
256
283
|
* <p>The ID of the workspace where the key was deleted.</p>
|
|
257
284
|
*/
|
|
258
285
|
workspaceId: string | undefined;
|
|
@@ -264,30 +291,36 @@ export interface DeleteWorkspaceApiKeyResponse {
|
|
|
264
291
|
*/
|
|
265
292
|
export interface AssertionAttributes {
|
|
266
293
|
/**
|
|
294
|
+
* @public
|
|
267
295
|
* <p>The name of the attribute within the SAML assertion to use as the user full "friendly"
|
|
268
296
|
* names for SAML users.</p>
|
|
269
297
|
*/
|
|
270
298
|
name?: string;
|
|
271
299
|
/**
|
|
300
|
+
* @public
|
|
272
301
|
* <p>The name of the attribute within the SAML assertion to use as the login names for SAML
|
|
273
302
|
* users.</p>
|
|
274
303
|
*/
|
|
275
304
|
login?: string;
|
|
276
305
|
/**
|
|
306
|
+
* @public
|
|
277
307
|
* <p>The name of the attribute within the SAML assertion to use as the email names for SAML
|
|
278
308
|
* users.</p>
|
|
279
309
|
*/
|
|
280
310
|
email?: string;
|
|
281
311
|
/**
|
|
312
|
+
* @public
|
|
282
313
|
* <p>The name of the attribute within the SAML assertion to use as the user full "friendly"
|
|
283
314
|
* names for user groups.</p>
|
|
284
315
|
*/
|
|
285
316
|
groups?: string;
|
|
286
317
|
/**
|
|
318
|
+
* @public
|
|
287
319
|
* <p>The name of the attribute within the SAML assertion to use as the user roles.</p>
|
|
288
320
|
*/
|
|
289
321
|
role?: string;
|
|
290
322
|
/**
|
|
323
|
+
* @public
|
|
291
324
|
* <p>The name of the attribute within the SAML assertion to use as the user full "friendly"
|
|
292
325
|
* names for the users' organizations.</p>
|
|
293
326
|
*/
|
|
@@ -316,10 +349,12 @@ export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType];
|
|
|
316
349
|
*/
|
|
317
350
|
export interface AssociateLicenseRequest {
|
|
318
351
|
/**
|
|
352
|
+
* @public
|
|
319
353
|
* <p>The ID of the workspace to associate the license with.</p>
|
|
320
354
|
*/
|
|
321
355
|
workspaceId: string | undefined;
|
|
322
356
|
/**
|
|
357
|
+
* @public
|
|
323
358
|
* <p>The type of license to associate with the workspace.</p>
|
|
324
359
|
*/
|
|
325
360
|
licenseType: LicenseType | string | undefined;
|
|
@@ -368,11 +403,13 @@ export type SamlConfigurationStatus = (typeof SamlConfigurationStatus)[keyof typ
|
|
|
368
403
|
*/
|
|
369
404
|
export interface AuthenticationSummary {
|
|
370
405
|
/**
|
|
406
|
+
* @public
|
|
371
407
|
* <p>Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for
|
|
372
408
|
* user authentication.</p>
|
|
373
409
|
*/
|
|
374
410
|
providers: (AuthenticationProviderTypes | string)[] | undefined;
|
|
375
411
|
/**
|
|
412
|
+
* @public
|
|
376
413
|
* <p>Specifies whether the workplace's user authentication method is fully
|
|
377
414
|
* configured.</p>
|
|
378
415
|
*/
|
|
@@ -445,6 +482,7 @@ export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType
|
|
|
445
482
|
*/
|
|
446
483
|
export interface NetworkAccessConfiguration {
|
|
447
484
|
/**
|
|
485
|
+
* @public
|
|
448
486
|
* <p>An array of prefix list IDs. A prefix list is a list of CIDR ranges of IP addresses.
|
|
449
487
|
* The IP addresses specified are allowed to access your workspace. If the list is not
|
|
450
488
|
* included in the configuration (passed an empty array) then no IP addresses are
|
|
@@ -458,6 +496,7 @@ export interface NetworkAccessConfiguration {
|
|
|
458
496
|
*/
|
|
459
497
|
prefixListIds: string[] | undefined;
|
|
460
498
|
/**
|
|
499
|
+
* @public
|
|
461
500
|
* <p>An array of Amazon VPC endpoint IDs for the workspace. You can create VPC
|
|
462
501
|
* endpoints to your Amazon Managed Grafana workspace for access from within a VPC. If a
|
|
463
502
|
* <code>NetworkAccessConfiguration</code> is specified then only VPC endpoints
|
|
@@ -584,11 +623,13 @@ export type WorkspaceStatus = (typeof WorkspaceStatus)[keyof typeof WorkspaceSta
|
|
|
584
623
|
*/
|
|
585
624
|
export interface VpcConfiguration {
|
|
586
625
|
/**
|
|
626
|
+
* @public
|
|
587
627
|
* <p>The list of Amazon EC2 security group IDs attached to the Amazon VPC
|
|
588
628
|
* for your Grafana workspace to connect. Duplicates not allowed.</p>
|
|
589
629
|
*/
|
|
590
630
|
securityGroupIds: string[] | undefined;
|
|
591
631
|
/**
|
|
632
|
+
* @public
|
|
592
633
|
* <p>The list of Amazon EC2 subnet IDs created in the Amazon VPC for your
|
|
593
634
|
* Grafana workspace to connect. Duplicates not allowed.</p>
|
|
594
635
|
*/
|
|
@@ -601,6 +642,7 @@ export interface VpcConfiguration {
|
|
|
601
642
|
*/
|
|
602
643
|
export interface WorkspaceDescription {
|
|
603
644
|
/**
|
|
645
|
+
* @public
|
|
604
646
|
* <p>Specifies whether the workspace can access Amazon Web Services resources in this
|
|
605
647
|
* Amazon Web Services account only, or whether it can also access Amazon Web Services
|
|
606
648
|
* resources in other accounts in the same organization. If this is
|
|
@@ -609,10 +651,12 @@ export interface WorkspaceDescription {
|
|
|
609
651
|
*/
|
|
610
652
|
accountAccessType?: AccountAccessType | string;
|
|
611
653
|
/**
|
|
654
|
+
* @public
|
|
612
655
|
* <p>The date that the workspace was created.</p>
|
|
613
656
|
*/
|
|
614
657
|
created: Date | undefined;
|
|
615
658
|
/**
|
|
659
|
+
* @public
|
|
616
660
|
* <p>Specifies the Amazon Web Services data sources that have been configured to have
|
|
617
661
|
* IAM roles and permissions created to allow Amazon Managed Grafana to read
|
|
618
662
|
* data from these sources.</p>
|
|
@@ -621,46 +665,56 @@ export interface WorkspaceDescription {
|
|
|
621
665
|
*/
|
|
622
666
|
dataSources: (DataSourceType | string)[] | undefined;
|
|
623
667
|
/**
|
|
668
|
+
* @public
|
|
624
669
|
* <p>The user-defined description of the workspace.</p>
|
|
625
670
|
*/
|
|
626
671
|
description?: string;
|
|
627
672
|
/**
|
|
673
|
+
* @public
|
|
628
674
|
* <p>The URL that users can use to access the Grafana console in the workspace.</p>
|
|
629
675
|
*/
|
|
630
676
|
endpoint: string | undefined;
|
|
631
677
|
/**
|
|
678
|
+
* @public
|
|
632
679
|
* <p>The version of Grafana supported in this workspace.</p>
|
|
633
680
|
*/
|
|
634
681
|
grafanaVersion: string | undefined;
|
|
635
682
|
/**
|
|
683
|
+
* @public
|
|
636
684
|
* <p>The unique ID of this workspace.</p>
|
|
637
685
|
*/
|
|
638
686
|
id: string | undefined;
|
|
639
687
|
/**
|
|
688
|
+
* @public
|
|
640
689
|
* <p>The most recent date that the workspace was modified.</p>
|
|
641
690
|
*/
|
|
642
691
|
modified: Date | undefined;
|
|
643
692
|
/**
|
|
693
|
+
* @public
|
|
644
694
|
* <p>The name of the workspace.</p>
|
|
645
695
|
*/
|
|
646
696
|
name?: string;
|
|
647
697
|
/**
|
|
698
|
+
* @public
|
|
648
699
|
* <p>The name of the IAM role that is used to access resources through
|
|
649
700
|
* Organizations.</p>
|
|
650
701
|
*/
|
|
651
702
|
organizationRoleName?: string;
|
|
652
703
|
/**
|
|
704
|
+
* @public
|
|
653
705
|
* <p>The Amazon Web Services notification channels that Amazon Managed Grafana can automatically
|
|
654
706
|
* create IAM roles and permissions for, to allow Amazon Managed Grafana to use
|
|
655
707
|
* these channels.</p>
|
|
656
708
|
*/
|
|
657
709
|
notificationDestinations?: (NotificationDestinationType | string)[];
|
|
658
710
|
/**
|
|
711
|
+
* @public
|
|
659
712
|
* <p>Specifies the organizational units that this workspace is allowed to use data sources
|
|
660
713
|
* from, if this workspace is in an account that is part of an organization.</p>
|
|
661
714
|
*/
|
|
662
715
|
organizationalUnits?: string[];
|
|
663
716
|
/**
|
|
717
|
+
* @public
|
|
664
718
|
* <p>If this is <code>SERVICE_MANAGED</code>, and the workplace was created through the
|
|
665
719
|
* Amazon Managed Grafana console, then Amazon Managed Grafana automatically creates the
|
|
666
720
|
* IAM roles and provisions the permissions that the workspace needs to
|
|
@@ -681,52 +735,63 @@ export interface WorkspaceDescription {
|
|
|
681
735
|
*/
|
|
682
736
|
permissionType?: PermissionType | string;
|
|
683
737
|
/**
|
|
738
|
+
* @public
|
|
684
739
|
* <p>The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.</p>
|
|
685
740
|
*/
|
|
686
741
|
stackSetName?: string;
|
|
687
742
|
/**
|
|
743
|
+
* @public
|
|
688
744
|
* <p>The current status of the workspace.</p>
|
|
689
745
|
*/
|
|
690
746
|
status: WorkspaceStatus | string | undefined;
|
|
691
747
|
/**
|
|
748
|
+
* @public
|
|
692
749
|
* <p>The IAM role that grants permissions to the Amazon Web Services
|
|
693
750
|
* resources that the workspace will view data from. This role must already exist.</p>
|
|
694
751
|
*/
|
|
695
752
|
workspaceRoleArn?: string;
|
|
696
753
|
/**
|
|
754
|
+
* @public
|
|
697
755
|
* <p>Specifies whether this workspace has a full Grafana Enterprise license or a free trial
|
|
698
756
|
* license.</p>
|
|
699
757
|
*/
|
|
700
758
|
licenseType?: LicenseType | string;
|
|
701
759
|
/**
|
|
760
|
+
* @public
|
|
702
761
|
* <p>Specifies whether this workspace has already fully used its free trial for Grafana
|
|
703
762
|
* Enterprise.</p>
|
|
704
763
|
*/
|
|
705
764
|
freeTrialConsumed?: boolean;
|
|
706
765
|
/**
|
|
766
|
+
* @public
|
|
707
767
|
* <p>If this workspace has a full Grafana Enterprise license, this specifies when the
|
|
708
768
|
* license ends and will need to be renewed.</p>
|
|
709
769
|
*/
|
|
710
770
|
licenseExpiration?: Date;
|
|
711
771
|
/**
|
|
772
|
+
* @public
|
|
712
773
|
* <p>If this workspace is currently in the free trial period for Grafana Enterprise, this
|
|
713
774
|
* value specifies when that free trial ends.</p>
|
|
714
775
|
*/
|
|
715
776
|
freeTrialExpiration?: Date;
|
|
716
777
|
/**
|
|
778
|
+
* @public
|
|
717
779
|
* <p>A structure that describes whether the workspace uses SAML, IAM Identity Center, or
|
|
718
780
|
* both methods for user authentication.</p>
|
|
719
781
|
*/
|
|
720
782
|
authentication: AuthenticationSummary | undefined;
|
|
721
783
|
/**
|
|
784
|
+
* @public
|
|
722
785
|
* <p>The list of tags associated with the workspace.</p>
|
|
723
786
|
*/
|
|
724
787
|
tags?: Record<string, string>;
|
|
725
788
|
/**
|
|
789
|
+
* @public
|
|
726
790
|
* <p>The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).</p>
|
|
727
791
|
*/
|
|
728
792
|
vpcConfiguration?: VpcConfiguration;
|
|
729
793
|
/**
|
|
794
|
+
* @public
|
|
730
795
|
* <p>The configuration settings for network access to your workspace.</p>
|
|
731
796
|
*/
|
|
732
797
|
networkAccessControl?: NetworkAccessConfiguration;
|
|
@@ -736,6 +801,7 @@ export interface WorkspaceDescription {
|
|
|
736
801
|
*/
|
|
737
802
|
export interface AssociateLicenseResponse {
|
|
738
803
|
/**
|
|
804
|
+
* @public
|
|
739
805
|
* <p>A structure containing data about the workspace.</p>
|
|
740
806
|
*/
|
|
741
807
|
workspace: WorkspaceDescription | undefined;
|
|
@@ -745,6 +811,7 @@ export interface AssociateLicenseResponse {
|
|
|
745
811
|
*/
|
|
746
812
|
export interface DescribeWorkspaceAuthenticationRequest {
|
|
747
813
|
/**
|
|
814
|
+
* @public
|
|
748
815
|
* <p>The ID of the workspace to return authentication information about.</p>
|
|
749
816
|
*/
|
|
750
817
|
workspaceId: string | undefined;
|
|
@@ -755,6 +822,7 @@ export interface DescribeWorkspaceAuthenticationRequest {
|
|
|
755
822
|
*/
|
|
756
823
|
export interface AwsSsoAuthentication {
|
|
757
824
|
/**
|
|
825
|
+
* @public
|
|
758
826
|
* <p>The ID of the IAM Identity Center-managed application that is created by Amazon Managed Grafana.</p>
|
|
759
827
|
*/
|
|
760
828
|
ssoClientId?: string;
|
|
@@ -773,6 +841,7 @@ export type IdpMetadata = IdpMetadata.UrlMember | IdpMetadata.XmlMember | IdpMet
|
|
|
773
841
|
*/
|
|
774
842
|
export declare namespace IdpMetadata {
|
|
775
843
|
/**
|
|
844
|
+
* @public
|
|
776
845
|
* <p>The URL of the location containing the IdP metadata.</p>
|
|
777
846
|
*/
|
|
778
847
|
interface UrlMember {
|
|
@@ -781,6 +850,7 @@ export declare namespace IdpMetadata {
|
|
|
781
850
|
$unknown?: never;
|
|
782
851
|
}
|
|
783
852
|
/**
|
|
853
|
+
* @public
|
|
784
854
|
* <p>The full IdP metadata, in XML format.</p>
|
|
785
855
|
*/
|
|
786
856
|
interface XmlMember {
|
|
@@ -788,6 +858,9 @@ export declare namespace IdpMetadata {
|
|
|
788
858
|
xml: string;
|
|
789
859
|
$unknown?: never;
|
|
790
860
|
}
|
|
861
|
+
/**
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
791
864
|
interface $UnknownMember {
|
|
792
865
|
url?: never;
|
|
793
866
|
xml?: never;
|
|
@@ -809,11 +882,13 @@ export declare namespace IdpMetadata {
|
|
|
809
882
|
*/
|
|
810
883
|
export interface RoleValues {
|
|
811
884
|
/**
|
|
885
|
+
* @public
|
|
812
886
|
* <p>A list of groups from the SAML assertion attribute to grant the Grafana
|
|
813
887
|
* <code>Editor</code> role to.</p>
|
|
814
888
|
*/
|
|
815
889
|
editor?: string[];
|
|
816
890
|
/**
|
|
891
|
+
* @public
|
|
817
892
|
* <p>A list of groups from the SAML assertion attribute to grant the Grafana
|
|
818
893
|
* <code>Admin</code> role to.</p>
|
|
819
894
|
*/
|
|
@@ -825,27 +900,32 @@ export interface RoleValues {
|
|
|
825
900
|
*/
|
|
826
901
|
export interface SamlConfiguration {
|
|
827
902
|
/**
|
|
903
|
+
* @public
|
|
828
904
|
* <p>A structure containing the identity provider (IdP) metadata used to integrate the
|
|
829
905
|
* identity provider with this workspace.</p>
|
|
830
906
|
*/
|
|
831
907
|
idpMetadata: IdpMetadata | undefined;
|
|
832
908
|
/**
|
|
909
|
+
* @public
|
|
833
910
|
* <p>A structure that defines which attributes in the SAML assertion are to be used to
|
|
834
911
|
* define information about the users authenticated by that IdP to use the
|
|
835
912
|
* workspace.</p>
|
|
836
913
|
*/
|
|
837
914
|
assertionAttributes?: AssertionAttributes;
|
|
838
915
|
/**
|
|
916
|
+
* @public
|
|
839
917
|
* <p>A structure containing arrays that map group names in the SAML assertion to the
|
|
840
918
|
* Grafana <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>
|
|
841
919
|
*/
|
|
842
920
|
roleValues?: RoleValues;
|
|
843
921
|
/**
|
|
922
|
+
* @public
|
|
844
923
|
* <p>Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute
|
|
845
924
|
* have access.</p>
|
|
846
925
|
*/
|
|
847
926
|
allowedOrganizations?: string[];
|
|
848
927
|
/**
|
|
928
|
+
* @public
|
|
849
929
|
* <p>How long a sign-on session by a SAML user is valid, before the user has to sign on
|
|
850
930
|
* again.</p>
|
|
851
931
|
*/
|
|
@@ -857,10 +937,12 @@ export interface SamlConfiguration {
|
|
|
857
937
|
*/
|
|
858
938
|
export interface SamlAuthentication {
|
|
859
939
|
/**
|
|
940
|
+
* @public
|
|
860
941
|
* <p>Specifies whether the workspace's SAML configuration is complete.</p>
|
|
861
942
|
*/
|
|
862
943
|
status: SamlConfigurationStatus | string | undefined;
|
|
863
944
|
/**
|
|
945
|
+
* @public
|
|
864
946
|
* <p>A structure containing details about how this workspace works with SAML. </p>
|
|
865
947
|
*/
|
|
866
948
|
configuration?: SamlConfiguration;
|
|
@@ -872,18 +954,21 @@ export interface SamlAuthentication {
|
|
|
872
954
|
*/
|
|
873
955
|
export interface AuthenticationDescription {
|
|
874
956
|
/**
|
|
957
|
+
* @public
|
|
875
958
|
* <p>Specifies whether this workspace uses IAM Identity Center, SAML, or both methods to
|
|
876
959
|
* authenticate users to use the Grafana console in the Amazon Managed Grafana
|
|
877
960
|
* workspace.</p>
|
|
878
961
|
*/
|
|
879
962
|
providers: (AuthenticationProviderTypes | string)[] | undefined;
|
|
880
963
|
/**
|
|
964
|
+
* @public
|
|
881
965
|
* <p>A structure containing information about how this workspace works with SAML, including
|
|
882
966
|
* what attributes within the assertion are to be mapped to user information in the
|
|
883
967
|
* workspace. </p>
|
|
884
968
|
*/
|
|
885
969
|
saml?: SamlAuthentication;
|
|
886
970
|
/**
|
|
971
|
+
* @public
|
|
887
972
|
* <p>A structure containing information about how this workspace works with IAM Identity Center. </p>
|
|
888
973
|
*/
|
|
889
974
|
awsSso?: AwsSsoAuthentication;
|
|
@@ -893,6 +978,7 @@ export interface AuthenticationDescription {
|
|
|
893
978
|
*/
|
|
894
979
|
export interface DescribeWorkspaceAuthenticationResponse {
|
|
895
980
|
/**
|
|
981
|
+
* @public
|
|
896
982
|
* <p>A structure containing information about the authentication methods used in the
|
|
897
983
|
* workspace.</p>
|
|
898
984
|
*/
|
|
@@ -903,10 +989,12 @@ export interface DescribeWorkspaceAuthenticationResponse {
|
|
|
903
989
|
*/
|
|
904
990
|
export interface UpdateWorkspaceAuthenticationRequest {
|
|
905
991
|
/**
|
|
992
|
+
* @public
|
|
906
993
|
* <p>The ID of the workspace to update the authentication for.</p>
|
|
907
994
|
*/
|
|
908
995
|
workspaceId: string | undefined;
|
|
909
996
|
/**
|
|
997
|
+
* @public
|
|
910
998
|
* <p>Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to
|
|
911
999
|
* authenticate users for using the Grafana console within a workspace. For more
|
|
912
1000
|
* information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in
|
|
@@ -914,6 +1002,7 @@ export interface UpdateWorkspaceAuthenticationRequest {
|
|
|
914
1002
|
*/
|
|
915
1003
|
authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
|
|
916
1004
|
/**
|
|
1005
|
+
* @public
|
|
917
1006
|
* <p>If the workspace uses SAML, use this structure to map SAML assertion attributes to
|
|
918
1007
|
* workspace user information and define which groups in the assertion attribute are to
|
|
919
1008
|
* have the <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>
|
|
@@ -925,6 +1014,7 @@ export interface UpdateWorkspaceAuthenticationRequest {
|
|
|
925
1014
|
*/
|
|
926
1015
|
export interface UpdateWorkspaceAuthenticationResponse {
|
|
927
1016
|
/**
|
|
1017
|
+
* @public
|
|
928
1018
|
* <p>A structure that describes the user authentication for this workspace after the update
|
|
929
1019
|
* is made.</p>
|
|
930
1020
|
*/
|
|
@@ -935,6 +1025,7 @@ export interface UpdateWorkspaceAuthenticationResponse {
|
|
|
935
1025
|
*/
|
|
936
1026
|
export interface DescribeWorkspaceConfigurationRequest {
|
|
937
1027
|
/**
|
|
1028
|
+
* @public
|
|
938
1029
|
* <p>The ID of the workspace to get configuration information for.</p>
|
|
939
1030
|
*/
|
|
940
1031
|
workspaceId: string | undefined;
|
|
@@ -944,12 +1035,14 @@ export interface DescribeWorkspaceConfigurationRequest {
|
|
|
944
1035
|
*/
|
|
945
1036
|
export interface DescribeWorkspaceConfigurationResponse {
|
|
946
1037
|
/**
|
|
1038
|
+
* @public
|
|
947
1039
|
* <p>The configuration string for the workspace that you requested. For more information
|
|
948
1040
|
* about the format and configuration options available, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html">Working in your Grafana
|
|
949
1041
|
* workspace</a>.</p>
|
|
950
1042
|
*/
|
|
951
1043
|
configuration: __LazyJsonString | string | undefined;
|
|
952
1044
|
/**
|
|
1045
|
+
* @public
|
|
953
1046
|
* <p>The supported Grafana version for the workspace.</p>
|
|
954
1047
|
*/
|
|
955
1048
|
grafanaVersion?: string;
|
|
@@ -959,16 +1052,19 @@ export interface DescribeWorkspaceConfigurationResponse {
|
|
|
959
1052
|
*/
|
|
960
1053
|
export interface UpdateWorkspaceConfigurationRequest {
|
|
961
1054
|
/**
|
|
1055
|
+
* @public
|
|
962
1056
|
* <p>The new configuration string for the workspace. For more information about the format
|
|
963
1057
|
* and configuration options available, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html">Working in your Grafana
|
|
964
1058
|
* workspace</a>.</p>
|
|
965
1059
|
*/
|
|
966
1060
|
configuration: __LazyJsonString | string | undefined;
|
|
967
1061
|
/**
|
|
1062
|
+
* @public
|
|
968
1063
|
* <p>The ID of the workspace to update.</p>
|
|
969
1064
|
*/
|
|
970
1065
|
workspaceId: string | undefined;
|
|
971
1066
|
/**
|
|
1067
|
+
* @public
|
|
972
1068
|
* <p>Specifies the version of Grafana to support in the new workspace.</p>
|
|
973
1069
|
* <p>Can only be used to upgrade (for example, from 8.4 to 9.4), not
|
|
974
1070
|
* downgrade (for example, from 9.4 to 8.4).</p>
|
|
@@ -987,10 +1083,12 @@ export interface UpdateWorkspaceConfigurationResponse {
|
|
|
987
1083
|
*/
|
|
988
1084
|
export interface DisassociateLicenseRequest {
|
|
989
1085
|
/**
|
|
1086
|
+
* @public
|
|
990
1087
|
* <p>The ID of the workspace to remove the Grafana Enterprise license from.</p>
|
|
991
1088
|
*/
|
|
992
1089
|
workspaceId: string | undefined;
|
|
993
1090
|
/**
|
|
1091
|
+
* @public
|
|
994
1092
|
* <p>The type of license to remove from the workspace.</p>
|
|
995
1093
|
*/
|
|
996
1094
|
licenseType: LicenseType | string | undefined;
|
|
@@ -1000,6 +1098,7 @@ export interface DisassociateLicenseRequest {
|
|
|
1000
1098
|
*/
|
|
1001
1099
|
export interface DisassociateLicenseResponse {
|
|
1002
1100
|
/**
|
|
1101
|
+
* @public
|
|
1003
1102
|
* <p>A structure containing information about the workspace.</p>
|
|
1004
1103
|
*/
|
|
1005
1104
|
workspace: WorkspaceDescription | undefined;
|
|
@@ -1009,6 +1108,7 @@ export interface DisassociateLicenseResponse {
|
|
|
1009
1108
|
*/
|
|
1010
1109
|
export interface ListTagsForResourceRequest {
|
|
1011
1110
|
/**
|
|
1111
|
+
* @public
|
|
1012
1112
|
* <p>The ARN of the resource the list of tags are associated with.</p>
|
|
1013
1113
|
*/
|
|
1014
1114
|
resourceArn: string | undefined;
|
|
@@ -1018,6 +1118,7 @@ export interface ListTagsForResourceRequest {
|
|
|
1018
1118
|
*/
|
|
1019
1119
|
export interface ListTagsForResourceResponse {
|
|
1020
1120
|
/**
|
|
1121
|
+
* @public
|
|
1021
1122
|
* <p>The list of tags that are associated with the resource.</p>
|
|
1022
1123
|
*/
|
|
1023
1124
|
tags?: Record<string, string>;
|
|
@@ -1027,15 +1128,18 @@ export interface ListTagsForResourceResponse {
|
|
|
1027
1128
|
*/
|
|
1028
1129
|
export interface ListVersionsRequest {
|
|
1029
1130
|
/**
|
|
1131
|
+
* @public
|
|
1030
1132
|
* <p>The maximum number of results to include in the response.</p>
|
|
1031
1133
|
*/
|
|
1032
1134
|
maxResults?: number;
|
|
1033
1135
|
/**
|
|
1136
|
+
* @public
|
|
1034
1137
|
* <p>The token to use when requesting the next set of results. You receive this token from
|
|
1035
1138
|
* a previous <code>ListVersions</code> operation.</p>
|
|
1036
1139
|
*/
|
|
1037
1140
|
nextToken?: string;
|
|
1038
1141
|
/**
|
|
1142
|
+
* @public
|
|
1039
1143
|
* <p>The ID of the workspace to list the available upgrade versions. If not included,
|
|
1040
1144
|
* lists all versions of Grafana that are supported for
|
|
1041
1145
|
* <code>CreateWorkspace</code>.</p>
|
|
@@ -1047,11 +1151,13 @@ export interface ListVersionsRequest {
|
|
|
1047
1151
|
*/
|
|
1048
1152
|
export interface ListVersionsResponse {
|
|
1049
1153
|
/**
|
|
1154
|
+
* @public
|
|
1050
1155
|
* <p>The token to use in a subsequent <code>ListVersions</code> operation to return the
|
|
1051
1156
|
* next set of results.</p>
|
|
1052
1157
|
*/
|
|
1053
1158
|
nextToken?: string;
|
|
1054
1159
|
/**
|
|
1160
|
+
* @public
|
|
1055
1161
|
* <p>The Grafana versions available to create. If a workspace ID is included in the
|
|
1056
1162
|
* request, the Grafana versions to which this workspace can be upgraded.</p>
|
|
1057
1163
|
*/
|
|
@@ -1080,28 +1186,34 @@ export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
|
1080
1186
|
*/
|
|
1081
1187
|
export interface ListPermissionsRequest {
|
|
1082
1188
|
/**
|
|
1189
|
+
* @public
|
|
1083
1190
|
* <p>The maximum number of results to include in the response.</p>
|
|
1084
1191
|
*/
|
|
1085
1192
|
maxResults?: number;
|
|
1086
1193
|
/**
|
|
1194
|
+
* @public
|
|
1087
1195
|
* <p>The token to use when requesting the next set of results. You received this token from
|
|
1088
1196
|
* a previous <code>ListPermissions</code> operation.</p>
|
|
1089
1197
|
*/
|
|
1090
1198
|
nextToken?: string;
|
|
1091
1199
|
/**
|
|
1200
|
+
* @public
|
|
1092
1201
|
* <p>(Optional) If you specify <code>SSO_USER</code>, then only the permissions of IAM Identity Center users are returned. If you specify <code>SSO_GROUP</code>, only the
|
|
1093
1202
|
* permissions of IAM Identity Center groups are returned.</p>
|
|
1094
1203
|
*/
|
|
1095
1204
|
userType?: UserType | string;
|
|
1096
1205
|
/**
|
|
1206
|
+
* @public
|
|
1097
1207
|
* <p>(Optional) Limits the results to only the user that matches this ID.</p>
|
|
1098
1208
|
*/
|
|
1099
1209
|
userId?: string;
|
|
1100
1210
|
/**
|
|
1211
|
+
* @public
|
|
1101
1212
|
* <p>(Optional) Limits the results to only the group that matches this ID.</p>
|
|
1102
1213
|
*/
|
|
1103
1214
|
groupId?: string;
|
|
1104
1215
|
/**
|
|
1216
|
+
* @public
|
|
1105
1217
|
* <p>The ID of the workspace to list permissions for. This parameter is required.</p>
|
|
1106
1218
|
*/
|
|
1107
1219
|
workspaceId: string | undefined;
|
|
@@ -1134,6 +1246,7 @@ export type Role = (typeof Role)[keyof typeof Role];
|
|
|
1134
1246
|
*/
|
|
1135
1247
|
export interface User {
|
|
1136
1248
|
/**
|
|
1249
|
+
* @public
|
|
1137
1250
|
* <p>The ID of the user or group.</p>
|
|
1138
1251
|
* <p>Pattern:
|
|
1139
1252
|
* <code>^([0-9a-fA-F]\{10\}-|)[A-Fa-f0-9]\{8\}-[A-Fa-f0-9]\{4\}-[A-Fa-f0-9]\{4\}-[A-Fa-f0-9]\{4\}-[A-Fa-f0-9]\{12\}$</code>
|
|
@@ -1141,6 +1254,7 @@ export interface User {
|
|
|
1141
1254
|
*/
|
|
1142
1255
|
id: string | undefined;
|
|
1143
1256
|
/**
|
|
1257
|
+
* @public
|
|
1144
1258
|
* <p>Specifies whether this is a single user or a group.</p>
|
|
1145
1259
|
*/
|
|
1146
1260
|
type: UserType | string | undefined;
|
|
@@ -1152,10 +1266,12 @@ export interface User {
|
|
|
1152
1266
|
*/
|
|
1153
1267
|
export interface PermissionEntry {
|
|
1154
1268
|
/**
|
|
1269
|
+
* @public
|
|
1155
1270
|
* <p>A structure with the ID of the user or group with this role.</p>
|
|
1156
1271
|
*/
|
|
1157
1272
|
user: User | undefined;
|
|
1158
1273
|
/**
|
|
1274
|
+
* @public
|
|
1159
1275
|
* <p>Specifies whether the user or group has the <code>Admin</code>, <code>Editor</code>,
|
|
1160
1276
|
* or <code>Viewer</code> role.</p>
|
|
1161
1277
|
*/
|
|
@@ -1166,11 +1282,13 @@ export interface PermissionEntry {
|
|
|
1166
1282
|
*/
|
|
1167
1283
|
export interface ListPermissionsResponse {
|
|
1168
1284
|
/**
|
|
1285
|
+
* @public
|
|
1169
1286
|
* <p>The token to use in a subsequent <code>ListPermissions</code> operation to return the
|
|
1170
1287
|
* next set of results.</p>
|
|
1171
1288
|
*/
|
|
1172
1289
|
nextToken?: string;
|
|
1173
1290
|
/**
|
|
1291
|
+
* @public
|
|
1174
1292
|
* <p>The permissions returned by the operation.</p>
|
|
1175
1293
|
*/
|
|
1176
1294
|
permissions: PermissionEntry[] | undefined;
|
|
@@ -1199,15 +1317,18 @@ export type UpdateAction = (typeof UpdateAction)[keyof typeof UpdateAction];
|
|
|
1199
1317
|
*/
|
|
1200
1318
|
export interface UpdateInstruction {
|
|
1201
1319
|
/**
|
|
1320
|
+
* @public
|
|
1202
1321
|
* <p>Specifies whether this update is to add or revoke role permissions.</p>
|
|
1203
1322
|
*/
|
|
1204
1323
|
action: UpdateAction | string | undefined;
|
|
1205
1324
|
/**
|
|
1325
|
+
* @public
|
|
1206
1326
|
* <p>The role to add or revoke for the user or the group specified in
|
|
1207
1327
|
* <code>users</code>.</p>
|
|
1208
1328
|
*/
|
|
1209
1329
|
role: Role | string | undefined;
|
|
1210
1330
|
/**
|
|
1331
|
+
* @public
|
|
1211
1332
|
* <p>A structure that specifies the user or group to add or revoke the role for.</p>
|
|
1212
1333
|
*/
|
|
1213
1334
|
users: User[] | undefined;
|
|
@@ -1217,10 +1338,12 @@ export interface UpdateInstruction {
|
|
|
1217
1338
|
*/
|
|
1218
1339
|
export interface UpdatePermissionsRequest {
|
|
1219
1340
|
/**
|
|
1341
|
+
* @public
|
|
1220
1342
|
* <p>An array of structures that contain the permission updates to make.</p>
|
|
1221
1343
|
*/
|
|
1222
1344
|
updateInstructionBatch: UpdateInstruction[] | undefined;
|
|
1223
1345
|
/**
|
|
1346
|
+
* @public
|
|
1224
1347
|
* <p>The ID of the workspace to update.</p>
|
|
1225
1348
|
*/
|
|
1226
1349
|
workspaceId: string | undefined;
|
|
@@ -1232,14 +1355,17 @@ export interface UpdatePermissionsRequest {
|
|
|
1232
1355
|
*/
|
|
1233
1356
|
export interface UpdateError {
|
|
1234
1357
|
/**
|
|
1358
|
+
* @public
|
|
1235
1359
|
* <p>The error code.</p>
|
|
1236
1360
|
*/
|
|
1237
1361
|
code: number | undefined;
|
|
1238
1362
|
/**
|
|
1363
|
+
* @public
|
|
1239
1364
|
* <p>The message for this error.</p>
|
|
1240
1365
|
*/
|
|
1241
1366
|
message: string | undefined;
|
|
1242
1367
|
/**
|
|
1368
|
+
* @public
|
|
1243
1369
|
* <p>Specifies which permission update caused the error.</p>
|
|
1244
1370
|
*/
|
|
1245
1371
|
causedBy: UpdateInstruction | undefined;
|
|
@@ -1249,6 +1375,7 @@ export interface UpdateError {
|
|
|
1249
1375
|
*/
|
|
1250
1376
|
export interface UpdatePermissionsResponse {
|
|
1251
1377
|
/**
|
|
1378
|
+
* @public
|
|
1252
1379
|
* <p>An array of structures that contain the errors from the operation, if any.</p>
|
|
1253
1380
|
*/
|
|
1254
1381
|
errors: UpdateError[] | undefined;
|
|
@@ -1258,10 +1385,12 @@ export interface UpdatePermissionsResponse {
|
|
|
1258
1385
|
*/
|
|
1259
1386
|
export interface TagResourceRequest {
|
|
1260
1387
|
/**
|
|
1388
|
+
* @public
|
|
1261
1389
|
* <p>The ARN of the resource the tag is associated with.</p>
|
|
1262
1390
|
*/
|
|
1263
1391
|
resourceArn: string | undefined;
|
|
1264
1392
|
/**
|
|
1393
|
+
* @public
|
|
1265
1394
|
* <p>The list of tag keys and values to associate with the resource. You can associate tag
|
|
1266
1395
|
* keys only, tags (key and values) only or a combination of tag keys and tags.</p>
|
|
1267
1396
|
*/
|
|
@@ -1277,10 +1406,12 @@ export interface TagResourceResponse {
|
|
|
1277
1406
|
*/
|
|
1278
1407
|
export interface UntagResourceRequest {
|
|
1279
1408
|
/**
|
|
1409
|
+
* @public
|
|
1280
1410
|
* <p>The ARN of the resource the tag association is removed from. </p>
|
|
1281
1411
|
*/
|
|
1282
1412
|
resourceArn: string | undefined;
|
|
1283
1413
|
/**
|
|
1414
|
+
* @public
|
|
1284
1415
|
* <p>The key values of the tag to be removed from the resource.</p>
|
|
1285
1416
|
*/
|
|
1286
1417
|
tagKeys: string[] | undefined;
|
|
@@ -1295,6 +1426,7 @@ export interface UntagResourceResponse {
|
|
|
1295
1426
|
*/
|
|
1296
1427
|
export interface CreateWorkspaceRequest {
|
|
1297
1428
|
/**
|
|
1429
|
+
* @public
|
|
1298
1430
|
* <p>Specifies whether the workspace can access Amazon Web Services resources in this
|
|
1299
1431
|
* Amazon Web Services account only, or whether it can also access Amazon Web Services
|
|
1300
1432
|
* resources in other accounts in the same organization. If you specify
|
|
@@ -1303,16 +1435,19 @@ export interface CreateWorkspaceRequest {
|
|
|
1303
1435
|
*/
|
|
1304
1436
|
accountAccessType: AccountAccessType | string | undefined;
|
|
1305
1437
|
/**
|
|
1438
|
+
* @public
|
|
1306
1439
|
* <p>A unique, case-sensitive, user-provided identifier to ensure the idempotency of the
|
|
1307
1440
|
* request.</p>
|
|
1308
1441
|
*/
|
|
1309
1442
|
clientToken?: string;
|
|
1310
1443
|
/**
|
|
1444
|
+
* @public
|
|
1311
1445
|
* <p>The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources and notification channels in other accounts
|
|
1312
1446
|
* in an organization.</p>
|
|
1313
1447
|
*/
|
|
1314
1448
|
organizationRoleName?: string;
|
|
1315
1449
|
/**
|
|
1450
|
+
* @public
|
|
1316
1451
|
* <p>When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you must manage IAM roles and provision the
|
|
1317
1452
|
* permissions that the workspace needs to use Amazon Web Services data sources and
|
|
1318
1453
|
* notification channels.</p>
|
|
@@ -1332,15 +1467,18 @@ export interface CreateWorkspaceRequest {
|
|
|
1332
1467
|
*/
|
|
1333
1468
|
permissionType: PermissionType | string | undefined;
|
|
1334
1469
|
/**
|
|
1470
|
+
* @public
|
|
1335
1471
|
* <p>The name of the CloudFormation stack set to use to generate IAM
|
|
1336
1472
|
* roles to be used for this workspace.</p>
|
|
1337
1473
|
*/
|
|
1338
1474
|
stackSetName?: string;
|
|
1339
1475
|
/**
|
|
1476
|
+
* @public
|
|
1340
1477
|
* <p>This parameter is for internal use only, and should not be used.</p>
|
|
1341
1478
|
*/
|
|
1342
1479
|
workspaceDataSources?: (DataSourceType | string)[];
|
|
1343
1480
|
/**
|
|
1481
|
+
* @public
|
|
1344
1482
|
* <p>A description for the workspace. This is used only to help you identify this
|
|
1345
1483
|
* workspace.</p>
|
|
1346
1484
|
* <p>Pattern: <code>^[\\p\{L\}\\p\{Z\}\\p\{N\}\\p\{P\}]\{0,2048\}$</code>
|
|
@@ -1348,10 +1486,12 @@ export interface CreateWorkspaceRequest {
|
|
|
1348
1486
|
*/
|
|
1349
1487
|
workspaceDescription?: string;
|
|
1350
1488
|
/**
|
|
1489
|
+
* @public
|
|
1351
1490
|
* <p>The name for the workspace. It does not have to be unique.</p>
|
|
1352
1491
|
*/
|
|
1353
1492
|
workspaceName?: string;
|
|
1354
1493
|
/**
|
|
1494
|
+
* @public
|
|
1355
1495
|
* <p>Specify the Amazon Web Services notification channels that you plan to use in this
|
|
1356
1496
|
* workspace. Specifying these data sources here enables Amazon Managed Grafana to create
|
|
1357
1497
|
* IAM roles and permissions that allow Amazon Managed Grafana to use these
|
|
@@ -1359,17 +1499,20 @@ export interface CreateWorkspaceRequest {
|
|
|
1359
1499
|
*/
|
|
1360
1500
|
workspaceNotificationDestinations?: (NotificationDestinationType | string)[];
|
|
1361
1501
|
/**
|
|
1502
|
+
* @public
|
|
1362
1503
|
* <p>Specifies the organizational units that this workspace is allowed to use data sources
|
|
1363
1504
|
* from, if this workspace is in an account that is part of an organization.</p>
|
|
1364
1505
|
*/
|
|
1365
1506
|
workspaceOrganizationalUnits?: string[];
|
|
1366
1507
|
/**
|
|
1508
|
+
* @public
|
|
1367
1509
|
* <p>Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from, including both data
|
|
1368
1510
|
* sources and notification channels. You are responsible for managing the permissions
|
|
1369
1511
|
* for this role as new data sources or notification channels are added. </p>
|
|
1370
1512
|
*/
|
|
1371
1513
|
workspaceRoleArn?: string;
|
|
1372
1514
|
/**
|
|
1515
|
+
* @public
|
|
1373
1516
|
* <p>Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to
|
|
1374
1517
|
* authenticate users for using the Grafana console within a workspace. For more
|
|
1375
1518
|
* information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in
|
|
@@ -1377,10 +1520,12 @@ export interface CreateWorkspaceRequest {
|
|
|
1377
1520
|
*/
|
|
1378
1521
|
authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
|
|
1379
1522
|
/**
|
|
1523
|
+
* @public
|
|
1380
1524
|
* <p>The list of tags associated with the workspace.</p>
|
|
1381
1525
|
*/
|
|
1382
1526
|
tags?: Record<string, string>;
|
|
1383
1527
|
/**
|
|
1528
|
+
* @public
|
|
1384
1529
|
* <p>The configuration settings for an Amazon VPC that contains data sources for
|
|
1385
1530
|
* your Grafana workspace to connect to.</p>
|
|
1386
1531
|
* <note>
|
|
@@ -1390,12 +1535,14 @@ export interface CreateWorkspaceRequest {
|
|
|
1390
1535
|
*/
|
|
1391
1536
|
vpcConfiguration?: VpcConfiguration;
|
|
1392
1537
|
/**
|
|
1538
|
+
* @public
|
|
1393
1539
|
* <p>The configuration string for the workspace that you create. For more information about
|
|
1394
1540
|
* the format and configuration options available, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html">Working in your Grafana
|
|
1395
1541
|
* workspace</a>.</p>
|
|
1396
1542
|
*/
|
|
1397
1543
|
configuration?: __LazyJsonString | string;
|
|
1398
1544
|
/**
|
|
1545
|
+
* @public
|
|
1399
1546
|
* <p>Configuration for network access to your workspace.</p>
|
|
1400
1547
|
* <p>When this is configured, only listed IP addresses and VPC endpoints will be able to
|
|
1401
1548
|
* access your workspace. Standard Grafana authentication and authorization will still be
|
|
@@ -1406,6 +1553,7 @@ export interface CreateWorkspaceRequest {
|
|
|
1406
1553
|
*/
|
|
1407
1554
|
networkAccessControl?: NetworkAccessConfiguration;
|
|
1408
1555
|
/**
|
|
1556
|
+
* @public
|
|
1409
1557
|
* <p>Specifies the version of Grafana to support in the new workspace.</p>
|
|
1410
1558
|
* <p>To get a list of supported version, use the <code>ListVersions</code>
|
|
1411
1559
|
* operation.</p>
|
|
@@ -1417,6 +1565,7 @@ export interface CreateWorkspaceRequest {
|
|
|
1417
1565
|
*/
|
|
1418
1566
|
export interface CreateWorkspaceResponse {
|
|
1419
1567
|
/**
|
|
1568
|
+
* @public
|
|
1420
1569
|
* <p>A structure containing data about the workspace that was created.</p>
|
|
1421
1570
|
*/
|
|
1422
1571
|
workspace: WorkspaceDescription | undefined;
|
|
@@ -1426,6 +1575,7 @@ export interface CreateWorkspaceResponse {
|
|
|
1426
1575
|
*/
|
|
1427
1576
|
export interface DeleteWorkspaceRequest {
|
|
1428
1577
|
/**
|
|
1578
|
+
* @public
|
|
1429
1579
|
* <p>The ID of the workspace to delete.</p>
|
|
1430
1580
|
*/
|
|
1431
1581
|
workspaceId: string | undefined;
|
|
@@ -1435,6 +1585,7 @@ export interface DeleteWorkspaceRequest {
|
|
|
1435
1585
|
*/
|
|
1436
1586
|
export interface DeleteWorkspaceResponse {
|
|
1437
1587
|
/**
|
|
1588
|
+
* @public
|
|
1438
1589
|
* <p>A structure containing information about the workspace that was deleted.</p>
|
|
1439
1590
|
*/
|
|
1440
1591
|
workspace: WorkspaceDescription | undefined;
|
|
@@ -1444,6 +1595,7 @@ export interface DeleteWorkspaceResponse {
|
|
|
1444
1595
|
*/
|
|
1445
1596
|
export interface DescribeWorkspaceRequest {
|
|
1446
1597
|
/**
|
|
1598
|
+
* @public
|
|
1447
1599
|
* <p>The ID of the workspace to display information about.</p>
|
|
1448
1600
|
*/
|
|
1449
1601
|
workspaceId: string | undefined;
|
|
@@ -1453,6 +1605,7 @@ export interface DescribeWorkspaceRequest {
|
|
|
1453
1605
|
*/
|
|
1454
1606
|
export interface DescribeWorkspaceResponse {
|
|
1455
1607
|
/**
|
|
1608
|
+
* @public
|
|
1456
1609
|
* <p>A structure containing information about the workspace.</p>
|
|
1457
1610
|
*/
|
|
1458
1611
|
workspace: WorkspaceDescription | undefined;
|
|
@@ -1462,10 +1615,12 @@ export interface DescribeWorkspaceResponse {
|
|
|
1462
1615
|
*/
|
|
1463
1616
|
export interface ListWorkspacesRequest {
|
|
1464
1617
|
/**
|
|
1618
|
+
* @public
|
|
1465
1619
|
* <p>The maximum number of workspaces to include in the results.</p>
|
|
1466
1620
|
*/
|
|
1467
1621
|
maxResults?: number;
|
|
1468
1622
|
/**
|
|
1623
|
+
* @public
|
|
1469
1624
|
* <p>The token for the next set of workspaces to return. (You receive this token from a
|
|
1470
1625
|
* previous <code>ListWorkspaces</code> operation.)</p>
|
|
1471
1626
|
*/
|
|
@@ -1477,49 +1632,60 @@ export interface ListWorkspacesRequest {
|
|
|
1477
1632
|
*/
|
|
1478
1633
|
export interface WorkspaceSummary {
|
|
1479
1634
|
/**
|
|
1635
|
+
* @public
|
|
1480
1636
|
* <p>The date that the workspace was created.</p>
|
|
1481
1637
|
*/
|
|
1482
1638
|
created: Date | undefined;
|
|
1483
1639
|
/**
|
|
1640
|
+
* @public
|
|
1484
1641
|
* <p>The customer-entered description of the workspace.</p>
|
|
1485
1642
|
*/
|
|
1486
1643
|
description?: string;
|
|
1487
1644
|
/**
|
|
1645
|
+
* @public
|
|
1488
1646
|
* <p>The URL endpoint to use to access the Grafana console in the workspace.</p>
|
|
1489
1647
|
*/
|
|
1490
1648
|
endpoint: string | undefined;
|
|
1491
1649
|
/**
|
|
1650
|
+
* @public
|
|
1492
1651
|
* <p>The Grafana version that the workspace is running.</p>
|
|
1493
1652
|
*/
|
|
1494
1653
|
grafanaVersion: string | undefined;
|
|
1495
1654
|
/**
|
|
1655
|
+
* @public
|
|
1496
1656
|
* <p>The unique ID of the workspace.</p>
|
|
1497
1657
|
*/
|
|
1498
1658
|
id: string | undefined;
|
|
1499
1659
|
/**
|
|
1660
|
+
* @public
|
|
1500
1661
|
* <p>The most recent date that the workspace was modified.</p>
|
|
1501
1662
|
*/
|
|
1502
1663
|
modified: Date | undefined;
|
|
1503
1664
|
/**
|
|
1665
|
+
* @public
|
|
1504
1666
|
* <p>The name of the workspace.</p>
|
|
1505
1667
|
*/
|
|
1506
1668
|
name?: string;
|
|
1507
1669
|
/**
|
|
1670
|
+
* @public
|
|
1508
1671
|
* <p>The Amazon Web Services notification channels that Amazon Managed Grafana can automatically
|
|
1509
1672
|
* create IAM roles and permissions for, which allows Amazon Managed Grafana to
|
|
1510
1673
|
* use these channels.</p>
|
|
1511
1674
|
*/
|
|
1512
1675
|
notificationDestinations?: (NotificationDestinationType | string)[];
|
|
1513
1676
|
/**
|
|
1677
|
+
* @public
|
|
1514
1678
|
* <p>The current status of the workspace.</p>
|
|
1515
1679
|
*/
|
|
1516
1680
|
status: WorkspaceStatus | string | undefined;
|
|
1517
1681
|
/**
|
|
1682
|
+
* @public
|
|
1518
1683
|
* <p>A structure containing information about the authentication methods used in the
|
|
1519
1684
|
* workspace.</p>
|
|
1520
1685
|
*/
|
|
1521
1686
|
authentication: AuthenticationSummary | undefined;
|
|
1522
1687
|
/**
|
|
1688
|
+
* @public
|
|
1523
1689
|
* <p>The list of tags associated with the workspace.</p>
|
|
1524
1690
|
*/
|
|
1525
1691
|
tags?: Record<string, string>;
|
|
@@ -1529,11 +1695,13 @@ export interface WorkspaceSummary {
|
|
|
1529
1695
|
*/
|
|
1530
1696
|
export interface ListWorkspacesResponse {
|
|
1531
1697
|
/**
|
|
1698
|
+
* @public
|
|
1532
1699
|
* <p>An array of structures that contain some information about the workspaces in the
|
|
1533
1700
|
* account.</p>
|
|
1534
1701
|
*/
|
|
1535
1702
|
workspaces: WorkspaceSummary[] | undefined;
|
|
1536
1703
|
/**
|
|
1704
|
+
* @public
|
|
1537
1705
|
* <p>The token to use when requesting the next set of workspaces.</p>
|
|
1538
1706
|
*/
|
|
1539
1707
|
nextToken?: string;
|
|
@@ -1543,6 +1711,7 @@ export interface ListWorkspacesResponse {
|
|
|
1543
1711
|
*/
|
|
1544
1712
|
export interface UpdateWorkspaceRequest {
|
|
1545
1713
|
/**
|
|
1714
|
+
* @public
|
|
1546
1715
|
* <p>Specifies whether the workspace can access Amazon Web Services resources in this
|
|
1547
1716
|
* Amazon Web Services account only, or whether it can also access Amazon Web Services
|
|
1548
1717
|
* resources in other accounts in the same organization. If you specify
|
|
@@ -1551,12 +1720,14 @@ export interface UpdateWorkspaceRequest {
|
|
|
1551
1720
|
*/
|
|
1552
1721
|
accountAccessType?: AccountAccessType | string;
|
|
1553
1722
|
/**
|
|
1723
|
+
* @public
|
|
1554
1724
|
* <p>The name of an IAM role that already exists to use to access resources
|
|
1555
1725
|
* through Organizations. This can only be used with a workspace that has the
|
|
1556
1726
|
* <code>permissionType</code> set to <code>CUSTOMER_MANAGED</code>.</p>
|
|
1557
1727
|
*/
|
|
1558
1728
|
organizationRoleName?: string;
|
|
1559
1729
|
/**
|
|
1730
|
+
* @public
|
|
1560
1731
|
* <p>Use this parameter if you want to change a workspace from <code>SERVICE_MANAGED</code>
|
|
1561
1732
|
* to <code>CUSTOMER_MANAGED</code>. This allows you to manage the permissions that the
|
|
1562
1733
|
* workspace uses to access datasources and notification channels. If the workspace is
|
|
@@ -1581,28 +1752,34 @@ export interface UpdateWorkspaceRequest {
|
|
|
1581
1752
|
*/
|
|
1582
1753
|
permissionType?: PermissionType | string;
|
|
1583
1754
|
/**
|
|
1755
|
+
* @public
|
|
1584
1756
|
* <p>The name of the CloudFormation stack set to use to generate IAM
|
|
1585
1757
|
* roles to be used for this workspace.</p>
|
|
1586
1758
|
*/
|
|
1587
1759
|
stackSetName?: string;
|
|
1588
1760
|
/**
|
|
1761
|
+
* @public
|
|
1589
1762
|
* <p>This parameter is for internal use only, and should not be used.</p>
|
|
1590
1763
|
*/
|
|
1591
1764
|
workspaceDataSources?: (DataSourceType | string)[];
|
|
1592
1765
|
/**
|
|
1766
|
+
* @public
|
|
1593
1767
|
* <p>A description for the workspace. This is used only to help you identify this
|
|
1594
1768
|
* workspace.</p>
|
|
1595
1769
|
*/
|
|
1596
1770
|
workspaceDescription?: string;
|
|
1597
1771
|
/**
|
|
1772
|
+
* @public
|
|
1598
1773
|
* <p>The ID of the workspace to update.</p>
|
|
1599
1774
|
*/
|
|
1600
1775
|
workspaceId: string | undefined;
|
|
1601
1776
|
/**
|
|
1777
|
+
* @public
|
|
1602
1778
|
* <p>A new name for the workspace to update.</p>
|
|
1603
1779
|
*/
|
|
1604
1780
|
workspaceName?: string;
|
|
1605
1781
|
/**
|
|
1782
|
+
* @public
|
|
1606
1783
|
* <p>Specify the Amazon Web Services notification channels that you plan to use in this
|
|
1607
1784
|
* workspace. Specifying these data sources here enables Amazon Managed Grafana to create
|
|
1608
1785
|
* IAM roles and permissions that allow Amazon Managed Grafana to use these
|
|
@@ -1610,11 +1787,13 @@ export interface UpdateWorkspaceRequest {
|
|
|
1610
1787
|
*/
|
|
1611
1788
|
workspaceNotificationDestinations?: (NotificationDestinationType | string)[];
|
|
1612
1789
|
/**
|
|
1790
|
+
* @public
|
|
1613
1791
|
* <p>Specifies the organizational units that this workspace is allowed to use data sources
|
|
1614
1792
|
* from, if this workspace is in an account that is part of an organization.</p>
|
|
1615
1793
|
*/
|
|
1616
1794
|
workspaceOrganizationalUnits?: string[];
|
|
1617
1795
|
/**
|
|
1796
|
+
* @public
|
|
1618
1797
|
* <p>Specifies an IAM role that grants permissions to Amazon Web Services
|
|
1619
1798
|
* resources that the workspace accesses, such as data sources and notification channels.
|
|
1620
1799
|
* If this workspace has <code>permissionType</code>
|
|
@@ -1623,17 +1802,20 @@ export interface UpdateWorkspaceRequest {
|
|
|
1623
1802
|
*/
|
|
1624
1803
|
workspaceRoleArn?: string;
|
|
1625
1804
|
/**
|
|
1805
|
+
* @public
|
|
1626
1806
|
* <p>The configuration settings for an Amazon VPC that contains data sources for
|
|
1627
1807
|
* your Grafana workspace to connect to.</p>
|
|
1628
1808
|
*/
|
|
1629
1809
|
vpcConfiguration?: VpcConfiguration;
|
|
1630
1810
|
/**
|
|
1811
|
+
* @public
|
|
1631
1812
|
* <p>Whether to remove the VPC configuration from the workspace.</p>
|
|
1632
1813
|
* <p>Setting this to <code>true</code> and providing a <code>vpcConfiguration</code> to set
|
|
1633
1814
|
* will return an error.</p>
|
|
1634
1815
|
*/
|
|
1635
1816
|
removeVpcConfiguration?: boolean;
|
|
1636
1817
|
/**
|
|
1818
|
+
* @public
|
|
1637
1819
|
* <p>The configuration settings for network access to your workspace.</p>
|
|
1638
1820
|
* <p>When this is configured, only listed IP addresses and VPC endpoints will be able to
|
|
1639
1821
|
* access your workspace. Standard Grafana authentication and authorization will still be
|
|
@@ -1644,6 +1826,7 @@ export interface UpdateWorkspaceRequest {
|
|
|
1644
1826
|
*/
|
|
1645
1827
|
networkAccessControl?: NetworkAccessConfiguration;
|
|
1646
1828
|
/**
|
|
1829
|
+
* @public
|
|
1647
1830
|
* <p>Whether to remove the network access configuration from the workspace.</p>
|
|
1648
1831
|
* <p>Setting this to <code>true</code> and providing a <code>networkAccessControl</code> to
|
|
1649
1832
|
* set will return an error.</p>
|
|
@@ -1658,6 +1841,7 @@ export interface UpdateWorkspaceRequest {
|
|
|
1658
1841
|
*/
|
|
1659
1842
|
export interface UpdateWorkspaceResponse {
|
|
1660
1843
|
/**
|
|
1844
|
+
* @public
|
|
1661
1845
|
* <p>A structure containing data about the workspace that was created.</p>
|
|
1662
1846
|
*/
|
|
1663
1847
|
workspace: WorkspaceDescription | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-grafana",
|
|
3
3
|
"description": "AWS SDK for JavaScript Grafana Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.385.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.385.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.385.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|