You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-grafana): This release includes support for configuring a Grafana workspace to connect to a datasource within a VPC as well as new APIs for configuring Grafana settings.
@@ -91,8 +101,8 @@ import { GrafanaClient } from "./GrafanaClient";
91
101
exportclassGrafanaextendsGrafanaClient{
92
102
/**
93
103
* <p>Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise
94
-
* incurs additional fees. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html">Upgrade a workspace to
95
-
* Grafana Enterprise</a>.</p>
104
+
* incurs additional fees. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html">Upgrade a workspace to
105
+
* Grafana Enterprise</a>.</p>
96
106
*/
97
107
publicassociateLicense(
98
108
args: AssociateLicenseCommandInput,
@@ -125,10 +135,10 @@ export class Grafana extends GrafanaClient {
125
135
126
136
/**
127
137
* <p>Creates a <i>workspace</i>. In a workspace, you can create Grafana
128
-
* dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to
129
-
* build, package, or deploy any hardware to run the Grafana server.</p>
130
-
* <p>Don't use <code>CreateWorkspace</code> to modify an existing workspace. Instead,
131
-
* use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspace.html">UpdateWorkspace</a>.</p>
138
+
* dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to
139
+
* build, package, or deploy any hardware to run the Grafana server.</p>
140
+
* <p>Don't use <code>CreateWorkspace</code> to modify an existing workspace. Instead,
141
+
* use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspace.html">UpdateWorkspace</a>.</p>
132
142
*/
133
143
publiccreateWorkspace(
134
144
args: CreateWorkspaceCommandInput,
@@ -160,10 +170,10 @@ export class Grafana extends GrafanaClient {
160
170
}
161
171
162
172
/**
163
-
* <p>Creates an API key for the workspace. This key can be used to authenticate
* <p>Creates a Grafana API key for the workspace. This key can be used to
174
+
* authenticate requests sent to the workspace's HTTP API.
175
+
* See <a href="https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html">https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html</a>
176
+
* for available APIs and example requests.</p>
167
177
*/
168
178
publiccreateWorkspaceApiKey(
169
179
args: CreateWorkspaceApiKeyCommandInput,
@@ -227,7 +237,7 @@ export class Grafana extends GrafanaClient {
227
237
}
228
238
229
239
/**
230
-
* <p>Deletes an API key for a workspace.</p>
240
+
* <p>Deletes a Grafana API key for the workspace.</p>
231
241
*/
232
242
publicdeleteWorkspaceApiKey(
233
243
args: DeleteWorkspaceApiKeyCommandInput,
@@ -322,6 +332,38 @@ export class Grafana extends GrafanaClient {
322
332
}
323
333
}
324
334
335
+
/**
336
+
* <p>Gets the current configuration string for the given workspace.</p>
if(typeofoptionsOrCb!=="object")thrownewError(`Expect http options but get ${typeofoptionsOrCb}`);
361
+
this.send(command,optionsOrCb||{},cb);
362
+
}else{
363
+
returnthis.send(command,optionsOrCb);
364
+
}
365
+
}
366
+
325
367
/**
326
368
* <p>Removes the Grafana Enterprise license from a workspace.</p>
327
369
*/
@@ -356,12 +398,12 @@ export class Grafana extends GrafanaClient {
356
398
357
399
/**
358
400
* <p>Lists the users and groups who have the Grafana <code>Admin</code> and
359
-
* <code>Editor</code> roles in this workspace. If you use this
360
-
* operation without specifying <code>userId</code> or <code>groupId</code>, the operation returns
361
-
* the roles of all users
362
-
* and groups. If you specify a <code>userId</code> or a <code>groupId</code>, only the roles
363
-
* for that user or group are returned. If you do this, you can specify only one <code>userId</code> or
364
-
* one <code>groupId</code>.</p>
401
+
* <code>Editor</code> roles in this workspace. If you use this
402
+
* operation without specifying <code>userId</code> or <code>groupId</code>, the operation returns
403
+
* the roles of all users
404
+
* and groups. If you specify a <code>userId</code> or a <code>groupId</code>, only the roles
405
+
* for that user or group are returned. If you do this, you can specify only one <code>userId</code> or
406
+
* one <code>groupId</code>.</p>
365
407
*/
366
408
publiclistPermissions(
367
409
args: ListPermissionsCommandInput,
@@ -394,8 +436,8 @@ export class Grafana extends GrafanaClient {
394
436
395
437
/**
396
438
* <p>The <code>ListTagsForResource</code> operation returns the tags that
397
-
* are associated with the Amazon Managed Service for Grafana resource specified by the <code>resourceArn</code>.
398
-
* Currently, the only resource that can be tagged is a workspace. </p>
439
+
* are associated with the Amazon Managed Service for Grafana resource specified by the <code>resourceArn</code>.
440
+
* Currently, the only resource that can be tagged is a workspace. </p>
399
441
*/
400
442
publiclistTagsForResource(
401
443
args: ListTagsForResourceCommandInput,
@@ -428,7 +470,7 @@ export class Grafana extends GrafanaClient {
428
470
429
471
/**
430
472
* <p>Returns a list of Amazon Managed Grafana workspaces in the account, with some information
431
-
* about each workspace. For more complete information about one workspace, use <a href="https://docs.aws.amazon.com/AAMG/latest/APIReference/API_DescribeWorkspace.html">DescribeWorkspace</a>.</p>
473
+
* about each workspace. For more complete information about one workspace, use <a href="https://docs.aws.amazon.com/AAMG/latest/APIReference/API_DescribeWorkspace.html">DescribeWorkspace</a>.</p>
432
474
*/
433
475
publiclistWorkspaces(
434
476
args: ListWorkspacesCommandInput,
@@ -461,10 +503,10 @@ export class Grafana extends GrafanaClient {
461
503
462
504
/**
463
505
* <p>The <code>TagResource</code> operation associates tags with an Amazon Managed Grafana resource.
464
-
* Currently, the only resource that can be tagged is workspaces. </p>
465
-
* <p>If you specify a new tag key for the resource, this tag is appended to the list of tags associated
466
-
* with the resource. If you specify a tag key that is already associated with the resource, the new tag
467
-
* value that you specify replaces the previous value for that tag.</p>
506
+
* Currently, the only resource that can be tagged is workspaces. </p>
507
+
* <p>If you specify a new tag key for the resource, this tag is appended to the list of tags associated
508
+
* with the resource. If you specify a tag key that is already associated with the resource, the new tag
509
+
* value that you specify replaces the previous value for that tag.</p>
* <p>Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise
33
-
* incurs additional fees. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html">Upgrade a workspace to
34
-
* Grafana Enterprise</a>.</p>
33
+
* incurs additional fees. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html">Upgrade a workspace to
34
+
* Grafana Enterprise</a>.</p>
35
35
* @example
36
36
* Use a bare-bones client and the command you need to make an API call.
* <p>Creates a Grafana API key for the workspace. This key can be used to
33
+
* authenticate requests sent to the workspace's HTTP API.
34
+
* See <a href="https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html">https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html</a>
35
+
* for available APIs and example requests.</p>
36
36
* @example
37
37
* Use a bare-bones client and the command you need to make an API call.
0 commit comments