@aws-sdk/client-grafana 3.87.0 → 3.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/Grafana.js +30 -0
- package/dist-cjs/commands/CreateWorkspaceApiKeyCommand.js +36 -0
- package/dist-cjs/commands/DeleteWorkspaceApiKeyCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +135 -109
- package/dist-cjs/protocols/Aws_restJson1.js +190 -1
- package/dist-es/Grafana.js +30 -0
- package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +39 -0
- package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +116 -99
- package/dist-es/protocols/Aws_restJson1.js +244 -0
- package/dist-types/Grafana.d.ts +17 -0
- package/dist-types/GrafanaClient.d.ts +4 -2
- package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +38 -0
- package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +233 -150
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Grafana.d.ts +10 -0
- package/dist-types/ts3.4/GrafanaClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateWorkspaceApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +138 -90
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +4 -4
|
@@ -21,6 +21,234 @@ export declare enum AccountAccessType {
|
|
|
21
21
|
*/
|
|
22
22
|
ORGANIZATION = "ORGANIZATION"
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* <p>A resource was in an inconsistent state during an update or a deletion.</p>
|
|
26
|
+
*/
|
|
27
|
+
export declare class ConflictException extends __BaseException {
|
|
28
|
+
readonly name: "ConflictException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
/**
|
|
31
|
+
* <p>The ID of the resource that is associated with the error.</p>
|
|
32
|
+
*/
|
|
33
|
+
resourceId: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The type of the resource that is associated with the error.</p>
|
|
36
|
+
*/
|
|
37
|
+
resourceType: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
export interface CreateWorkspaceApiKeyRequest {
|
|
44
|
+
/**
|
|
45
|
+
* <p>Specifies the name of the key to create. Key names must be unique to the workspace.</p>
|
|
46
|
+
*/
|
|
47
|
+
keyName: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>Specifies the permission level of the key.</p>
|
|
50
|
+
* <p>Valid Values: <code>VIEWER</code> | <code>EDITOR</code> | <code>ADMIN</code>
|
|
51
|
+
* </p>
|
|
52
|
+
*/
|
|
53
|
+
keyRole: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.</p>
|
|
56
|
+
*/
|
|
57
|
+
secondsToLive: number | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The ID of the workspace in which to create an API key.</p>
|
|
60
|
+
*/
|
|
61
|
+
workspaceId: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace CreateWorkspaceApiKeyRequest {
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
const filterSensitiveLog: (obj: CreateWorkspaceApiKeyRequest) => any;
|
|
68
|
+
}
|
|
69
|
+
export interface CreateWorkspaceApiKeyResponse {
|
|
70
|
+
/**
|
|
71
|
+
* <p>The name of the key that was created.</p>
|
|
72
|
+
*/
|
|
73
|
+
keyName: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The key token that was created. Use this value as a bearer token to
|
|
76
|
+
* authenticate HTTP requests to the workspace.</p>
|
|
77
|
+
*/
|
|
78
|
+
key: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The ID of the workspace that the key is valid for.</p>
|
|
81
|
+
*/
|
|
82
|
+
workspaceId: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace CreateWorkspaceApiKeyResponse {
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
const filterSensitiveLog: (obj: CreateWorkspaceApiKeyResponse) => any;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <p>Unexpected error while processing the request. Retry the request.</p>
|
|
92
|
+
*/
|
|
93
|
+
export declare class InternalServerException extends __BaseException {
|
|
94
|
+
readonly name: "InternalServerException";
|
|
95
|
+
readonly $fault: "server";
|
|
96
|
+
$retryable: {};
|
|
97
|
+
/**
|
|
98
|
+
* <p>How long to wait before you retry this operation.</p>
|
|
99
|
+
*/
|
|
100
|
+
retryAfterSeconds?: number;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <p>The request references a resource that does not exist.</p>
|
|
108
|
+
*/
|
|
109
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
110
|
+
readonly name: "ResourceNotFoundException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
/**
|
|
113
|
+
* <p>The ID of the resource that is associated with the error.</p>
|
|
114
|
+
*/
|
|
115
|
+
resourceId: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>The type of the resource that is associated with the error.</p>
|
|
118
|
+
*/
|
|
119
|
+
resourceType: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
127
|
+
*/
|
|
128
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
129
|
+
readonly name: "ServiceQuotaExceededException";
|
|
130
|
+
readonly $fault: "client";
|
|
131
|
+
/**
|
|
132
|
+
* <p>The ID of the resource that is associated with the error.</p>
|
|
133
|
+
*/
|
|
134
|
+
resourceId: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The type of the resource that is associated with the error.</p>
|
|
137
|
+
*/
|
|
138
|
+
resourceType: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The value of a parameter in the request caused an error.</p>
|
|
141
|
+
*/
|
|
142
|
+
serviceCode: string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The ID of the service quota that was exceeded.</p>
|
|
145
|
+
*/
|
|
146
|
+
quotaCode: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* <p>The request was denied because of request throttling. Retry the request.</p>
|
|
154
|
+
*/
|
|
155
|
+
export declare class ThrottlingException extends __BaseException {
|
|
156
|
+
readonly name: "ThrottlingException";
|
|
157
|
+
readonly $fault: "client";
|
|
158
|
+
$retryable: {};
|
|
159
|
+
/**
|
|
160
|
+
* <p>The ID of the service that is associated with the error.</p>
|
|
161
|
+
*/
|
|
162
|
+
serviceCode?: string;
|
|
163
|
+
/**
|
|
164
|
+
* <p>The ID of the service quota that was exceeded.</p>
|
|
165
|
+
*/
|
|
166
|
+
quotaCode?: string;
|
|
167
|
+
/**
|
|
168
|
+
* <p>The value of a parameter in the request caused an error.</p>
|
|
169
|
+
*/
|
|
170
|
+
retryAfterSeconds?: number;
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* <p>A structure that contains information about a request parameter that caused an error.</p>
|
|
178
|
+
*/
|
|
179
|
+
export interface ValidationExceptionField {
|
|
180
|
+
/**
|
|
181
|
+
* <p>The name of the field that caused the validation error.</p>
|
|
182
|
+
*/
|
|
183
|
+
name: string | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* <p>A message describing why this field couldn't be validated.</p>
|
|
186
|
+
*/
|
|
187
|
+
message: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
export declare namespace ValidationExceptionField {
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
194
|
+
}
|
|
195
|
+
export declare enum ValidationExceptionReason {
|
|
196
|
+
CANNOT_PARSE = "CANNOT_PARSE",
|
|
197
|
+
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
198
|
+
OTHER = "OTHER",
|
|
199
|
+
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* <p>The value of a parameter in the request caused an error.</p>
|
|
203
|
+
*/
|
|
204
|
+
export declare class ValidationException extends __BaseException {
|
|
205
|
+
readonly name: "ValidationException";
|
|
206
|
+
readonly $fault: "client";
|
|
207
|
+
/**
|
|
208
|
+
* <p>The reason that the operation failed.</p>
|
|
209
|
+
*/
|
|
210
|
+
reason: ValidationExceptionReason | string | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* <p>A list of fields that might be associated with the error.</p>
|
|
213
|
+
*/
|
|
214
|
+
fieldList?: ValidationExceptionField[];
|
|
215
|
+
/**
|
|
216
|
+
* @internal
|
|
217
|
+
*/
|
|
218
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
219
|
+
}
|
|
220
|
+
export interface DeleteWorkspaceApiKeyRequest {
|
|
221
|
+
/**
|
|
222
|
+
* <p>The name of the API key to delete.</p>
|
|
223
|
+
*/
|
|
224
|
+
keyName: string | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>The ID of the workspace to delete.</p>
|
|
227
|
+
*/
|
|
228
|
+
workspaceId: string | undefined;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace DeleteWorkspaceApiKeyRequest {
|
|
231
|
+
/**
|
|
232
|
+
* @internal
|
|
233
|
+
*/
|
|
234
|
+
const filterSensitiveLog: (obj: DeleteWorkspaceApiKeyRequest) => any;
|
|
235
|
+
}
|
|
236
|
+
export interface DeleteWorkspaceApiKeyResponse {
|
|
237
|
+
/**
|
|
238
|
+
* <p>The name of the API key that was deleted.</p>
|
|
239
|
+
*/
|
|
240
|
+
keyName: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* <p>The ID of the workspace where the key was deleted.</p>
|
|
243
|
+
*/
|
|
244
|
+
workspaceId: string | undefined;
|
|
245
|
+
}
|
|
246
|
+
export declare namespace DeleteWorkspaceApiKeyResponse {
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
*/
|
|
250
|
+
const filterSensitiveLog: (obj: DeleteWorkspaceApiKeyResponse) => any;
|
|
251
|
+
}
|
|
24
252
|
/**
|
|
25
253
|
* <p>A structure that defines which attributes in the IdP assertion are to be used to define
|
|
26
254
|
* information about the users authenticated by the IdP to use the workspace.</p>
|
|
@@ -355,109 +583,6 @@ export declare namespace AssociateLicenseResponse {
|
|
|
355
583
|
*/
|
|
356
584
|
const filterSensitiveLog: (obj: AssociateLicenseResponse) => any;
|
|
357
585
|
}
|
|
358
|
-
/**
|
|
359
|
-
* <p>Unexpected error while processing the request. Retry the request.</p>
|
|
360
|
-
*/
|
|
361
|
-
export declare class InternalServerException extends __BaseException {
|
|
362
|
-
readonly name: "InternalServerException";
|
|
363
|
-
readonly $fault: "server";
|
|
364
|
-
$retryable: {};
|
|
365
|
-
/**
|
|
366
|
-
* <p>How long to wait before you retry this operation.</p>
|
|
367
|
-
*/
|
|
368
|
-
retryAfterSeconds?: number;
|
|
369
|
-
/**
|
|
370
|
-
* @internal
|
|
371
|
-
*/
|
|
372
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* <p>The request references a resource that does not exist.</p>
|
|
376
|
-
*/
|
|
377
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
378
|
-
readonly name: "ResourceNotFoundException";
|
|
379
|
-
readonly $fault: "client";
|
|
380
|
-
/**
|
|
381
|
-
* <p>The ID of the resource that is associated with the error.</p>
|
|
382
|
-
*/
|
|
383
|
-
resourceId: string | undefined;
|
|
384
|
-
/**
|
|
385
|
-
* <p>The type of the resource that is associated with the error.</p>
|
|
386
|
-
*/
|
|
387
|
-
resourceType: string | undefined;
|
|
388
|
-
/**
|
|
389
|
-
* @internal
|
|
390
|
-
*/
|
|
391
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* <p>The request was denied because of request throttling. Retry the request.</p>
|
|
395
|
-
*/
|
|
396
|
-
export declare class ThrottlingException extends __BaseException {
|
|
397
|
-
readonly name: "ThrottlingException";
|
|
398
|
-
readonly $fault: "client";
|
|
399
|
-
$retryable: {};
|
|
400
|
-
/**
|
|
401
|
-
* <p>The ID of the service that is associated with the error.</p>
|
|
402
|
-
*/
|
|
403
|
-
serviceCode?: string;
|
|
404
|
-
/**
|
|
405
|
-
* <p>The ID of the service quota that was exceeded.</p>
|
|
406
|
-
*/
|
|
407
|
-
quotaCode?: string;
|
|
408
|
-
/**
|
|
409
|
-
* <p>The value of a parameter in the request caused an error.</p>
|
|
410
|
-
*/
|
|
411
|
-
retryAfterSeconds?: number;
|
|
412
|
-
/**
|
|
413
|
-
* @internal
|
|
414
|
-
*/
|
|
415
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
* <p>A structure that contains information about a request parameter that caused an error.</p>
|
|
419
|
-
*/
|
|
420
|
-
export interface ValidationExceptionField {
|
|
421
|
-
/**
|
|
422
|
-
* <p>The name of the field that caused the validation error.</p>
|
|
423
|
-
*/
|
|
424
|
-
name: string | undefined;
|
|
425
|
-
/**
|
|
426
|
-
* <p>A message describing why this field couldn't be validated.</p>
|
|
427
|
-
*/
|
|
428
|
-
message: string | undefined;
|
|
429
|
-
}
|
|
430
|
-
export declare namespace ValidationExceptionField {
|
|
431
|
-
/**
|
|
432
|
-
* @internal
|
|
433
|
-
*/
|
|
434
|
-
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
435
|
-
}
|
|
436
|
-
export declare enum ValidationExceptionReason {
|
|
437
|
-
CANNOT_PARSE = "CANNOT_PARSE",
|
|
438
|
-
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
439
|
-
OTHER = "OTHER",
|
|
440
|
-
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
441
|
-
}
|
|
442
|
-
/**
|
|
443
|
-
* <p>The value of a parameter in the request caused an error.</p>
|
|
444
|
-
*/
|
|
445
|
-
export declare class ValidationException extends __BaseException {
|
|
446
|
-
readonly name: "ValidationException";
|
|
447
|
-
readonly $fault: "client";
|
|
448
|
-
/**
|
|
449
|
-
* <p>The reason that the operation failed.</p>
|
|
450
|
-
*/
|
|
451
|
-
reason: ValidationExceptionReason | string | undefined;
|
|
452
|
-
/**
|
|
453
|
-
* <p>A list of fields that might be associated with the error.</p>
|
|
454
|
-
*/
|
|
455
|
-
fieldList?: ValidationExceptionField[];
|
|
456
|
-
/**
|
|
457
|
-
* @internal
|
|
458
|
-
*/
|
|
459
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
460
|
-
}
|
|
461
586
|
export interface DescribeWorkspaceAuthenticationRequest {
|
|
462
587
|
/**
|
|
463
588
|
* <p>The ID of the workspace to return authentication information about.</p>
|
|
@@ -645,25 +770,6 @@ export declare namespace DescribeWorkspaceAuthenticationResponse {
|
|
|
645
770
|
*/
|
|
646
771
|
const filterSensitiveLog: (obj: DescribeWorkspaceAuthenticationResponse) => any;
|
|
647
772
|
}
|
|
648
|
-
/**
|
|
649
|
-
* <p>A resource was in an inconsistent state during an update or a deletion.</p>
|
|
650
|
-
*/
|
|
651
|
-
export declare class ConflictException extends __BaseException {
|
|
652
|
-
readonly name: "ConflictException";
|
|
653
|
-
readonly $fault: "client";
|
|
654
|
-
/**
|
|
655
|
-
* <p>The ID of the resource that is associated with the error.</p>
|
|
656
|
-
*/
|
|
657
|
-
resourceId: string | undefined;
|
|
658
|
-
/**
|
|
659
|
-
* <p>The type of the resource that is associated with the error.</p>
|
|
660
|
-
*/
|
|
661
|
-
resourceType: string | undefined;
|
|
662
|
-
/**
|
|
663
|
-
* @internal
|
|
664
|
-
*/
|
|
665
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
666
|
-
}
|
|
667
773
|
export interface UpdateWorkspaceAuthenticationRequest {
|
|
668
774
|
/**
|
|
669
775
|
* <p>The ID of the workspace to update the authentication for.</p>
|
|
@@ -809,7 +915,11 @@ export declare enum Role {
|
|
|
809
915
|
/**
|
|
810
916
|
* Role Editor.
|
|
811
917
|
*/
|
|
812
|
-
EDITOR = "EDITOR"
|
|
918
|
+
EDITOR = "EDITOR",
|
|
919
|
+
/**
|
|
920
|
+
* Role Viewer.
|
|
921
|
+
*/
|
|
922
|
+
VIEWER = "VIEWER"
|
|
813
923
|
}
|
|
814
924
|
/**
|
|
815
925
|
* <p>A structure that specifies one user or group in the workspace.</p>
|
|
@@ -1110,33 +1220,6 @@ export declare namespace CreateWorkspaceResponse {
|
|
|
1110
1220
|
*/
|
|
1111
1221
|
const filterSensitiveLog: (obj: CreateWorkspaceResponse) => any;
|
|
1112
1222
|
}
|
|
1113
|
-
/**
|
|
1114
|
-
* <p>The request would cause a service quota to be exceeded.</p>
|
|
1115
|
-
*/
|
|
1116
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1117
|
-
readonly name: "ServiceQuotaExceededException";
|
|
1118
|
-
readonly $fault: "client";
|
|
1119
|
-
/**
|
|
1120
|
-
* <p>The ID of the resource that is associated with the error.</p>
|
|
1121
|
-
*/
|
|
1122
|
-
resourceId: string | undefined;
|
|
1123
|
-
/**
|
|
1124
|
-
* <p>The type of the resource that is associated with the error.</p>
|
|
1125
|
-
*/
|
|
1126
|
-
resourceType: string | undefined;
|
|
1127
|
-
/**
|
|
1128
|
-
* <p>The value of a parameter in the request caused an error.</p>
|
|
1129
|
-
*/
|
|
1130
|
-
serviceCode: string | undefined;
|
|
1131
|
-
/**
|
|
1132
|
-
* <p>The ID of the service quota that was exceeded.</p>
|
|
1133
|
-
*/
|
|
1134
|
-
quotaCode: string | undefined;
|
|
1135
|
-
/**
|
|
1136
|
-
* @internal
|
|
1137
|
-
*/
|
|
1138
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1139
|
-
}
|
|
1140
1223
|
export interface DeleteWorkspaceRequest {
|
|
1141
1224
|
/**
|
|
1142
1225
|
* <p>The ID of the workspace to delete.</p>
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { AssociateLicenseCommandInput, AssociateLicenseCommandOutput } from "../commands/AssociateLicenseCommand";
|
|
4
|
+
import { CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput } from "../commands/CreateWorkspaceApiKeyCommand";
|
|
4
5
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
|
|
6
|
+
import { DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput } from "../commands/DeleteWorkspaceApiKeyCommand";
|
|
5
7
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
|
|
6
8
|
import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput } from "../commands/DescribeWorkspaceAuthenticationCommand";
|
|
7
9
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
@@ -16,7 +18,9 @@ import { UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticatio
|
|
|
16
18
|
import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "../commands/UpdateWorkspaceCommand";
|
|
17
19
|
export declare const serializeAws_restJson1AssociateLicenseCommand: (input: AssociateLicenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
20
|
export declare const serializeAws_restJson1CreateWorkspaceCommand: (input: CreateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
export declare const serializeAws_restJson1CreateWorkspaceApiKeyCommand: (input: CreateWorkspaceApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
22
|
export declare const serializeAws_restJson1DeleteWorkspaceCommand: (input: DeleteWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
export declare const serializeAws_restJson1DeleteWorkspaceApiKeyCommand: (input: DeleteWorkspaceApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
24
|
export declare const serializeAws_restJson1DescribeWorkspaceCommand: (input: DescribeWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
25
|
export declare const serializeAws_restJson1DescribeWorkspaceAuthenticationCommand: (input: DescribeWorkspaceAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
26
|
export declare const serializeAws_restJson1DisassociateLicenseCommand: (input: DisassociateLicenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -30,7 +34,9 @@ export declare const serializeAws_restJson1UpdateWorkspaceCommand: (input: Updat
|
|
|
30
34
|
export declare const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand: (input: UpdateWorkspaceAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
35
|
export declare const deserializeAws_restJson1AssociateLicenseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateLicenseCommandOutput>;
|
|
32
36
|
export declare const deserializeAws_restJson1CreateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceCommandOutput>;
|
|
37
|
+
export declare const deserializeAws_restJson1CreateWorkspaceApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceApiKeyCommandOutput>;
|
|
33
38
|
export declare const deserializeAws_restJson1DeleteWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceCommandOutput>;
|
|
39
|
+
export declare const deserializeAws_restJson1DeleteWorkspaceApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceApiKeyCommandOutput>;
|
|
34
40
|
export declare const deserializeAws_restJson1DescribeWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceCommandOutput>;
|
|
35
41
|
export declare const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceAuthenticationCommandOutput>;
|
|
36
42
|
export declare const deserializeAws_restJson1DisassociateLicenseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateLicenseCommandOutput>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AssociateLicenseCommandInput, AssociateLicenseCommandOutput } from "./commands/AssociateLicenseCommand";
|
|
3
|
+
import { CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput } from "./commands/CreateWorkspaceApiKeyCommand";
|
|
3
4
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
5
|
+
import { DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput } from "./commands/DeleteWorkspaceApiKeyCommand";
|
|
4
6
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
|
|
5
7
|
import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput } from "./commands/DescribeWorkspaceAuthenticationCommand";
|
|
6
8
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
|
|
@@ -25,10 +27,18 @@ export declare class Grafana extends GrafanaClient {
|
|
|
25
27
|
createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
26
28
|
createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
27
29
|
|
|
30
|
+
createWorkspaceApiKey(args: CreateWorkspaceApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceApiKeyCommandOutput>;
|
|
31
|
+
createWorkspaceApiKey(args: CreateWorkspaceApiKeyCommandInput, cb: (err: any, data?: CreateWorkspaceApiKeyCommandOutput) => void): void;
|
|
32
|
+
createWorkspaceApiKey(args: CreateWorkspaceApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceApiKeyCommandOutput) => void): void;
|
|
33
|
+
|
|
28
34
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
|
|
29
35
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
30
36
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
31
37
|
|
|
38
|
+
deleteWorkspaceApiKey(args: DeleteWorkspaceApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceApiKeyCommandOutput>;
|
|
39
|
+
deleteWorkspaceApiKey(args: DeleteWorkspaceApiKeyCommandInput, cb: (err: any, data?: DeleteWorkspaceApiKeyCommandOutput) => void): void;
|
|
40
|
+
deleteWorkspaceApiKey(args: DeleteWorkspaceApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceApiKeyCommandOutput) => void): void;
|
|
41
|
+
|
|
32
42
|
describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceCommandOutput>;
|
|
33
43
|
describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
34
44
|
describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
@@ -7,7 +7,9 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateLicenseCommandInput, AssociateLicenseCommandOutput } from "./commands/AssociateLicenseCommand";
|
|
10
|
+
import { CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput } from "./commands/CreateWorkspaceApiKeyCommand";
|
|
10
11
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
12
|
+
import { DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput } from "./commands/DeleteWorkspaceApiKeyCommand";
|
|
11
13
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
|
|
12
14
|
import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput } from "./commands/DescribeWorkspaceAuthenticationCommand";
|
|
13
15
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
|
|
@@ -20,8 +22,8 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
20
22
|
import { UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput } from "./commands/UpdatePermissionsCommand";
|
|
21
23
|
import { UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticationCommandOutput } from "./commands/UpdateWorkspaceAuthenticationCommand";
|
|
22
24
|
import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
|
|
23
|
-
export declare type ServiceInputTypes = AssociateLicenseCommandInput | CreateWorkspaceCommandInput | DeleteWorkspaceCommandInput | DescribeWorkspaceAuthenticationCommandInput | DescribeWorkspaceCommandInput | DisassociateLicenseCommandInput | ListPermissionsCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePermissionsCommandInput | UpdateWorkspaceAuthenticationCommandInput | UpdateWorkspaceCommandInput;
|
|
24
|
-
export declare type ServiceOutputTypes = AssociateLicenseCommandOutput | CreateWorkspaceCommandOutput | DeleteWorkspaceCommandOutput | DescribeWorkspaceAuthenticationCommandOutput | DescribeWorkspaceCommandOutput | DisassociateLicenseCommandOutput | ListPermissionsCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePermissionsCommandOutput | UpdateWorkspaceAuthenticationCommandOutput | UpdateWorkspaceCommandOutput;
|
|
25
|
+
export declare type ServiceInputTypes = AssociateLicenseCommandInput | CreateWorkspaceApiKeyCommandInput | CreateWorkspaceCommandInput | DeleteWorkspaceApiKeyCommandInput | DeleteWorkspaceCommandInput | DescribeWorkspaceAuthenticationCommandInput | DescribeWorkspaceCommandInput | DisassociateLicenseCommandInput | ListPermissionsCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePermissionsCommandInput | UpdateWorkspaceAuthenticationCommandInput | UpdateWorkspaceCommandInput;
|
|
26
|
+
export declare type ServiceOutputTypes = AssociateLicenseCommandOutput | CreateWorkspaceApiKeyCommandOutput | CreateWorkspaceCommandOutput | DeleteWorkspaceApiKeyCommandOutput | DeleteWorkspaceCommandOutput | DescribeWorkspaceAuthenticationCommandOutput | DescribeWorkspaceCommandOutput | DisassociateLicenseCommandOutput | ListPermissionsCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePermissionsCommandOutput | UpdateWorkspaceAuthenticationCommandOutput | UpdateWorkspaceCommandOutput;
|
|
25
27
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
26
28
|
|
|
27
29
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
4
|
+
import { CreateWorkspaceApiKeyRequest, CreateWorkspaceApiKeyResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateWorkspaceApiKeyCommandInput extends CreateWorkspaceApiKeyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKeyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateWorkspaceApiKeyCommand extends $Command<CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateWorkspaceApiKeyCommandInput;
|
|
12
|
+
constructor(input: CreateWorkspaceApiKeyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkspaceApiKeyCommandInput, CreateWorkspaceApiKeyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GrafanaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GrafanaClient";
|
|
4
|
+
import { DeleteWorkspaceApiKeyRequest, DeleteWorkspaceApiKeyResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteWorkspaceApiKeyCommandInput extends DeleteWorkspaceApiKeyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteWorkspaceApiKeyCommandOutput extends DeleteWorkspaceApiKeyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteWorkspaceApiKeyCommand extends $Command<DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput, GrafanaClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteWorkspaceApiKeyCommandInput;
|
|
12
|
+
constructor(input: DeleteWorkspaceApiKeyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GrafanaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./AssociateLicenseCommand";
|
|
2
|
+
export * from "./CreateWorkspaceApiKeyCommand";
|
|
2
3
|
export * from "./CreateWorkspaceCommand";
|
|
4
|
+
export * from "./DeleteWorkspaceApiKeyCommand";
|
|
3
5
|
export * from "./DeleteWorkspaceCommand";
|
|
4
6
|
export * from "./DescribeWorkspaceAuthenticationCommand";
|
|
5
7
|
export * from "./DescribeWorkspaceCommand";
|