@aws-sdk/client-grafana 3.295.0 → 3.297.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/Grafana.d.ts +19 -0
- package/dist-types/GrafanaClient.d.ts +24 -4
- package/dist-types/commands/AssociateLicenseCommand.d.ts +16 -0
- package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/DescribeWorkspaceAuthenticationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateLicenseCommand.d.ts +16 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListWorkspacesCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePermissionsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +16 -0
- package/dist-types/models/GrafanaServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +173 -2
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListPermissionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListWorkspacesPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You do not have sufficient permissions to perform this action. </p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -11,6 +12,9 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
11
12
|
*/
|
|
12
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
13
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
14
18
|
export declare enum AccountAccessType {
|
|
15
19
|
/**
|
|
16
20
|
* Indicates that the customer is using Grafana to monitor resources in their current account.
|
|
@@ -22,6 +26,7 @@ export declare enum AccountAccessType {
|
|
|
22
26
|
ORGANIZATION = "ORGANIZATION"
|
|
23
27
|
}
|
|
24
28
|
/**
|
|
29
|
+
* @public
|
|
25
30
|
* <p>A resource was in an inconsistent state during an update or a deletion.</p>
|
|
26
31
|
*/
|
|
27
32
|
export declare class ConflictException extends __BaseException {
|
|
@@ -40,6 +45,9 @@ export declare class ConflictException extends __BaseException {
|
|
|
40
45
|
*/
|
|
41
46
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
42
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
43
51
|
export interface CreateWorkspaceApiKeyRequest {
|
|
44
52
|
/**
|
|
45
53
|
* <p>Specifies the name of the key. Keynames must be unique to the workspace.</p>
|
|
@@ -61,6 +69,9 @@ export interface CreateWorkspaceApiKeyRequest {
|
|
|
61
69
|
*/
|
|
62
70
|
workspaceId: string | undefined;
|
|
63
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
64
75
|
export interface CreateWorkspaceApiKeyResponse {
|
|
65
76
|
/**
|
|
66
77
|
* <p>The name of the key that was created.</p>
|
|
@@ -77,6 +88,7 @@ export interface CreateWorkspaceApiKeyResponse {
|
|
|
77
88
|
workspaceId: string | undefined;
|
|
78
89
|
}
|
|
79
90
|
/**
|
|
91
|
+
* @public
|
|
80
92
|
* <p>Unexpected error while processing the request. Retry the request.</p>
|
|
81
93
|
*/
|
|
82
94
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -93,6 +105,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
93
105
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
94
106
|
}
|
|
95
107
|
/**
|
|
108
|
+
* @public
|
|
96
109
|
* <p>The request references a resource that does not exist.</p>
|
|
97
110
|
*/
|
|
98
111
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -112,6 +125,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
112
125
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
113
126
|
}
|
|
114
127
|
/**
|
|
128
|
+
* @public
|
|
115
129
|
* <p>The request would cause a service quota to be exceeded.</p>
|
|
116
130
|
*/
|
|
117
131
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -139,6 +153,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
139
153
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
140
154
|
}
|
|
141
155
|
/**
|
|
156
|
+
* @public
|
|
142
157
|
* <p>The request was denied because of request throttling. Retry the request.</p>
|
|
143
158
|
*/
|
|
144
159
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -163,6 +178,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
163
178
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
164
179
|
}
|
|
165
180
|
/**
|
|
181
|
+
* @public
|
|
166
182
|
* <p>A structure that contains information about a request parameter that caused an
|
|
167
183
|
* error.</p>
|
|
168
184
|
*/
|
|
@@ -176,6 +192,9 @@ export interface ValidationExceptionField {
|
|
|
176
192
|
*/
|
|
177
193
|
message: string | undefined;
|
|
178
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
179
198
|
export declare enum ValidationExceptionReason {
|
|
180
199
|
CANNOT_PARSE = "CANNOT_PARSE",
|
|
181
200
|
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
@@ -183,6 +202,7 @@ export declare enum ValidationExceptionReason {
|
|
|
183
202
|
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
184
203
|
}
|
|
185
204
|
/**
|
|
205
|
+
* @public
|
|
186
206
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
187
207
|
*/
|
|
188
208
|
export declare class ValidationException extends __BaseException {
|
|
@@ -201,6 +221,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
201
221
|
*/
|
|
202
222
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
203
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
204
227
|
export interface DeleteWorkspaceApiKeyRequest {
|
|
205
228
|
/**
|
|
206
229
|
* <p>The name of the API key to delete.</p>
|
|
@@ -211,6 +234,9 @@ export interface DeleteWorkspaceApiKeyRequest {
|
|
|
211
234
|
*/
|
|
212
235
|
workspaceId: string | undefined;
|
|
213
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
214
240
|
export interface DeleteWorkspaceApiKeyResponse {
|
|
215
241
|
/**
|
|
216
242
|
* <p>The name of the key that was deleted.</p>
|
|
@@ -222,6 +248,7 @@ export interface DeleteWorkspaceApiKeyResponse {
|
|
|
222
248
|
workspaceId: string | undefined;
|
|
223
249
|
}
|
|
224
250
|
/**
|
|
251
|
+
* @public
|
|
225
252
|
* <p>A structure that defines which attributes in the IdP assertion are to be used to
|
|
226
253
|
* define information about the users authenticated by the IdP to use the workspace.</p>
|
|
227
254
|
*/
|
|
@@ -256,6 +283,9 @@ export interface AssertionAttributes {
|
|
|
256
283
|
*/
|
|
257
284
|
org?: string;
|
|
258
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
259
289
|
export declare enum LicenseType {
|
|
260
290
|
/**
|
|
261
291
|
* Grafana Enterprise License.
|
|
@@ -266,6 +296,9 @@ export declare enum LicenseType {
|
|
|
266
296
|
*/
|
|
267
297
|
ENTERPRISE_FREE_TRIAL = "ENTERPRISE_FREE_TRIAL"
|
|
268
298
|
}
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
269
302
|
export interface AssociateLicenseRequest {
|
|
270
303
|
/**
|
|
271
304
|
* <p>The ID of the workspace to associate the license with.</p>
|
|
@@ -276,6 +309,9 @@ export interface AssociateLicenseRequest {
|
|
|
276
309
|
*/
|
|
277
310
|
licenseType: LicenseType | string | undefined;
|
|
278
311
|
}
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
279
315
|
export declare enum AuthenticationProviderTypes {
|
|
280
316
|
/**
|
|
281
317
|
* Indicates that AMG workspace has AWS SSO enabled as its authentication provider.
|
|
@@ -286,6 +322,9 @@ export declare enum AuthenticationProviderTypes {
|
|
|
286
322
|
*/
|
|
287
323
|
SAML = "SAML"
|
|
288
324
|
}
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
289
328
|
export declare enum SamlConfigurationStatus {
|
|
290
329
|
/**
|
|
291
330
|
* Indicates that SAML on an AMG workspace is enabled and has been configured.
|
|
@@ -297,6 +336,7 @@ export declare enum SamlConfigurationStatus {
|
|
|
297
336
|
NOT_CONFIGURED = "NOT_CONFIGURED"
|
|
298
337
|
}
|
|
299
338
|
/**
|
|
339
|
+
* @public
|
|
300
340
|
* <p>A structure that describes whether the workspace uses SAML, IAM Identity Center, or
|
|
301
341
|
* both methods for user authentication, and whether that authentication is fully
|
|
302
342
|
* configured.</p>
|
|
@@ -313,6 +353,9 @@ export interface AuthenticationSummary {
|
|
|
313
353
|
*/
|
|
314
354
|
samlConfigurationStatus?: SamlConfigurationStatus | string;
|
|
315
355
|
}
|
|
356
|
+
/**
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
316
359
|
export declare enum DataSourceType {
|
|
317
360
|
/**
|
|
318
361
|
* Amazon OpenSearch Service
|
|
@@ -352,6 +395,7 @@ export declare enum DataSourceType {
|
|
|
352
395
|
XRAY = "XRAY"
|
|
353
396
|
}
|
|
354
397
|
/**
|
|
398
|
+
* @public
|
|
355
399
|
* <p>The configuration settings for in-bound network access to your workspace.</p>
|
|
356
400
|
* <p>When this is configured, only listed IP addresses and VPC endpoints will be able to
|
|
357
401
|
* access your workspace. Standard Grafana authentication and authorization will still be
|
|
@@ -392,12 +436,18 @@ export interface NetworkAccessConfiguration {
|
|
|
392
436
|
*/
|
|
393
437
|
vpceIds: string[] | undefined;
|
|
394
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
395
442
|
export declare enum NotificationDestinationType {
|
|
396
443
|
/**
|
|
397
444
|
* AWS Simple Notification Service
|
|
398
445
|
*/
|
|
399
446
|
SNS = "SNS"
|
|
400
447
|
}
|
|
448
|
+
/**
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
401
451
|
export declare enum PermissionType {
|
|
402
452
|
/**
|
|
403
453
|
* Customer Managed
|
|
@@ -408,6 +458,9 @@ export declare enum PermissionType {
|
|
|
408
458
|
*/
|
|
409
459
|
SERVICE_MANAGED = "SERVICE_MANAGED"
|
|
410
460
|
}
|
|
461
|
+
/**
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
411
464
|
export declare enum WorkspaceStatus {
|
|
412
465
|
/**
|
|
413
466
|
* Workspace is active.
|
|
@@ -455,6 +508,7 @@ export declare enum WorkspaceStatus {
|
|
|
455
508
|
UPGRADING = "UPGRADING"
|
|
456
509
|
}
|
|
457
510
|
/**
|
|
511
|
+
* @public
|
|
458
512
|
* <p>The configuration settings for an Amazon VPC that contains data sources for
|
|
459
513
|
* your Grafana workspace to connect to.</p>
|
|
460
514
|
* <note>
|
|
@@ -475,6 +529,7 @@ export interface VpcConfiguration {
|
|
|
475
529
|
subnetIds: string[] | undefined;
|
|
476
530
|
}
|
|
477
531
|
/**
|
|
532
|
+
* @public
|
|
478
533
|
* <p>A structure containing information about an Amazon Managed Grafana workspace in your
|
|
479
534
|
* account.</p>
|
|
480
535
|
*/
|
|
@@ -610,12 +665,18 @@ export interface WorkspaceDescription {
|
|
|
610
665
|
*/
|
|
611
666
|
networkAccessControl?: NetworkAccessConfiguration;
|
|
612
667
|
}
|
|
668
|
+
/**
|
|
669
|
+
* @public
|
|
670
|
+
*/
|
|
613
671
|
export interface AssociateLicenseResponse {
|
|
614
672
|
/**
|
|
615
673
|
* <p>A structure containing data about the workspace.</p>
|
|
616
674
|
*/
|
|
617
675
|
workspace: WorkspaceDescription | undefined;
|
|
618
676
|
}
|
|
677
|
+
/**
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
619
680
|
export interface DescribeWorkspaceAuthenticationRequest {
|
|
620
681
|
/**
|
|
621
682
|
* <p>The ID of the workspace to return authentication information about.</p>
|
|
@@ -623,6 +684,7 @@ export interface DescribeWorkspaceAuthenticationRequest {
|
|
|
623
684
|
workspaceId: string | undefined;
|
|
624
685
|
}
|
|
625
686
|
/**
|
|
687
|
+
* @public
|
|
626
688
|
* <p>A structure containing information about how this workspace works with IAM Identity Center. </p>
|
|
627
689
|
*/
|
|
628
690
|
export interface AwsSsoAuthentication {
|
|
@@ -632,6 +694,7 @@ export interface AwsSsoAuthentication {
|
|
|
632
694
|
ssoClientId?: string;
|
|
633
695
|
}
|
|
634
696
|
/**
|
|
697
|
+
* @public
|
|
635
698
|
* <p>A structure containing the identity provider (IdP) metadata used to integrate the
|
|
636
699
|
* identity provider with this workspace. You can specify the metadata either by providing
|
|
637
700
|
* a URL to its location in the <code>url</code> parameter, or by specifying the full
|
|
@@ -639,6 +702,9 @@ export interface AwsSsoAuthentication {
|
|
|
639
702
|
* error.</p>
|
|
640
703
|
*/
|
|
641
704
|
export type IdpMetadata = IdpMetadata.UrlMember | IdpMetadata.XmlMember | IdpMetadata.$UnknownMember;
|
|
705
|
+
/**
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
642
708
|
export declare namespace IdpMetadata {
|
|
643
709
|
/**
|
|
644
710
|
* <p>The URL of the location containing the IdP metadata.</p>
|
|
@@ -669,6 +735,7 @@ export declare namespace IdpMetadata {
|
|
|
669
735
|
const visit: <T>(value: IdpMetadata, visitor: Visitor<T>) => T;
|
|
670
736
|
}
|
|
671
737
|
/**
|
|
738
|
+
* @public
|
|
672
739
|
* <p>This structure defines which groups defined in the SAML assertion attribute are to be
|
|
673
740
|
* mapped to the Grafana <code>Admin</code> and <code>Editor</code> roles in the workspace.
|
|
674
741
|
* SAML authenticated users not part of <code>Admin</code> or <code>Editor</code> role
|
|
@@ -687,6 +754,7 @@ export interface RoleValues {
|
|
|
687
754
|
admin?: string[];
|
|
688
755
|
}
|
|
689
756
|
/**
|
|
757
|
+
* @public
|
|
690
758
|
* <p>A structure containing information about how this workspace works with SAML. </p>
|
|
691
759
|
*/
|
|
692
760
|
export interface SamlConfiguration {
|
|
@@ -718,6 +786,7 @@ export interface SamlConfiguration {
|
|
|
718
786
|
loginValidityDuration?: number;
|
|
719
787
|
}
|
|
720
788
|
/**
|
|
789
|
+
* @public
|
|
721
790
|
* <p>A structure containing information about how this workspace works with SAML. </p>
|
|
722
791
|
*/
|
|
723
792
|
export interface SamlAuthentication {
|
|
@@ -731,6 +800,7 @@ export interface SamlAuthentication {
|
|
|
731
800
|
configuration?: SamlConfiguration;
|
|
732
801
|
}
|
|
733
802
|
/**
|
|
803
|
+
* @public
|
|
734
804
|
* <p>A structure containing information about the user authentication methods used by the
|
|
735
805
|
* workspace.</p>
|
|
736
806
|
*/
|
|
@@ -752,6 +822,9 @@ export interface AuthenticationDescription {
|
|
|
752
822
|
*/
|
|
753
823
|
awsSso?: AwsSsoAuthentication;
|
|
754
824
|
}
|
|
825
|
+
/**
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
755
828
|
export interface DescribeWorkspaceAuthenticationResponse {
|
|
756
829
|
/**
|
|
757
830
|
* <p>A structure containing information about the authentication methods used in the
|
|
@@ -759,6 +832,9 @@ export interface DescribeWorkspaceAuthenticationResponse {
|
|
|
759
832
|
*/
|
|
760
833
|
authentication: AuthenticationDescription | undefined;
|
|
761
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* @public
|
|
837
|
+
*/
|
|
762
838
|
export interface UpdateWorkspaceAuthenticationRequest {
|
|
763
839
|
/**
|
|
764
840
|
* <p>The ID of the workspace to update the authentication for.</p>
|
|
@@ -778,6 +854,9 @@ export interface UpdateWorkspaceAuthenticationRequest {
|
|
|
778
854
|
*/
|
|
779
855
|
samlConfiguration?: SamlConfiguration;
|
|
780
856
|
}
|
|
857
|
+
/**
|
|
858
|
+
* @public
|
|
859
|
+
*/
|
|
781
860
|
export interface UpdateWorkspaceAuthenticationResponse {
|
|
782
861
|
/**
|
|
783
862
|
* <p>A structure that describes the user authentication for this workspace after the update
|
|
@@ -785,12 +864,18 @@ export interface UpdateWorkspaceAuthenticationResponse {
|
|
|
785
864
|
*/
|
|
786
865
|
authentication: AuthenticationDescription | undefined;
|
|
787
866
|
}
|
|
867
|
+
/**
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
788
870
|
export interface DescribeWorkspaceConfigurationRequest {
|
|
789
871
|
/**
|
|
790
872
|
* <p>The ID of the workspace to get configuration information for.</p>
|
|
791
873
|
*/
|
|
792
874
|
workspaceId: string | undefined;
|
|
793
875
|
}
|
|
876
|
+
/**
|
|
877
|
+
* @public
|
|
878
|
+
*/
|
|
794
879
|
export interface DescribeWorkspaceConfigurationResponse {
|
|
795
880
|
/**
|
|
796
881
|
* <p>The configuration string for the workspace that you requested. For more information
|
|
@@ -799,6 +884,9 @@ export interface DescribeWorkspaceConfigurationResponse {
|
|
|
799
884
|
*/
|
|
800
885
|
configuration: __LazyJsonString | string | undefined;
|
|
801
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* @public
|
|
889
|
+
*/
|
|
802
890
|
export interface UpdateWorkspaceConfigurationRequest {
|
|
803
891
|
/**
|
|
804
892
|
* <p>The new configuration string for the workspace. For more information about the format
|
|
@@ -811,8 +899,14 @@ export interface UpdateWorkspaceConfigurationRequest {
|
|
|
811
899
|
*/
|
|
812
900
|
workspaceId: string | undefined;
|
|
813
901
|
}
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
814
905
|
export interface UpdateWorkspaceConfigurationResponse {
|
|
815
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
* @public
|
|
909
|
+
*/
|
|
816
910
|
export interface DisassociateLicenseRequest {
|
|
817
911
|
/**
|
|
818
912
|
* <p>The ID of the workspace to remove the Grafana Enterprise license from.</p>
|
|
@@ -823,24 +917,36 @@ export interface DisassociateLicenseRequest {
|
|
|
823
917
|
*/
|
|
824
918
|
licenseType: LicenseType | string | undefined;
|
|
825
919
|
}
|
|
920
|
+
/**
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
826
923
|
export interface DisassociateLicenseResponse {
|
|
827
924
|
/**
|
|
828
925
|
* <p>A structure containing information about the workspace.</p>
|
|
829
926
|
*/
|
|
830
927
|
workspace: WorkspaceDescription | undefined;
|
|
831
928
|
}
|
|
929
|
+
/**
|
|
930
|
+
* @public
|
|
931
|
+
*/
|
|
832
932
|
export interface ListTagsForResourceRequest {
|
|
833
933
|
/**
|
|
834
934
|
* <p>The ARN of the resource the list of tags are associated with.</p>
|
|
835
935
|
*/
|
|
836
936
|
resourceArn: string | undefined;
|
|
837
937
|
}
|
|
938
|
+
/**
|
|
939
|
+
* @public
|
|
940
|
+
*/
|
|
838
941
|
export interface ListTagsForResourceResponse {
|
|
839
942
|
/**
|
|
840
943
|
* <p>The list of tags that are associated with the resource.</p>
|
|
841
944
|
*/
|
|
842
945
|
tags?: Record<string, string>;
|
|
843
946
|
}
|
|
947
|
+
/**
|
|
948
|
+
* @public
|
|
949
|
+
*/
|
|
844
950
|
export declare enum UserType {
|
|
845
951
|
/**
|
|
846
952
|
* SSO group.
|
|
@@ -851,6 +957,9 @@ export declare enum UserType {
|
|
|
851
957
|
*/
|
|
852
958
|
SSO_USER = "SSO_USER"
|
|
853
959
|
}
|
|
960
|
+
/**
|
|
961
|
+
* @public
|
|
962
|
+
*/
|
|
854
963
|
export interface ListPermissionsRequest {
|
|
855
964
|
/**
|
|
856
965
|
* <p>The maximum number of results to include in the response.</p>
|
|
@@ -879,6 +988,9 @@ export interface ListPermissionsRequest {
|
|
|
879
988
|
*/
|
|
880
989
|
workspaceId: string | undefined;
|
|
881
990
|
}
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
882
994
|
export declare enum Role {
|
|
883
995
|
/**
|
|
884
996
|
* Role Admin.
|
|
@@ -894,13 +1006,14 @@ export declare enum Role {
|
|
|
894
1006
|
VIEWER = "VIEWER"
|
|
895
1007
|
}
|
|
896
1008
|
/**
|
|
1009
|
+
* @public
|
|
897
1010
|
* <p>A structure that specifies one user or group in the workspace.</p>
|
|
898
1011
|
*/
|
|
899
1012
|
export interface User {
|
|
900
1013
|
/**
|
|
901
1014
|
* <p>The ID of the user or group.</p>
|
|
902
1015
|
* <p>Pattern:
|
|
903
|
-
* <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>
|
|
1016
|
+
* <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>
|
|
904
1017
|
* </p>
|
|
905
1018
|
*/
|
|
906
1019
|
id: string | undefined;
|
|
@@ -910,6 +1023,7 @@ export interface User {
|
|
|
910
1023
|
type: UserType | string | undefined;
|
|
911
1024
|
}
|
|
912
1025
|
/**
|
|
1026
|
+
* @public
|
|
913
1027
|
* <p>A structure containing the identity of one user or group and the <code>Admin</code>,
|
|
914
1028
|
* <code>Editor</code>, or <code>Viewer</code> role that they have.</p>
|
|
915
1029
|
*/
|
|
@@ -924,6 +1038,9 @@ export interface PermissionEntry {
|
|
|
924
1038
|
*/
|
|
925
1039
|
role: Role | string | undefined;
|
|
926
1040
|
}
|
|
1041
|
+
/**
|
|
1042
|
+
* @public
|
|
1043
|
+
*/
|
|
927
1044
|
export interface ListPermissionsResponse {
|
|
928
1045
|
/**
|
|
929
1046
|
* <p>The token to use in a subsequent <code>ListPermissions</code> operation to return the
|
|
@@ -935,6 +1052,9 @@ export interface ListPermissionsResponse {
|
|
|
935
1052
|
*/
|
|
936
1053
|
permissions: PermissionEntry[] | undefined;
|
|
937
1054
|
}
|
|
1055
|
+
/**
|
|
1056
|
+
* @public
|
|
1057
|
+
*/
|
|
938
1058
|
export declare enum UpdateAction {
|
|
939
1059
|
/**
|
|
940
1060
|
* Add permissions.
|
|
@@ -946,6 +1066,7 @@ export declare enum UpdateAction {
|
|
|
946
1066
|
REVOKE = "REVOKE"
|
|
947
1067
|
}
|
|
948
1068
|
/**
|
|
1069
|
+
* @public
|
|
949
1070
|
* <p>Contains the instructions for one Grafana role permission update in a <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a> operation.</p>
|
|
950
1071
|
*/
|
|
951
1072
|
export interface UpdateInstruction {
|
|
@@ -963,6 +1084,9 @@ export interface UpdateInstruction {
|
|
|
963
1084
|
*/
|
|
964
1085
|
users: User[] | undefined;
|
|
965
1086
|
}
|
|
1087
|
+
/**
|
|
1088
|
+
* @public
|
|
1089
|
+
*/
|
|
966
1090
|
export interface UpdatePermissionsRequest {
|
|
967
1091
|
/**
|
|
968
1092
|
* <p>An array of structures that contain the permission updates to make.</p>
|
|
@@ -974,6 +1098,7 @@ export interface UpdatePermissionsRequest {
|
|
|
974
1098
|
workspaceId: string | undefined;
|
|
975
1099
|
}
|
|
976
1100
|
/**
|
|
1101
|
+
* @public
|
|
977
1102
|
* <p>A structure containing information about one error encountered while performing an
|
|
978
1103
|
* <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a> operation.</p>
|
|
979
1104
|
*/
|
|
@@ -991,12 +1116,18 @@ export interface UpdateError {
|
|
|
991
1116
|
*/
|
|
992
1117
|
causedBy: UpdateInstruction | undefined;
|
|
993
1118
|
}
|
|
1119
|
+
/**
|
|
1120
|
+
* @public
|
|
1121
|
+
*/
|
|
994
1122
|
export interface UpdatePermissionsResponse {
|
|
995
1123
|
/**
|
|
996
1124
|
* <p>An array of structures that contain the errors from the operation, if any.</p>
|
|
997
1125
|
*/
|
|
998
1126
|
errors: UpdateError[] | undefined;
|
|
999
1127
|
}
|
|
1128
|
+
/**
|
|
1129
|
+
* @public
|
|
1130
|
+
*/
|
|
1000
1131
|
export interface TagResourceRequest {
|
|
1001
1132
|
/**
|
|
1002
1133
|
* <p>The ARN of the resource the tag is associated with.</p>
|
|
@@ -1008,8 +1139,14 @@ export interface TagResourceRequest {
|
|
|
1008
1139
|
*/
|
|
1009
1140
|
tags: Record<string, string> | undefined;
|
|
1010
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1011
1145
|
export interface TagResourceResponse {
|
|
1012
1146
|
}
|
|
1147
|
+
/**
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1013
1150
|
export interface UntagResourceRequest {
|
|
1014
1151
|
/**
|
|
1015
1152
|
* <p>The ARN of the resource the tag association is removed from. </p>
|
|
@@ -1020,8 +1157,14 @@ export interface UntagResourceRequest {
|
|
|
1020
1157
|
*/
|
|
1021
1158
|
tagKeys: string[] | undefined;
|
|
1022
1159
|
}
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1023
1163
|
export interface UntagResourceResponse {
|
|
1024
1164
|
}
|
|
1165
|
+
/**
|
|
1166
|
+
* @public
|
|
1167
|
+
*/
|
|
1025
1168
|
export interface CreateWorkspaceRequest {
|
|
1026
1169
|
/**
|
|
1027
1170
|
* <p>Specifies whether the workspace can access Amazon Web Services resources in this
|
|
@@ -1072,7 +1215,7 @@ export interface CreateWorkspaceRequest {
|
|
|
1072
1215
|
/**
|
|
1073
1216
|
* <p>A description for the workspace. This is used only to help you identify this
|
|
1074
1217
|
* workspace.</p>
|
|
1075
|
-
* <p>Pattern: <code>^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$</code>
|
|
1218
|
+
* <p>Pattern: <code>^[\\p\{L\}\\p\{Z\}\\p\{N\}\\p\{P\}]\{0,2048\}$</code>
|
|
1076
1219
|
* </p>
|
|
1077
1220
|
*/
|
|
1078
1221
|
workspaceDescription?: string;
|
|
@@ -1131,36 +1274,54 @@ export interface CreateWorkspaceRequest {
|
|
|
1131
1274
|
*/
|
|
1132
1275
|
networkAccessControl?: NetworkAccessConfiguration;
|
|
1133
1276
|
}
|
|
1277
|
+
/**
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1134
1280
|
export interface CreateWorkspaceResponse {
|
|
1135
1281
|
/**
|
|
1136
1282
|
* <p>A structure containing data about the workspace that was created.</p>
|
|
1137
1283
|
*/
|
|
1138
1284
|
workspace: WorkspaceDescription | undefined;
|
|
1139
1285
|
}
|
|
1286
|
+
/**
|
|
1287
|
+
* @public
|
|
1288
|
+
*/
|
|
1140
1289
|
export interface DeleteWorkspaceRequest {
|
|
1141
1290
|
/**
|
|
1142
1291
|
* <p>The ID of the workspace to delete.</p>
|
|
1143
1292
|
*/
|
|
1144
1293
|
workspaceId: string | undefined;
|
|
1145
1294
|
}
|
|
1295
|
+
/**
|
|
1296
|
+
* @public
|
|
1297
|
+
*/
|
|
1146
1298
|
export interface DeleteWorkspaceResponse {
|
|
1147
1299
|
/**
|
|
1148
1300
|
* <p>A structure containing information about the workspace that was deleted.</p>
|
|
1149
1301
|
*/
|
|
1150
1302
|
workspace: WorkspaceDescription | undefined;
|
|
1151
1303
|
}
|
|
1304
|
+
/**
|
|
1305
|
+
* @public
|
|
1306
|
+
*/
|
|
1152
1307
|
export interface DescribeWorkspaceRequest {
|
|
1153
1308
|
/**
|
|
1154
1309
|
* <p>The ID of the workspace to display information about.</p>
|
|
1155
1310
|
*/
|
|
1156
1311
|
workspaceId: string | undefined;
|
|
1157
1312
|
}
|
|
1313
|
+
/**
|
|
1314
|
+
* @public
|
|
1315
|
+
*/
|
|
1158
1316
|
export interface DescribeWorkspaceResponse {
|
|
1159
1317
|
/**
|
|
1160
1318
|
* <p>A structure containing information about the workspace.</p>
|
|
1161
1319
|
*/
|
|
1162
1320
|
workspace: WorkspaceDescription | undefined;
|
|
1163
1321
|
}
|
|
1322
|
+
/**
|
|
1323
|
+
* @public
|
|
1324
|
+
*/
|
|
1164
1325
|
export interface ListWorkspacesRequest {
|
|
1165
1326
|
/**
|
|
1166
1327
|
* <p>The maximum number of workspaces to include in the results.</p>
|
|
@@ -1173,6 +1334,7 @@ export interface ListWorkspacesRequest {
|
|
|
1173
1334
|
nextToken?: string;
|
|
1174
1335
|
}
|
|
1175
1336
|
/**
|
|
1337
|
+
* @public
|
|
1176
1338
|
* <p>A structure that contains some information about one workspace in the account.</p>
|
|
1177
1339
|
*/
|
|
1178
1340
|
export interface WorkspaceSummary {
|
|
@@ -1224,6 +1386,9 @@ export interface WorkspaceSummary {
|
|
|
1224
1386
|
*/
|
|
1225
1387
|
tags?: Record<string, string>;
|
|
1226
1388
|
}
|
|
1389
|
+
/**
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1227
1392
|
export interface ListWorkspacesResponse {
|
|
1228
1393
|
/**
|
|
1229
1394
|
* <p>An array of structures that contain some information about the workspaces in the
|
|
@@ -1235,6 +1400,9 @@ export interface ListWorkspacesResponse {
|
|
|
1235
1400
|
*/
|
|
1236
1401
|
nextToken?: string;
|
|
1237
1402
|
}
|
|
1403
|
+
/**
|
|
1404
|
+
* @public
|
|
1405
|
+
*/
|
|
1238
1406
|
export interface UpdateWorkspaceRequest {
|
|
1239
1407
|
/**
|
|
1240
1408
|
* <p>Specifies whether the workspace can access Amazon Web Services resources in this
|
|
@@ -1347,6 +1515,9 @@ export interface UpdateWorkspaceRequest {
|
|
|
1347
1515
|
*/
|
|
1348
1516
|
removeNetworkAccessConfiguration?: boolean;
|
|
1349
1517
|
}
|
|
1518
|
+
/**
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1350
1521
|
export interface UpdateWorkspaceResponse {
|
|
1351
1522
|
/**
|
|
1352
1523
|
* <p>A structure containing data about the workspace that was created.</p>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
|
|
3
3
|
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListPermissions(config: GrafanaPaginationConfiguration, input: ListPermissionsCommandInput, ...additionalArguments: any): Paginator<ListPermissionsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
3
3
|
import { GrafanaPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListWorkspaces(config: GrafanaPaginationConfiguration, input: ListWorkspacesCommandInput, ...additionalArguments: any): Paginator<ListWorkspacesCommandOutput>;
|