@aws-sdk/client-grafana 3.52.0 → 3.53.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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/GrafanaServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +110 -1
- package/dist-cjs/protocols/Aws_restJson1.js +166 -528
- package/dist-es/index.js +1 -0
- package/dist-es/models/GrafanaServiceException.js +12 -0
- package/dist-es/models/models_0.js +102 -1
- package/dist-es/protocols/Aws_restJson1.js +299 -581
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/GrafanaServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -47
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/GrafanaServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -35
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Grafana service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class GrafanaServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient permissions to perform this action. </p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
export declare enum AccountAccessType {
|
|
11
15
|
/**
|
|
@@ -340,29 +344,25 @@ export declare namespace AssociateLicenseResponse {
|
|
|
340
344
|
/**
|
|
341
345
|
* <p>Unexpected error while processing the request. Retry the request.</p>
|
|
342
346
|
*/
|
|
343
|
-
export
|
|
344
|
-
name: "InternalServerException";
|
|
345
|
-
$fault: "server";
|
|
347
|
+
export declare class InternalServerException extends __BaseException {
|
|
348
|
+
readonly name: "InternalServerException";
|
|
349
|
+
readonly $fault: "server";
|
|
346
350
|
$retryable: {};
|
|
347
|
-
/**
|
|
348
|
-
* <p>A description of the error.</p>
|
|
349
|
-
*/
|
|
350
|
-
message: string | undefined;
|
|
351
351
|
/**
|
|
352
352
|
* <p>How long to wait before you retry this operation.</p>
|
|
353
353
|
*/
|
|
354
354
|
retryAfterSeconds?: number;
|
|
355
|
+
/**
|
|
356
|
+
* @internal
|
|
357
|
+
*/
|
|
358
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
355
359
|
}
|
|
356
360
|
/**
|
|
357
361
|
* <p>The request references a resource that does not exist.</p>
|
|
358
362
|
*/
|
|
359
|
-
export
|
|
360
|
-
name: "ResourceNotFoundException";
|
|
361
|
-
$fault: "client";
|
|
362
|
-
/**
|
|
363
|
-
* <p>The value of a parameter in the request caused an error.</p>
|
|
364
|
-
*/
|
|
365
|
-
message: string | undefined;
|
|
363
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
364
|
+
readonly name: "ResourceNotFoundException";
|
|
365
|
+
readonly $fault: "client";
|
|
366
366
|
/**
|
|
367
367
|
* <p>The ID of the resource that is associated with the error.</p>
|
|
368
368
|
*/
|
|
@@ -371,18 +371,18 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
371
371
|
* <p>The type of the resource that is associated with the error.</p>
|
|
372
372
|
*/
|
|
373
373
|
resourceType: string | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* @internal
|
|
376
|
+
*/
|
|
377
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
374
378
|
}
|
|
375
379
|
/**
|
|
376
380
|
* <p>The request was denied because of request throttling. Retry the request.</p>
|
|
377
381
|
*/
|
|
378
|
-
export
|
|
379
|
-
name: "ThrottlingException";
|
|
380
|
-
$fault: "client";
|
|
382
|
+
export declare class ThrottlingException extends __BaseException {
|
|
383
|
+
readonly name: "ThrottlingException";
|
|
384
|
+
readonly $fault: "client";
|
|
381
385
|
$retryable: {};
|
|
382
|
-
/**
|
|
383
|
-
* <p>A description of the error.</p>
|
|
384
|
-
*/
|
|
385
|
-
message: string | undefined;
|
|
386
386
|
/**
|
|
387
387
|
* <p>The ID of the service that is associated with the error.</p>
|
|
388
388
|
*/
|
|
@@ -395,6 +395,10 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
395
395
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
396
396
|
*/
|
|
397
397
|
retryAfterSeconds?: number;
|
|
398
|
+
/**
|
|
399
|
+
* @internal
|
|
400
|
+
*/
|
|
401
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
398
402
|
}
|
|
399
403
|
/**
|
|
400
404
|
* <p>A structure that contains information about a request parameter that caused an error.</p>
|
|
@@ -424,13 +428,9 @@ export declare enum ValidationExceptionReason {
|
|
|
424
428
|
/**
|
|
425
429
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
426
430
|
*/
|
|
427
|
-
export
|
|
428
|
-
name: "ValidationException";
|
|
429
|
-
$fault: "client";
|
|
430
|
-
/**
|
|
431
|
-
* <p>A description of the error.</p>
|
|
432
|
-
*/
|
|
433
|
-
message: string | undefined;
|
|
431
|
+
export declare class ValidationException extends __BaseException {
|
|
432
|
+
readonly name: "ValidationException";
|
|
433
|
+
readonly $fault: "client";
|
|
434
434
|
/**
|
|
435
435
|
* <p>The reason that the operation failed.</p>
|
|
436
436
|
*/
|
|
@@ -439,6 +439,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
439
439
|
* <p>A list of fields that might be associated with the error.</p>
|
|
440
440
|
*/
|
|
441
441
|
fieldList?: ValidationExceptionField[];
|
|
442
|
+
/**
|
|
443
|
+
* @internal
|
|
444
|
+
*/
|
|
445
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
442
446
|
}
|
|
443
447
|
export interface DescribeWorkspaceAuthenticationRequest {
|
|
444
448
|
/**
|
|
@@ -630,13 +634,9 @@ export declare namespace DescribeWorkspaceAuthenticationResponse {
|
|
|
630
634
|
/**
|
|
631
635
|
* <p>A resource was in an inconsistent state during an update or a deletion.</p>
|
|
632
636
|
*/
|
|
633
|
-
export
|
|
634
|
-
name: "ConflictException";
|
|
635
|
-
$fault: "client";
|
|
636
|
-
/**
|
|
637
|
-
* <p>A description of the error.</p>
|
|
638
|
-
*/
|
|
639
|
-
message: string | undefined;
|
|
637
|
+
export declare class ConflictException extends __BaseException {
|
|
638
|
+
readonly name: "ConflictException";
|
|
639
|
+
readonly $fault: "client";
|
|
640
640
|
/**
|
|
641
641
|
* <p>The ID of the resource that is associated with the error.</p>
|
|
642
642
|
*/
|
|
@@ -645,6 +645,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
645
645
|
* <p>The type of the resource that is associated with the error.</p>
|
|
646
646
|
*/
|
|
647
647
|
resourceType: string | undefined;
|
|
648
|
+
/**
|
|
649
|
+
* @internal
|
|
650
|
+
*/
|
|
651
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
648
652
|
}
|
|
649
653
|
export interface UpdateWorkspaceAuthenticationRequest {
|
|
650
654
|
/**
|
|
@@ -1011,13 +1015,9 @@ export declare namespace CreateWorkspaceResponse {
|
|
|
1011
1015
|
/**
|
|
1012
1016
|
* <p>The request would cause a service quota to be exceeded.</p>
|
|
1013
1017
|
*/
|
|
1014
|
-
export
|
|
1015
|
-
name: "ServiceQuotaExceededException";
|
|
1016
|
-
$fault: "client";
|
|
1017
|
-
/**
|
|
1018
|
-
* <p>A description of the error.</p>
|
|
1019
|
-
*/
|
|
1020
|
-
message: string | undefined;
|
|
1018
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1019
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1020
|
+
readonly $fault: "client";
|
|
1021
1021
|
/**
|
|
1022
1022
|
* <p>The ID of the resource that is associated with the error.</p>
|
|
1023
1023
|
*/
|
|
@@ -1034,6 +1034,10 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
1034
1034
|
* <p>The ID of the service quota that was exceeded.</p>
|
|
1035
1035
|
*/
|
|
1036
1036
|
quotaCode: string | undefined;
|
|
1037
|
+
/**
|
|
1038
|
+
* @internal
|
|
1039
|
+
*/
|
|
1040
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1037
1041
|
}
|
|
1038
1042
|
export interface DeleteWorkspaceRequest {
|
|
1039
1043
|
/**
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
export declare enum AccountAccessType {
|
|
9
11
|
|
|
@@ -175,39 +177,39 @@ export declare namespace AssociateLicenseResponse {
|
|
|
175
177
|
const filterSensitiveLog: (obj: AssociateLicenseResponse) => any;
|
|
176
178
|
}
|
|
177
179
|
|
|
178
|
-
export
|
|
179
|
-
name: "InternalServerException";
|
|
180
|
-
$fault: "server";
|
|
180
|
+
export declare class InternalServerException extends __BaseException {
|
|
181
|
+
readonly name: "InternalServerException";
|
|
182
|
+
readonly $fault: "server";
|
|
181
183
|
$retryable: {};
|
|
182
184
|
|
|
183
|
-
message: string | undefined;
|
|
184
|
-
|
|
185
185
|
retryAfterSeconds?: number;
|
|
186
|
+
|
|
187
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
export
|
|
189
|
-
name: "ResourceNotFoundException";
|
|
190
|
-
$fault: "client";
|
|
191
|
-
|
|
192
|
-
message: string | undefined;
|
|
190
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
191
|
+
readonly name: "ResourceNotFoundException";
|
|
192
|
+
readonly $fault: "client";
|
|
193
193
|
|
|
194
194
|
resourceId: string | undefined;
|
|
195
195
|
|
|
196
196
|
resourceType: string | undefined;
|
|
197
|
+
|
|
198
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
197
199
|
}
|
|
198
200
|
|
|
199
|
-
export
|
|
200
|
-
name: "ThrottlingException";
|
|
201
|
-
$fault: "client";
|
|
201
|
+
export declare class ThrottlingException extends __BaseException {
|
|
202
|
+
readonly name: "ThrottlingException";
|
|
203
|
+
readonly $fault: "client";
|
|
202
204
|
$retryable: {};
|
|
203
205
|
|
|
204
|
-
message: string | undefined;
|
|
205
|
-
|
|
206
206
|
serviceCode?: string;
|
|
207
207
|
|
|
208
208
|
quotaCode?: string;
|
|
209
209
|
|
|
210
210
|
retryAfterSeconds?: number;
|
|
211
|
+
|
|
212
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
211
213
|
}
|
|
212
214
|
|
|
213
215
|
export interface ValidationExceptionField {
|
|
@@ -227,15 +229,15 @@ export declare enum ValidationExceptionReason {
|
|
|
227
229
|
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
228
230
|
}
|
|
229
231
|
|
|
230
|
-
export
|
|
231
|
-
name: "ValidationException";
|
|
232
|
-
$fault: "client";
|
|
233
|
-
|
|
234
|
-
message: string | undefined;
|
|
232
|
+
export declare class ValidationException extends __BaseException {
|
|
233
|
+
readonly name: "ValidationException";
|
|
234
|
+
readonly $fault: "client";
|
|
235
235
|
|
|
236
236
|
reason: ValidationExceptionReason | string | undefined;
|
|
237
237
|
|
|
238
238
|
fieldList?: ValidationExceptionField[];
|
|
239
|
+
|
|
240
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
239
241
|
}
|
|
240
242
|
export interface DescribeWorkspaceAuthenticationRequest {
|
|
241
243
|
|
|
@@ -347,15 +349,15 @@ export declare namespace DescribeWorkspaceAuthenticationResponse {
|
|
|
347
349
|
const filterSensitiveLog: (obj: DescribeWorkspaceAuthenticationResponse) => any;
|
|
348
350
|
}
|
|
349
351
|
|
|
350
|
-
export
|
|
351
|
-
name: "ConflictException";
|
|
352
|
-
$fault: "client";
|
|
353
|
-
|
|
354
|
-
message: string | undefined;
|
|
352
|
+
export declare class ConflictException extends __BaseException {
|
|
353
|
+
readonly name: "ConflictException";
|
|
354
|
+
readonly $fault: "client";
|
|
355
355
|
|
|
356
356
|
resourceId: string | undefined;
|
|
357
357
|
|
|
358
358
|
resourceType: string | undefined;
|
|
359
|
+
|
|
360
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
359
361
|
}
|
|
360
362
|
export interface UpdateWorkspaceAuthenticationRequest {
|
|
361
363
|
|
|
@@ -546,11 +548,9 @@ export declare namespace CreateWorkspaceResponse {
|
|
|
546
548
|
const filterSensitiveLog: (obj: CreateWorkspaceResponse) => any;
|
|
547
549
|
}
|
|
548
550
|
|
|
549
|
-
export
|
|
550
|
-
name: "ServiceQuotaExceededException";
|
|
551
|
-
$fault: "client";
|
|
552
|
-
|
|
553
|
-
message: string | undefined;
|
|
551
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
552
|
+
readonly name: "ServiceQuotaExceededException";
|
|
553
|
+
readonly $fault: "client";
|
|
554
554
|
|
|
555
555
|
resourceId: string | undefined;
|
|
556
556
|
|
|
@@ -559,6 +559,8 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
559
559
|
serviceCode: string | undefined;
|
|
560
560
|
|
|
561
561
|
quotaCode: string | undefined;
|
|
562
|
+
|
|
563
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
562
564
|
}
|
|
563
565
|
export interface DeleteWorkspaceRequest {
|
|
564
566
|
|
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.53.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,34 +18,34 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|