@aws-sdk/client-grafana 3.298.0 → 3.300.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.
@@ -28,6 +28,10 @@ export interface AssociateLicenseCommandOutput extends AssociateLicenseResponse,
28
28
  * import { GrafanaClient, AssociateLicenseCommand } from "@aws-sdk/client-grafana"; // ES Modules import
29
29
  * // const { GrafanaClient, AssociateLicenseCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
30
30
  * const client = new GrafanaClient(config);
31
+ * const input = {
32
+ * workspaceId: "STRING_VALUE", // required
33
+ * licenseType: "STRING_VALUE", // required
34
+ * };
31
35
  * const command = new AssociateLicenseCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -28,6 +28,12 @@ export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKe
28
28
  * import { GrafanaClient, CreateWorkspaceApiKeyCommand } from "@aws-sdk/client-grafana"; // ES Modules import
29
29
  * // const { GrafanaClient, CreateWorkspaceApiKeyCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
30
30
  * const client = new GrafanaClient(config);
31
+ * const input = {
32
+ * keyName: "STRING_VALUE", // required
33
+ * keyRole: "STRING_VALUE", // required
34
+ * secondsToLive: Number("int"), // required
35
+ * workspaceId: "STRING_VALUE", // required
36
+ * };
31
37
  * const command = new CreateWorkspaceApiKeyCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -30,6 +30,48 @@ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, _
30
30
  * import { GrafanaClient, CreateWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
31
31
  * // const { GrafanaClient, CreateWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
32
32
  * const client = new GrafanaClient(config);
33
+ * const input = {
34
+ * accountAccessType: "STRING_VALUE", // required
35
+ * clientToken: "STRING_VALUE",
36
+ * organizationRoleName: "STRING_VALUE",
37
+ * permissionType: "STRING_VALUE", // required
38
+ * stackSetName: "STRING_VALUE",
39
+ * workspaceDataSources: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * workspaceDescription: "STRING_VALUE",
43
+ * workspaceName: "STRING_VALUE",
44
+ * workspaceNotificationDestinations: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * workspaceOrganizationalUnits: [
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * workspaceRoleArn: "STRING_VALUE",
51
+ * authenticationProviders: [ // required
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * tags: {
55
+ * "<keys>": "STRING_VALUE",
56
+ * },
57
+ * vpcConfiguration: {
58
+ * securityGroupIds: [ // required
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * subnetIds: [ // required
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * },
65
+ * configuration: "STRING_VALUE",
66
+ * networkAccessControl: {
67
+ * prefixListIds: [ // required
68
+ * "STRING_VALUE",
69
+ * ],
70
+ * vpceIds: [ // required
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * },
74
+ * };
33
75
  * const command = new CreateWorkspaceCommand(input);
34
76
  * const response = await client.send(command);
35
77
  * ```
@@ -26,6 +26,10 @@ export interface DeleteWorkspaceApiKeyCommandOutput extends DeleteWorkspaceApiKe
26
26
  * import { GrafanaClient, DeleteWorkspaceApiKeyCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DeleteWorkspaceApiKeyCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
+ * const input = {
30
+ * keyName: "STRING_VALUE", // required
31
+ * workspaceId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteWorkspaceApiKeyCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DeleteWorkspaceCommandOutput extends DeleteWorkspaceResponse, _
26
26
  * import { GrafanaClient, DeleteWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DeleteWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteWorkspaceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,9 @@ export interface DescribeWorkspaceAuthenticationCommandOutput extends DescribeWo
27
27
  * import { GrafanaClient, DescribeWorkspaceAuthenticationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, DescribeWorkspaceAuthenticationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
+ * const input = {
31
+ * workspaceId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeWorkspaceAuthenticationCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface DescribeWorkspaceCommandOutput extends DescribeWorkspaceRespons
26
26
  * import { GrafanaClient, DescribeWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DescribeWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeWorkspaceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeWorkspaceConfigurationCommandOutput extends DescribeWor
26
26
  * import { GrafanaClient, DescribeWorkspaceConfigurationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DescribeWorkspaceConfigurationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeWorkspaceConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface DisassociateLicenseCommandOutput extends DisassociateLicenseRes
26
26
  * import { GrafanaClient, DisassociateLicenseCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DisassociateLicenseCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * licenseType: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DisassociateLicenseCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -31,6 +31,14 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
31
31
  * import { GrafanaClient, ListPermissionsCommand } from "@aws-sdk/client-grafana"; // ES Modules import
32
32
  * // const { GrafanaClient, ListPermissionsCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
33
33
  * const client = new GrafanaClient(config);
34
+ * const input = {
35
+ * maxResults: Number("int"),
36
+ * nextToken: "STRING_VALUE",
37
+ * userType: "STRING_VALUE",
38
+ * userId: "STRING_VALUE",
39
+ * groupId: "STRING_VALUE",
40
+ * workspaceId: "STRING_VALUE", // required
41
+ * };
34
42
  * const command = new ListPermissionsCommand(input);
35
43
  * const response = await client.send(command);
36
44
  * ```
@@ -29,6 +29,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * import { GrafanaClient, ListTagsForResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
30
30
  * // const { GrafanaClient, ListTagsForResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
31
31
  * const client = new GrafanaClient(config);
32
+ * const input = {
33
+ * resourceArn: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new ListTagsForResourceCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -27,6 +27,10 @@ export interface ListWorkspacesCommandOutput extends ListWorkspacesResponse, __M
27
27
  * import { GrafanaClient, ListWorkspacesCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, ListWorkspacesCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
+ * const input = {
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * };
30
34
  * const command = new ListWorkspacesCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -31,6 +31,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
31
31
  * import { GrafanaClient, TagResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
32
32
  * // const { GrafanaClient, TagResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
33
33
  * const client = new GrafanaClient(config);
34
+ * const input = {
35
+ * resourceArn: "STRING_VALUE", // required
36
+ * tags: { // required
37
+ * "<keys>": "STRING_VALUE",
38
+ * },
39
+ * };
34
40
  * const command = new TagResourceCommand(input);
35
41
  * const response = await client.send(command);
36
42
  * ```
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
27
  * import { GrafanaClient, UntagResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, UntagResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
+ * const input = {
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * tagKeys: [ // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
30
36
  * const command = new UntagResourceCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -27,6 +27,21 @@ export interface UpdatePermissionsCommandOutput extends UpdatePermissionsRespons
27
27
  * import { GrafanaClient, UpdatePermissionsCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, UpdatePermissionsCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
+ * const input = {
31
+ * updateInstructionBatch: [ // required
32
+ * {
33
+ * action: "STRING_VALUE", // required
34
+ * role: "STRING_VALUE", // required
35
+ * users: [ // required
36
+ * {
37
+ * id: "STRING_VALUE", // required
38
+ * type: "STRING_VALUE", // required
39
+ * },
40
+ * ],
41
+ * },
42
+ * ],
43
+ * workspaceId: "STRING_VALUE", // required
44
+ * };
30
45
  * const command = new UpdatePermissionsCommand(input);
31
46
  * const response = await client.send(command);
32
47
  * ```
@@ -33,6 +33,38 @@ export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorksp
33
33
  * import { GrafanaClient, UpdateWorkspaceAuthenticationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
34
34
  * // const { GrafanaClient, UpdateWorkspaceAuthenticationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
35
35
  * const client = new GrafanaClient(config);
36
+ * const input = {
37
+ * workspaceId: "STRING_VALUE", // required
38
+ * authenticationProviders: [ // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * samlConfiguration: {
42
+ * idpMetadata: { // Union: only one key present
43
+ * url: "STRING_VALUE",
44
+ * xml: "STRING_VALUE",
45
+ * },
46
+ * assertionAttributes: {
47
+ * name: "STRING_VALUE",
48
+ * login: "STRING_VALUE",
49
+ * email: "STRING_VALUE",
50
+ * groups: "STRING_VALUE",
51
+ * role: "STRING_VALUE",
52
+ * org: "STRING_VALUE",
53
+ * },
54
+ * roleValues: {
55
+ * editor: [
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * admin: [
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * },
62
+ * allowedOrganizations: [
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * loginValidityDuration: Number("int"),
66
+ * },
67
+ * };
36
68
  * const command = new UpdateWorkspaceAuthenticationCommand(input);
37
69
  * const response = await client.send(command);
38
70
  * ```
@@ -31,6 +31,43 @@ export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, _
31
31
  * import { GrafanaClient, UpdateWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
32
32
  * // const { GrafanaClient, UpdateWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
33
33
  * const client = new GrafanaClient(config);
34
+ * const input = {
35
+ * accountAccessType: "STRING_VALUE",
36
+ * organizationRoleName: "STRING_VALUE",
37
+ * permissionType: "STRING_VALUE",
38
+ * stackSetName: "STRING_VALUE",
39
+ * workspaceDataSources: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * workspaceDescription: "STRING_VALUE",
43
+ * workspaceId: "STRING_VALUE", // required
44
+ * workspaceName: "STRING_VALUE",
45
+ * workspaceNotificationDestinations: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * workspaceOrganizationalUnits: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * workspaceRoleArn: "STRING_VALUE",
52
+ * vpcConfiguration: {
53
+ * securityGroupIds: [ // required
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * subnetIds: [ // required
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * },
60
+ * removeVpcConfiguration: true || false,
61
+ * networkAccessControl: {
62
+ * prefixListIds: [ // required
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * vpceIds: [ // required
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * },
69
+ * removeNetworkAccessConfiguration: true || false,
70
+ * };
34
71
  * const command = new UpdateWorkspaceCommand(input);
35
72
  * const response = await client.send(command);
36
73
  * ```
@@ -26,6 +26,10 @@ export interface UpdateWorkspaceConfigurationCommandOutput extends UpdateWorkspa
26
26
  * import { GrafanaClient, UpdateWorkspaceConfigurationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, UpdateWorkspaceConfigurationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
+ * const input = {
30
+ * configuration: "STRING_VALUE", // required
31
+ * workspaceId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdateWorkspaceConfigurationCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
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.298.0",
4
+ "version": "3.300.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",
@@ -21,23 +21,23 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"