@aws-sdk/client-grafana 3.216.0 → 3.218.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.
Files changed (38) hide show
  1. package/dist-cjs/Grafana.js +30 -0
  2. package/dist-cjs/commands/DescribeWorkspaceConfigurationCommand.js +46 -0
  3. package/dist-cjs/commands/UpdateWorkspaceConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/models_0.js +23 -2
  6. package/dist-cjs/protocols/Aws_restJson1.js +196 -2
  7. package/dist-es/Grafana.js +30 -0
  8. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +42 -0
  9. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +42 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/models/models_0.js +17 -1
  12. package/dist-es/protocols/Aws_restJson1.js +192 -2
  13. package/dist-types/Grafana.d.ts +47 -33
  14. package/dist-types/GrafanaClient.d.ts +4 -2
  15. package/dist-types/commands/AssociateLicenseCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateWorkspaceApiKeyCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateWorkspaceCommand.d.ts +4 -4
  18. package/dist-types/commands/DeleteWorkspaceApiKeyCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +37 -0
  20. package/dist-types/commands/ListPermissionsCommand.d.ts +6 -6
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  22. package/dist-types/commands/ListWorkspacesCommand.d.ts +1 -1
  23. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  24. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateWorkspaceAuthenticationCommand.d.ts +3 -3
  26. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +5 -5
  27. package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +37 -0
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/models_0.d.ts +227 -127
  30. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  31. package/dist-types/ts3.4/Grafana.d.ts +34 -0
  32. package/dist-types/ts3.4/GrafanaClient.d.ts +14 -2
  33. package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +41 -0
  34. package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +41 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +40 -1
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  38. package/package.json +3 -3
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateWorkspaceConfigurationRequestFilterSensitiveLog, UpdateWorkspaceConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateWorkspaceConfigurationCommand, serializeAws_restJson1UpdateWorkspaceConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateWorkspaceConfigurationCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWorkspaceConfigurationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "GrafanaClient";
25
+ const commandName = "UpdateWorkspaceConfigurationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateWorkspaceConfigurationRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateWorkspaceConfigurationResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateWorkspaceConfigurationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateWorkspaceConfigurationCommand(output, context);
41
+ }
42
+ }
@@ -5,6 +5,7 @@ export * from "./DeleteWorkspaceApiKeyCommand";
5
5
  export * from "./DeleteWorkspaceCommand";
6
6
  export * from "./DescribeWorkspaceAuthenticationCommand";
7
7
  export * from "./DescribeWorkspaceCommand";
8
+ export * from "./DescribeWorkspaceConfigurationCommand";
8
9
  export * from "./DisassociateLicenseCommand";
9
10
  export * from "./ListPermissionsCommand";
10
11
  export * from "./ListTagsForResourceCommand";
@@ -14,3 +15,4 @@ export * from "./UntagResourceCommand";
14
15
  export * from "./UpdatePermissionsCommand";
15
16
  export * from "./UpdateWorkspaceAuthenticationCommand";
16
17
  export * from "./UpdateWorkspaceCommand";
18
+ export * from "./UpdateWorkspaceConfigurationCommand";
@@ -1,4 +1,4 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
1
+ import { SENSITIVE_STRING, } from "@aws-sdk/smithy-client";
2
2
  import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
4
  constructor(opts) {
@@ -136,6 +136,7 @@ export var DataSourceType;
136
136
  DataSourceType["REDSHIFT"] = "REDSHIFT";
137
137
  DataSourceType["SITEWISE"] = "SITEWISE";
138
138
  DataSourceType["TIMESTREAM"] = "TIMESTREAM";
139
+ DataSourceType["TWINMAKER"] = "TWINMAKER";
139
140
  DataSourceType["XRAY"] = "XRAY";
140
141
  })(DataSourceType || (DataSourceType = {}));
141
142
  export var NotificationDestinationType;
@@ -212,6 +213,9 @@ export const AssociateLicenseRequestFilterSensitiveLog = (obj) => ({
212
213
  export const AuthenticationSummaryFilterSensitiveLog = (obj) => ({
213
214
  ...obj,
214
215
  });
216
+ export const VpcConfigurationFilterSensitiveLog = (obj) => ({
217
+ ...obj,
218
+ });
215
219
  export const WorkspaceDescriptionFilterSensitiveLog = (obj) => ({
216
220
  ...obj,
217
221
  ...(obj.description && { description: SENSITIVE_STRING }),
@@ -265,6 +269,18 @@ export const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) =>
265
269
  ...obj,
266
270
  ...(obj.authentication && { authentication: AuthenticationDescriptionFilterSensitiveLog(obj.authentication) }),
267
271
  });
272
+ export const DescribeWorkspaceConfigurationRequestFilterSensitiveLog = (obj) => ({
273
+ ...obj,
274
+ });
275
+ export const DescribeWorkspaceConfigurationResponseFilterSensitiveLog = (obj) => ({
276
+ ...obj,
277
+ });
278
+ export const UpdateWorkspaceConfigurationRequestFilterSensitiveLog = (obj) => ({
279
+ ...obj,
280
+ });
281
+ export const UpdateWorkspaceConfigurationResponseFilterSensitiveLog = (obj) => ({
282
+ ...obj,
283
+ });
268
284
  export const DisassociateLicenseRequestFilterSensitiveLog = (obj) => ({
269
285
  ...obj,
270
286
  });
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, LazyJsonString as __LazyJsonString, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { GrafanaServiceException as __BaseException } from "../models/GrafanaServiceException";
5
5
  import { AccessDeniedException, ConflictException, IdpMetadata, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -34,10 +34,14 @@ export const serializeAws_restJson1CreateWorkspaceCommand = async (input, contex
34
34
  authenticationProviders: serializeAws_restJson1AuthenticationProviders(input.authenticationProviders, context),
35
35
  }),
36
36
  clientToken: input.clientToken ?? generateIdempotencyToken(),
37
+ ...(input.configuration != null && { configuration: __LazyJsonString.fromObject(input.configuration) }),
37
38
  ...(input.organizationRoleName != null && { organizationRoleName: input.organizationRoleName }),
38
39
  ...(input.permissionType != null && { permissionType: input.permissionType }),
39
40
  ...(input.stackSetName != null && { stackSetName: input.stackSetName }),
40
41
  ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
42
+ ...(input.vpcConfiguration != null && {
43
+ vpcConfiguration: serializeAws_restJson1VpcConfiguration(input.vpcConfiguration, context),
44
+ }),
41
45
  ...(input.workspaceDataSources != null && {
42
46
  workspaceDataSources: serializeAws_restJson1DataSourceTypesList(input.workspaceDataSources, context),
43
47
  }),
@@ -150,6 +154,22 @@ export const serializeAws_restJson1DescribeWorkspaceAuthenticationCommand = asyn
150
154
  body,
151
155
  });
152
156
  };
157
+ export const serializeAws_restJson1DescribeWorkspaceConfigurationCommand = async (input, context) => {
158
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
159
+ const headers = {};
160
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/configuration";
161
+ resolvedPath = __resolvedPath(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
162
+ let body;
163
+ return new __HttpRequest({
164
+ protocol,
165
+ hostname,
166
+ port,
167
+ method: "GET",
168
+ headers,
169
+ path: resolvedPath,
170
+ body,
171
+ });
172
+ };
153
173
  export const serializeAws_restJson1DisassociateLicenseCommand = async (input, context) => {
154
174
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
155
175
  const headers = {};
@@ -255,7 +275,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
255
275
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
256
276
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
257
277
  const query = map({
258
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
278
+ tagKeys: [
279
+ __expectNonNull(input.tagKeys, `tagKeys`) != null,
280
+ () => (input.tagKeys || []).map((_entry) => _entry),
281
+ ],
259
282
  });
260
283
  let body;
261
284
  return new __HttpRequest({
@@ -304,7 +327,11 @@ export const serializeAws_restJson1UpdateWorkspaceCommand = async (input, contex
304
327
  ...(input.accountAccessType != null && { accountAccessType: input.accountAccessType }),
305
328
  ...(input.organizationRoleName != null && { organizationRoleName: input.organizationRoleName }),
306
329
  ...(input.permissionType != null && { permissionType: input.permissionType }),
330
+ ...(input.removeVpcConfiguration != null && { removeVpcConfiguration: input.removeVpcConfiguration }),
307
331
  ...(input.stackSetName != null && { stackSetName: input.stackSetName }),
332
+ ...(input.vpcConfiguration != null && {
333
+ vpcConfiguration: serializeAws_restJson1VpcConfiguration(input.vpcConfiguration, context),
334
+ }),
308
335
  ...(input.workspaceDataSources != null && {
309
336
  workspaceDataSources: serializeAws_restJson1DataSourceTypesList(input.workspaceDataSources, context),
310
337
  }),
@@ -354,6 +381,27 @@ export const serializeAws_restJson1UpdateWorkspaceAuthenticationCommand = async
354
381
  body,
355
382
  });
356
383
  };
384
+ export const serializeAws_restJson1UpdateWorkspaceConfigurationCommand = async (input, context) => {
385
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
386
+ const headers = {
387
+ "content-type": "application/json",
388
+ };
389
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workspaces/{workspaceId}/configuration";
390
+ resolvedPath = __resolvedPath(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
391
+ let body;
392
+ body = JSON.stringify({
393
+ ...(input.configuration != null && { configuration: __LazyJsonString.fromObject(input.configuration) }),
394
+ });
395
+ return new __HttpRequest({
396
+ protocol,
397
+ hostname,
398
+ port,
399
+ method: "PUT",
400
+ headers,
401
+ path: resolvedPath,
402
+ body,
403
+ });
404
+ };
357
405
  export const deserializeAws_restJson1AssociateLicenseCommand = async (output, context) => {
358
406
  if (output.statusCode !== 202 && output.statusCode >= 300) {
359
407
  return deserializeAws_restJson1AssociateLicenseCommandError(output, context);
@@ -693,6 +741,48 @@ const deserializeAws_restJson1DescribeWorkspaceAuthenticationCommandError = asyn
693
741
  });
694
742
  }
695
743
  };
744
+ export const deserializeAws_restJson1DescribeWorkspaceConfigurationCommand = async (output, context) => {
745
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
746
+ return deserializeAws_restJson1DescribeWorkspaceConfigurationCommandError(output, context);
747
+ }
748
+ const contents = map({
749
+ $metadata: deserializeMetadata(output),
750
+ });
751
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
752
+ if (data.configuration != null) {
753
+ contents.configuration = new __LazyJsonString(data.configuration);
754
+ }
755
+ return contents;
756
+ };
757
+ const deserializeAws_restJson1DescribeWorkspaceConfigurationCommandError = async (output, context) => {
758
+ const parsedOutput = {
759
+ ...output,
760
+ body: await parseErrorBody(output.body, context),
761
+ };
762
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
763
+ switch (errorCode) {
764
+ case "AccessDeniedException":
765
+ case "com.amazonaws.grafana#AccessDeniedException":
766
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
767
+ case "InternalServerException":
768
+ case "com.amazonaws.grafana#InternalServerException":
769
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
770
+ case "ResourceNotFoundException":
771
+ case "com.amazonaws.grafana#ResourceNotFoundException":
772
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
773
+ case "ThrottlingException":
774
+ case "com.amazonaws.grafana#ThrottlingException":
775
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
776
+ default:
777
+ const parsedBody = parsedOutput.body;
778
+ throwDefaultError({
779
+ output,
780
+ parsedBody,
781
+ exceptionCtor: __BaseException,
782
+ errorCode,
783
+ });
784
+ }
785
+ };
696
786
  export const deserializeAws_restJson1DisassociateLicenseCommand = async (output, context) => {
697
787
  if (output.statusCode !== 202 && output.statusCode >= 300) {
698
788
  return deserializeAws_restJson1DisassociateLicenseCommandError(output, context);
@@ -1098,6 +1188,51 @@ const deserializeAws_restJson1UpdateWorkspaceAuthenticationCommandError = async
1098
1188
  });
1099
1189
  }
1100
1190
  };
1191
+ export const deserializeAws_restJson1UpdateWorkspaceConfigurationCommand = async (output, context) => {
1192
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1193
+ return deserializeAws_restJson1UpdateWorkspaceConfigurationCommandError(output, context);
1194
+ }
1195
+ const contents = map({
1196
+ $metadata: deserializeMetadata(output),
1197
+ });
1198
+ await collectBody(output.body, context);
1199
+ return contents;
1200
+ };
1201
+ const deserializeAws_restJson1UpdateWorkspaceConfigurationCommandError = async (output, context) => {
1202
+ const parsedOutput = {
1203
+ ...output,
1204
+ body: await parseErrorBody(output.body, context),
1205
+ };
1206
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1207
+ switch (errorCode) {
1208
+ case "AccessDeniedException":
1209
+ case "com.amazonaws.grafana#AccessDeniedException":
1210
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1211
+ case "ConflictException":
1212
+ case "com.amazonaws.grafana#ConflictException":
1213
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1214
+ case "InternalServerException":
1215
+ case "com.amazonaws.grafana#InternalServerException":
1216
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1217
+ case "ResourceNotFoundException":
1218
+ case "com.amazonaws.grafana#ResourceNotFoundException":
1219
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1220
+ case "ThrottlingException":
1221
+ case "com.amazonaws.grafana#ThrottlingException":
1222
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1223
+ case "ValidationException":
1224
+ case "com.amazonaws.grafana#ValidationException":
1225
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1226
+ default:
1227
+ const parsedBody = parsedOutput.body;
1228
+ throwDefaultError({
1229
+ output,
1230
+ parsedBody,
1231
+ exceptionCtor: __BaseException,
1232
+ errorCode,
1233
+ });
1234
+ }
1235
+ };
1101
1236
  const map = __map;
1102
1237
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1103
1238
  const contents = map({});
@@ -1307,6 +1442,20 @@ const serializeAws_restJson1SamlConfiguration = (input, context) => {
1307
1442
  ...(input.roleValues != null && { roleValues: serializeAws_restJson1RoleValues(input.roleValues, context) }),
1308
1443
  };
1309
1444
  };
1445
+ const serializeAws_restJson1SecurityGroupIds = (input, context) => {
1446
+ return input
1447
+ .filter((e) => e != null)
1448
+ .map((entry) => {
1449
+ return entry;
1450
+ });
1451
+ };
1452
+ const serializeAws_restJson1SubnetIds = (input, context) => {
1453
+ return input
1454
+ .filter((e) => e != null)
1455
+ .map((entry) => {
1456
+ return entry;
1457
+ });
1458
+ };
1310
1459
  const serializeAws_restJson1TagMap = (input, context) => {
1311
1460
  return Object.entries(input).reduce((acc, [key, value]) => {
1312
1461
  if (value === null) {
@@ -1343,6 +1492,14 @@ const serializeAws_restJson1UserList = (input, context) => {
1343
1492
  return serializeAws_restJson1User(entry, context);
1344
1493
  });
1345
1494
  };
1495
+ const serializeAws_restJson1VpcConfiguration = (input, context) => {
1496
+ return {
1497
+ ...(input.securityGroupIds != null && {
1498
+ securityGroupIds: serializeAws_restJson1SecurityGroupIds(input.securityGroupIds, context),
1499
+ }),
1500
+ ...(input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetIds(input.subnetIds, context) }),
1501
+ };
1502
+ };
1346
1503
  const deserializeAws_restJson1AllowedOrganizations = (output, context) => {
1347
1504
  const retVal = (output || [])
1348
1505
  .filter((e) => e != null)
@@ -1492,6 +1649,28 @@ const deserializeAws_restJson1SamlConfiguration = (output, context) => {
1492
1649
  roleValues: output.roleValues != null ? deserializeAws_restJson1RoleValues(output.roleValues, context) : undefined,
1493
1650
  };
1494
1651
  };
1652
+ const deserializeAws_restJson1SecurityGroupIds = (output, context) => {
1653
+ const retVal = (output || [])
1654
+ .filter((e) => e != null)
1655
+ .map((entry) => {
1656
+ if (entry === null) {
1657
+ return null;
1658
+ }
1659
+ return __expectString(entry);
1660
+ });
1661
+ return retVal;
1662
+ };
1663
+ const deserializeAws_restJson1SubnetIds = (output, context) => {
1664
+ const retVal = (output || [])
1665
+ .filter((e) => e != null)
1666
+ .map((entry) => {
1667
+ if (entry === null) {
1668
+ return null;
1669
+ }
1670
+ return __expectString(entry);
1671
+ });
1672
+ return retVal;
1673
+ };
1495
1674
  const deserializeAws_restJson1TagMap = (output, context) => {
1496
1675
  return Object.entries(output).reduce((acc, [key, value]) => {
1497
1676
  if (value === null) {
@@ -1560,6 +1739,14 @@ const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) =
1560
1739
  });
1561
1740
  return retVal;
1562
1741
  };
1742
+ const deserializeAws_restJson1VpcConfiguration = (output, context) => {
1743
+ return {
1744
+ securityGroupIds: output.securityGroupIds != null
1745
+ ? deserializeAws_restJson1SecurityGroupIds(output.securityGroupIds, context)
1746
+ : undefined,
1747
+ subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIds(output.subnetIds, context) : undefined,
1748
+ };
1749
+ };
1563
1750
  const deserializeAws_restJson1WorkspaceDescription = (output, context) => {
1564
1751
  return {
1565
1752
  accountAccessType: __expectString(output.accountAccessType),
@@ -1593,6 +1780,9 @@ const deserializeAws_restJson1WorkspaceDescription = (output, context) => {
1593
1780
  stackSetName: __expectString(output.stackSetName),
1594
1781
  status: __expectString(output.status),
1595
1782
  tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1783
+ vpcConfiguration: output.vpcConfiguration != null
1784
+ ? deserializeAws_restJson1VpcConfiguration(output.vpcConfiguration, context)
1785
+ : undefined,
1596
1786
  workspaceRoleArn: __expectString(output.workspaceRoleArn),
1597
1787
  };
1598
1788
  };
@@ -6,6 +6,7 @@ import { DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput }
6
6
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
7
7
  import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput } from "./commands/DescribeWorkspaceAuthenticationCommand";
8
8
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
9
+ import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "./commands/DescribeWorkspaceConfigurationCommand";
9
10
  import { DisassociateLicenseCommandInput, DisassociateLicenseCommandOutput } from "./commands/DisassociateLicenseCommand";
10
11
  import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
11
12
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -15,6 +16,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
15
16
  import { UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput } from "./commands/UpdatePermissionsCommand";
16
17
  import { UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticationCommandOutput } from "./commands/UpdateWorkspaceAuthenticationCommand";
17
18
  import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
19
+ import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput } from "./commands/UpdateWorkspaceConfigurationCommand";
18
20
  import { GrafanaClient } from "./GrafanaClient";
19
21
  /**
20
22
  * <p>Amazon Managed Grafana is a fully managed and secure data visualization service that you can use to
@@ -28,27 +30,27 @@ import { GrafanaClient } from "./GrafanaClient";
28
30
  export declare class Grafana extends GrafanaClient {
29
31
  /**
30
32
  * <p>Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise
31
- * 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
32
- * 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>
33
35
  */
34
36
  associateLicense(args: AssociateLicenseCommandInput, options?: __HttpHandlerOptions): Promise<AssociateLicenseCommandOutput>;
35
37
  associateLicense(args: AssociateLicenseCommandInput, cb: (err: any, data?: AssociateLicenseCommandOutput) => void): void;
36
38
  associateLicense(args: AssociateLicenseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateLicenseCommandOutput) => void): void;
37
39
  /**
38
40
  * <p>Creates a <i>workspace</i>. In a workspace, you can create Grafana
39
- * dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to
40
- * build, package, or deploy any hardware to run the Grafana server.</p>
41
- * <p>Don't use <code>CreateWorkspace</code> to modify an existing workspace. Instead,
42
- * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspace.html">UpdateWorkspace</a>.</p>
41
+ * dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to
42
+ * build, package, or deploy any hardware to run the Grafana server.</p>
43
+ * <p>Don't use <code>CreateWorkspace</code> to modify an existing workspace. Instead,
44
+ * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspace.html">UpdateWorkspace</a>.</p>
43
45
  */
44
46
  createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
45
47
  createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
46
48
  createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
47
49
  /**
48
- * <p>Creates an API key for the workspace. This key can be used to authenticate
49
- * requests sent to the workspace's HTTP API. See
50
- * <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>
51
- * for available APIs and example requests.</p>
50
+ * <p>Creates a Grafana API key for the workspace. This key can be used to
51
+ * authenticate requests sent to the workspace's HTTP API.
52
+ * 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>
53
+ * for available APIs and example requests.</p>
52
54
  */
53
55
  createWorkspaceApiKey(args: CreateWorkspaceApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceApiKeyCommandOutput>;
54
56
  createWorkspaceApiKey(args: CreateWorkspaceApiKeyCommandInput, cb: (err: any, data?: CreateWorkspaceApiKeyCommandOutput) => void): void;
@@ -60,7 +62,7 @@ export declare class Grafana extends GrafanaClient {
60
62
  deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
61
63
  deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
62
64
  /**
63
- * <p>Deletes an API key for a workspace.</p>
65
+ * <p>Deletes a Grafana API key for the workspace.</p>
64
66
  */
65
67
  deleteWorkspaceApiKey(args: DeleteWorkspaceApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceApiKeyCommandOutput>;
66
68
  deleteWorkspaceApiKey(args: DeleteWorkspaceApiKeyCommandInput, cb: (err: any, data?: DeleteWorkspaceApiKeyCommandOutput) => void): void;
@@ -77,6 +79,12 @@ export declare class Grafana extends GrafanaClient {
77
79
  describeWorkspaceAuthentication(args: DescribeWorkspaceAuthenticationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceAuthenticationCommandOutput>;
78
80
  describeWorkspaceAuthentication(args: DescribeWorkspaceAuthenticationCommandInput, cb: (err: any, data?: DescribeWorkspaceAuthenticationCommandOutput) => void): void;
79
81
  describeWorkspaceAuthentication(args: DescribeWorkspaceAuthenticationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceAuthenticationCommandOutput) => void): void;
82
+ /**
83
+ * <p>Gets the current configuration string for the given workspace.</p>
84
+ */
85
+ describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceConfigurationCommandOutput>;
86
+ describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void): void;
87
+ describeWorkspaceConfiguration(args: DescribeWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceConfigurationCommandOutput) => void): void;
80
88
  /**
81
89
  * <p>Removes the Grafana Enterprise license from a workspace.</p>
82
90
  */
@@ -85,44 +93,44 @@ export declare class Grafana extends GrafanaClient {
85
93
  disassociateLicense(args: DisassociateLicenseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateLicenseCommandOutput) => void): void;
86
94
  /**
87
95
  * <p>Lists the users and groups who have the Grafana <code>Admin</code> and
88
- * <code>Editor</code> roles in this workspace. If you use this
89
- * operation without specifying <code>userId</code> or <code>groupId</code>, the operation returns
90
- * the roles of all users
91
- * and groups. If you specify a <code>userId</code> or a <code>groupId</code>, only the roles
92
- * for that user or group are returned. If you do this, you can specify only one <code>userId</code> or
93
- * one <code>groupId</code>.</p>
96
+ * <code>Editor</code> roles in this workspace. If you use this
97
+ * operation without specifying <code>userId</code> or <code>groupId</code>, the operation returns
98
+ * the roles of all users
99
+ * and groups. If you specify a <code>userId</code> or a <code>groupId</code>, only the roles
100
+ * for that user or group are returned. If you do this, you can specify only one <code>userId</code> or
101
+ * one <code>groupId</code>.</p>
94
102
  */
95
103
  listPermissions(args: ListPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionsCommandOutput>;
96
104
  listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
97
105
  listPermissions(args: ListPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
98
106
  /**
99
107
  * <p>The <code>ListTagsForResource</code> operation returns the tags that
100
- * are associated with the Amazon Managed Service for Grafana resource specified by the <code>resourceArn</code>.
101
- * Currently, the only resource that can be tagged is a workspace. </p>
108
+ * are associated with the Amazon Managed Service for Grafana resource specified by the <code>resourceArn</code>.
109
+ * Currently, the only resource that can be tagged is a workspace. </p>
102
110
  */
103
111
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
104
112
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
105
113
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
106
114
  /**
107
115
  * <p>Returns a list of Amazon Managed Grafana workspaces in the account, with some information
108
- * 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>
116
+ * 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>
109
117
  */
110
118
  listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
111
119
  listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
112
120
  listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
113
121
  /**
114
122
  * <p>The <code>TagResource</code> operation associates tags with an Amazon Managed Grafana resource.
115
- * Currently, the only resource that can be tagged is workspaces. </p>
116
- * <p>If you specify a new tag key for the resource, this tag is appended to the list of tags associated
117
- * with the resource. If you specify a tag key that is already associated with the resource, the new tag
118
- * value that you specify replaces the previous value for that tag.</p>
123
+ * Currently, the only resource that can be tagged is workspaces. </p>
124
+ * <p>If you specify a new tag key for the resource, this tag is appended to the list of tags associated
125
+ * with the resource. If you specify a tag key that is already associated with the resource, the new tag
126
+ * value that you specify replaces the previous value for that tag.</p>
119
127
  */
120
128
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
121
129
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
122
130
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
123
131
  /**
124
132
  * <p>The <code>UntagResource</code> operation removes the association of the tag with the Amazon Managed Grafana resource.
125
- * </p>
133
+ * </p>
126
134
  */
127
135
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
128
136
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
@@ -135,22 +143,28 @@ export declare class Grafana extends GrafanaClient {
135
143
  updatePermissions(args: UpdatePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePermissionsCommandOutput) => void): void;
136
144
  /**
137
145
  * <p>Modifies an existing Amazon Managed Grafana workspace. If you use this operation and omit any
138
- * optional parameters, the existing values of those parameters are not changed.</p>
139
- * <p>To modify the user authentication methods that the workspace uses, such as SAML or Amazon Web Services SSO,
140
- * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspaceAuthentication.html">UpdateWorkspaceAuthentication</a>.</p>
141
- * <p>To modify which users in the workspace have the <code>Admin</code> and <code>Editor</code> Grafana roles,
142
- * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a>.</p>
146
+ * optional parameters, the existing values of those parameters are not changed.</p>
147
+ * <p>To modify the user authentication methods that the workspace uses, such as SAML or IAM Identity Center,
148
+ * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspaceAuthentication.html">UpdateWorkspaceAuthentication</a>.</p>
149
+ * <p>To modify which users in the workspace have the <code>Admin</code> and <code>Editor</code> Grafana roles,
150
+ * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a>.</p>
143
151
  */
144
152
  updateWorkspace(args: UpdateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceCommandOutput>;
145
153
  updateWorkspace(args: UpdateWorkspaceCommandInput, cb: (err: any, data?: UpdateWorkspaceCommandOutput) => void): void;
146
154
  updateWorkspace(args: UpdateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceCommandOutput) => void): void;
147
155
  /**
148
156
  * <p>Use this operation to define the identity provider (IdP) that this workspace
149
- * authenticates users from, using SAML. You can also map SAML assertion attributes to
150
- * workspace user information and define which groups in the assertion attribute are to have
151
- * the <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>
157
+ * authenticates users from, using SAML. You can also map SAML assertion attributes to
158
+ * workspace user information and define which groups in the assertion attribute are to have
159
+ * the <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>
152
160
  */
153
161
  updateWorkspaceAuthentication(args: UpdateWorkspaceAuthenticationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceAuthenticationCommandOutput>;
154
162
  updateWorkspaceAuthentication(args: UpdateWorkspaceAuthenticationCommandInput, cb: (err: any, data?: UpdateWorkspaceAuthenticationCommandOutput) => void): void;
155
163
  updateWorkspaceAuthentication(args: UpdateWorkspaceAuthenticationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAuthenticationCommandOutput) => void): void;
164
+ /**
165
+ * <p>Updates the configuration string for the given workspace</p>
166
+ */
167
+ updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceConfigurationCommandOutput>;
168
+ updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void;
169
+ updateWorkspaceConfiguration(args: UpdateWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceConfigurationCommandOutput) => void): void;
156
170
  }
@@ -14,6 +14,7 @@ import { DeleteWorkspaceApiKeyCommandInput, DeleteWorkspaceApiKeyCommandOutput }
14
14
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
15
15
  import { DescribeWorkspaceAuthenticationCommandInput, DescribeWorkspaceAuthenticationCommandOutput } from "./commands/DescribeWorkspaceAuthenticationCommand";
16
16
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
17
+ import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "./commands/DescribeWorkspaceConfigurationCommand";
17
18
  import { DisassociateLicenseCommandInput, DisassociateLicenseCommandOutput } from "./commands/DisassociateLicenseCommand";
18
19
  import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
19
20
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -23,9 +24,10 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
23
24
  import { UpdatePermissionsCommandInput, UpdatePermissionsCommandOutput } from "./commands/UpdatePermissionsCommand";
24
25
  import { UpdateWorkspaceAuthenticationCommandInput, UpdateWorkspaceAuthenticationCommandOutput } from "./commands/UpdateWorkspaceAuthenticationCommand";
25
26
  import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
27
+ import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput } from "./commands/UpdateWorkspaceConfigurationCommand";
26
28
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
27
- export declare type ServiceInputTypes = AssociateLicenseCommandInput | CreateWorkspaceApiKeyCommandInput | CreateWorkspaceCommandInput | DeleteWorkspaceApiKeyCommandInput | DeleteWorkspaceCommandInput | DescribeWorkspaceAuthenticationCommandInput | DescribeWorkspaceCommandInput | DisassociateLicenseCommandInput | ListPermissionsCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePermissionsCommandInput | UpdateWorkspaceAuthenticationCommandInput | UpdateWorkspaceCommandInput;
28
- export declare type ServiceOutputTypes = AssociateLicenseCommandOutput | CreateWorkspaceApiKeyCommandOutput | CreateWorkspaceCommandOutput | DeleteWorkspaceApiKeyCommandOutput | DeleteWorkspaceCommandOutput | DescribeWorkspaceAuthenticationCommandOutput | DescribeWorkspaceCommandOutput | DisassociateLicenseCommandOutput | ListPermissionsCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePermissionsCommandOutput | UpdateWorkspaceAuthenticationCommandOutput | UpdateWorkspaceCommandOutput;
29
+ export declare type ServiceInputTypes = AssociateLicenseCommandInput | CreateWorkspaceApiKeyCommandInput | CreateWorkspaceCommandInput | DeleteWorkspaceApiKeyCommandInput | DeleteWorkspaceCommandInput | DescribeWorkspaceAuthenticationCommandInput | DescribeWorkspaceCommandInput | DescribeWorkspaceConfigurationCommandInput | DisassociateLicenseCommandInput | ListPermissionsCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePermissionsCommandInput | UpdateWorkspaceAuthenticationCommandInput | UpdateWorkspaceCommandInput | UpdateWorkspaceConfigurationCommandInput;
30
+ export declare type ServiceOutputTypes = AssociateLicenseCommandOutput | CreateWorkspaceApiKeyCommandOutput | CreateWorkspaceCommandOutput | DeleteWorkspaceApiKeyCommandOutput | DeleteWorkspaceCommandOutput | DescribeWorkspaceAuthenticationCommandOutput | DescribeWorkspaceCommandOutput | DescribeWorkspaceConfigurationCommandOutput | DisassociateLicenseCommandOutput | ListPermissionsCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePermissionsCommandOutput | UpdateWorkspaceAuthenticationCommandOutput | UpdateWorkspaceCommandOutput | UpdateWorkspaceConfigurationCommandOutput;
29
31
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
30
32
  /**
31
33
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -9,8 +9,8 @@ export interface AssociateLicenseCommandOutput extends AssociateLicenseResponse,
9
9
  }
10
10
  /**
11
11
  * <p>Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise
12
- * 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
13
- * Grafana Enterprise</a>.</p>
12
+ * 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
13
+ * Grafana Enterprise</a>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -8,10 +8,10 @@ export interface CreateWorkspaceApiKeyCommandInput extends CreateWorkspaceApiKey
8
8
  export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKeyResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates an API key for the workspace. This key can be used to authenticate
12
- * requests sent to the workspace's HTTP API. See
13
- * <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>
14
- * for available APIs and example requests.</p>
11
+ * <p>Creates a Grafana API key for the workspace. This key can be used to
12
+ * authenticate requests sent to the workspace's HTTP API.
13
+ * 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>
14
+ * for available APIs and example requests.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
17
17
  * ```javascript
@@ -9,10 +9,10 @@ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, _
9
9
  }
10
10
  /**
11
11
  * <p>Creates a <i>workspace</i>. In a workspace, you can create Grafana
12
- * dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to
13
- * build, package, or deploy any hardware to run the Grafana server.</p>
14
- * <p>Don't use <code>CreateWorkspace</code> to modify an existing workspace. Instead,
15
- * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspace.html">UpdateWorkspace</a>.</p>
12
+ * dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to
13
+ * build, package, or deploy any hardware to run the Grafana server.</p>
14
+ * <p>Don't use <code>CreateWorkspace</code> to modify an existing workspace. Instead,
15
+ * use <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspace.html">UpdateWorkspace</a>.</p>
16
16
  * @example
17
17
  * Use a bare-bones client and the command you need to make an API call.
18
18
  * ```javascript