@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
|
@@ -14,6 +14,141 @@ export declare enum AccountAccessType {
|
|
|
14
14
|
ORGANIZATION = "ORGANIZATION"
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
export declare class ConflictException extends __BaseException {
|
|
18
|
+
readonly name: "ConflictException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
|
|
21
|
+
resourceId: string | undefined;
|
|
22
|
+
|
|
23
|
+
resourceType: string | undefined;
|
|
24
|
+
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
export interface CreateWorkspaceApiKeyRequest {
|
|
28
|
+
|
|
29
|
+
keyName: string | undefined;
|
|
30
|
+
|
|
31
|
+
keyRole: string | undefined;
|
|
32
|
+
|
|
33
|
+
secondsToLive: number | undefined;
|
|
34
|
+
|
|
35
|
+
workspaceId: string | undefined;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace CreateWorkspaceApiKeyRequest {
|
|
38
|
+
|
|
39
|
+
const filterSensitiveLog: (obj: CreateWorkspaceApiKeyRequest) => any;
|
|
40
|
+
}
|
|
41
|
+
export interface CreateWorkspaceApiKeyResponse {
|
|
42
|
+
|
|
43
|
+
keyName: string | undefined;
|
|
44
|
+
|
|
45
|
+
key: string | undefined;
|
|
46
|
+
|
|
47
|
+
workspaceId: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace CreateWorkspaceApiKeyResponse {
|
|
50
|
+
|
|
51
|
+
const filterSensitiveLog: (obj: CreateWorkspaceApiKeyResponse) => any;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export declare class InternalServerException extends __BaseException {
|
|
55
|
+
readonly name: "InternalServerException";
|
|
56
|
+
readonly $fault: "server";
|
|
57
|
+
$retryable: {};
|
|
58
|
+
|
|
59
|
+
retryAfterSeconds?: number;
|
|
60
|
+
|
|
61
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
65
|
+
readonly name: "ResourceNotFoundException";
|
|
66
|
+
readonly $fault: "client";
|
|
67
|
+
|
|
68
|
+
resourceId: string | undefined;
|
|
69
|
+
|
|
70
|
+
resourceType: string | undefined;
|
|
71
|
+
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
76
|
+
readonly name: "ServiceQuotaExceededException";
|
|
77
|
+
readonly $fault: "client";
|
|
78
|
+
|
|
79
|
+
resourceId: string | undefined;
|
|
80
|
+
|
|
81
|
+
resourceType: string | undefined;
|
|
82
|
+
|
|
83
|
+
serviceCode: string | undefined;
|
|
84
|
+
|
|
85
|
+
quotaCode: string | undefined;
|
|
86
|
+
|
|
87
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export declare class ThrottlingException extends __BaseException {
|
|
91
|
+
readonly name: "ThrottlingException";
|
|
92
|
+
readonly $fault: "client";
|
|
93
|
+
$retryable: {};
|
|
94
|
+
|
|
95
|
+
serviceCode?: string;
|
|
96
|
+
|
|
97
|
+
quotaCode?: string;
|
|
98
|
+
|
|
99
|
+
retryAfterSeconds?: number;
|
|
100
|
+
|
|
101
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface ValidationExceptionField {
|
|
105
|
+
|
|
106
|
+
name: string | undefined;
|
|
107
|
+
|
|
108
|
+
message: string | undefined;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace ValidationExceptionField {
|
|
111
|
+
|
|
112
|
+
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
113
|
+
}
|
|
114
|
+
export declare enum ValidationExceptionReason {
|
|
115
|
+
CANNOT_PARSE = "CANNOT_PARSE",
|
|
116
|
+
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
117
|
+
OTHER = "OTHER",
|
|
118
|
+
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export declare class ValidationException extends __BaseException {
|
|
122
|
+
readonly name: "ValidationException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
|
|
125
|
+
reason: ValidationExceptionReason | string | undefined;
|
|
126
|
+
|
|
127
|
+
fieldList?: ValidationExceptionField[];
|
|
128
|
+
|
|
129
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
130
|
+
}
|
|
131
|
+
export interface DeleteWorkspaceApiKeyRequest {
|
|
132
|
+
|
|
133
|
+
keyName: string | undefined;
|
|
134
|
+
|
|
135
|
+
workspaceId: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
export declare namespace DeleteWorkspaceApiKeyRequest {
|
|
138
|
+
|
|
139
|
+
const filterSensitiveLog: (obj: DeleteWorkspaceApiKeyRequest) => any;
|
|
140
|
+
}
|
|
141
|
+
export interface DeleteWorkspaceApiKeyResponse {
|
|
142
|
+
|
|
143
|
+
keyName: string | undefined;
|
|
144
|
+
|
|
145
|
+
workspaceId: string | undefined;
|
|
146
|
+
}
|
|
147
|
+
export declare namespace DeleteWorkspaceApiKeyResponse {
|
|
148
|
+
|
|
149
|
+
const filterSensitiveLog: (obj: DeleteWorkspaceApiKeyResponse) => any;
|
|
150
|
+
}
|
|
151
|
+
|
|
17
152
|
export interface AssertionAttributes {
|
|
18
153
|
|
|
19
154
|
name?: string;
|
|
@@ -184,69 +319,6 @@ export declare namespace AssociateLicenseResponse {
|
|
|
184
319
|
|
|
185
320
|
const filterSensitiveLog: (obj: AssociateLicenseResponse) => any;
|
|
186
321
|
}
|
|
187
|
-
|
|
188
|
-
export declare class InternalServerException extends __BaseException {
|
|
189
|
-
readonly name: "InternalServerException";
|
|
190
|
-
readonly $fault: "server";
|
|
191
|
-
$retryable: {};
|
|
192
|
-
|
|
193
|
-
retryAfterSeconds?: number;
|
|
194
|
-
|
|
195
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
199
|
-
readonly name: "ResourceNotFoundException";
|
|
200
|
-
readonly $fault: "client";
|
|
201
|
-
|
|
202
|
-
resourceId: string | undefined;
|
|
203
|
-
|
|
204
|
-
resourceType: string | undefined;
|
|
205
|
-
|
|
206
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export declare class ThrottlingException extends __BaseException {
|
|
210
|
-
readonly name: "ThrottlingException";
|
|
211
|
-
readonly $fault: "client";
|
|
212
|
-
$retryable: {};
|
|
213
|
-
|
|
214
|
-
serviceCode?: string;
|
|
215
|
-
|
|
216
|
-
quotaCode?: string;
|
|
217
|
-
|
|
218
|
-
retryAfterSeconds?: number;
|
|
219
|
-
|
|
220
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export interface ValidationExceptionField {
|
|
224
|
-
|
|
225
|
-
name: string | undefined;
|
|
226
|
-
|
|
227
|
-
message: string | undefined;
|
|
228
|
-
}
|
|
229
|
-
export declare namespace ValidationExceptionField {
|
|
230
|
-
|
|
231
|
-
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
232
|
-
}
|
|
233
|
-
export declare enum ValidationExceptionReason {
|
|
234
|
-
CANNOT_PARSE = "CANNOT_PARSE",
|
|
235
|
-
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
236
|
-
OTHER = "OTHER",
|
|
237
|
-
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export declare class ValidationException extends __BaseException {
|
|
241
|
-
readonly name: "ValidationException";
|
|
242
|
-
readonly $fault: "client";
|
|
243
|
-
|
|
244
|
-
reason: ValidationExceptionReason | string | undefined;
|
|
245
|
-
|
|
246
|
-
fieldList?: ValidationExceptionField[];
|
|
247
|
-
|
|
248
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
249
|
-
}
|
|
250
322
|
export interface DescribeWorkspaceAuthenticationRequest {
|
|
251
323
|
|
|
252
324
|
workspaceId: string | undefined;
|
|
@@ -356,17 +428,6 @@ export declare namespace DescribeWorkspaceAuthenticationResponse {
|
|
|
356
428
|
|
|
357
429
|
const filterSensitiveLog: (obj: DescribeWorkspaceAuthenticationResponse) => any;
|
|
358
430
|
}
|
|
359
|
-
|
|
360
|
-
export declare class ConflictException extends __BaseException {
|
|
361
|
-
readonly name: "ConflictException";
|
|
362
|
-
readonly $fault: "client";
|
|
363
|
-
|
|
364
|
-
resourceId: string | undefined;
|
|
365
|
-
|
|
366
|
-
resourceType: string | undefined;
|
|
367
|
-
|
|
368
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
369
|
-
}
|
|
370
431
|
export interface UpdateWorkspaceAuthenticationRequest {
|
|
371
432
|
|
|
372
433
|
workspaceId: string | undefined;
|
|
@@ -451,7 +512,9 @@ export declare enum Role {
|
|
|
451
512
|
|
|
452
513
|
ADMIN = "ADMIN",
|
|
453
514
|
|
|
454
|
-
EDITOR = "EDITOR"
|
|
515
|
+
EDITOR = "EDITOR",
|
|
516
|
+
|
|
517
|
+
VIEWER = "VIEWER"
|
|
455
518
|
}
|
|
456
519
|
|
|
457
520
|
export interface User {
|
|
@@ -611,21 +674,6 @@ export declare namespace CreateWorkspaceResponse {
|
|
|
611
674
|
|
|
612
675
|
const filterSensitiveLog: (obj: CreateWorkspaceResponse) => any;
|
|
613
676
|
}
|
|
614
|
-
|
|
615
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
616
|
-
readonly name: "ServiceQuotaExceededException";
|
|
617
|
-
readonly $fault: "client";
|
|
618
|
-
|
|
619
|
-
resourceId: string | undefined;
|
|
620
|
-
|
|
621
|
-
resourceType: string | undefined;
|
|
622
|
-
|
|
623
|
-
serviceCode: string | undefined;
|
|
624
|
-
|
|
625
|
-
quotaCode: string | undefined;
|
|
626
|
-
|
|
627
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
628
|
-
}
|
|
629
677
|
export interface DeleteWorkspaceRequest {
|
|
630
678
|
|
|
631
679
|
workspaceId: string | undefined;
|
|
@@ -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>;
|
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.94.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.94.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.94.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|