@aws-sdk/client-grafana 3.58.0 → 3.61.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/Grafana.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +40 -2
- package/dist-cjs/protocols/Aws_restJson1.js +256 -1
- package/dist-es/Grafana.js +45 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_restJson1.js +331 -3
- package/dist-types/Grafana.d.ts +28 -0
- package/dist-types/GrafanaClient.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +112 -8
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Grafana.d.ts +15 -0
- package/dist-types/ts3.4/GrafanaClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +68 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +1 -1
|
@@ -75,10 +75,14 @@ export declare enum DataSourceType {
|
|
|
75
75
|
|
|
76
76
|
AMAZON_OPENSEARCH_SERVICE = "AMAZON_OPENSEARCH_SERVICE",
|
|
77
77
|
|
|
78
|
+
ATHENA = "ATHENA",
|
|
79
|
+
|
|
78
80
|
CLOUDWATCH = "CLOUDWATCH",
|
|
79
81
|
|
|
80
82
|
PROMETHEUS = "PROMETHEUS",
|
|
81
83
|
|
|
84
|
+
REDSHIFT = "REDSHIFT",
|
|
85
|
+
|
|
82
86
|
SITEWISE = "SITEWISE",
|
|
83
87
|
|
|
84
88
|
TIMESTREAM = "TIMESTREAM",
|
|
@@ -163,6 +167,10 @@ export interface WorkspaceDescription {
|
|
|
163
167
|
freeTrialExpiration?: Date;
|
|
164
168
|
|
|
165
169
|
authentication: AuthenticationSummary | undefined;
|
|
170
|
+
|
|
171
|
+
tags?: {
|
|
172
|
+
[key: string]: string;
|
|
173
|
+
};
|
|
166
174
|
}
|
|
167
175
|
export declare namespace WorkspaceDescription {
|
|
168
176
|
|
|
@@ -397,6 +405,24 @@ export declare namespace DisassociateLicenseResponse {
|
|
|
397
405
|
|
|
398
406
|
const filterSensitiveLog: (obj: DisassociateLicenseResponse) => any;
|
|
399
407
|
}
|
|
408
|
+
export interface ListTagsForResourceRequest {
|
|
409
|
+
|
|
410
|
+
resourceArn: string | undefined;
|
|
411
|
+
}
|
|
412
|
+
export declare namespace ListTagsForResourceRequest {
|
|
413
|
+
|
|
414
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
415
|
+
}
|
|
416
|
+
export interface ListTagsForResourceResponse {
|
|
417
|
+
|
|
418
|
+
tags?: {
|
|
419
|
+
[key: string]: string;
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
export declare namespace ListTagsForResourceResponse {
|
|
423
|
+
|
|
424
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
425
|
+
}
|
|
400
426
|
export declare enum UserType {
|
|
401
427
|
|
|
402
428
|
SSO_GROUP = "SSO_GROUP",
|
|
@@ -509,6 +535,40 @@ export declare namespace UpdatePermissionsResponse {
|
|
|
509
535
|
|
|
510
536
|
const filterSensitiveLog: (obj: UpdatePermissionsResponse) => any;
|
|
511
537
|
}
|
|
538
|
+
export interface TagResourceRequest {
|
|
539
|
+
|
|
540
|
+
resourceArn: string | undefined;
|
|
541
|
+
|
|
542
|
+
tags: {
|
|
543
|
+
[key: string]: string;
|
|
544
|
+
} | undefined;
|
|
545
|
+
}
|
|
546
|
+
export declare namespace TagResourceRequest {
|
|
547
|
+
|
|
548
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
549
|
+
}
|
|
550
|
+
export interface TagResourceResponse {
|
|
551
|
+
}
|
|
552
|
+
export declare namespace TagResourceResponse {
|
|
553
|
+
|
|
554
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
555
|
+
}
|
|
556
|
+
export interface UntagResourceRequest {
|
|
557
|
+
|
|
558
|
+
resourceArn: string | undefined;
|
|
559
|
+
|
|
560
|
+
tagKeys: string[] | undefined;
|
|
561
|
+
}
|
|
562
|
+
export declare namespace UntagResourceRequest {
|
|
563
|
+
|
|
564
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
565
|
+
}
|
|
566
|
+
export interface UntagResourceResponse {
|
|
567
|
+
}
|
|
568
|
+
export declare namespace UntagResourceResponse {
|
|
569
|
+
|
|
570
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
571
|
+
}
|
|
512
572
|
export interface CreateWorkspaceRequest {
|
|
513
573
|
|
|
514
574
|
accountAccessType: AccountAccessType | string | undefined;
|
|
@@ -534,6 +594,10 @@ export interface CreateWorkspaceRequest {
|
|
|
534
594
|
workspaceRoleArn?: string;
|
|
535
595
|
|
|
536
596
|
authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
|
|
597
|
+
|
|
598
|
+
tags?: {
|
|
599
|
+
[key: string]: string;
|
|
600
|
+
};
|
|
537
601
|
}
|
|
538
602
|
export declare namespace CreateWorkspaceRequest {
|
|
539
603
|
|
|
@@ -626,6 +690,10 @@ export interface WorkspaceSummary {
|
|
|
626
690
|
status: WorkspaceStatus | string | undefined;
|
|
627
691
|
|
|
628
692
|
authentication: AuthenticationSummary | undefined;
|
|
693
|
+
|
|
694
|
+
tags?: {
|
|
695
|
+
[key: string]: string;
|
|
696
|
+
};
|
|
629
697
|
}
|
|
630
698
|
export declare namespace WorkspaceSummary {
|
|
631
699
|
|
|
@@ -7,7 +7,10 @@ import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthentic
|
|
|
7
7
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
8
8
|
import { DisassociateLicenseCommandInput, DisassociateLicenseCommandOutput } from "../commands/DisassociateLicenseCommand";
|
|
9
9
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
|
|
10
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
10
11
|
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
12
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
13
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
11
14
|
import { UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput } from "../commands/UpdatePermissionsCommand";
|
|
12
15
|
import { UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticationCommandOutput } from "../commands/UpdateWorkspaceAuthenticationCommand";
|
|
13
16
|
import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "../commands/UpdateWorkspaceCommand";
|
|
@@ -18,7 +21,10 @@ export declare const serializeAws_restJson1DescribeWorkspaceCommand: (input: Des
|
|
|
18
21
|
export declare const serializeAws_restJson1DescribeWorkspaceAuthenticationCommand: (input: DescribeWorkspaceAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
22
|
export declare const serializeAws_restJson1DisassociateLicenseCommand: (input: DisassociateLicenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
23
|
export declare const serializeAws_restJson1ListPermissionsCommand: (input: ListPermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
25
|
export declare const serializeAws_restJson1ListWorkspacesCommand: (input: ListWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
28
|
export declare const serializeAws_restJson1UpdatePermissionsCommand: (input: UpdatePermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
29
|
export declare const serializeAws_restJson1UpdateWorkspaceCommand: (input: UpdateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
30
|
export declare const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand: (input: UpdateWorkspaceAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -29,7 +35,10 @@ export declare const deserializeAws_restJson1DescribeWorkspaceCommand: (output:
|
|
|
29
35
|
export declare const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceAuthenticationCommandOutput>;
|
|
30
36
|
export declare const deserializeAws_restJson1DisassociateLicenseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateLicenseCommandOutput>;
|
|
31
37
|
export declare const deserializeAws_restJson1ListPermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPermissionsCommandOutput>;
|
|
38
|
+
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
32
39
|
export declare const deserializeAws_restJson1ListWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspacesCommandOutput>;
|
|
40
|
+
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
41
|
+
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
33
42
|
export declare const deserializeAws_restJson1UpdatePermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePermissionsCommandOutput>;
|
|
34
43
|
export declare const deserializeAws_restJson1UpdateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceCommandOutput>;
|
|
35
44
|
export declare const deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceAuthenticationCommandOutput>;
|
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.61.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",
|