@aws-sdk/client-grafana 3.928.0 → 3.930.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 (49) hide show
  1. package/dist-cjs/index.js +1241 -1255
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/GrafanaClient.js +2 -0
  4. package/dist-es/commands/AssociateLicenseCommand.js +3 -10
  5. package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +3 -10
  6. package/dist-es/commands/CreateWorkspaceCommand.js +3 -10
  7. package/dist-es/commands/CreateWorkspaceServiceAccountCommand.js +3 -9
  8. package/dist-es/commands/CreateWorkspaceServiceAccountTokenCommand.js +3 -10
  9. package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +3 -9
  10. package/dist-es/commands/DeleteWorkspaceCommand.js +3 -10
  11. package/dist-es/commands/DeleteWorkspaceServiceAccountCommand.js +3 -9
  12. package/dist-es/commands/DeleteWorkspaceServiceAccountTokenCommand.js +3 -9
  13. package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +3 -10
  14. package/dist-es/commands/DescribeWorkspaceCommand.js +3 -10
  15. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +3 -9
  16. package/dist-es/commands/DisassociateLicenseCommand.js +3 -10
  17. package/dist-es/commands/ListPermissionsCommand.js +3 -9
  18. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  19. package/dist-es/commands/ListVersionsCommand.js +3 -9
  20. package/dist-es/commands/ListWorkspaceServiceAccountTokensCommand.js +3 -9
  21. package/dist-es/commands/ListWorkspaceServiceAccountsCommand.js +3 -9
  22. package/dist-es/commands/ListWorkspacesCommand.js +3 -10
  23. package/dist-es/commands/TagResourceCommand.js +3 -9
  24. package/dist-es/commands/UntagResourceCommand.js +3 -9
  25. package/dist-es/commands/UpdatePermissionsCommand.js +3 -9
  26. package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +3 -10
  27. package/dist-es/commands/UpdateWorkspaceCommand.js +3 -10
  28. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +3 -9
  29. package/dist-es/models/models_0.js +0 -112
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-es/schemas/schemas_0.js +1189 -0
  32. package/dist-types/GrafanaClient.d.ts +10 -1
  33. package/dist-types/models/models_0.d.ts +4 -85
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  35. package/dist-types/runtimeConfig.d.ts +1 -0
  36. package/dist-types/runtimeConfig.native.d.ts +1 -0
  37. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  38. package/dist-types/schemas/schemas_0.d.ts +132 -0
  39. package/dist-types/ts3.4/GrafanaClient.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +0 -62
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +138 -0
  46. package/package.json +33 -34
  47. package/dist-es/protocols/Aws_restJson1.js +0 -938
  48. package/dist-types/protocols/Aws_restJson1.d.ts +0 -227
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -305
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class GrafanaClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class GrafanaClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class GrafanaServiceException extends smithyClient.ServiceException {
113
+ let GrafanaServiceException$1 = class GrafanaServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, GrafanaServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends GrafanaServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends GrafanaServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,12 +128,12 @@ class AccessDeniedException extends GrafanaServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
131
+ };
133
132
  const AccountAccessType = {
134
133
  CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
135
134
  ORGANIZATION: "ORGANIZATION",
136
135
  };
137
- class ConflictException extends GrafanaServiceException {
136
+ let ConflictException$1 = class ConflictException extends GrafanaServiceException$1 {
138
137
  name = "ConflictException";
139
138
  $fault = "client";
140
139
  resourceId;
@@ -149,8 +148,8 @@ class ConflictException extends GrafanaServiceException {
149
148
  this.resourceId = opts.resourceId;
150
149
  this.resourceType = opts.resourceType;
151
150
  }
152
- }
153
- class InternalServerException extends GrafanaServiceException {
151
+ };
152
+ let InternalServerException$1 = class InternalServerException extends GrafanaServiceException$1 {
154
153
  name = "InternalServerException";
155
154
  $fault = "server";
156
155
  $retryable = {};
@@ -164,8 +163,8 @@ class InternalServerException extends GrafanaServiceException {
164
163
  Object.setPrototypeOf(this, InternalServerException.prototype);
165
164
  this.retryAfterSeconds = opts.retryAfterSeconds;
166
165
  }
167
- }
168
- class ResourceNotFoundException extends GrafanaServiceException {
166
+ };
167
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends GrafanaServiceException$1 {
169
168
  name = "ResourceNotFoundException";
170
169
  $fault = "client";
171
170
  resourceId;
@@ -180,8 +179,8 @@ class ResourceNotFoundException extends GrafanaServiceException {
180
179
  this.resourceId = opts.resourceId;
181
180
  this.resourceType = opts.resourceType;
182
181
  }
183
- }
184
- class ServiceQuotaExceededException extends GrafanaServiceException {
182
+ };
183
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends GrafanaServiceException$1 {
185
184
  name = "ServiceQuotaExceededException";
186
185
  $fault = "client";
187
186
  resourceId;
@@ -200,8 +199,8 @@ class ServiceQuotaExceededException extends GrafanaServiceException {
200
199
  this.serviceCode = opts.serviceCode;
201
200
  this.quotaCode = opts.quotaCode;
202
201
  }
203
- }
204
- class ThrottlingException extends GrafanaServiceException {
202
+ };
203
+ let ThrottlingException$1 = class ThrottlingException extends GrafanaServiceException$1 {
205
204
  name = "ThrottlingException";
206
205
  $fault = "client";
207
206
  $retryable = {};
@@ -219,14 +218,14 @@ class ThrottlingException extends GrafanaServiceException {
219
218
  this.quotaCode = opts.quotaCode;
220
219
  this.retryAfterSeconds = opts.retryAfterSeconds;
221
220
  }
222
- }
221
+ };
223
222
  const ValidationExceptionReason = {
224
223
  CANNOT_PARSE: "CANNOT_PARSE",
225
224
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
226
225
  OTHER: "OTHER",
227
226
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
228
227
  };
229
- class ValidationException extends GrafanaServiceException {
228
+ let ValidationException$1 = class ValidationException extends GrafanaServiceException$1 {
230
229
  name = "ValidationException";
231
230
  $fault = "client";
232
231
  reason;
@@ -241,7 +240,7 @@ class ValidationException extends GrafanaServiceException {
241
240
  this.reason = opts.reason;
242
241
  this.fieldList = opts.fieldList;
243
242
  }
244
- }
243
+ };
245
244
  const LicenseType = {
246
245
  ENTERPRISE: "ENTERPRISE",
247
246
  ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
@@ -287,16 +286,6 @@ const WorkspaceStatus = {
287
286
  VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED",
288
287
  VERSION_UPDATING: "VERSION_UPDATING",
289
288
  };
290
- exports.IdpMetadata = void 0;
291
- (function (IdpMetadata) {
292
- IdpMetadata.visit = (value, visitor) => {
293
- if (value.url !== undefined)
294
- return visitor.url(value.url);
295
- if (value.xml !== undefined)
296
- return visitor.xml(value.xml);
297
- return visitor._(value.$unknown[0], value.$unknown[1]);
298
- };
299
- })(exports.IdpMetadata || (exports.IdpMetadata = {}));
300
289
  const UserType = {
301
290
  SSO_GROUP: "SSO_GROUP",
302
291
  SSO_USER: "SSO_USER",
@@ -310,1054 +299,1192 @@ const UpdateAction = {
310
299
  ADD: "ADD",
311
300
  REVOKE: "REVOKE",
312
301
  };
313
- const CreateWorkspaceApiKeyResponseFilterSensitiveLog = (obj) => ({
314
- ...obj,
315
- ...(obj.key && { key: smithyClient.SENSITIVE_STRING }),
316
- });
317
- const WorkspaceDescriptionFilterSensitiveLog = (obj) => ({
318
- ...obj,
319
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
320
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
321
- ...(obj.organizationRoleName && { organizationRoleName: smithyClient.SENSITIVE_STRING }),
322
- ...(obj.organizationalUnits && { organizationalUnits: smithyClient.SENSITIVE_STRING }),
323
- ...(obj.workspaceRoleArn && { workspaceRoleArn: smithyClient.SENSITIVE_STRING }),
324
- });
325
- const AssociateLicenseResponseFilterSensitiveLog = (obj) => ({
326
- ...obj,
327
- ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
328
- });
329
- const RoleValuesFilterSensitiveLog = (obj) => ({
330
- ...obj,
331
- ...(obj.editor && { editor: smithyClient.SENSITIVE_STRING }),
332
- ...(obj.admin && { admin: smithyClient.SENSITIVE_STRING }),
333
- });
334
- const SamlConfigurationFilterSensitiveLog = (obj) => ({
335
- ...obj,
336
- ...(obj.idpMetadata && { idpMetadata: obj.idpMetadata }),
337
- ...(obj.roleValues && { roleValues: RoleValuesFilterSensitiveLog(obj.roleValues) }),
338
- });
339
- const SamlAuthenticationFilterSensitiveLog = (obj) => ({
340
- ...obj,
341
- ...(obj.configuration && { configuration: SamlConfigurationFilterSensitiveLog(obj.configuration) }),
342
- });
343
- const AuthenticationDescriptionFilterSensitiveLog = (obj) => ({
344
- ...obj,
345
- ...(obj.saml && { saml: SamlAuthenticationFilterSensitiveLog(obj.saml) }),
346
- });
347
- const DescribeWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
348
- ...obj,
349
- ...(obj.authentication && { authentication: AuthenticationDescriptionFilterSensitiveLog(obj.authentication) }),
350
- });
351
- const UpdateWorkspaceAuthenticationRequestFilterSensitiveLog = (obj) => ({
352
- ...obj,
353
- ...(obj.samlConfiguration && { samlConfiguration: SamlConfigurationFilterSensitiveLog(obj.samlConfiguration) }),
354
- });
355
- const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
356
- ...obj,
357
- ...(obj.authentication && { authentication: AuthenticationDescriptionFilterSensitiveLog(obj.authentication) }),
358
- });
359
- const DisassociateLicenseResponseFilterSensitiveLog = (obj) => ({
360
- ...obj,
361
- ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
362
- });
363
- const ServiceAccountTokenSummaryWithKeyFilterSensitiveLog = (obj) => ({
364
- ...obj,
365
- ...(obj.key && { key: smithyClient.SENSITIVE_STRING }),
366
- });
367
- const CreateWorkspaceServiceAccountTokenResponseFilterSensitiveLog = (obj) => ({
368
- ...obj,
369
- ...(obj.serviceAccountToken && {
370
- serviceAccountToken: ServiceAccountTokenSummaryWithKeyFilterSensitiveLog(obj.serviceAccountToken),
371
- }),
372
- });
373
- const CreateWorkspaceRequestFilterSensitiveLog = (obj) => ({
374
- ...obj,
375
- ...(obj.organizationRoleName && { organizationRoleName: smithyClient.SENSITIVE_STRING }),
376
- ...(obj.workspaceDescription && { workspaceDescription: smithyClient.SENSITIVE_STRING }),
377
- ...(obj.workspaceName && { workspaceName: smithyClient.SENSITIVE_STRING }),
378
- ...(obj.workspaceOrganizationalUnits && { workspaceOrganizationalUnits: smithyClient.SENSITIVE_STRING }),
379
- ...(obj.workspaceRoleArn && { workspaceRoleArn: smithyClient.SENSITIVE_STRING }),
380
- });
381
- const CreateWorkspaceResponseFilterSensitiveLog = (obj) => ({
382
- ...obj,
383
- ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
384
- });
385
- const DeleteWorkspaceResponseFilterSensitiveLog = (obj) => ({
386
- ...obj,
387
- ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
388
- });
389
- const DescribeWorkspaceResponseFilterSensitiveLog = (obj) => ({
390
- ...obj,
391
- ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
392
- });
393
- const WorkspaceSummaryFilterSensitiveLog = (obj) => ({
394
- ...obj,
395
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
396
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
397
- });
398
- const ListWorkspacesResponseFilterSensitiveLog = (obj) => ({
399
- ...obj,
400
- ...(obj.workspaces && { workspaces: obj.workspaces.map((item) => WorkspaceSummaryFilterSensitiveLog(item)) }),
401
- });
402
- const UpdateWorkspaceRequestFilterSensitiveLog = (obj) => ({
403
- ...obj,
404
- ...(obj.organizationRoleName && { organizationRoleName: smithyClient.SENSITIVE_STRING }),
405
- ...(obj.workspaceDescription && { workspaceDescription: smithyClient.SENSITIVE_STRING }),
406
- ...(obj.workspaceName && { workspaceName: smithyClient.SENSITIVE_STRING }),
407
- ...(obj.workspaceOrganizationalUnits && { workspaceOrganizationalUnits: smithyClient.SENSITIVE_STRING }),
408
- ...(obj.workspaceRoleArn && { workspaceRoleArn: smithyClient.SENSITIVE_STRING }),
409
- });
410
- const UpdateWorkspaceResponseFilterSensitiveLog = (obj) => ({
411
- ...obj,
412
- ...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
413
- });
414
302
 
415
- const se_AssociateLicenseCommand = async (input, context) => {
416
- const b = core.requestBuilder(input, context);
417
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
418
- [_gt]: input[_gT],
419
- });
420
- b.bp("/workspaces/{workspaceId}/licenses/{licenseType}");
421
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
422
- b.p("licenseType", () => input.licenseType, "{licenseType}", false);
423
- let body;
424
- b.m("POST").h(headers).b(body);
425
- return b.build();
426
- };
427
- const se_CreateWorkspaceCommand = async (input, context) => {
428
- const b = core.requestBuilder(input, context);
429
- const headers = {
430
- "content-type": "application/json",
431
- };
432
- b.bp("/workspaces");
433
- let body;
434
- body = JSON.stringify(smithyClient.take(input, {
435
- accountAccessType: [],
436
- authenticationProviders: (_) => smithyClient._json(_),
437
- clientToken: [true, (_) => _ ?? uuid.v4()],
438
- configuration: (_) => smithyClient.LazyJsonString.from(_),
439
- grafanaVersion: [],
440
- networkAccessControl: (_) => smithyClient._json(_),
441
- organizationRoleName: [],
442
- permissionType: [],
443
- stackSetName: [],
444
- tags: (_) => smithyClient._json(_),
445
- vpcConfiguration: (_) => smithyClient._json(_),
446
- workspaceDataSources: (_) => smithyClient._json(_),
447
- workspaceDescription: [],
448
- workspaceName: [],
449
- workspaceNotificationDestinations: (_) => smithyClient._json(_),
450
- workspaceOrganizationalUnits: (_) => smithyClient._json(_),
451
- workspaceRoleArn: [],
452
- }));
453
- b.m("POST").h(headers).b(body);
454
- return b.build();
455
- };
456
- const se_CreateWorkspaceApiKeyCommand = async (input, context) => {
457
- const b = core.requestBuilder(input, context);
458
- const headers = {
459
- "content-type": "application/json",
460
- };
461
- b.bp("/workspaces/{workspaceId}/apikeys");
462
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
463
- let body;
464
- body = JSON.stringify(smithyClient.take(input, {
465
- keyName: [],
466
- keyRole: [],
467
- secondsToLive: [],
468
- }));
469
- b.m("POST").h(headers).b(body);
470
- return b.build();
471
- };
472
- const se_CreateWorkspaceServiceAccountCommand = async (input, context) => {
473
- const b = core.requestBuilder(input, context);
474
- const headers = {
475
- "content-type": "application/json",
476
- };
477
- b.bp("/workspaces/{workspaceId}/serviceaccounts");
478
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
479
- let body;
480
- body = JSON.stringify(smithyClient.take(input, {
481
- grafanaRole: [],
482
- name: [],
483
- }));
484
- b.m("POST").h(headers).b(body);
485
- return b.build();
486
- };
487
- const se_CreateWorkspaceServiceAccountTokenCommand = async (input, context) => {
488
- const b = core.requestBuilder(input, context);
489
- const headers = {
490
- "content-type": "application/json",
491
- };
492
- b.bp("/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens");
493
- b.p("serviceAccountId", () => input.serviceAccountId, "{serviceAccountId}", false);
494
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
495
- let body;
496
- body = JSON.stringify(smithyClient.take(input, {
497
- name: [],
498
- secondsToLive: [],
499
- }));
500
- b.m("POST").h(headers).b(body);
501
- return b.build();
502
- };
503
- const se_DeleteWorkspaceCommand = async (input, context) => {
504
- const b = core.requestBuilder(input, context);
505
- const headers = {};
506
- b.bp("/workspaces/{workspaceId}");
507
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
508
- let body;
509
- b.m("DELETE").h(headers).b(body);
510
- return b.build();
511
- };
512
- const se_DeleteWorkspaceApiKeyCommand = async (input, context) => {
513
- const b = core.requestBuilder(input, context);
514
- const headers = {};
515
- b.bp("/workspaces/{workspaceId}/apikeys/{keyName}");
516
- b.p("keyName", () => input.keyName, "{keyName}", false);
517
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
518
- let body;
519
- b.m("DELETE").h(headers).b(body);
520
- return b.build();
521
- };
522
- const se_DeleteWorkspaceServiceAccountCommand = async (input, context) => {
523
- const b = core.requestBuilder(input, context);
524
- const headers = {};
525
- b.bp("/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}");
526
- b.p("serviceAccountId", () => input.serviceAccountId, "{serviceAccountId}", false);
527
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
528
- let body;
529
- b.m("DELETE").h(headers).b(body);
530
- return b.build();
531
- };
532
- const se_DeleteWorkspaceServiceAccountTokenCommand = async (input, context) => {
533
- const b = core.requestBuilder(input, context);
534
- const headers = {};
535
- b.bp("/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}");
536
- b.p("tokenId", () => input.tokenId, "{tokenId}", false);
537
- b.p("serviceAccountId", () => input.serviceAccountId, "{serviceAccountId}", false);
538
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
539
- let body;
540
- b.m("DELETE").h(headers).b(body);
541
- return b.build();
542
- };
543
- const se_DescribeWorkspaceCommand = async (input, context) => {
544
- const b = core.requestBuilder(input, context);
545
- const headers = {};
546
- b.bp("/workspaces/{workspaceId}");
547
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
548
- let body;
549
- b.m("GET").h(headers).b(body);
550
- return b.build();
551
- };
552
- const se_DescribeWorkspaceAuthenticationCommand = async (input, context) => {
553
- const b = core.requestBuilder(input, context);
554
- const headers = {};
555
- b.bp("/workspaces/{workspaceId}/authentication");
556
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
557
- let body;
558
- b.m("GET").h(headers).b(body);
559
- return b.build();
560
- };
561
- const se_DescribeWorkspaceConfigurationCommand = async (input, context) => {
562
- const b = core.requestBuilder(input, context);
563
- const headers = {};
564
- b.bp("/workspaces/{workspaceId}/configuration");
565
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
566
- let body;
567
- b.m("GET").h(headers).b(body);
568
- return b.build();
569
- };
570
- const se_DisassociateLicenseCommand = async (input, context) => {
571
- const b = core.requestBuilder(input, context);
572
- const headers = {};
573
- b.bp("/workspaces/{workspaceId}/licenses/{licenseType}");
574
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
575
- b.p("licenseType", () => input.licenseType, "{licenseType}", false);
576
- let body;
577
- b.m("DELETE").h(headers).b(body);
578
- return b.build();
579
- };
580
- const se_ListPermissionsCommand = async (input, context) => {
581
- const b = core.requestBuilder(input, context);
582
- const headers = {};
583
- b.bp("/workspaces/{workspaceId}/permissions");
584
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
585
- const query = smithyClient.map({
586
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
587
- [_nT]: [, input[_nT]],
588
- [_uT]: [, input[_uT]],
589
- [_uI]: [, input[_uI]],
590
- [_gI]: [, input[_gI]],
591
- });
592
- let body;
593
- b.m("GET").h(headers).q(query).b(body);
594
- return b.build();
595
- };
596
- const se_ListTagsForResourceCommand = async (input, context) => {
597
- const b = core.requestBuilder(input, context);
598
- const headers = {};
599
- b.bp("/tags/{resourceArn}");
600
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
601
- let body;
602
- b.m("GET").h(headers).b(body);
603
- return b.build();
604
- };
605
- const se_ListVersionsCommand = async (input, context) => {
606
- const b = core.requestBuilder(input, context);
607
- const headers = {};
608
- b.bp("/versions");
609
- const query = smithyClient.map({
610
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
611
- [_nT]: [, input[_nT]],
612
- [_wi]: [, input[_wI]],
613
- });
614
- let body;
615
- b.m("GET").h(headers).q(query).b(body);
616
- return b.build();
617
- };
618
- const se_ListWorkspacesCommand = async (input, context) => {
619
- const b = core.requestBuilder(input, context);
620
- const headers = {};
621
- b.bp("/workspaces");
622
- const query = smithyClient.map({
623
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
624
- [_nT]: [, input[_nT]],
625
- });
626
- let body;
627
- b.m("GET").h(headers).q(query).b(body);
628
- return b.build();
629
- };
630
- const se_ListWorkspaceServiceAccountsCommand = async (input, context) => {
631
- const b = core.requestBuilder(input, context);
632
- const headers = {};
633
- b.bp("/workspaces/{workspaceId}/serviceaccounts");
634
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
635
- const query = smithyClient.map({
636
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
637
- [_nT]: [, input[_nT]],
638
- });
639
- let body;
640
- b.m("GET").h(headers).q(query).b(body);
641
- return b.build();
642
- };
643
- const se_ListWorkspaceServiceAccountTokensCommand = async (input, context) => {
644
- const b = core.requestBuilder(input, context);
645
- const headers = {};
646
- b.bp("/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens");
647
- b.p("serviceAccountId", () => input.serviceAccountId, "{serviceAccountId}", false);
648
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
649
- const query = smithyClient.map({
650
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
651
- [_nT]: [, input[_nT]],
652
- });
653
- let body;
654
- b.m("GET").h(headers).q(query).b(body);
655
- return b.build();
656
- };
657
- const se_TagResourceCommand = async (input, context) => {
658
- const b = core.requestBuilder(input, context);
659
- const headers = {
660
- "content-type": "application/json",
661
- };
662
- b.bp("/tags/{resourceArn}");
663
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
664
- let body;
665
- body = JSON.stringify(smithyClient.take(input, {
666
- tags: (_) => smithyClient._json(_),
667
- }));
668
- b.m("POST").h(headers).b(body);
669
- return b.build();
670
- };
671
- const se_UntagResourceCommand = async (input, context) => {
672
- const b = core.requestBuilder(input, context);
673
- const headers = {};
674
- b.bp("/tags/{resourceArn}");
675
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
676
- const query = smithyClient.map({
677
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
678
- });
679
- let body;
680
- b.m("DELETE").h(headers).q(query).b(body);
681
- return b.build();
682
- };
683
- const se_UpdatePermissionsCommand = async (input, context) => {
684
- const b = core.requestBuilder(input, context);
685
- const headers = {
686
- "content-type": "application/json",
687
- };
688
- b.bp("/workspaces/{workspaceId}/permissions");
689
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
690
- let body;
691
- body = JSON.stringify(smithyClient.take(input, {
692
- updateInstructionBatch: (_) => smithyClient._json(_),
693
- }));
694
- b.m("PATCH").h(headers).b(body);
695
- return b.build();
696
- };
697
- const se_UpdateWorkspaceCommand = async (input, context) => {
698
- const b = core.requestBuilder(input, context);
699
- const headers = {
700
- "content-type": "application/json",
701
- };
702
- b.bp("/workspaces/{workspaceId}");
703
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
704
- let body;
705
- body = JSON.stringify(smithyClient.take(input, {
706
- accountAccessType: [],
707
- networkAccessControl: (_) => smithyClient._json(_),
708
- organizationRoleName: [],
709
- permissionType: [],
710
- removeNetworkAccessConfiguration: [],
711
- removeVpcConfiguration: [],
712
- stackSetName: [],
713
- vpcConfiguration: (_) => smithyClient._json(_),
714
- workspaceDataSources: (_) => smithyClient._json(_),
715
- workspaceDescription: [],
716
- workspaceName: [],
717
- workspaceNotificationDestinations: (_) => smithyClient._json(_),
718
- workspaceOrganizationalUnits: (_) => smithyClient._json(_),
719
- workspaceRoleArn: [],
720
- }));
721
- b.m("PUT").h(headers).b(body);
722
- return b.build();
723
- };
724
- const se_UpdateWorkspaceAuthenticationCommand = async (input, context) => {
725
- const b = core.requestBuilder(input, context);
726
- const headers = {
727
- "content-type": "application/json",
728
- };
729
- b.bp("/workspaces/{workspaceId}/authentication");
730
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
731
- let body;
732
- body = JSON.stringify(smithyClient.take(input, {
733
- authenticationProviders: (_) => smithyClient._json(_),
734
- samlConfiguration: (_) => smithyClient._json(_),
735
- }));
736
- b.m("POST").h(headers).b(body);
737
- return b.build();
738
- };
739
- const se_UpdateWorkspaceConfigurationCommand = async (input, context) => {
740
- const b = core.requestBuilder(input, context);
741
- const headers = {
742
- "content-type": "application/json",
743
- };
744
- b.bp("/workspaces/{workspaceId}/configuration");
745
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
746
- let body;
747
- body = JSON.stringify(smithyClient.take(input, {
748
- configuration: (_) => smithyClient.LazyJsonString.from(_),
749
- grafanaVersion: [],
750
- }));
751
- b.m("PUT").h(headers).b(body);
752
- return b.build();
753
- };
754
- const de_AssociateLicenseCommand = async (output, context) => {
755
- if (output.statusCode !== 202 && output.statusCode >= 300) {
756
- return de_CommandError(output, context);
757
- }
758
- const contents = smithyClient.map({
759
- $metadata: deserializeMetadata(output),
760
- });
761
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
762
- const doc = smithyClient.take(data, {
763
- workspace: (_) => de_WorkspaceDescription(_),
764
- });
765
- Object.assign(contents, doc);
766
- return contents;
767
- };
768
- const de_CreateWorkspaceCommand = async (output, context) => {
769
- if (output.statusCode !== 202 && output.statusCode >= 300) {
770
- return de_CommandError(output, context);
771
- }
772
- const contents = smithyClient.map({
773
- $metadata: deserializeMetadata(output),
774
- });
775
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
776
- const doc = smithyClient.take(data, {
777
- workspace: (_) => de_WorkspaceDescription(_),
778
- });
779
- Object.assign(contents, doc);
780
- return contents;
781
- };
782
- const de_CreateWorkspaceApiKeyCommand = async (output, context) => {
783
- if (output.statusCode !== 200 && output.statusCode >= 300) {
784
- return de_CommandError(output, context);
785
- }
786
- const contents = smithyClient.map({
787
- $metadata: deserializeMetadata(output),
788
- });
789
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
790
- const doc = smithyClient.take(data, {
791
- key: smithyClient.expectString,
792
- keyName: smithyClient.expectString,
793
- workspaceId: smithyClient.expectString,
794
- });
795
- Object.assign(contents, doc);
796
- return contents;
797
- };
798
- const de_CreateWorkspaceServiceAccountCommand = async (output, context) => {
799
- if (output.statusCode !== 200 && output.statusCode >= 300) {
800
- return de_CommandError(output, context);
801
- }
802
- const contents = smithyClient.map({
803
- $metadata: deserializeMetadata(output),
804
- });
805
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
806
- const doc = smithyClient.take(data, {
807
- grafanaRole: smithyClient.expectString,
808
- id: smithyClient.expectString,
809
- name: smithyClient.expectString,
810
- workspaceId: smithyClient.expectString,
811
- });
812
- Object.assign(contents, doc);
813
- return contents;
814
- };
815
- const de_CreateWorkspaceServiceAccountTokenCommand = async (output, context) => {
816
- if (output.statusCode !== 200 && output.statusCode >= 300) {
817
- return de_CommandError(output, context);
818
- }
819
- const contents = smithyClient.map({
820
- $metadata: deserializeMetadata(output),
821
- });
822
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
823
- const doc = smithyClient.take(data, {
824
- serviceAccountId: smithyClient.expectString,
825
- serviceAccountToken: smithyClient._json,
826
- workspaceId: smithyClient.expectString,
827
- });
828
- Object.assign(contents, doc);
829
- return contents;
830
- };
831
- const de_DeleteWorkspaceCommand = async (output, context) => {
832
- if (output.statusCode !== 202 && output.statusCode >= 300) {
833
- return de_CommandError(output, context);
834
- }
835
- const contents = smithyClient.map({
836
- $metadata: deserializeMetadata(output),
837
- });
838
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
839
- const doc = smithyClient.take(data, {
840
- workspace: (_) => de_WorkspaceDescription(_),
841
- });
842
- Object.assign(contents, doc);
843
- return contents;
844
- };
845
- const de_DeleteWorkspaceApiKeyCommand = async (output, context) => {
846
- if (output.statusCode !== 200 && output.statusCode >= 300) {
847
- return de_CommandError(output, context);
848
- }
849
- const contents = smithyClient.map({
850
- $metadata: deserializeMetadata(output),
851
- });
852
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
853
- const doc = smithyClient.take(data, {
854
- keyName: smithyClient.expectString,
855
- workspaceId: smithyClient.expectString,
856
- });
857
- Object.assign(contents, doc);
858
- return contents;
859
- };
860
- const de_DeleteWorkspaceServiceAccountCommand = async (output, context) => {
861
- if (output.statusCode !== 200 && output.statusCode >= 300) {
862
- return de_CommandError(output, context);
863
- }
864
- const contents = smithyClient.map({
865
- $metadata: deserializeMetadata(output),
866
- });
867
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
868
- const doc = smithyClient.take(data, {
869
- serviceAccountId: smithyClient.expectString,
870
- workspaceId: smithyClient.expectString,
871
- });
872
- Object.assign(contents, doc);
873
- return contents;
874
- };
875
- const de_DeleteWorkspaceServiceAccountTokenCommand = async (output, context) => {
876
- if (output.statusCode !== 200 && output.statusCode >= 300) {
877
- return de_CommandError(output, context);
878
- }
879
- const contents = smithyClient.map({
880
- $metadata: deserializeMetadata(output),
881
- });
882
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
883
- const doc = smithyClient.take(data, {
884
- serviceAccountId: smithyClient.expectString,
885
- tokenId: smithyClient.expectString,
886
- workspaceId: smithyClient.expectString,
887
- });
888
- Object.assign(contents, doc);
889
- return contents;
890
- };
891
- const de_DescribeWorkspaceCommand = async (output, context) => {
892
- if (output.statusCode !== 200 && output.statusCode >= 300) {
893
- return de_CommandError(output, context);
894
- }
895
- const contents = smithyClient.map({
896
- $metadata: deserializeMetadata(output),
897
- });
898
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
899
- const doc = smithyClient.take(data, {
900
- workspace: (_) => de_WorkspaceDescription(_),
901
- });
902
- Object.assign(contents, doc);
903
- return contents;
904
- };
905
- const de_DescribeWorkspaceAuthenticationCommand = async (output, context) => {
906
- if (output.statusCode !== 200 && output.statusCode >= 300) {
907
- return de_CommandError(output, context);
908
- }
909
- const contents = smithyClient.map({
910
- $metadata: deserializeMetadata(output),
911
- });
912
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
913
- const doc = smithyClient.take(data, {
914
- authentication: smithyClient._json,
915
- });
916
- Object.assign(contents, doc);
917
- return contents;
918
- };
919
- const de_DescribeWorkspaceConfigurationCommand = async (output, context) => {
920
- if (output.statusCode !== 200 && output.statusCode >= 300) {
921
- return de_CommandError(output, context);
922
- }
923
- const contents = smithyClient.map({
924
- $metadata: deserializeMetadata(output),
925
- });
926
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
927
- const doc = smithyClient.take(data, {
928
- configuration: smithyClient.LazyJsonString.from,
929
- grafanaVersion: smithyClient.expectString,
930
- });
931
- Object.assign(contents, doc);
932
- return contents;
933
- };
934
- const de_DisassociateLicenseCommand = async (output, context) => {
935
- if (output.statusCode !== 202 && output.statusCode >= 300) {
936
- return de_CommandError(output, context);
937
- }
938
- const contents = smithyClient.map({
939
- $metadata: deserializeMetadata(output),
940
- });
941
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
942
- const doc = smithyClient.take(data, {
943
- workspace: (_) => de_WorkspaceDescription(_),
944
- });
945
- Object.assign(contents, doc);
946
- return contents;
947
- };
948
- const de_ListPermissionsCommand = async (output, context) => {
949
- if (output.statusCode !== 200 && output.statusCode >= 300) {
950
- return de_CommandError(output, context);
951
- }
952
- const contents = smithyClient.map({
953
- $metadata: deserializeMetadata(output),
954
- });
955
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
956
- const doc = smithyClient.take(data, {
957
- nextToken: smithyClient.expectString,
958
- permissions: smithyClient._json,
959
- });
960
- Object.assign(contents, doc);
961
- return contents;
962
- };
963
- const de_ListTagsForResourceCommand = async (output, context) => {
964
- if (output.statusCode !== 200 && output.statusCode >= 300) {
965
- return de_CommandError(output, context);
966
- }
967
- const contents = smithyClient.map({
968
- $metadata: deserializeMetadata(output),
969
- });
970
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
971
- const doc = smithyClient.take(data, {
972
- tags: smithyClient._json,
973
- });
974
- Object.assign(contents, doc);
975
- return contents;
976
- };
977
- const de_ListVersionsCommand = async (output, context) => {
978
- if (output.statusCode !== 200 && output.statusCode >= 300) {
979
- return de_CommandError(output, context);
980
- }
981
- const contents = smithyClient.map({
982
- $metadata: deserializeMetadata(output),
983
- });
984
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
985
- const doc = smithyClient.take(data, {
986
- grafanaVersions: smithyClient._json,
987
- nextToken: smithyClient.expectString,
988
- });
989
- Object.assign(contents, doc);
990
- return contents;
991
- };
992
- const de_ListWorkspacesCommand = async (output, context) => {
993
- if (output.statusCode !== 200 && output.statusCode >= 300) {
994
- return de_CommandError(output, context);
995
- }
996
- const contents = smithyClient.map({
997
- $metadata: deserializeMetadata(output),
998
- });
999
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1000
- const doc = smithyClient.take(data, {
1001
- nextToken: smithyClient.expectString,
1002
- workspaces: (_) => de_WorkspaceList(_),
1003
- });
1004
- Object.assign(contents, doc);
1005
- return contents;
1006
- };
1007
- const de_ListWorkspaceServiceAccountsCommand = async (output, context) => {
1008
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1009
- return de_CommandError(output, context);
1010
- }
1011
- const contents = smithyClient.map({
1012
- $metadata: deserializeMetadata(output),
1013
- });
1014
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1015
- const doc = smithyClient.take(data, {
1016
- nextToken: smithyClient.expectString,
1017
- serviceAccounts: smithyClient._json,
1018
- workspaceId: smithyClient.expectString,
1019
- });
1020
- Object.assign(contents, doc);
1021
- return contents;
1022
- };
1023
- const de_ListWorkspaceServiceAccountTokensCommand = async (output, context) => {
1024
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1025
- return de_CommandError(output, context);
1026
- }
1027
- const contents = smithyClient.map({
1028
- $metadata: deserializeMetadata(output),
1029
- });
1030
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1031
- const doc = smithyClient.take(data, {
1032
- nextToken: smithyClient.expectString,
1033
- serviceAccountId: smithyClient.expectString,
1034
- serviceAccountTokens: (_) => de_ServiceAccountTokenList(_),
1035
- workspaceId: smithyClient.expectString,
1036
- });
1037
- Object.assign(contents, doc);
1038
- return contents;
1039
- };
1040
- const de_TagResourceCommand = async (output, context) => {
1041
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1042
- return de_CommandError(output, context);
1043
- }
1044
- const contents = smithyClient.map({
1045
- $metadata: deserializeMetadata(output),
1046
- });
1047
- await smithyClient.collectBody(output.body, context);
1048
- return contents;
1049
- };
1050
- const de_UntagResourceCommand = async (output, context) => {
1051
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1052
- return de_CommandError(output, context);
1053
- }
1054
- const contents = smithyClient.map({
1055
- $metadata: deserializeMetadata(output),
1056
- });
1057
- await smithyClient.collectBody(output.body, context);
1058
- return contents;
1059
- };
1060
- const de_UpdatePermissionsCommand = async (output, context) => {
1061
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1062
- return de_CommandError(output, context);
1063
- }
1064
- const contents = smithyClient.map({
1065
- $metadata: deserializeMetadata(output),
1066
- });
1067
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1068
- const doc = smithyClient.take(data, {
1069
- errors: smithyClient._json,
1070
- });
1071
- Object.assign(contents, doc);
1072
- return contents;
1073
- };
1074
- const de_UpdateWorkspaceCommand = async (output, context) => {
1075
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1076
- return de_CommandError(output, context);
1077
- }
1078
- const contents = smithyClient.map({
1079
- $metadata: deserializeMetadata(output),
1080
- });
1081
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1082
- const doc = smithyClient.take(data, {
1083
- workspace: (_) => de_WorkspaceDescription(_),
1084
- });
1085
- Object.assign(contents, doc);
1086
- return contents;
1087
- };
1088
- const de_UpdateWorkspaceAuthenticationCommand = async (output, context) => {
1089
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1090
- return de_CommandError(output, context);
1091
- }
1092
- const contents = smithyClient.map({
1093
- $metadata: deserializeMetadata(output),
1094
- });
1095
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1096
- const doc = smithyClient.take(data, {
1097
- authentication: smithyClient._json,
1098
- });
1099
- Object.assign(contents, doc);
1100
- return contents;
1101
- };
1102
- const de_UpdateWorkspaceConfigurationCommand = async (output, context) => {
1103
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1104
- return de_CommandError(output, context);
1105
- }
1106
- const contents = smithyClient.map({
1107
- $metadata: deserializeMetadata(output),
1108
- });
1109
- await smithyClient.collectBody(output.body, context);
1110
- return contents;
1111
- };
1112
- const de_CommandError = async (output, context) => {
1113
- const parsedOutput = {
1114
- ...output,
1115
- body: await core$1.parseJsonErrorBody(output.body, context),
1116
- };
1117
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1118
- switch (errorCode) {
1119
- case "AccessDeniedException":
1120
- case "com.amazonaws.grafana#AccessDeniedException":
1121
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1122
- case "InternalServerException":
1123
- case "com.amazonaws.grafana#InternalServerException":
1124
- throw await de_InternalServerExceptionRes(parsedOutput);
1125
- case "ResourceNotFoundException":
1126
- case "com.amazonaws.grafana#ResourceNotFoundException":
1127
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1128
- case "ThrottlingException":
1129
- case "com.amazonaws.grafana#ThrottlingException":
1130
- throw await de_ThrottlingExceptionRes(parsedOutput);
1131
- case "ValidationException":
1132
- case "com.amazonaws.grafana#ValidationException":
1133
- throw await de_ValidationExceptionRes(parsedOutput);
1134
- case "ConflictException":
1135
- case "com.amazonaws.grafana#ConflictException":
1136
- throw await de_ConflictExceptionRes(parsedOutput);
1137
- case "ServiceQuotaExceededException":
1138
- case "com.amazonaws.grafana#ServiceQuotaExceededException":
1139
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1140
- default:
1141
- const parsedBody = parsedOutput.body;
1142
- return throwDefaultError({
1143
- output,
1144
- parsedBody,
1145
- errorCode,
1146
- });
1147
- }
1148
- };
1149
- const throwDefaultError = smithyClient.withBaseException(GrafanaServiceException);
1150
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1151
- const contents = smithyClient.map({});
1152
- const data = parsedOutput.body;
1153
- const doc = smithyClient.take(data, {
1154
- message: smithyClient.expectString,
1155
- });
1156
- Object.assign(contents, doc);
1157
- const exception = new AccessDeniedException({
1158
- $metadata: deserializeMetadata(parsedOutput),
1159
- ...contents,
1160
- });
1161
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1162
- };
1163
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1164
- const contents = smithyClient.map({});
1165
- const data = parsedOutput.body;
1166
- const doc = smithyClient.take(data, {
1167
- message: smithyClient.expectString,
1168
- resourceId: smithyClient.expectString,
1169
- resourceType: smithyClient.expectString,
1170
- });
1171
- Object.assign(contents, doc);
1172
- const exception = new ConflictException({
1173
- $metadata: deserializeMetadata(parsedOutput),
1174
- ...contents,
1175
- });
1176
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1177
- };
1178
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1179
- const contents = smithyClient.map({
1180
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1181
- });
1182
- const data = parsedOutput.body;
1183
- const doc = smithyClient.take(data, {
1184
- message: smithyClient.expectString,
1185
- });
1186
- Object.assign(contents, doc);
1187
- const exception = new InternalServerException({
1188
- $metadata: deserializeMetadata(parsedOutput),
1189
- ...contents,
1190
- });
1191
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1192
- };
1193
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1194
- const contents = smithyClient.map({});
1195
- const data = parsedOutput.body;
1196
- const doc = smithyClient.take(data, {
1197
- message: smithyClient.expectString,
1198
- resourceId: smithyClient.expectString,
1199
- resourceType: smithyClient.expectString,
1200
- });
1201
- Object.assign(contents, doc);
1202
- const exception = new ResourceNotFoundException({
1203
- $metadata: deserializeMetadata(parsedOutput),
1204
- ...contents,
1205
- });
1206
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1207
- };
1208
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1209
- const contents = smithyClient.map({});
1210
- const data = parsedOutput.body;
1211
- const doc = smithyClient.take(data, {
1212
- message: smithyClient.expectString,
1213
- quotaCode: smithyClient.expectString,
1214
- resourceId: smithyClient.expectString,
1215
- resourceType: smithyClient.expectString,
1216
- serviceCode: smithyClient.expectString,
1217
- });
1218
- Object.assign(contents, doc);
1219
- const exception = new ServiceQuotaExceededException({
1220
- $metadata: deserializeMetadata(parsedOutput),
1221
- ...contents,
1222
- });
1223
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1224
- };
1225
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1226
- const contents = smithyClient.map({
1227
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1228
- });
1229
- const data = parsedOutput.body;
1230
- const doc = smithyClient.take(data, {
1231
- message: smithyClient.expectString,
1232
- quotaCode: smithyClient.expectString,
1233
- serviceCode: smithyClient.expectString,
1234
- });
1235
- Object.assign(contents, doc);
1236
- const exception = new ThrottlingException({
1237
- $metadata: deserializeMetadata(parsedOutput),
1238
- ...contents,
1239
- });
1240
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1241
- };
1242
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1243
- const contents = smithyClient.map({});
1244
- const data = parsedOutput.body;
1245
- const doc = smithyClient.take(data, {
1246
- fieldList: smithyClient._json,
1247
- message: smithyClient.expectString,
1248
- reason: smithyClient.expectString,
1249
- });
1250
- Object.assign(contents, doc);
1251
- const exception = new ValidationException({
1252
- $metadata: deserializeMetadata(parsedOutput),
1253
- ...contents,
1254
- });
1255
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1256
- };
1257
- const de_ServiceAccountTokenList = (output, context) => {
1258
- const retVal = (output || [])
1259
- .filter((e) => e != null)
1260
- .map((entry) => {
1261
- return de_ServiceAccountTokenSummary(entry);
1262
- });
1263
- return retVal;
1264
- };
1265
- const de_ServiceAccountTokenSummary = (output, context) => {
1266
- return smithyClient.take(output, {
1267
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1268
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1269
- id: smithyClient.expectString,
1270
- lastUsedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1271
- name: smithyClient.expectString,
1272
- });
1273
- };
1274
- const de_WorkspaceDescription = (output, context) => {
1275
- return smithyClient.take(output, {
1276
- accountAccessType: smithyClient.expectString,
1277
- authentication: smithyClient._json,
1278
- created: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1279
- dataSources: smithyClient._json,
1280
- description: smithyClient.expectString,
1281
- endpoint: smithyClient.expectString,
1282
- freeTrialConsumed: smithyClient.expectBoolean,
1283
- freeTrialExpiration: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1284
- grafanaToken: smithyClient.expectString,
1285
- grafanaVersion: smithyClient.expectString,
1286
- id: smithyClient.expectString,
1287
- licenseExpiration: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1288
- licenseType: smithyClient.expectString,
1289
- modified: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1290
- name: smithyClient.expectString,
1291
- networkAccessControl: smithyClient._json,
1292
- notificationDestinations: smithyClient._json,
1293
- organizationRoleName: smithyClient.expectString,
1294
- organizationalUnits: smithyClient._json,
1295
- permissionType: smithyClient.expectString,
1296
- stackSetName: smithyClient.expectString,
1297
- status: smithyClient.expectString,
1298
- tags: smithyClient._json,
1299
- vpcConfiguration: smithyClient._json,
1300
- workspaceRoleArn: smithyClient.expectString,
1301
- });
1302
- };
1303
- const de_WorkspaceList = (output, context) => {
1304
- const retVal = (output || [])
1305
- .filter((e) => e != null)
1306
- .map((entry) => {
1307
- return de_WorkspaceSummary(entry);
1308
- });
1309
- return retVal;
1310
- };
1311
- const de_WorkspaceSummary = (output, context) => {
1312
- return smithyClient.take(output, {
1313
- authentication: smithyClient._json,
1314
- created: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1315
- description: smithyClient.expectString,
1316
- endpoint: smithyClient.expectString,
1317
- grafanaToken: smithyClient.expectString,
1318
- grafanaVersion: smithyClient.expectString,
1319
- id: smithyClient.expectString,
1320
- licenseType: smithyClient.expectString,
1321
- modified: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1322
- name: smithyClient.expectString,
1323
- notificationDestinations: smithyClient._json,
1324
- status: smithyClient.expectString,
1325
- tags: smithyClient._json,
1326
- });
1327
- };
1328
- const deserializeMetadata = (output) => ({
1329
- httpStatusCode: output.statusCode,
1330
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1331
- extendedRequestId: output.headers["x-amz-id-2"],
1332
- cfId: output.headers["x-amz-cf-id"],
1333
- });
303
+ const _AA = "AssertionAttributes";
304
+ const _AD = "AuthenticationDescription";
305
+ const _ADE = "AccessDeniedException";
306
+ const _AKT = "ApiKeyToken";
307
+ const _AL = "AssociateLicense";
308
+ const _ALR = "AssociateLicenseRequest";
309
+ const _ALRs = "AssociateLicenseResponse";
310
+ const _AS = "AuthenticationSummary";
311
+ const _ASA = "AwsSsoAuthentication";
312
+ const _CE = "ConflictException";
313
+ const _CW = "CreateWorkspace";
314
+ const _CWAK = "CreateWorkspaceApiKey";
315
+ const _CWAKR = "CreateWorkspaceApiKeyRequest";
316
+ const _CWAKRr = "CreateWorkspaceApiKeyResponse";
317
+ const _CWR = "CreateWorkspaceRequest";
318
+ const _CWRr = "CreateWorkspaceResponse";
319
+ const _CWSA = "CreateWorkspaceServiceAccount";
320
+ const _CWSAR = "CreateWorkspaceServiceAccountRequest";
321
+ const _CWSARr = "CreateWorkspaceServiceAccountResponse";
322
+ const _CWSAT = "CreateWorkspaceServiceAccountToken";
323
+ const _CWSATR = "CreateWorkspaceServiceAccountTokenRequest";
324
+ const _CWSATRr = "CreateWorkspaceServiceAccountTokenResponse";
325
+ const _D = "Description";
326
+ const _DL = "DisassociateLicense";
327
+ const _DLR = "DisassociateLicenseRequest";
328
+ const _DLRi = "DisassociateLicenseResponse";
329
+ const _DW = "DeleteWorkspace";
330
+ const _DWA = "DescribeWorkspaceAuthentication";
331
+ const _DWAK = "DeleteWorkspaceApiKey";
332
+ const _DWAKR = "DeleteWorkspaceApiKeyRequest";
333
+ const _DWAKRe = "DeleteWorkspaceApiKeyResponse";
334
+ const _DWAR = "DescribeWorkspaceAuthenticationRequest";
335
+ const _DWARe = "DescribeWorkspaceAuthenticationResponse";
336
+ const _DWC = "DescribeWorkspaceConfiguration";
337
+ const _DWCR = "DescribeWorkspaceConfigurationRequest";
338
+ const _DWCRe = "DescribeWorkspaceConfigurationResponse";
339
+ const _DWR = "DeleteWorkspaceRequest";
340
+ const _DWRe = "DeleteWorkspaceResponse";
341
+ const _DWRes = "DescribeWorkspaceRequest";
342
+ const _DWResc = "DescribeWorkspaceResponse";
343
+ const _DWSA = "DeleteWorkspaceServiceAccount";
344
+ const _DWSAR = "DeleteWorkspaceServiceAccountRequest";
345
+ const _DWSARe = "DeleteWorkspaceServiceAccountResponse";
346
+ const _DWSAT = "DeleteWorkspaceServiceAccountToken";
347
+ const _DWSATR = "DeleteWorkspaceServiceAccountTokenRequest";
348
+ const _DWSATRe = "DeleteWorkspaceServiceAccountTokenResponse";
349
+ const _DWe = "DescribeWorkspace";
350
+ const _GT = "Grafana-Token";
351
+ const _IM = "IdpMetadata";
352
+ const _IRA = "IamRoleArn";
353
+ const _ISE = "InternalServerException";
354
+ const _LP = "ListPermissions";
355
+ const _LPR = "ListPermissionsRequest";
356
+ const _LPRi = "ListPermissionsResponse";
357
+ const _LTFR = "ListTagsForResource";
358
+ const _LTFRR = "ListTagsForResourceRequest";
359
+ const _LTFRRi = "ListTagsForResourceResponse";
360
+ const _LV = "ListVersions";
361
+ const _LVR = "ListVersionsRequest";
362
+ const _LVRi = "ListVersionsResponse";
363
+ const _LW = "ListWorkspaces";
364
+ const _LWR = "ListWorkspacesRequest";
365
+ const _LWRi = "ListWorkspacesResponse";
366
+ const _LWSA = "ListWorkspaceServiceAccounts";
367
+ const _LWSAR = "ListWorkspaceServiceAccountsRequest";
368
+ const _LWSARi = "ListWorkspaceServiceAccountsResponse";
369
+ const _LWSAT = "ListWorkspaceServiceAccountTokens";
370
+ const _LWSATR = "ListWorkspaceServiceAccountTokensRequest";
371
+ const _LWSATRi = "ListWorkspaceServiceAccountTokensResponse";
372
+ const _NAC = "NetworkAccessConfiguration";
373
+ const _OCJ = "OverridableConfigurationJson";
374
+ const _ORN = "OrganizationRoleName";
375
+ const _OUL = "OrganizationalUnitList";
376
+ const _PE = "PermissionEntry";
377
+ const _PEL = "PermissionEntryList";
378
+ const _RA = "Retry-After";
379
+ const _RNFE = "ResourceNotFoundException";
380
+ const _RV = "RoleValues";
381
+ const _RVL = "RoleValueList";
382
+ const _SA = "SamlAuthentication";
383
+ const _SAL = "ServiceAccountList";
384
+ const _SAS = "ServiceAccountSummary";
385
+ const _SATK = "ServiceAccountTokenKey";
386
+ const _SATL = "ServiceAccountTokenList";
387
+ const _SATS = "ServiceAccountTokenSummary";
388
+ const _SATSWK = "ServiceAccountTokenSummaryWithKey";
389
+ const _SC = "SamlConfiguration";
390
+ const _SQEE = "ServiceQuotaExceededException";
391
+ const _TE = "ThrottlingException";
392
+ const _TR = "TagResource";
393
+ const _TRR = "TagResourceRequest";
394
+ const _TRRa = "TagResourceResponse";
395
+ const _U = "User";
396
+ const _UE = "UpdateError";
397
+ const _UEL = "UpdateErrorList";
398
+ const _UI = "UpdateInstruction";
399
+ const _UIB = "UpdateInstructionBatch";
400
+ const _UL = "UserList";
401
+ const _UP = "UpdatePermissions";
402
+ const _UPR = "UpdatePermissionsRequest";
403
+ const _UPRp = "UpdatePermissionsResponse";
404
+ const _UR = "UntagResource";
405
+ const _URR = "UntagResourceRequest";
406
+ const _URRn = "UntagResourceResponse";
407
+ const _UW = "UpdateWorkspace";
408
+ const _UWA = "UpdateWorkspaceAuthentication";
409
+ const _UWAR = "UpdateWorkspaceAuthenticationRequest";
410
+ const _UWARp = "UpdateWorkspaceAuthenticationResponse";
411
+ const _UWC = "UpdateWorkspaceConfiguration";
412
+ const _UWCR = "UpdateWorkspaceConfigurationRequest";
413
+ const _UWCRp = "UpdateWorkspaceConfigurationResponse";
414
+ const _UWR = "UpdateWorkspaceRequest";
415
+ const _UWRp = "UpdateWorkspaceResponse";
416
+ const _VC = "VpcConfiguration";
417
+ const _VE = "ValidationException";
418
+ const _VEF = "ValidationExceptionField";
419
+ const _VEFL = "ValidationExceptionFieldList";
420
+ const _WD = "WorkspaceDescription";
421
+ const _WL = "WorkspaceList";
422
+ const _WN = "WorkspaceName";
423
+ const _WS = "WorkspaceSummary";
424
+ const _a = "application/json";
425
+ const _aA = "assertionAttributes";
426
+ const _aAT = "accountAccessType";
427
+ const _aO = "allowedOrganizations";
428
+ const _aP = "authenticationProviders";
429
+ const _aS = "awsSso";
430
+ const _ac = "action";
431
+ const _ad = "admin";
432
+ const _au = "authentication";
433
+ const _c = "client";
434
+ const _cA = "createdAt";
435
+ const _cB = "causedBy";
436
+ const _cT = "clientToken";
437
+ const _co = "configuration";
438
+ const _cod = "code";
439
+ const _cr = "created";
440
+ const _d = "description";
441
+ const _dS = "dataSources";
442
+ const _e = "error";
443
+ const _eA = "expiresAt";
444
+ const _ed = "editor";
445
+ const _em = "email";
446
+ const _en = "endpoint";
447
+ const _er = "errors";
448
+ const _fL = "fieldList";
449
+ const _fTC = "freeTrialConsumed";
450
+ const _fTE = "freeTrialExpiration";
451
+ const _g = "groups";
1334
452
  const _gI = "groupId";
453
+ const _gR = "grafanaRole";
1335
454
  const _gT = "grafanaToken";
1336
- const _gt = "grafana-token";
455
+ const _gV = "grafanaVersion";
456
+ const _gVr = "grafanaVersions";
457
+ const _h = "http";
458
+ const _hE = "httpError";
459
+ const _hH = "httpHeader";
460
+ const _hQ = "httpQuery";
461
+ const _i = "id";
462
+ const _iD = "isDisabled";
463
+ const _iM = "idpMetadata";
464
+ const _k = "key";
465
+ const _kN = "keyName";
466
+ const _kR = "keyRole";
467
+ const _l = "login";
468
+ const _lE = "licenseExpiration";
469
+ const _lT = "licenseType";
470
+ const _lUA = "lastUsedAt";
471
+ const _lVD = "loginValidityDuration";
472
+ const _m = "message";
1337
473
  const _mR = "maxResults";
474
+ const _mT = "mediaType";
475
+ const _mo = "modified";
476
+ const _n = "name";
477
+ const _nAC = "networkAccessControl";
478
+ const _nD = "notificationDestinations";
1338
479
  const _nT = "nextToken";
480
+ const _o = "org";
481
+ const _oRN = "organizationRoleName";
482
+ const _oU = "organizationalUnits";
483
+ const _p = "providers";
484
+ const _pLI = "prefixListIds";
485
+ const _pT = "permissionType";
486
+ const _pe = "permissions";
487
+ const _qC = "quotaCode";
488
+ const _r = "role";
489
+ const _rA = "resourceArn";
1339
490
  const _rAS = "retryAfterSeconds";
1340
- const _ra = "retry-after";
491
+ const _rI = "resourceId";
492
+ const _rNAC = "removeNetworkAccessConfiguration";
493
+ const _rT = "resourceType";
494
+ const _rV = "roleValues";
495
+ const _rVC = "removeVpcConfiguration";
496
+ const _re = "reason";
497
+ const _s = "saml";
498
+ const _sA = "serviceAccounts";
499
+ const _sAI = "serviceAccountId";
500
+ const _sAT = "serviceAccountToken";
501
+ const _sATe = "serviceAccountTokens";
502
+ const _sC = "serviceCode";
503
+ const _sCI = "ssoClientId";
504
+ const _sCS = "samlConfigurationStatus";
505
+ const _sCa = "samlConfiguration";
506
+ const _sGI = "securityGroupIds";
507
+ const _sI = "subnetIds";
508
+ const _sSN = "stackSetName";
509
+ const _sTL = "secondsToLive";
510
+ const _se = "server";
511
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.grafana";
512
+ const _st = "status";
513
+ const _t = "tags";
514
+ const _tI = "tokenId";
1341
515
  const _tK = "tagKeys";
516
+ const _ty = "type";
517
+ const _u = "user";
1342
518
  const _uI = "userId";
519
+ const _uIB = "updateInstructionBatch";
1343
520
  const _uT = "userType";
521
+ const _ur = "url";
522
+ const _us = "users";
523
+ const _vC = "vpcConfiguration";
524
+ const _vI = "vpceIds";
525
+ const _w = "workspace";
526
+ const _wD = "workspaceDescription";
527
+ const _wDS = "workspaceDataSources";
1344
528
  const _wI = "workspaceId";
529
+ const _wN = "workspaceName";
530
+ const _wND = "workspaceNotificationDestinations";
531
+ const _wOU = "workspaceOrganizationalUnits";
532
+ const _wRA = "workspaceRoleArn";
1345
533
  const _wi = "workspace-id";
534
+ const _wo = "workspaces";
535
+ const _x = "xml";
536
+ const n0 = "com.amazonaws.grafana";
537
+ var ApiKeyToken = [0, n0, _AKT, 8, 0];
538
+ var Description = [0, n0, _D, 8, 0];
539
+ var IamRoleArn = [0, n0, _IRA, 8, 0];
540
+ var OrganizationRoleName = [0, n0, _ORN, 8, 0];
541
+ var OverridableConfigurationJson = [
542
+ 0,
543
+ n0,
544
+ _OCJ,
545
+ {
546
+ [_mT]: _a,
547
+ },
548
+ 0,
549
+ ];
550
+ var ServiceAccountTokenKey = [0, n0, _SATK, 8, 0];
551
+ var WorkspaceName = [0, n0, _WN, 8, 0];
552
+ var AccessDeniedException = [
553
+ -3,
554
+ n0,
555
+ _ADE,
556
+ {
557
+ [_e]: _c,
558
+ [_hE]: 403,
559
+ },
560
+ [_m],
561
+ [0],
562
+ ];
563
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
564
+ var AssertionAttributes = [3, n0, _AA, 0, [_n, _l, _em, _g, _r, _o], [0, 0, 0, 0, 0, 0]];
565
+ var AssociateLicenseRequest = [
566
+ 3,
567
+ n0,
568
+ _ALR,
569
+ 0,
570
+ [_wI, _lT, _gT],
571
+ [
572
+ [0, 1],
573
+ [0, 1],
574
+ [
575
+ 0,
576
+ {
577
+ [_hH]: _GT,
578
+ },
579
+ ],
580
+ ],
581
+ ];
582
+ var AssociateLicenseResponse = [3, n0, _ALRs, 0, [_w], [[() => WorkspaceDescription, 0]]];
583
+ var AuthenticationDescription = [
584
+ 3,
585
+ n0,
586
+ _AD,
587
+ 0,
588
+ [_p, _s, _aS],
589
+ [64 | 0, [() => SamlAuthentication, 0], () => AwsSsoAuthentication],
590
+ ];
591
+ var AuthenticationSummary = [3, n0, _AS, 0, [_p, _sCS], [64 | 0, 0]];
592
+ var AwsSsoAuthentication = [3, n0, _ASA, 0, [_sCI], [0]];
593
+ var ConflictException = [
594
+ -3,
595
+ n0,
596
+ _CE,
597
+ {
598
+ [_e]: _c,
599
+ [_hE]: 409,
600
+ },
601
+ [_m, _rI, _rT],
602
+ [0, 0, 0],
603
+ ];
604
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
605
+ var CreateWorkspaceApiKeyRequest = [
606
+ 3,
607
+ n0,
608
+ _CWAKR,
609
+ 0,
610
+ [_kN, _kR, _sTL, _wI],
611
+ [0, 0, 1, [0, 1]],
612
+ ];
613
+ var CreateWorkspaceApiKeyResponse = [
614
+ 3,
615
+ n0,
616
+ _CWAKRr,
617
+ 0,
618
+ [_kN, _k, _wI],
619
+ [0, [() => ApiKeyToken, 0], 0],
620
+ ];
621
+ var CreateWorkspaceRequest = [
622
+ 3,
623
+ n0,
624
+ _CWR,
625
+ 0,
626
+ [_aAT, _cT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _aP, _t, _vC, _co, _nAC, _gV],
627
+ [
628
+ 0,
629
+ [0, 4],
630
+ [() => OrganizationRoleName, 0],
631
+ 0,
632
+ 0,
633
+ 64 | 0,
634
+ [() => Description, 0],
635
+ [() => WorkspaceName, 0],
636
+ 64 | 0,
637
+ [() => OrganizationalUnitList, 0],
638
+ [() => IamRoleArn, 0],
639
+ 64 | 0,
640
+ 128 | 0,
641
+ () => VpcConfiguration,
642
+ [() => OverridableConfigurationJson, 0],
643
+ () => NetworkAccessConfiguration,
644
+ 0,
645
+ ],
646
+ ];
647
+ var CreateWorkspaceResponse = [3, n0, _CWRr, 0, [_w], [[() => WorkspaceDescription, 0]]];
648
+ var CreateWorkspaceServiceAccountRequest = [
649
+ 3,
650
+ n0,
651
+ _CWSAR,
652
+ 0,
653
+ [_n, _gR, _wI],
654
+ [0, 0, [0, 1]],
655
+ ];
656
+ var CreateWorkspaceServiceAccountResponse = [
657
+ 3,
658
+ n0,
659
+ _CWSARr,
660
+ 0,
661
+ [_i, _n, _gR, _wI],
662
+ [0, 0, 0, 0],
663
+ ];
664
+ var CreateWorkspaceServiceAccountTokenRequest = [
665
+ 3,
666
+ n0,
667
+ _CWSATR,
668
+ 0,
669
+ [_n, _sTL, _sAI, _wI],
670
+ [0, 1, [0, 1], [0, 1]],
671
+ ];
672
+ var CreateWorkspaceServiceAccountTokenResponse = [
673
+ 3,
674
+ n0,
675
+ _CWSATRr,
676
+ 0,
677
+ [_sAT, _sAI, _wI],
678
+ [[() => ServiceAccountTokenSummaryWithKey, 0], 0, 0],
679
+ ];
680
+ var DeleteWorkspaceApiKeyRequest = [
681
+ 3,
682
+ n0,
683
+ _DWAKR,
684
+ 0,
685
+ [_kN, _wI],
686
+ [
687
+ [0, 1],
688
+ [0, 1],
689
+ ],
690
+ ];
691
+ var DeleteWorkspaceApiKeyResponse = [3, n0, _DWAKRe, 0, [_kN, _wI], [0, 0]];
692
+ var DeleteWorkspaceRequest = [3, n0, _DWR, 0, [_wI], [[0, 1]]];
693
+ var DeleteWorkspaceResponse = [3, n0, _DWRe, 0, [_w], [[() => WorkspaceDescription, 0]]];
694
+ var DeleteWorkspaceServiceAccountRequest = [
695
+ 3,
696
+ n0,
697
+ _DWSAR,
698
+ 0,
699
+ [_sAI, _wI],
700
+ [
701
+ [0, 1],
702
+ [0, 1],
703
+ ],
704
+ ];
705
+ var DeleteWorkspaceServiceAccountResponse = [3, n0, _DWSARe, 0, [_sAI, _wI], [0, 0]];
706
+ var DeleteWorkspaceServiceAccountTokenRequest = [
707
+ 3,
708
+ n0,
709
+ _DWSATR,
710
+ 0,
711
+ [_tI, _sAI, _wI],
712
+ [
713
+ [0, 1],
714
+ [0, 1],
715
+ [0, 1],
716
+ ],
717
+ ];
718
+ var DeleteWorkspaceServiceAccountTokenResponse = [
719
+ 3,
720
+ n0,
721
+ _DWSATRe,
722
+ 0,
723
+ [_tI, _sAI, _wI],
724
+ [0, 0, 0],
725
+ ];
726
+ var DescribeWorkspaceAuthenticationRequest = [3, n0, _DWAR, 0, [_wI], [[0, 1]]];
727
+ var DescribeWorkspaceAuthenticationResponse = [
728
+ 3,
729
+ n0,
730
+ _DWARe,
731
+ 0,
732
+ [_au],
733
+ [[() => AuthenticationDescription, 0]],
734
+ ];
735
+ var DescribeWorkspaceConfigurationRequest = [3, n0, _DWCR, 0, [_wI], [[0, 1]]];
736
+ var DescribeWorkspaceConfigurationResponse = [
737
+ 3,
738
+ n0,
739
+ _DWCRe,
740
+ 0,
741
+ [_co, _gV],
742
+ [[() => OverridableConfigurationJson, 0], 0],
743
+ ];
744
+ var DescribeWorkspaceRequest = [3, n0, _DWRes, 0, [_wI], [[0, 1]]];
745
+ var DescribeWorkspaceResponse = [
746
+ 3,
747
+ n0,
748
+ _DWResc,
749
+ 0,
750
+ [_w],
751
+ [[() => WorkspaceDescription, 0]],
752
+ ];
753
+ var DisassociateLicenseRequest = [
754
+ 3,
755
+ n0,
756
+ _DLR,
757
+ 0,
758
+ [_wI, _lT],
759
+ [
760
+ [0, 1],
761
+ [0, 1],
762
+ ],
763
+ ];
764
+ var DisassociateLicenseResponse = [
765
+ 3,
766
+ n0,
767
+ _DLRi,
768
+ 0,
769
+ [_w],
770
+ [[() => WorkspaceDescription, 0]],
771
+ ];
772
+ var InternalServerException = [
773
+ -3,
774
+ n0,
775
+ _ISE,
776
+ {
777
+ [_e]: _se,
778
+ [_hE]: 500,
779
+ },
780
+ [_m, _rAS],
781
+ [
782
+ 0,
783
+ [
784
+ 1,
785
+ {
786
+ [_hH]: _RA,
787
+ },
788
+ ],
789
+ ],
790
+ ];
791
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
792
+ var ListPermissionsRequest = [
793
+ 3,
794
+ n0,
795
+ _LPR,
796
+ 0,
797
+ [_mR, _nT, _uT, _uI, _gI, _wI],
798
+ [
799
+ [
800
+ 1,
801
+ {
802
+ [_hQ]: _mR,
803
+ },
804
+ ],
805
+ [
806
+ 0,
807
+ {
808
+ [_hQ]: _nT,
809
+ },
810
+ ],
811
+ [
812
+ 0,
813
+ {
814
+ [_hQ]: _uT,
815
+ },
816
+ ],
817
+ [
818
+ 0,
819
+ {
820
+ [_hQ]: _uI,
821
+ },
822
+ ],
823
+ [
824
+ 0,
825
+ {
826
+ [_hQ]: _gI,
827
+ },
828
+ ],
829
+ [0, 1],
830
+ ],
831
+ ];
832
+ var ListPermissionsResponse = [
833
+ 3,
834
+ n0,
835
+ _LPRi,
836
+ 0,
837
+ [_nT, _pe],
838
+ [0, () => PermissionEntryList],
839
+ ];
840
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
841
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
842
+ var ListVersionsRequest = [
843
+ 3,
844
+ n0,
845
+ _LVR,
846
+ 0,
847
+ [_mR, _nT, _wI],
848
+ [
849
+ [
850
+ 1,
851
+ {
852
+ [_hQ]: _mR,
853
+ },
854
+ ],
855
+ [
856
+ 0,
857
+ {
858
+ [_hQ]: _nT,
859
+ },
860
+ ],
861
+ [
862
+ 0,
863
+ {
864
+ [_hQ]: _wi,
865
+ },
866
+ ],
867
+ ],
868
+ ];
869
+ var ListVersionsResponse = [3, n0, _LVRi, 0, [_nT, _gVr], [0, 64 | 0]];
870
+ var ListWorkspaceServiceAccountsRequest = [
871
+ 3,
872
+ n0,
873
+ _LWSAR,
874
+ 0,
875
+ [_mR, _nT, _wI],
876
+ [
877
+ [
878
+ 1,
879
+ {
880
+ [_hQ]: _mR,
881
+ },
882
+ ],
883
+ [
884
+ 0,
885
+ {
886
+ [_hQ]: _nT,
887
+ },
888
+ ],
889
+ [0, 1],
890
+ ],
891
+ ];
892
+ var ListWorkspaceServiceAccountsResponse = [
893
+ 3,
894
+ n0,
895
+ _LWSARi,
896
+ 0,
897
+ [_nT, _sA, _wI],
898
+ [0, () => ServiceAccountList, 0],
899
+ ];
900
+ var ListWorkspaceServiceAccountTokensRequest = [
901
+ 3,
902
+ n0,
903
+ _LWSATR,
904
+ 0,
905
+ [_mR, _nT, _sAI, _wI],
906
+ [
907
+ [
908
+ 1,
909
+ {
910
+ [_hQ]: _mR,
911
+ },
912
+ ],
913
+ [
914
+ 0,
915
+ {
916
+ [_hQ]: _nT,
917
+ },
918
+ ],
919
+ [0, 1],
920
+ [0, 1],
921
+ ],
922
+ ];
923
+ var ListWorkspaceServiceAccountTokensResponse = [
924
+ 3,
925
+ n0,
926
+ _LWSATRi,
927
+ 0,
928
+ [_nT, _sATe, _sAI, _wI],
929
+ [0, () => ServiceAccountTokenList, 0, 0],
930
+ ];
931
+ var ListWorkspacesRequest = [
932
+ 3,
933
+ n0,
934
+ _LWR,
935
+ 0,
936
+ [_mR, _nT],
937
+ [
938
+ [
939
+ 1,
940
+ {
941
+ [_hQ]: _mR,
942
+ },
943
+ ],
944
+ [
945
+ 0,
946
+ {
947
+ [_hQ]: _nT,
948
+ },
949
+ ],
950
+ ],
951
+ ];
952
+ var ListWorkspacesResponse = [3, n0, _LWRi, 0, [_wo, _nT], [[() => WorkspaceList, 0], 0]];
953
+ var NetworkAccessConfiguration = [3, n0, _NAC, 0, [_pLI, _vI], [64 | 0, 64 | 0]];
954
+ var PermissionEntry = [3, n0, _PE, 0, [_u, _r], [() => User, 0]];
955
+ var ResourceNotFoundException = [
956
+ -3,
957
+ n0,
958
+ _RNFE,
959
+ {
960
+ [_e]: _c,
961
+ [_hE]: 404,
962
+ },
963
+ [_m, _rI, _rT],
964
+ [0, 0, 0],
965
+ ];
966
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
967
+ var RoleValues = [
968
+ 3,
969
+ n0,
970
+ _RV,
971
+ 0,
972
+ [_ed, _ad],
973
+ [
974
+ [() => RoleValueList, 0],
975
+ [() => RoleValueList, 0],
976
+ ],
977
+ ];
978
+ var SamlAuthentication = [3, n0, _SA, 0, [_st, _co], [0, [() => SamlConfiguration, 0]]];
979
+ var SamlConfiguration = [
980
+ 3,
981
+ n0,
982
+ _SC,
983
+ 0,
984
+ [_iM, _aA, _rV, _aO, _lVD],
985
+ [() => IdpMetadata, () => AssertionAttributes, [() => RoleValues, 0], 64 | 0, 1],
986
+ ];
987
+ var ServiceAccountSummary = [3, n0, _SAS, 0, [_i, _n, _iD, _gR], [0, 0, 0, 0]];
988
+ var ServiceAccountTokenSummary = [
989
+ 3,
990
+ n0,
991
+ _SATS,
992
+ 0,
993
+ [_i, _n, _cA, _eA, _lUA],
994
+ [0, 0, 4, 4, 4],
995
+ ];
996
+ var ServiceAccountTokenSummaryWithKey = [
997
+ 3,
998
+ n0,
999
+ _SATSWK,
1000
+ 0,
1001
+ [_i, _n, _k],
1002
+ [0, 0, [() => ServiceAccountTokenKey, 0]],
1003
+ ];
1004
+ var ServiceQuotaExceededException = [
1005
+ -3,
1006
+ n0,
1007
+ _SQEE,
1008
+ {
1009
+ [_e]: _c,
1010
+ [_hE]: 402,
1011
+ },
1012
+ [_m, _rI, _rT, _sC, _qC],
1013
+ [0, 0, 0, 0, 0],
1014
+ ];
1015
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1016
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
1017
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1018
+ var ThrottlingException = [
1019
+ -3,
1020
+ n0,
1021
+ _TE,
1022
+ {
1023
+ [_e]: _c,
1024
+ [_hE]: 429,
1025
+ },
1026
+ [_m, _sC, _qC, _rAS],
1027
+ [
1028
+ 0,
1029
+ 0,
1030
+ 0,
1031
+ [
1032
+ 1,
1033
+ {
1034
+ [_hH]: _RA,
1035
+ },
1036
+ ],
1037
+ ],
1038
+ ];
1039
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1040
+ var UntagResourceRequest = [
1041
+ 3,
1042
+ n0,
1043
+ _URR,
1044
+ 0,
1045
+ [_rA, _tK],
1046
+ [
1047
+ [0, 1],
1048
+ [
1049
+ 64 | 0,
1050
+ {
1051
+ [_hQ]: _tK,
1052
+ },
1053
+ ],
1054
+ ],
1055
+ ];
1056
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1057
+ var UpdateError = [3, n0, _UE, 0, [_cod, _m, _cB], [1, 0, () => UpdateInstruction]];
1058
+ var UpdateInstruction = [3, n0, _UI, 0, [_ac, _r, _us], [0, 0, () => UserList]];
1059
+ var UpdatePermissionsRequest = [
1060
+ 3,
1061
+ n0,
1062
+ _UPR,
1063
+ 0,
1064
+ [_uIB, _wI],
1065
+ [() => UpdateInstructionBatch, [0, 1]],
1066
+ ];
1067
+ var UpdatePermissionsResponse = [3, n0, _UPRp, 0, [_er], [() => UpdateErrorList]];
1068
+ var UpdateWorkspaceAuthenticationRequest = [
1069
+ 3,
1070
+ n0,
1071
+ _UWAR,
1072
+ 0,
1073
+ [_wI, _aP, _sCa],
1074
+ [[0, 1], 64 | 0, [() => SamlConfiguration, 0]],
1075
+ ];
1076
+ var UpdateWorkspaceAuthenticationResponse = [
1077
+ 3,
1078
+ n0,
1079
+ _UWARp,
1080
+ 0,
1081
+ [_au],
1082
+ [[() => AuthenticationDescription, 0]],
1083
+ ];
1084
+ var UpdateWorkspaceConfigurationRequest = [
1085
+ 3,
1086
+ n0,
1087
+ _UWCR,
1088
+ 0,
1089
+ [_co, _wI, _gV],
1090
+ [[() => OverridableConfigurationJson, 0], [0, 1], 0],
1091
+ ];
1092
+ var UpdateWorkspaceConfigurationResponse = [3, n0, _UWCRp, 0, [], []];
1093
+ var UpdateWorkspaceRequest = [
1094
+ 3,
1095
+ n0,
1096
+ _UWR,
1097
+ 0,
1098
+ [_aAT, _oRN, _pT, _sSN, _wDS, _wD, _wI, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC],
1099
+ [
1100
+ 0,
1101
+ [() => OrganizationRoleName, 0],
1102
+ 0,
1103
+ 0,
1104
+ 64 | 0,
1105
+ [() => Description, 0],
1106
+ [0, 1],
1107
+ [() => WorkspaceName, 0],
1108
+ 64 | 0,
1109
+ [() => OrganizationalUnitList, 0],
1110
+ [() => IamRoleArn, 0],
1111
+ () => VpcConfiguration,
1112
+ 2,
1113
+ () => NetworkAccessConfiguration,
1114
+ 2,
1115
+ ],
1116
+ ];
1117
+ var UpdateWorkspaceResponse = [3, n0, _UWRp, 0, [_w], [[() => WorkspaceDescription, 0]]];
1118
+ var User = [3, n0, _U, 0, [_i, _ty], [0, 0]];
1119
+ var ValidationException = [
1120
+ -3,
1121
+ n0,
1122
+ _VE,
1123
+ {
1124
+ [_e]: _c,
1125
+ [_hE]: 400,
1126
+ },
1127
+ [_m, _re, _fL],
1128
+ [0, 0, () => ValidationExceptionFieldList],
1129
+ ];
1130
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1131
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
1132
+ var VpcConfiguration = [3, n0, _VC, 0, [_sGI, _sI], [64 | 0, 64 | 0]];
1133
+ var WorkspaceDescription = [
1134
+ 3,
1135
+ n0,
1136
+ _WD,
1137
+ 0,
1138
+ [
1139
+ _aAT,
1140
+ _cr,
1141
+ _dS,
1142
+ _d,
1143
+ _en,
1144
+ _gV,
1145
+ _i,
1146
+ _mo,
1147
+ _n,
1148
+ _oRN,
1149
+ _nD,
1150
+ _oU,
1151
+ _pT,
1152
+ _sSN,
1153
+ _st,
1154
+ _wRA,
1155
+ _lT,
1156
+ _fTC,
1157
+ _lE,
1158
+ _fTE,
1159
+ _au,
1160
+ _t,
1161
+ _vC,
1162
+ _nAC,
1163
+ _gT,
1164
+ ],
1165
+ [
1166
+ 0,
1167
+ 4,
1168
+ 64 | 0,
1169
+ [() => Description, 0],
1170
+ 0,
1171
+ 0,
1172
+ 0,
1173
+ 4,
1174
+ [() => WorkspaceName, 0],
1175
+ [() => OrganizationRoleName, 0],
1176
+ 64 | 0,
1177
+ [() => OrganizationalUnitList, 0],
1178
+ 0,
1179
+ 0,
1180
+ 0,
1181
+ [() => IamRoleArn, 0],
1182
+ 0,
1183
+ 2,
1184
+ 4,
1185
+ 4,
1186
+ () => AuthenticationSummary,
1187
+ 128 | 0,
1188
+ () => VpcConfiguration,
1189
+ () => NetworkAccessConfiguration,
1190
+ 0,
1191
+ ],
1192
+ ];
1193
+ var WorkspaceSummary = [
1194
+ 3,
1195
+ n0,
1196
+ _WS,
1197
+ 0,
1198
+ [_cr, _d, _en, _gV, _i, _mo, _n, _nD, _st, _au, _t, _lT, _gT],
1199
+ [
1200
+ 4,
1201
+ [() => Description, 0],
1202
+ 0,
1203
+ 0,
1204
+ 0,
1205
+ 4,
1206
+ [() => WorkspaceName, 0],
1207
+ 64 | 0,
1208
+ 0,
1209
+ () => AuthenticationSummary,
1210
+ 128 | 0,
1211
+ 0,
1212
+ 0,
1213
+ ],
1214
+ ];
1215
+ var GrafanaServiceException = [-3, _sm, "GrafanaServiceException", 0, [], []];
1216
+ schema.TypeRegistry.for(_sm).registerError(GrafanaServiceException, GrafanaServiceException$1);
1217
+ var OrganizationalUnitList = [1, n0, _OUL, 8, 0];
1218
+ var PermissionEntryList = [1, n0, _PEL, 0, () => PermissionEntry];
1219
+ var RoleValueList = [1, n0, _RVL, 8, 0];
1220
+ var ServiceAccountList = [1, n0, _SAL, 0, () => ServiceAccountSummary];
1221
+ var ServiceAccountTokenList = [1, n0, _SATL, 0, () => ServiceAccountTokenSummary];
1222
+ var UpdateErrorList = [1, n0, _UEL, 0, () => UpdateError];
1223
+ var UpdateInstructionBatch = [1, n0, _UIB, 0, () => UpdateInstruction];
1224
+ var UserList = [1, n0, _UL, 0, () => User];
1225
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1226
+ var WorkspaceList = [1, n0, _WL, 0, [() => WorkspaceSummary, 0]];
1227
+ var IdpMetadata = [3, n0, _IM, 0, [_ur, _x], [0, 0]];
1228
+ var AssociateLicense = [
1229
+ 9,
1230
+ n0,
1231
+ _AL,
1232
+ {
1233
+ [_h]: ["POST", "/workspaces/{workspaceId}/licenses/{licenseType}", 202],
1234
+ },
1235
+ () => AssociateLicenseRequest,
1236
+ () => AssociateLicenseResponse,
1237
+ ];
1238
+ var CreateWorkspace = [
1239
+ 9,
1240
+ n0,
1241
+ _CW,
1242
+ {
1243
+ [_h]: ["POST", "/workspaces", 202],
1244
+ },
1245
+ () => CreateWorkspaceRequest,
1246
+ () => CreateWorkspaceResponse,
1247
+ ];
1248
+ var CreateWorkspaceApiKey = [
1249
+ 9,
1250
+ n0,
1251
+ _CWAK,
1252
+ {
1253
+ [_h]: ["POST", "/workspaces/{workspaceId}/apikeys", 200],
1254
+ },
1255
+ () => CreateWorkspaceApiKeyRequest,
1256
+ () => CreateWorkspaceApiKeyResponse,
1257
+ ];
1258
+ var CreateWorkspaceServiceAccount = [
1259
+ 9,
1260
+ n0,
1261
+ _CWSA,
1262
+ {
1263
+ [_h]: ["POST", "/workspaces/{workspaceId}/serviceaccounts", 200],
1264
+ },
1265
+ () => CreateWorkspaceServiceAccountRequest,
1266
+ () => CreateWorkspaceServiceAccountResponse,
1267
+ ];
1268
+ var CreateWorkspaceServiceAccountToken = [
1269
+ 9,
1270
+ n0,
1271
+ _CWSAT,
1272
+ {
1273
+ [_h]: ["POST", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", 200],
1274
+ },
1275
+ () => CreateWorkspaceServiceAccountTokenRequest,
1276
+ () => CreateWorkspaceServiceAccountTokenResponse,
1277
+ ];
1278
+ var DeleteWorkspace = [
1279
+ 9,
1280
+ n0,
1281
+ _DW,
1282
+ {
1283
+ [_h]: ["DELETE", "/workspaces/{workspaceId}", 202],
1284
+ },
1285
+ () => DeleteWorkspaceRequest,
1286
+ () => DeleteWorkspaceResponse,
1287
+ ];
1288
+ var DeleteWorkspaceApiKey = [
1289
+ 9,
1290
+ n0,
1291
+ _DWAK,
1292
+ {
1293
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/apikeys/{keyName}", 200],
1294
+ },
1295
+ () => DeleteWorkspaceApiKeyRequest,
1296
+ () => DeleteWorkspaceApiKeyResponse,
1297
+ ];
1298
+ var DeleteWorkspaceServiceAccount = [
1299
+ 9,
1300
+ n0,
1301
+ _DWSA,
1302
+ {
1303
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}", 200],
1304
+ },
1305
+ () => DeleteWorkspaceServiceAccountRequest,
1306
+ () => DeleteWorkspaceServiceAccountResponse,
1307
+ ];
1308
+ var DeleteWorkspaceServiceAccountToken = [
1309
+ 9,
1310
+ n0,
1311
+ _DWSAT,
1312
+ {
1313
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}", 200],
1314
+ },
1315
+ () => DeleteWorkspaceServiceAccountTokenRequest,
1316
+ () => DeleteWorkspaceServiceAccountTokenResponse,
1317
+ ];
1318
+ var DescribeWorkspace = [
1319
+ 9,
1320
+ n0,
1321
+ _DWe,
1322
+ {
1323
+ [_h]: ["GET", "/workspaces/{workspaceId}", 200],
1324
+ },
1325
+ () => DescribeWorkspaceRequest,
1326
+ () => DescribeWorkspaceResponse,
1327
+ ];
1328
+ var DescribeWorkspaceAuthentication = [
1329
+ 9,
1330
+ n0,
1331
+ _DWA,
1332
+ {
1333
+ [_h]: ["GET", "/workspaces/{workspaceId}/authentication", 200],
1334
+ },
1335
+ () => DescribeWorkspaceAuthenticationRequest,
1336
+ () => DescribeWorkspaceAuthenticationResponse,
1337
+ ];
1338
+ var DescribeWorkspaceConfiguration = [
1339
+ 9,
1340
+ n0,
1341
+ _DWC,
1342
+ {
1343
+ [_h]: ["GET", "/workspaces/{workspaceId}/configuration", 200],
1344
+ },
1345
+ () => DescribeWorkspaceConfigurationRequest,
1346
+ () => DescribeWorkspaceConfigurationResponse,
1347
+ ];
1348
+ var DisassociateLicense = [
1349
+ 9,
1350
+ n0,
1351
+ _DL,
1352
+ {
1353
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/licenses/{licenseType}", 202],
1354
+ },
1355
+ () => DisassociateLicenseRequest,
1356
+ () => DisassociateLicenseResponse,
1357
+ ];
1358
+ var ListPermissions = [
1359
+ 9,
1360
+ n0,
1361
+ _LP,
1362
+ {
1363
+ [_h]: ["GET", "/workspaces/{workspaceId}/permissions", 200],
1364
+ },
1365
+ () => ListPermissionsRequest,
1366
+ () => ListPermissionsResponse,
1367
+ ];
1368
+ var ListTagsForResource = [
1369
+ 9,
1370
+ n0,
1371
+ _LTFR,
1372
+ {
1373
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1374
+ },
1375
+ () => ListTagsForResourceRequest,
1376
+ () => ListTagsForResourceResponse,
1377
+ ];
1378
+ var ListVersions = [
1379
+ 9,
1380
+ n0,
1381
+ _LV,
1382
+ {
1383
+ [_h]: ["GET", "/versions", 200],
1384
+ },
1385
+ () => ListVersionsRequest,
1386
+ () => ListVersionsResponse,
1387
+ ];
1388
+ var ListWorkspaces = [
1389
+ 9,
1390
+ n0,
1391
+ _LW,
1392
+ {
1393
+ [_h]: ["GET", "/workspaces", 200],
1394
+ },
1395
+ () => ListWorkspacesRequest,
1396
+ () => ListWorkspacesResponse,
1397
+ ];
1398
+ var ListWorkspaceServiceAccounts = [
1399
+ 9,
1400
+ n0,
1401
+ _LWSA,
1402
+ {
1403
+ [_h]: ["GET", "/workspaces/{workspaceId}/serviceaccounts", 200],
1404
+ },
1405
+ () => ListWorkspaceServiceAccountsRequest,
1406
+ () => ListWorkspaceServiceAccountsResponse,
1407
+ ];
1408
+ var ListWorkspaceServiceAccountTokens = [
1409
+ 9,
1410
+ n0,
1411
+ _LWSAT,
1412
+ {
1413
+ [_h]: ["GET", "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", 200],
1414
+ },
1415
+ () => ListWorkspaceServiceAccountTokensRequest,
1416
+ () => ListWorkspaceServiceAccountTokensResponse,
1417
+ ];
1418
+ var TagResource = [
1419
+ 9,
1420
+ n0,
1421
+ _TR,
1422
+ {
1423
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
1424
+ },
1425
+ () => TagResourceRequest,
1426
+ () => TagResourceResponse,
1427
+ ];
1428
+ var UntagResource = [
1429
+ 9,
1430
+ n0,
1431
+ _UR,
1432
+ {
1433
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1434
+ },
1435
+ () => UntagResourceRequest,
1436
+ () => UntagResourceResponse,
1437
+ ];
1438
+ var UpdatePermissions = [
1439
+ 9,
1440
+ n0,
1441
+ _UP,
1442
+ {
1443
+ [_h]: ["PATCH", "/workspaces/{workspaceId}/permissions", 200],
1444
+ },
1445
+ () => UpdatePermissionsRequest,
1446
+ () => UpdatePermissionsResponse,
1447
+ ];
1448
+ var UpdateWorkspace = [
1449
+ 9,
1450
+ n0,
1451
+ _UW,
1452
+ {
1453
+ [_h]: ["PUT", "/workspaces/{workspaceId}", 202],
1454
+ },
1455
+ () => UpdateWorkspaceRequest,
1456
+ () => UpdateWorkspaceResponse,
1457
+ ];
1458
+ var UpdateWorkspaceAuthentication = [
1459
+ 9,
1460
+ n0,
1461
+ _UWA,
1462
+ {
1463
+ [_h]: ["POST", "/workspaces/{workspaceId}/authentication", 200],
1464
+ },
1465
+ () => UpdateWorkspaceAuthenticationRequest,
1466
+ () => UpdateWorkspaceAuthenticationResponse,
1467
+ ];
1468
+ var UpdateWorkspaceConfiguration = [
1469
+ 9,
1470
+ n0,
1471
+ _UWC,
1472
+ {
1473
+ [_h]: ["PUT", "/workspaces/{workspaceId}/configuration", 202],
1474
+ },
1475
+ () => UpdateWorkspaceConfigurationRequest,
1476
+ () => UpdateWorkspaceConfigurationResponse,
1477
+ ];
1346
1478
 
1347
1479
  class AssociateLicenseCommand extends smithyClient.Command
1348
1480
  .classBuilder()
1349
1481
  .ep(commonParams)
1350
1482
  .m(function (Command, cs, config, o) {
1351
- return [
1352
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1353
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1354
- ];
1483
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
1484
  })
1356
1485
  .s("AWSGrafanaControlPlane", "AssociateLicense", {})
1357
1486
  .n("GrafanaClient", "AssociateLicenseCommand")
1358
- .f(void 0, AssociateLicenseResponseFilterSensitiveLog)
1359
- .ser(se_AssociateLicenseCommand)
1360
- .de(de_AssociateLicenseCommand)
1487
+ .sc(AssociateLicense)
1361
1488
  .build() {
1362
1489
  }
1363
1490
 
@@ -1365,16 +1492,11 @@ class CreateWorkspaceApiKeyCommand extends smithyClient.Command
1365
1492
  .classBuilder()
1366
1493
  .ep(commonParams)
1367
1494
  .m(function (Command, cs, config, o) {
1368
- return [
1369
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1370
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1371
- ];
1495
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1372
1496
  })
1373
1497
  .s("AWSGrafanaControlPlane", "CreateWorkspaceApiKey", {})
1374
1498
  .n("GrafanaClient", "CreateWorkspaceApiKeyCommand")
1375
- .f(void 0, CreateWorkspaceApiKeyResponseFilterSensitiveLog)
1376
- .ser(se_CreateWorkspaceApiKeyCommand)
1377
- .de(de_CreateWorkspaceApiKeyCommand)
1499
+ .sc(CreateWorkspaceApiKey)
1378
1500
  .build() {
1379
1501
  }
1380
1502
 
@@ -1382,16 +1504,11 @@ class CreateWorkspaceCommand extends smithyClient.Command
1382
1504
  .classBuilder()
1383
1505
  .ep(commonParams)
1384
1506
  .m(function (Command, cs, config, o) {
1385
- return [
1386
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1387
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1388
- ];
1507
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1389
1508
  })
1390
1509
  .s("AWSGrafanaControlPlane", "CreateWorkspace", {})
1391
1510
  .n("GrafanaClient", "CreateWorkspaceCommand")
1392
- .f(CreateWorkspaceRequestFilterSensitiveLog, CreateWorkspaceResponseFilterSensitiveLog)
1393
- .ser(se_CreateWorkspaceCommand)
1394
- .de(de_CreateWorkspaceCommand)
1511
+ .sc(CreateWorkspace)
1395
1512
  .build() {
1396
1513
  }
1397
1514
 
@@ -1399,16 +1516,11 @@ class CreateWorkspaceServiceAccountCommand extends smithyClient.Command
1399
1516
  .classBuilder()
1400
1517
  .ep(commonParams)
1401
1518
  .m(function (Command, cs, config, o) {
1402
- return [
1403
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1404
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1405
- ];
1519
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
1520
  })
1407
1521
  .s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccount", {})
1408
1522
  .n("GrafanaClient", "CreateWorkspaceServiceAccountCommand")
1409
- .f(void 0, void 0)
1410
- .ser(se_CreateWorkspaceServiceAccountCommand)
1411
- .de(de_CreateWorkspaceServiceAccountCommand)
1523
+ .sc(CreateWorkspaceServiceAccount)
1412
1524
  .build() {
1413
1525
  }
1414
1526
 
@@ -1416,16 +1528,11 @@ class CreateWorkspaceServiceAccountTokenCommand extends smithyClient.Command
1416
1528
  .classBuilder()
1417
1529
  .ep(commonParams)
1418
1530
  .m(function (Command, cs, config, o) {
1419
- return [
1420
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1421
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1422
- ];
1531
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1423
1532
  })
1424
1533
  .s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccountToken", {})
1425
1534
  .n("GrafanaClient", "CreateWorkspaceServiceAccountTokenCommand")
1426
- .f(void 0, CreateWorkspaceServiceAccountTokenResponseFilterSensitiveLog)
1427
- .ser(se_CreateWorkspaceServiceAccountTokenCommand)
1428
- .de(de_CreateWorkspaceServiceAccountTokenCommand)
1535
+ .sc(CreateWorkspaceServiceAccountToken)
1429
1536
  .build() {
1430
1537
  }
1431
1538
 
@@ -1433,16 +1540,11 @@ class DeleteWorkspaceApiKeyCommand extends smithyClient.Command
1433
1540
  .classBuilder()
1434
1541
  .ep(commonParams)
1435
1542
  .m(function (Command, cs, config, o) {
1436
- return [
1437
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1438
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1439
- ];
1543
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1440
1544
  })
1441
1545
  .s("AWSGrafanaControlPlane", "DeleteWorkspaceApiKey", {})
1442
1546
  .n("GrafanaClient", "DeleteWorkspaceApiKeyCommand")
1443
- .f(void 0, void 0)
1444
- .ser(se_DeleteWorkspaceApiKeyCommand)
1445
- .de(de_DeleteWorkspaceApiKeyCommand)
1547
+ .sc(DeleteWorkspaceApiKey)
1446
1548
  .build() {
1447
1549
  }
1448
1550
 
@@ -1450,16 +1552,11 @@ class DeleteWorkspaceCommand extends smithyClient.Command
1450
1552
  .classBuilder()
1451
1553
  .ep(commonParams)
1452
1554
  .m(function (Command, cs, config, o) {
1453
- return [
1454
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1455
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1456
- ];
1555
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1457
1556
  })
1458
1557
  .s("AWSGrafanaControlPlane", "DeleteWorkspace", {})
1459
1558
  .n("GrafanaClient", "DeleteWorkspaceCommand")
1460
- .f(void 0, DeleteWorkspaceResponseFilterSensitiveLog)
1461
- .ser(se_DeleteWorkspaceCommand)
1462
- .de(de_DeleteWorkspaceCommand)
1559
+ .sc(DeleteWorkspace)
1463
1560
  .build() {
1464
1561
  }
1465
1562
 
@@ -1467,16 +1564,11 @@ class DeleteWorkspaceServiceAccountCommand extends smithyClient.Command
1467
1564
  .classBuilder()
1468
1565
  .ep(commonParams)
1469
1566
  .m(function (Command, cs, config, o) {
1470
- return [
1471
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1472
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1473
- ];
1567
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
1568
  })
1475
1569
  .s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccount", {})
1476
1570
  .n("GrafanaClient", "DeleteWorkspaceServiceAccountCommand")
1477
- .f(void 0, void 0)
1478
- .ser(se_DeleteWorkspaceServiceAccountCommand)
1479
- .de(de_DeleteWorkspaceServiceAccountCommand)
1571
+ .sc(DeleteWorkspaceServiceAccount)
1480
1572
  .build() {
1481
1573
  }
1482
1574
 
@@ -1484,16 +1576,11 @@ class DeleteWorkspaceServiceAccountTokenCommand extends smithyClient.Command
1484
1576
  .classBuilder()
1485
1577
  .ep(commonParams)
1486
1578
  .m(function (Command, cs, config, o) {
1487
- return [
1488
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1489
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1490
- ];
1579
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
1580
  })
1492
1581
  .s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccountToken", {})
1493
1582
  .n("GrafanaClient", "DeleteWorkspaceServiceAccountTokenCommand")
1494
- .f(void 0, void 0)
1495
- .ser(se_DeleteWorkspaceServiceAccountTokenCommand)
1496
- .de(de_DeleteWorkspaceServiceAccountTokenCommand)
1583
+ .sc(DeleteWorkspaceServiceAccountToken)
1497
1584
  .build() {
1498
1585
  }
1499
1586
 
@@ -1501,16 +1588,11 @@ class DescribeWorkspaceAuthenticationCommand extends smithyClient.Command
1501
1588
  .classBuilder()
1502
1589
  .ep(commonParams)
1503
1590
  .m(function (Command, cs, config, o) {
1504
- return [
1505
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1506
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1507
- ];
1591
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1508
1592
  })
1509
1593
  .s("AWSGrafanaControlPlane", "DescribeWorkspaceAuthentication", {})
1510
1594
  .n("GrafanaClient", "DescribeWorkspaceAuthenticationCommand")
1511
- .f(void 0, DescribeWorkspaceAuthenticationResponseFilterSensitiveLog)
1512
- .ser(se_DescribeWorkspaceAuthenticationCommand)
1513
- .de(de_DescribeWorkspaceAuthenticationCommand)
1595
+ .sc(DescribeWorkspaceAuthentication)
1514
1596
  .build() {
1515
1597
  }
1516
1598
 
@@ -1518,16 +1600,11 @@ class DescribeWorkspaceCommand extends smithyClient.Command
1518
1600
  .classBuilder()
1519
1601
  .ep(commonParams)
1520
1602
  .m(function (Command, cs, config, o) {
1521
- return [
1522
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1523
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1524
- ];
1603
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1525
1604
  })
1526
1605
  .s("AWSGrafanaControlPlane", "DescribeWorkspace", {})
1527
1606
  .n("GrafanaClient", "DescribeWorkspaceCommand")
1528
- .f(void 0, DescribeWorkspaceResponseFilterSensitiveLog)
1529
- .ser(se_DescribeWorkspaceCommand)
1530
- .de(de_DescribeWorkspaceCommand)
1607
+ .sc(DescribeWorkspace)
1531
1608
  .build() {
1532
1609
  }
1533
1610
 
@@ -1535,16 +1612,11 @@ class DescribeWorkspaceConfigurationCommand extends smithyClient.Command
1535
1612
  .classBuilder()
1536
1613
  .ep(commonParams)
1537
1614
  .m(function (Command, cs, config, o) {
1538
- return [
1539
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1540
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1541
- ];
1615
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1542
1616
  })
1543
1617
  .s("AWSGrafanaControlPlane", "DescribeWorkspaceConfiguration", {})
1544
1618
  .n("GrafanaClient", "DescribeWorkspaceConfigurationCommand")
1545
- .f(void 0, void 0)
1546
- .ser(se_DescribeWorkspaceConfigurationCommand)
1547
- .de(de_DescribeWorkspaceConfigurationCommand)
1619
+ .sc(DescribeWorkspaceConfiguration)
1548
1620
  .build() {
1549
1621
  }
1550
1622
 
@@ -1552,16 +1624,11 @@ class DisassociateLicenseCommand extends smithyClient.Command
1552
1624
  .classBuilder()
1553
1625
  .ep(commonParams)
1554
1626
  .m(function (Command, cs, config, o) {
1555
- return [
1556
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1557
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1558
- ];
1627
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
1628
  })
1560
1629
  .s("AWSGrafanaControlPlane", "DisassociateLicense", {})
1561
1630
  .n("GrafanaClient", "DisassociateLicenseCommand")
1562
- .f(void 0, DisassociateLicenseResponseFilterSensitiveLog)
1563
- .ser(se_DisassociateLicenseCommand)
1564
- .de(de_DisassociateLicenseCommand)
1631
+ .sc(DisassociateLicense)
1565
1632
  .build() {
1566
1633
  }
1567
1634
 
@@ -1569,16 +1636,11 @@ class ListPermissionsCommand extends smithyClient.Command
1569
1636
  .classBuilder()
1570
1637
  .ep(commonParams)
1571
1638
  .m(function (Command, cs, config, o) {
1572
- return [
1573
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1574
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1575
- ];
1639
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1576
1640
  })
1577
1641
  .s("AWSGrafanaControlPlane", "ListPermissions", {})
1578
1642
  .n("GrafanaClient", "ListPermissionsCommand")
1579
- .f(void 0, void 0)
1580
- .ser(se_ListPermissionsCommand)
1581
- .de(de_ListPermissionsCommand)
1643
+ .sc(ListPermissions)
1582
1644
  .build() {
1583
1645
  }
1584
1646
 
@@ -1586,16 +1648,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1586
1648
  .classBuilder()
1587
1649
  .ep(commonParams)
1588
1650
  .m(function (Command, cs, config, o) {
1589
- return [
1590
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1591
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1592
- ];
1651
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
1652
  })
1594
1653
  .s("AWSGrafanaControlPlane", "ListTagsForResource", {})
1595
1654
  .n("GrafanaClient", "ListTagsForResourceCommand")
1596
- .f(void 0, void 0)
1597
- .ser(se_ListTagsForResourceCommand)
1598
- .de(de_ListTagsForResourceCommand)
1655
+ .sc(ListTagsForResource)
1599
1656
  .build() {
1600
1657
  }
1601
1658
 
@@ -1603,16 +1660,11 @@ class ListVersionsCommand extends smithyClient.Command
1603
1660
  .classBuilder()
1604
1661
  .ep(commonParams)
1605
1662
  .m(function (Command, cs, config, o) {
1606
- return [
1607
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1608
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1609
- ];
1663
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
1664
  })
1611
1665
  .s("AWSGrafanaControlPlane", "ListVersions", {})
1612
1666
  .n("GrafanaClient", "ListVersionsCommand")
1613
- .f(void 0, void 0)
1614
- .ser(se_ListVersionsCommand)
1615
- .de(de_ListVersionsCommand)
1667
+ .sc(ListVersions)
1616
1668
  .build() {
1617
1669
  }
1618
1670
 
@@ -1620,16 +1672,11 @@ class ListWorkspacesCommand extends smithyClient.Command
1620
1672
  .classBuilder()
1621
1673
  .ep(commonParams)
1622
1674
  .m(function (Command, cs, config, o) {
1623
- return [
1624
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1625
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1626
- ];
1675
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
1676
  })
1628
1677
  .s("AWSGrafanaControlPlane", "ListWorkspaces", {})
1629
1678
  .n("GrafanaClient", "ListWorkspacesCommand")
1630
- .f(void 0, ListWorkspacesResponseFilterSensitiveLog)
1631
- .ser(se_ListWorkspacesCommand)
1632
- .de(de_ListWorkspacesCommand)
1679
+ .sc(ListWorkspaces)
1633
1680
  .build() {
1634
1681
  }
1635
1682
 
@@ -1637,16 +1684,11 @@ class ListWorkspaceServiceAccountsCommand extends smithyClient.Command
1637
1684
  .classBuilder()
1638
1685
  .ep(commonParams)
1639
1686
  .m(function (Command, cs, config, o) {
1640
- return [
1641
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1642
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1643
- ];
1687
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
1688
  })
1645
1689
  .s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccounts", {})
1646
1690
  .n("GrafanaClient", "ListWorkspaceServiceAccountsCommand")
1647
- .f(void 0, void 0)
1648
- .ser(se_ListWorkspaceServiceAccountsCommand)
1649
- .de(de_ListWorkspaceServiceAccountsCommand)
1691
+ .sc(ListWorkspaceServiceAccounts)
1650
1692
  .build() {
1651
1693
  }
1652
1694
 
@@ -1654,16 +1696,11 @@ class ListWorkspaceServiceAccountTokensCommand extends smithyClient.Command
1654
1696
  .classBuilder()
1655
1697
  .ep(commonParams)
1656
1698
  .m(function (Command, cs, config, o) {
1657
- return [
1658
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1659
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1660
- ];
1699
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1661
1700
  })
1662
1701
  .s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccountTokens", {})
1663
1702
  .n("GrafanaClient", "ListWorkspaceServiceAccountTokensCommand")
1664
- .f(void 0, void 0)
1665
- .ser(se_ListWorkspaceServiceAccountTokensCommand)
1666
- .de(de_ListWorkspaceServiceAccountTokensCommand)
1703
+ .sc(ListWorkspaceServiceAccountTokens)
1667
1704
  .build() {
1668
1705
  }
1669
1706
 
@@ -1671,16 +1708,11 @@ class TagResourceCommand extends smithyClient.Command
1671
1708
  .classBuilder()
1672
1709
  .ep(commonParams)
1673
1710
  .m(function (Command, cs, config, o) {
1674
- return [
1675
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1676
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1677
- ];
1711
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
1712
  })
1679
1713
  .s("AWSGrafanaControlPlane", "TagResource", {})
1680
1714
  .n("GrafanaClient", "TagResourceCommand")
1681
- .f(void 0, void 0)
1682
- .ser(se_TagResourceCommand)
1683
- .de(de_TagResourceCommand)
1715
+ .sc(TagResource)
1684
1716
  .build() {
1685
1717
  }
1686
1718
 
@@ -1688,16 +1720,11 @@ class UntagResourceCommand extends smithyClient.Command
1688
1720
  .classBuilder()
1689
1721
  .ep(commonParams)
1690
1722
  .m(function (Command, cs, config, o) {
1691
- return [
1692
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1693
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1694
- ];
1723
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1695
1724
  })
1696
1725
  .s("AWSGrafanaControlPlane", "UntagResource", {})
1697
1726
  .n("GrafanaClient", "UntagResourceCommand")
1698
- .f(void 0, void 0)
1699
- .ser(se_UntagResourceCommand)
1700
- .de(de_UntagResourceCommand)
1727
+ .sc(UntagResource)
1701
1728
  .build() {
1702
1729
  }
1703
1730
 
@@ -1705,16 +1732,11 @@ class UpdatePermissionsCommand extends smithyClient.Command
1705
1732
  .classBuilder()
1706
1733
  .ep(commonParams)
1707
1734
  .m(function (Command, cs, config, o) {
1708
- return [
1709
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1710
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1711
- ];
1735
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
1736
  })
1713
1737
  .s("AWSGrafanaControlPlane", "UpdatePermissions", {})
1714
1738
  .n("GrafanaClient", "UpdatePermissionsCommand")
1715
- .f(void 0, void 0)
1716
- .ser(se_UpdatePermissionsCommand)
1717
- .de(de_UpdatePermissionsCommand)
1739
+ .sc(UpdatePermissions)
1718
1740
  .build() {
1719
1741
  }
1720
1742
 
@@ -1722,16 +1744,11 @@ class UpdateWorkspaceAuthenticationCommand extends smithyClient.Command
1722
1744
  .classBuilder()
1723
1745
  .ep(commonParams)
1724
1746
  .m(function (Command, cs, config, o) {
1725
- return [
1726
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1727
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1728
- ];
1747
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1729
1748
  })
1730
1749
  .s("AWSGrafanaControlPlane", "UpdateWorkspaceAuthentication", {})
1731
1750
  .n("GrafanaClient", "UpdateWorkspaceAuthenticationCommand")
1732
- .f(UpdateWorkspaceAuthenticationRequestFilterSensitiveLog, UpdateWorkspaceAuthenticationResponseFilterSensitiveLog)
1733
- .ser(se_UpdateWorkspaceAuthenticationCommand)
1734
- .de(de_UpdateWorkspaceAuthenticationCommand)
1751
+ .sc(UpdateWorkspaceAuthentication)
1735
1752
  .build() {
1736
1753
  }
1737
1754
 
@@ -1739,16 +1756,11 @@ class UpdateWorkspaceCommand extends smithyClient.Command
1739
1756
  .classBuilder()
1740
1757
  .ep(commonParams)
1741
1758
  .m(function (Command, cs, config, o) {
1742
- return [
1743
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1744
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1745
- ];
1759
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1746
1760
  })
1747
1761
  .s("AWSGrafanaControlPlane", "UpdateWorkspace", {})
1748
1762
  .n("GrafanaClient", "UpdateWorkspaceCommand")
1749
- .f(UpdateWorkspaceRequestFilterSensitiveLog, UpdateWorkspaceResponseFilterSensitiveLog)
1750
- .ser(se_UpdateWorkspaceCommand)
1751
- .de(de_UpdateWorkspaceCommand)
1763
+ .sc(UpdateWorkspace)
1752
1764
  .build() {
1753
1765
  }
1754
1766
 
@@ -1756,16 +1768,11 @@ class UpdateWorkspaceConfigurationCommand extends smithyClient.Command
1756
1768
  .classBuilder()
1757
1769
  .ep(commonParams)
1758
1770
  .m(function (Command, cs, config, o) {
1759
- return [
1760
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1761
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1762
- ];
1771
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
1772
  })
1764
1773
  .s("AWSGrafanaControlPlane", "UpdateWorkspaceConfiguration", {})
1765
1774
  .n("GrafanaClient", "UpdateWorkspaceConfigurationCommand")
1766
- .f(void 0, void 0)
1767
- .ser(se_UpdateWorkspaceConfigurationCommand)
1768
- .de(de_UpdateWorkspaceConfigurationCommand)
1775
+ .sc(UpdateWorkspaceConfiguration)
1769
1776
  .build() {
1770
1777
  }
1771
1778
 
@@ -1818,38 +1825,28 @@ Object.defineProperty(exports, "__Client", {
1818
1825
  enumerable: true,
1819
1826
  get: function () { return smithyClient.Client; }
1820
1827
  });
1821
- exports.AccessDeniedException = AccessDeniedException;
1828
+ exports.AccessDeniedException = AccessDeniedException$1;
1822
1829
  exports.AccountAccessType = AccountAccessType;
1823
1830
  exports.AssociateLicenseCommand = AssociateLicenseCommand;
1824
- exports.AssociateLicenseResponseFilterSensitiveLog = AssociateLicenseResponseFilterSensitiveLog;
1825
- exports.AuthenticationDescriptionFilterSensitiveLog = AuthenticationDescriptionFilterSensitiveLog;
1826
1831
  exports.AuthenticationProviderTypes = AuthenticationProviderTypes;
1827
- exports.ConflictException = ConflictException;
1832
+ exports.ConflictException = ConflictException$1;
1828
1833
  exports.CreateWorkspaceApiKeyCommand = CreateWorkspaceApiKeyCommand;
1829
- exports.CreateWorkspaceApiKeyResponseFilterSensitiveLog = CreateWorkspaceApiKeyResponseFilterSensitiveLog;
1830
1834
  exports.CreateWorkspaceCommand = CreateWorkspaceCommand;
1831
- exports.CreateWorkspaceRequestFilterSensitiveLog = CreateWorkspaceRequestFilterSensitiveLog;
1832
- exports.CreateWorkspaceResponseFilterSensitiveLog = CreateWorkspaceResponseFilterSensitiveLog;
1833
1835
  exports.CreateWorkspaceServiceAccountCommand = CreateWorkspaceServiceAccountCommand;
1834
1836
  exports.CreateWorkspaceServiceAccountTokenCommand = CreateWorkspaceServiceAccountTokenCommand;
1835
- exports.CreateWorkspaceServiceAccountTokenResponseFilterSensitiveLog = CreateWorkspaceServiceAccountTokenResponseFilterSensitiveLog;
1836
1837
  exports.DataSourceType = DataSourceType;
1837
1838
  exports.DeleteWorkspaceApiKeyCommand = DeleteWorkspaceApiKeyCommand;
1838
1839
  exports.DeleteWorkspaceCommand = DeleteWorkspaceCommand;
1839
- exports.DeleteWorkspaceResponseFilterSensitiveLog = DeleteWorkspaceResponseFilterSensitiveLog;
1840
1840
  exports.DeleteWorkspaceServiceAccountCommand = DeleteWorkspaceServiceAccountCommand;
1841
1841
  exports.DeleteWorkspaceServiceAccountTokenCommand = DeleteWorkspaceServiceAccountTokenCommand;
1842
1842
  exports.DescribeWorkspaceAuthenticationCommand = DescribeWorkspaceAuthenticationCommand;
1843
- exports.DescribeWorkspaceAuthenticationResponseFilterSensitiveLog = DescribeWorkspaceAuthenticationResponseFilterSensitiveLog;
1844
1843
  exports.DescribeWorkspaceCommand = DescribeWorkspaceCommand;
1845
1844
  exports.DescribeWorkspaceConfigurationCommand = DescribeWorkspaceConfigurationCommand;
1846
- exports.DescribeWorkspaceResponseFilterSensitiveLog = DescribeWorkspaceResponseFilterSensitiveLog;
1847
1845
  exports.DisassociateLicenseCommand = DisassociateLicenseCommand;
1848
- exports.DisassociateLicenseResponseFilterSensitiveLog = DisassociateLicenseResponseFilterSensitiveLog;
1849
1846
  exports.Grafana = Grafana;
1850
1847
  exports.GrafanaClient = GrafanaClient;
1851
- exports.GrafanaServiceException = GrafanaServiceException;
1852
- exports.InternalServerException = InternalServerException;
1848
+ exports.GrafanaServiceException = GrafanaServiceException$1;
1849
+ exports.InternalServerException = InternalServerException$1;
1853
1850
  exports.LicenseType = LicenseType;
1854
1851
  exports.ListPermissionsCommand = ListPermissionsCommand;
1855
1852
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -1857,35 +1854,24 @@ exports.ListVersionsCommand = ListVersionsCommand;
1857
1854
  exports.ListWorkspaceServiceAccountTokensCommand = ListWorkspaceServiceAccountTokensCommand;
1858
1855
  exports.ListWorkspaceServiceAccountsCommand = ListWorkspaceServiceAccountsCommand;
1859
1856
  exports.ListWorkspacesCommand = ListWorkspacesCommand;
1860
- exports.ListWorkspacesResponseFilterSensitiveLog = ListWorkspacesResponseFilterSensitiveLog;
1861
1857
  exports.NotificationDestinationType = NotificationDestinationType;
1862
1858
  exports.PermissionType = PermissionType;
1863
- exports.ResourceNotFoundException = ResourceNotFoundException;
1859
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1864
1860
  exports.Role = Role;
1865
- exports.RoleValuesFilterSensitiveLog = RoleValuesFilterSensitiveLog;
1866
- exports.SamlAuthenticationFilterSensitiveLog = SamlAuthenticationFilterSensitiveLog;
1867
- exports.SamlConfigurationFilterSensitiveLog = SamlConfigurationFilterSensitiveLog;
1868
1861
  exports.SamlConfigurationStatus = SamlConfigurationStatus;
1869
- exports.ServiceAccountTokenSummaryWithKeyFilterSensitiveLog = ServiceAccountTokenSummaryWithKeyFilterSensitiveLog;
1870
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1862
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1871
1863
  exports.TagResourceCommand = TagResourceCommand;
1872
- exports.ThrottlingException = ThrottlingException;
1864
+ exports.ThrottlingException = ThrottlingException$1;
1873
1865
  exports.UntagResourceCommand = UntagResourceCommand;
1874
1866
  exports.UpdateAction = UpdateAction;
1875
1867
  exports.UpdatePermissionsCommand = UpdatePermissionsCommand;
1876
1868
  exports.UpdateWorkspaceAuthenticationCommand = UpdateWorkspaceAuthenticationCommand;
1877
- exports.UpdateWorkspaceAuthenticationRequestFilterSensitiveLog = UpdateWorkspaceAuthenticationRequestFilterSensitiveLog;
1878
- exports.UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = UpdateWorkspaceAuthenticationResponseFilterSensitiveLog;
1879
1869
  exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
1880
1870
  exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;
1881
- exports.UpdateWorkspaceRequestFilterSensitiveLog = UpdateWorkspaceRequestFilterSensitiveLog;
1882
- exports.UpdateWorkspaceResponseFilterSensitiveLog = UpdateWorkspaceResponseFilterSensitiveLog;
1883
1871
  exports.UserType = UserType;
1884
- exports.ValidationException = ValidationException;
1872
+ exports.ValidationException = ValidationException$1;
1885
1873
  exports.ValidationExceptionReason = ValidationExceptionReason;
1886
- exports.WorkspaceDescriptionFilterSensitiveLog = WorkspaceDescriptionFilterSensitiveLog;
1887
1874
  exports.WorkspaceStatus = WorkspaceStatus;
1888
- exports.WorkspaceSummaryFilterSensitiveLog = WorkspaceSummaryFilterSensitiveLog;
1889
1875
  exports.paginateListPermissions = paginateListPermissions;
1890
1876
  exports.paginateListVersions = paginateListVersions;
1891
1877
  exports.paginateListWorkspaceServiceAccountTokens = paginateListWorkspaceServiceAccountTokens;