@aws-sdk/client-amp 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 (73) hide show
  1. package/dist-cjs/index.js +1780 -1955
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AmpClient.js +2 -0
  4. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +3 -9
  5. package/dist-es/commands/CreateAnomalyDetectorCommand.js +3 -9
  6. package/dist-es/commands/CreateLoggingConfigurationCommand.js +3 -9
  7. package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +3 -9
  8. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +3 -9
  9. package/dist-es/commands/CreateScraperCommand.js +3 -9
  10. package/dist-es/commands/CreateWorkspaceCommand.js +3 -9
  11. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +3 -9
  12. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +3 -9
  13. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -9
  14. package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +3 -9
  15. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  16. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +3 -9
  17. package/dist-es/commands/DeleteScraperCommand.js +3 -9
  18. package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +3 -9
  19. package/dist-es/commands/DeleteWorkspaceCommand.js +3 -9
  20. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +3 -9
  21. package/dist-es/commands/DescribeAnomalyDetectorCommand.js +3 -9
  22. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +3 -9
  23. package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +3 -9
  24. package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -9
  25. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +3 -9
  26. package/dist-es/commands/DescribeScraperCommand.js +3 -9
  27. package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +3 -9
  28. package/dist-es/commands/DescribeWorkspaceCommand.js +3 -9
  29. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +3 -9
  30. package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +3 -9
  31. package/dist-es/commands/ListAnomalyDetectorsCommand.js +3 -9
  32. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +3 -9
  33. package/dist-es/commands/ListScrapersCommand.js +3 -9
  34. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  35. package/dist-es/commands/ListWorkspacesCommand.js +3 -9
  36. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +3 -9
  37. package/dist-es/commands/PutAnomalyDetectorCommand.js +3 -9
  38. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  39. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +3 -9
  40. package/dist-es/commands/TagResourceCommand.js +3 -9
  41. package/dist-es/commands/UntagResourceCommand.js +3 -9
  42. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +3 -9
  43. package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +3 -9
  44. package/dist-es/commands/UpdateScraperCommand.js +3 -9
  45. package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +3 -9
  46. package/dist-es/commands/UpdateWorkspaceAliasCommand.js +3 -9
  47. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +3 -9
  48. package/dist-es/models/models_0.js +0 -60
  49. package/dist-es/runtimeConfig.shared.js +2 -0
  50. package/dist-es/schemas/schemas_0.js +1684 -0
  51. package/dist-types/AmpClient.d.ts +10 -1
  52. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateScraperCommand.d.ts +53 -1
  54. package/dist-types/commands/DescribeScraperCommand.d.ts +8 -0
  55. package/dist-types/commands/ListScrapersCommand.d.ts +8 -0
  56. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +1 -1
  57. package/dist-types/models/models_0.d.ts +58 -9
  58. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  59. package/dist-types/runtimeConfig.d.ts +1 -0
  60. package/dist-types/runtimeConfig.native.d.ts +1 -0
  61. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  62. package/dist-types/schemas/schemas_0.d.ts +191 -0
  63. package/dist-types/ts3.4/AmpClient.d.ts +4 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +16 -14
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  69. package/dist-types/ts3.4/schemas/schemas_0.d.ts +197 -0
  70. package/package.json +34 -35
  71. package/dist-es/protocols/Aws_restJson1.js +0 -1573
  72. package/dist-types/protocols/Aws_restJson1.d.ts +0 -398
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -533
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
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -93,6 +91,7 @@ class AmpClient extends smithyClient.Client {
93
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,14 +111,14 @@ class AmpClient extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class AmpServiceException extends smithyClient.ServiceException {
114
+ let AmpServiceException$1 = class AmpServiceException extends smithyClient.ServiceException {
116
115
  constructor(options) {
117
116
  super(options);
118
117
  Object.setPrototypeOf(this, AmpServiceException.prototype);
119
118
  }
120
- }
119
+ };
121
120
 
122
- class AccessDeniedException extends AmpServiceException {
121
+ let AccessDeniedException$1 = class AccessDeniedException extends AmpServiceException$1 {
123
122
  name = "AccessDeniedException";
124
123
  $fault = "client";
125
124
  constructor(opts) {
@@ -130,8 +129,8 @@ class AccessDeniedException extends AmpServiceException {
130
129
  });
131
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
131
  }
133
- }
134
- class ConflictException extends AmpServiceException {
132
+ };
133
+ let ConflictException$1 = class ConflictException extends AmpServiceException$1 {
135
134
  name = "ConflictException";
136
135
  $fault = "client";
137
136
  resourceId;
@@ -146,7 +145,7 @@ class ConflictException extends AmpServiceException {
146
145
  this.resourceId = opts.resourceId;
147
146
  this.resourceType = opts.resourceType;
148
147
  }
149
- }
148
+ };
150
149
  const AlertManagerDefinitionStatusCode = {
151
150
  ACTIVE: "ACTIVE",
152
151
  CREATING: "CREATING",
@@ -155,7 +154,7 @@ const AlertManagerDefinitionStatusCode = {
155
154
  UPDATE_FAILED: "UPDATE_FAILED",
156
155
  UPDATING: "UPDATING",
157
156
  };
158
- class InternalServerException extends AmpServiceException {
157
+ let InternalServerException$1 = class InternalServerException extends AmpServiceException$1 {
159
158
  name = "InternalServerException";
160
159
  $fault = "server";
161
160
  $retryable = {};
@@ -169,8 +168,8 @@ class InternalServerException extends AmpServiceException {
169
168
  Object.setPrototypeOf(this, InternalServerException.prototype);
170
169
  this.retryAfterSeconds = opts.retryAfterSeconds;
171
170
  }
172
- }
173
- class ResourceNotFoundException extends AmpServiceException {
171
+ };
172
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends AmpServiceException$1 {
174
173
  name = "ResourceNotFoundException";
175
174
  $fault = "client";
176
175
  resourceId;
@@ -185,8 +184,8 @@ class ResourceNotFoundException extends AmpServiceException {
185
184
  this.resourceId = opts.resourceId;
186
185
  this.resourceType = opts.resourceType;
187
186
  }
188
- }
189
- class ServiceQuotaExceededException extends AmpServiceException {
187
+ };
188
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends AmpServiceException$1 {
190
189
  name = "ServiceQuotaExceededException";
191
190
  $fault = "client";
192
191
  resourceId;
@@ -205,8 +204,8 @@ class ServiceQuotaExceededException extends AmpServiceException {
205
204
  this.serviceCode = opts.serviceCode;
206
205
  this.quotaCode = opts.quotaCode;
207
206
  }
208
- }
209
- class ThrottlingException extends AmpServiceException {
207
+ };
208
+ let ThrottlingException$1 = class ThrottlingException extends AmpServiceException$1 {
210
209
  name = "ThrottlingException";
211
210
  $fault = "client";
212
211
  $retryable = {};
@@ -224,14 +223,14 @@ class ThrottlingException extends AmpServiceException {
224
223
  this.quotaCode = opts.quotaCode;
225
224
  this.retryAfterSeconds = opts.retryAfterSeconds;
226
225
  }
227
- }
226
+ };
228
227
  const ValidationExceptionReason = {
229
228
  CANNOT_PARSE: "CANNOT_PARSE",
230
229
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
231
230
  OTHER: "OTHER",
232
231
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
233
232
  };
234
- class ValidationException extends AmpServiceException {
233
+ let ValidationException$1 = class ValidationException extends AmpServiceException$1 {
235
234
  name = "ValidationException";
236
235
  $fault = "client";
237
236
  reason;
@@ -246,31 +245,7 @@ class ValidationException extends AmpServiceException {
246
245
  this.reason = opts.reason;
247
246
  this.fieldList = opts.fieldList;
248
247
  }
249
- }
250
- exports.Destination = void 0;
251
- (function (Destination) {
252
- Destination.visit = (value, visitor) => {
253
- if (value.ampConfiguration !== undefined)
254
- return visitor.ampConfiguration(value.ampConfiguration);
255
- return visitor._(value.$unknown[0], value.$unknown[1]);
256
- };
257
- })(exports.Destination || (exports.Destination = {}));
258
- exports.ScrapeConfiguration = void 0;
259
- (function (ScrapeConfiguration) {
260
- ScrapeConfiguration.visit = (value, visitor) => {
261
- if (value.configurationBlob !== undefined)
262
- return visitor.configurationBlob(value.configurationBlob);
263
- return visitor._(value.$unknown[0], value.$unknown[1]);
264
- };
265
- })(exports.ScrapeConfiguration || (exports.ScrapeConfiguration = {}));
266
- exports.Source = void 0;
267
- (function (Source) {
268
- Source.visit = (value, visitor) => {
269
- if (value.eksConfiguration !== undefined)
270
- return visitor.eksConfiguration(value.eksConfiguration);
271
- return visitor._(value.$unknown[0], value.$unknown[1]);
272
- };
273
- })(exports.Source || (exports.Source = {}));
248
+ };
274
249
  const ScraperStatusCode = {
275
250
  ACTIVE: "ACTIVE",
276
251
  CREATING: "CREATING",
@@ -280,14 +255,6 @@ const ScraperStatusCode = {
280
255
  UPDATE_FAILED: "UPDATE_FAILED",
281
256
  UPDATING: "UPDATING",
282
257
  };
283
- exports.ScraperLoggingDestination = void 0;
284
- (function (ScraperLoggingDestination) {
285
- ScraperLoggingDestination.visit = (value, visitor) => {
286
- if (value.cloudWatchLogs !== undefined)
287
- return visitor.cloudWatchLogs(value.cloudWatchLogs);
288
- return visitor._(value.$unknown[0], value.$unknown[1]);
289
- };
290
- })(exports.ScraperLoggingDestination || (exports.ScraperLoggingDestination = {}));
291
258
  const ScraperComponentType = {
292
259
  COLLECTOR: "COLLECTOR",
293
260
  EXPORTER: "EXPORTER",
@@ -301,34 +268,6 @@ const ScraperLoggingConfigurationStatusCode = {
301
268
  UPDATE_FAILED: "UPDATE_FAILED",
302
269
  UPDATING: "UPDATING",
303
270
  };
304
- exports.IgnoreNearExpected = void 0;
305
- (function (IgnoreNearExpected) {
306
- IgnoreNearExpected.visit = (value, visitor) => {
307
- if (value.amount !== undefined)
308
- return visitor.amount(value.amount);
309
- if (value.ratio !== undefined)
310
- return visitor.ratio(value.ratio);
311
- return visitor._(value.$unknown[0], value.$unknown[1]);
312
- };
313
- })(exports.IgnoreNearExpected || (exports.IgnoreNearExpected = {}));
314
- exports.AnomalyDetectorConfiguration = void 0;
315
- (function (AnomalyDetectorConfiguration) {
316
- AnomalyDetectorConfiguration.visit = (value, visitor) => {
317
- if (value.randomCutForest !== undefined)
318
- return visitor.randomCutForest(value.randomCutForest);
319
- return visitor._(value.$unknown[0], value.$unknown[1]);
320
- };
321
- })(exports.AnomalyDetectorConfiguration || (exports.AnomalyDetectorConfiguration = {}));
322
- exports.AnomalyDetectorMissingDataAction = void 0;
323
- (function (AnomalyDetectorMissingDataAction) {
324
- AnomalyDetectorMissingDataAction.visit = (value, visitor) => {
325
- if (value.markAsAnomaly !== undefined)
326
- return visitor.markAsAnomaly(value.markAsAnomaly);
327
- if (value.skip !== undefined)
328
- return visitor.skip(value.skip);
329
- return visitor._(value.$unknown[0], value.$unknown[1]);
330
- };
331
- })(exports.AnomalyDetectorMissingDataAction || (exports.AnomalyDetectorMissingDataAction = {}));
332
271
  const AnomalyDetectorStatusCode = {
333
272
  ACTIVE: "ACTIVE",
334
273
  CREATING: "CREATING",
@@ -381,1587 +320,1688 @@ const WorkspacePolicyStatusCode = {
381
320
  UPDATING: "UPDATING",
382
321
  };
383
322
 
384
- const se_CreateAlertManagerDefinitionCommand = async (input, context) => {
385
- const b = core.requestBuilder(input, context);
386
- const headers = {
387
- "content-type": "application/json",
388
- };
389
- b.bp("/workspaces/{workspaceId}/alertmanager/definition");
390
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
391
- let body;
392
- body = JSON.stringify(smithyClient.take(input, {
393
- clientToken: [true, (_) => _ ?? uuid.v4()],
394
- data: (_) => context.base64Encoder(_),
395
- }));
396
- b.m("POST").h(headers).b(body);
397
- return b.build();
398
- };
399
- const se_CreateAnomalyDetectorCommand = async (input, context) => {
400
- const b = core.requestBuilder(input, context);
401
- const headers = {
402
- "content-type": "application/json",
403
- };
404
- b.bp("/workspaces/{workspaceId}/anomalydetectors");
405
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
406
- let body;
407
- body = JSON.stringify(smithyClient.take(input, {
408
- alias: [],
409
- clientToken: [true, (_) => _ ?? uuid.v4()],
410
- configuration: (_) => se_AnomalyDetectorConfiguration(_),
411
- evaluationIntervalInSeconds: [],
412
- labels: (_) => smithyClient._json(_),
413
- missingDataAction: (_) => smithyClient._json(_),
414
- tags: (_) => smithyClient._json(_),
415
- }));
416
- b.m("POST").h(headers).b(body);
417
- return b.build();
418
- };
419
- const se_CreateLoggingConfigurationCommand = async (input, context) => {
420
- const b = core.requestBuilder(input, context);
421
- const headers = {
422
- "content-type": "application/json",
423
- };
424
- b.bp("/workspaces/{workspaceId}/logging");
425
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
426
- let body;
427
- body = JSON.stringify(smithyClient.take(input, {
428
- clientToken: [true, (_) => _ ?? uuid.v4()],
429
- logGroupArn: [],
430
- }));
431
- b.m("POST").h(headers).b(body);
432
- return b.build();
433
- };
434
- const se_CreateQueryLoggingConfigurationCommand = async (input, context) => {
435
- const b = core.requestBuilder(input, context);
436
- const headers = {
437
- "content-type": "application/json",
438
- };
439
- b.bp("/workspaces/{workspaceId}/logging/query");
440
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
441
- let body;
442
- body = JSON.stringify(smithyClient.take(input, {
443
- clientToken: [true, (_) => _ ?? uuid.v4()],
444
- destinations: (_) => smithyClient._json(_),
445
- }));
446
- b.m("POST").h(headers).b(body);
447
- return b.build();
448
- };
449
- const se_CreateRuleGroupsNamespaceCommand = async (input, context) => {
450
- const b = core.requestBuilder(input, context);
451
- const headers = {
452
- "content-type": "application/json",
453
- };
454
- b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces");
455
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
456
- let body;
457
- body = JSON.stringify(smithyClient.take(input, {
458
- clientToken: [true, (_) => _ ?? uuid.v4()],
459
- data: (_) => context.base64Encoder(_),
460
- name: [],
461
- tags: (_) => smithyClient._json(_),
462
- }));
463
- b.m("POST").h(headers).b(body);
464
- return b.build();
465
- };
466
- const se_CreateScraperCommand = async (input, context) => {
467
- const b = core.requestBuilder(input, context);
468
- const headers = {
469
- "content-type": "application/json",
470
- };
471
- b.bp("/scrapers");
472
- let body;
473
- body = JSON.stringify(smithyClient.take(input, {
474
- alias: [],
475
- clientToken: [true, (_) => _ ?? uuid.v4()],
476
- destination: (_) => smithyClient._json(_),
477
- roleConfiguration: (_) => smithyClient._json(_),
478
- scrapeConfiguration: (_) => se_ScrapeConfiguration(_, context),
479
- source: (_) => smithyClient._json(_),
480
- tags: (_) => smithyClient._json(_),
481
- }));
482
- b.m("POST").h(headers).b(body);
483
- return b.build();
484
- };
485
- const se_CreateWorkspaceCommand = async (input, context) => {
486
- const b = core.requestBuilder(input, context);
487
- const headers = {
488
- "content-type": "application/json",
489
- };
490
- b.bp("/workspaces");
491
- let body;
492
- body = JSON.stringify(smithyClient.take(input, {
493
- alias: [],
494
- clientToken: [true, (_) => _ ?? uuid.v4()],
495
- kmsKeyArn: [],
496
- tags: (_) => smithyClient._json(_),
497
- }));
498
- b.m("POST").h(headers).b(body);
499
- return b.build();
500
- };
501
- const se_DeleteAlertManagerDefinitionCommand = async (input, context) => {
502
- const b = core.requestBuilder(input, context);
503
- const headers = {};
504
- b.bp("/workspaces/{workspaceId}/alertmanager/definition");
505
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
506
- const query = smithyClient.map({
507
- [_cT]: [, input[_cT] ?? uuid.v4()],
508
- });
509
- let body;
510
- b.m("DELETE").h(headers).q(query).b(body);
511
- return b.build();
512
- };
513
- const se_DeleteAnomalyDetectorCommand = async (input, context) => {
514
- const b = core.requestBuilder(input, context);
515
- const headers = {};
516
- b.bp("/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}");
517
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
518
- b.p("anomalyDetectorId", () => input.anomalyDetectorId, "{anomalyDetectorId}", false);
519
- const query = smithyClient.map({
520
- [_cT]: [, input[_cT] ?? uuid.v4()],
521
- });
522
- let body;
523
- b.m("DELETE").h(headers).q(query).b(body);
524
- return b.build();
525
- };
526
- const se_DeleteLoggingConfigurationCommand = async (input, context) => {
527
- const b = core.requestBuilder(input, context);
528
- const headers = {};
529
- b.bp("/workspaces/{workspaceId}/logging");
530
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
531
- const query = smithyClient.map({
532
- [_cT]: [, input[_cT] ?? uuid.v4()],
533
- });
534
- let body;
535
- b.m("DELETE").h(headers).q(query).b(body);
536
- return b.build();
537
- };
538
- const se_DeleteQueryLoggingConfigurationCommand = async (input, context) => {
539
- const b = core.requestBuilder(input, context);
540
- const headers = {};
541
- b.bp("/workspaces/{workspaceId}/logging/query");
542
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
543
- const query = smithyClient.map({
544
- [_cT]: [, input[_cT] ?? uuid.v4()],
545
- });
546
- let body;
547
- b.m("DELETE").h(headers).q(query).b(body);
548
- return b.build();
549
- };
550
- const se_DeleteResourcePolicyCommand = async (input, context) => {
551
- const b = core.requestBuilder(input, context);
552
- const headers = {};
553
- b.bp("/workspaces/{workspaceId}/policy");
554
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
555
- const query = smithyClient.map({
556
- [_cT]: [, input[_cT] ?? uuid.v4()],
557
- [_rI]: [, input[_rI]],
558
- });
559
- let body;
560
- b.m("DELETE").h(headers).q(query).b(body);
561
- return b.build();
562
- };
563
- const se_DeleteRuleGroupsNamespaceCommand = async (input, context) => {
564
- const b = core.requestBuilder(input, context);
565
- const headers = {};
566
- b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces/{name}");
567
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
568
- b.p("name", () => input.name, "{name}", false);
569
- const query = smithyClient.map({
570
- [_cT]: [, input[_cT] ?? uuid.v4()],
571
- });
572
- let body;
573
- b.m("DELETE").h(headers).q(query).b(body);
574
- return b.build();
575
- };
576
- const se_DeleteScraperCommand = async (input, context) => {
577
- const b = core.requestBuilder(input, context);
578
- const headers = {};
579
- b.bp("/scrapers/{scraperId}");
580
- b.p("scraperId", () => input.scraperId, "{scraperId}", false);
581
- const query = smithyClient.map({
582
- [_cT]: [, input[_cT] ?? uuid.v4()],
583
- });
584
- let body;
585
- b.m("DELETE").h(headers).q(query).b(body);
586
- return b.build();
587
- };
588
- const se_DeleteScraperLoggingConfigurationCommand = async (input, context) => {
589
- const b = core.requestBuilder(input, context);
590
- const headers = {};
591
- b.bp("/scrapers/{scraperId}/logging-configuration");
592
- b.p("scraperId", () => input.scraperId, "{scraperId}", false);
593
- const query = smithyClient.map({
594
- [_cT]: [, input[_cT] ?? uuid.v4()],
595
- });
596
- let body;
597
- b.m("DELETE").h(headers).q(query).b(body);
598
- return b.build();
599
- };
600
- const se_DeleteWorkspaceCommand = async (input, context) => {
601
- const b = core.requestBuilder(input, context);
602
- const headers = {};
603
- b.bp("/workspaces/{workspaceId}");
604
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
605
- const query = smithyClient.map({
606
- [_cT]: [, input[_cT] ?? uuid.v4()],
607
- });
608
- let body;
609
- b.m("DELETE").h(headers).q(query).b(body);
610
- return b.build();
611
- };
612
- const se_DescribeAlertManagerDefinitionCommand = async (input, context) => {
613
- const b = core.requestBuilder(input, context);
614
- const headers = {};
615
- b.bp("/workspaces/{workspaceId}/alertmanager/definition");
616
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
617
- let body;
618
- b.m("GET").h(headers).b(body);
619
- return b.build();
620
- };
621
- const se_DescribeAnomalyDetectorCommand = async (input, context) => {
622
- const b = core.requestBuilder(input, context);
623
- const headers = {};
624
- b.bp("/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}");
625
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
626
- b.p("anomalyDetectorId", () => input.anomalyDetectorId, "{anomalyDetectorId}", false);
627
- let body;
628
- b.m("GET").h(headers).b(body);
629
- return b.build();
630
- };
631
- const se_DescribeLoggingConfigurationCommand = async (input, context) => {
632
- const b = core.requestBuilder(input, context);
633
- const headers = {};
634
- b.bp("/workspaces/{workspaceId}/logging");
635
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
636
- let body;
637
- b.m("GET").h(headers).b(body);
638
- return b.build();
639
- };
640
- const se_DescribeQueryLoggingConfigurationCommand = async (input, context) => {
641
- const b = core.requestBuilder(input, context);
642
- const headers = {};
643
- b.bp("/workspaces/{workspaceId}/logging/query");
644
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
645
- let body;
646
- b.m("GET").h(headers).b(body);
647
- return b.build();
648
- };
649
- const se_DescribeResourcePolicyCommand = async (input, context) => {
650
- const b = core.requestBuilder(input, context);
651
- const headers = {};
652
- b.bp("/workspaces/{workspaceId}/policy");
653
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
654
- let body;
655
- b.m("GET").h(headers).b(body);
656
- return b.build();
657
- };
658
- const se_DescribeRuleGroupsNamespaceCommand = async (input, context) => {
659
- const b = core.requestBuilder(input, context);
660
- const headers = {};
661
- b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces/{name}");
662
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
663
- b.p("name", () => input.name, "{name}", false);
664
- let body;
665
- b.m("GET").h(headers).b(body);
666
- return b.build();
667
- };
668
- const se_DescribeScraperCommand = async (input, context) => {
669
- const b = core.requestBuilder(input, context);
670
- const headers = {};
671
- b.bp("/scrapers/{scraperId}");
672
- b.p("scraperId", () => input.scraperId, "{scraperId}", false);
673
- let body;
674
- b.m("GET").h(headers).b(body);
675
- return b.build();
676
- };
677
- const se_DescribeScraperLoggingConfigurationCommand = async (input, context) => {
678
- const b = core.requestBuilder(input, context);
679
- const headers = {};
680
- b.bp("/scrapers/{scraperId}/logging-configuration");
681
- b.p("scraperId", () => input.scraperId, "{scraperId}", false);
682
- let body;
683
- b.m("GET").h(headers).b(body);
684
- return b.build();
685
- };
686
- const se_DescribeWorkspaceCommand = async (input, context) => {
687
- const b = core.requestBuilder(input, context);
688
- const headers = {};
689
- b.bp("/workspaces/{workspaceId}");
690
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
691
- let body;
692
- b.m("GET").h(headers).b(body);
693
- return b.build();
694
- };
695
- const se_DescribeWorkspaceConfigurationCommand = async (input, context) => {
696
- const b = core.requestBuilder(input, context);
697
- const headers = {};
698
- b.bp("/workspaces/{workspaceId}/configuration");
699
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
700
- let body;
701
- b.m("GET").h(headers).b(body);
702
- return b.build();
703
- };
704
- const se_GetDefaultScraperConfigurationCommand = async (input, context) => {
705
- const b = core.requestBuilder(input, context);
706
- const headers = {};
707
- b.bp("/scraperconfiguration");
708
- let body;
709
- b.m("GET").h(headers).b(body);
710
- return b.build();
711
- };
712
- const se_ListAnomalyDetectorsCommand = async (input, context) => {
713
- const b = core.requestBuilder(input, context);
714
- const headers = {};
715
- b.bp("/workspaces/{workspaceId}/anomalydetectors");
716
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
717
- const query = smithyClient.map({
718
- [_a]: [, input[_a]],
719
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
720
- [_nT]: [, input[_nT]],
721
- });
722
- let body;
723
- b.m("GET").h(headers).q(query).b(body);
724
- return b.build();
725
- };
726
- const se_ListRuleGroupsNamespacesCommand = async (input, context) => {
727
- const b = core.requestBuilder(input, context);
728
- const headers = {};
729
- b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces");
730
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
731
- const query = smithyClient.map({
732
- [_n]: [, input[_n]],
733
- [_nT]: [, input[_nT]],
734
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
735
- });
736
- let body;
737
- b.m("GET").h(headers).q(query).b(body);
738
- return b.build();
739
- };
740
- const se_ListScrapersCommand = async (input, context) => {
741
- const b = core.requestBuilder(input, context);
742
- const headers = {};
743
- b.bp("/scrapers");
744
- const query = smithyClient.map({
745
- ...smithyClient.convertMap(input.filters),
746
- [_nT]: [, input[_nT]],
747
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
748
- });
749
- let body;
750
- b.m("GET").h(headers).q(query).b(body);
751
- return b.build();
752
- };
753
- const se_ListTagsForResourceCommand = async (input, context) => {
754
- const b = core.requestBuilder(input, context);
755
- const headers = {};
756
- b.bp("/tags/{resourceArn}");
757
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
758
- let body;
759
- b.m("GET").h(headers).b(body);
760
- return b.build();
761
- };
762
- const se_ListWorkspacesCommand = async (input, context) => {
763
- const b = core.requestBuilder(input, context);
764
- const headers = {};
765
- b.bp("/workspaces");
766
- const query = smithyClient.map({
767
- [_nT]: [, input[_nT]],
768
- [_a]: [, input[_a]],
769
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
770
- });
771
- let body;
772
- b.m("GET").h(headers).q(query).b(body);
773
- return b.build();
774
- };
775
- const se_PutAlertManagerDefinitionCommand = async (input, context) => {
776
- const b = core.requestBuilder(input, context);
777
- const headers = {
778
- "content-type": "application/json",
779
- };
780
- b.bp("/workspaces/{workspaceId}/alertmanager/definition");
781
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
782
- let body;
783
- body = JSON.stringify(smithyClient.take(input, {
784
- clientToken: [true, (_) => _ ?? uuid.v4()],
785
- data: (_) => context.base64Encoder(_),
786
- }));
787
- b.m("PUT").h(headers).b(body);
788
- return b.build();
789
- };
790
- const se_PutAnomalyDetectorCommand = async (input, context) => {
791
- const b = core.requestBuilder(input, context);
792
- const headers = {
793
- "content-type": "application/json",
794
- };
795
- b.bp("/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}");
796
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
797
- b.p("anomalyDetectorId", () => input.anomalyDetectorId, "{anomalyDetectorId}", false);
798
- let body;
799
- body = JSON.stringify(smithyClient.take(input, {
800
- clientToken: [true, (_) => _ ?? uuid.v4()],
801
- configuration: (_) => se_AnomalyDetectorConfiguration(_),
802
- evaluationIntervalInSeconds: [],
803
- labels: (_) => smithyClient._json(_),
804
- missingDataAction: (_) => smithyClient._json(_),
805
- }));
806
- b.m("PUT").h(headers).b(body);
807
- return b.build();
808
- };
809
- const se_PutResourcePolicyCommand = async (input, context) => {
810
- const b = core.requestBuilder(input, context);
811
- const headers = {
812
- "content-type": "application/json",
813
- };
814
- b.bp("/workspaces/{workspaceId}/policy");
815
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
816
- let body;
817
- body = JSON.stringify(smithyClient.take(input, {
818
- clientToken: [true, (_) => _ ?? uuid.v4()],
819
- policyDocument: [],
820
- revisionId: [],
821
- }));
822
- b.m("PUT").h(headers).b(body);
823
- return b.build();
824
- };
825
- const se_PutRuleGroupsNamespaceCommand = async (input, context) => {
826
- const b = core.requestBuilder(input, context);
827
- const headers = {
828
- "content-type": "application/json",
829
- };
830
- b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces/{name}");
831
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
832
- b.p("name", () => input.name, "{name}", false);
833
- let body;
834
- body = JSON.stringify(smithyClient.take(input, {
835
- clientToken: [true, (_) => _ ?? uuid.v4()],
836
- data: (_) => context.base64Encoder(_),
837
- }));
838
- b.m("PUT").h(headers).b(body);
839
- return b.build();
840
- };
841
- const se_TagResourceCommand = async (input, context) => {
842
- const b = core.requestBuilder(input, context);
843
- const headers = {
844
- "content-type": "application/json",
845
- };
846
- b.bp("/tags/{resourceArn}");
847
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
848
- let body;
849
- body = JSON.stringify(smithyClient.take(input, {
850
- tags: (_) => smithyClient._json(_),
851
- }));
852
- b.m("POST").h(headers).b(body);
853
- return b.build();
854
- };
855
- const se_UntagResourceCommand = async (input, context) => {
856
- const b = core.requestBuilder(input, context);
857
- const headers = {};
858
- b.bp("/tags/{resourceArn}");
859
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
860
- const query = smithyClient.map({
861
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
862
- });
863
- let body;
864
- b.m("DELETE").h(headers).q(query).b(body);
865
- return b.build();
866
- };
867
- const se_UpdateLoggingConfigurationCommand = async (input, context) => {
868
- const b = core.requestBuilder(input, context);
869
- const headers = {
870
- "content-type": "application/json",
871
- };
872
- b.bp("/workspaces/{workspaceId}/logging");
873
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
874
- let body;
875
- body = JSON.stringify(smithyClient.take(input, {
876
- clientToken: [true, (_) => _ ?? uuid.v4()],
877
- logGroupArn: [],
878
- }));
879
- b.m("PUT").h(headers).b(body);
880
- return b.build();
881
- };
882
- const se_UpdateQueryLoggingConfigurationCommand = async (input, context) => {
883
- const b = core.requestBuilder(input, context);
884
- const headers = {
885
- "content-type": "application/json",
886
- };
887
- b.bp("/workspaces/{workspaceId}/logging/query");
888
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
889
- let body;
890
- body = JSON.stringify(smithyClient.take(input, {
891
- clientToken: [true, (_) => _ ?? uuid.v4()],
892
- destinations: (_) => smithyClient._json(_),
893
- }));
894
- b.m("PUT").h(headers).b(body);
895
- return b.build();
896
- };
897
- const se_UpdateScraperCommand = async (input, context) => {
898
- const b = core.requestBuilder(input, context);
899
- const headers = {
900
- "content-type": "application/json",
901
- };
902
- b.bp("/scrapers/{scraperId}");
903
- b.p("scraperId", () => input.scraperId, "{scraperId}", false);
904
- let body;
905
- body = JSON.stringify(smithyClient.take(input, {
906
- alias: [],
907
- clientToken: [true, (_) => _ ?? uuid.v4()],
908
- destination: (_) => smithyClient._json(_),
909
- roleConfiguration: (_) => smithyClient._json(_),
910
- scrapeConfiguration: (_) => se_ScrapeConfiguration(_, context),
911
- }));
912
- b.m("PUT").h(headers).b(body);
913
- return b.build();
914
- };
915
- const se_UpdateScraperLoggingConfigurationCommand = async (input, context) => {
916
- const b = core.requestBuilder(input, context);
917
- const headers = {
918
- "content-type": "application/json",
919
- };
920
- b.bp("/scrapers/{scraperId}/logging-configuration");
921
- b.p("scraperId", () => input.scraperId, "{scraperId}", false);
922
- let body;
923
- body = JSON.stringify(smithyClient.take(input, {
924
- loggingDestination: (_) => smithyClient._json(_),
925
- scraperComponents: (_) => smithyClient._json(_),
926
- }));
927
- b.m("PUT").h(headers).b(body);
928
- return b.build();
929
- };
930
- const se_UpdateWorkspaceAliasCommand = async (input, context) => {
931
- const b = core.requestBuilder(input, context);
932
- const headers = {
933
- "content-type": "application/json",
934
- };
935
- b.bp("/workspaces/{workspaceId}/alias");
936
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
937
- let body;
938
- body = JSON.stringify(smithyClient.take(input, {
939
- alias: [],
940
- clientToken: [true, (_) => _ ?? uuid.v4()],
941
- }));
942
- b.m("POST").h(headers).b(body);
943
- return b.build();
944
- };
945
- const se_UpdateWorkspaceConfigurationCommand = async (input, context) => {
946
- const b = core.requestBuilder(input, context);
947
- const headers = {
948
- "content-type": "application/json",
949
- };
950
- b.bp("/workspaces/{workspaceId}/configuration");
951
- b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
952
- let body;
953
- body = JSON.stringify(smithyClient.take(input, {
954
- clientToken: [true, (_) => _ ?? uuid.v4()],
955
- limitsPerLabelSet: (_) => smithyClient._json(_),
956
- retentionPeriodInDays: [],
957
- }));
958
- b.m("PATCH").h(headers).b(body);
959
- return b.build();
960
- };
961
- const de_CreateAlertManagerDefinitionCommand = async (output, context) => {
962
- if (output.statusCode !== 202 && output.statusCode >= 300) {
963
- return de_CommandError(output, context);
964
- }
965
- const contents = smithyClient.map({
966
- $metadata: deserializeMetadata(output),
967
- });
968
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
969
- const doc = smithyClient.take(data, {
970
- status: smithyClient._json,
971
- });
972
- Object.assign(contents, doc);
973
- return contents;
974
- };
975
- const de_CreateAnomalyDetectorCommand = async (output, context) => {
976
- if (output.statusCode !== 202 && output.statusCode >= 300) {
977
- return de_CommandError(output, context);
978
- }
979
- const contents = smithyClient.map({
980
- $metadata: deserializeMetadata(output),
981
- });
982
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
983
- const doc = smithyClient.take(data, {
984
- anomalyDetectorId: smithyClient.expectString,
985
- arn: smithyClient.expectString,
986
- status: smithyClient._json,
987
- tags: smithyClient._json,
988
- });
989
- Object.assign(contents, doc);
990
- return contents;
991
- };
992
- const de_CreateLoggingConfigurationCommand = async (output, context) => {
993
- if (output.statusCode !== 202 && 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
- status: smithyClient._json,
1002
- });
1003
- Object.assign(contents, doc);
1004
- return contents;
1005
- };
1006
- const de_CreateQueryLoggingConfigurationCommand = async (output, context) => {
1007
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1008
- return de_CommandError(output, context);
1009
- }
1010
- const contents = smithyClient.map({
1011
- $metadata: deserializeMetadata(output),
1012
- });
1013
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1014
- const doc = smithyClient.take(data, {
1015
- status: smithyClient._json,
1016
- });
1017
- Object.assign(contents, doc);
1018
- return contents;
1019
- };
1020
- const de_CreateRuleGroupsNamespaceCommand = async (output, context) => {
1021
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1022
- return de_CommandError(output, context);
1023
- }
1024
- const contents = smithyClient.map({
1025
- $metadata: deserializeMetadata(output),
1026
- });
1027
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1028
- const doc = smithyClient.take(data, {
1029
- arn: smithyClient.expectString,
1030
- name: smithyClient.expectString,
1031
- status: smithyClient._json,
1032
- tags: smithyClient._json,
1033
- });
1034
- Object.assign(contents, doc);
1035
- return contents;
1036
- };
1037
- const de_CreateScraperCommand = async (output, context) => {
1038
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1039
- return de_CommandError(output, context);
1040
- }
1041
- const contents = smithyClient.map({
1042
- $metadata: deserializeMetadata(output),
1043
- });
1044
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1045
- const doc = smithyClient.take(data, {
1046
- arn: smithyClient.expectString,
1047
- scraperId: smithyClient.expectString,
1048
- status: smithyClient._json,
1049
- tags: smithyClient._json,
1050
- });
1051
- Object.assign(contents, doc);
1052
- return contents;
1053
- };
1054
- const de_CreateWorkspaceCommand = async (output, context) => {
1055
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1056
- return de_CommandError(output, context);
1057
- }
1058
- const contents = smithyClient.map({
1059
- $metadata: deserializeMetadata(output),
1060
- });
1061
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1062
- const doc = smithyClient.take(data, {
1063
- arn: smithyClient.expectString,
1064
- kmsKeyArn: smithyClient.expectString,
1065
- status: smithyClient._json,
1066
- tags: smithyClient._json,
1067
- workspaceId: smithyClient.expectString,
1068
- });
1069
- Object.assign(contents, doc);
1070
- return contents;
1071
- };
1072
- const de_DeleteAlertManagerDefinitionCommand = async (output, context) => {
1073
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1074
- return de_CommandError(output, context);
1075
- }
1076
- const contents = smithyClient.map({
1077
- $metadata: deserializeMetadata(output),
1078
- });
1079
- await smithyClient.collectBody(output.body, context);
1080
- return contents;
1081
- };
1082
- const de_DeleteAnomalyDetectorCommand = async (output, context) => {
1083
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1084
- return de_CommandError(output, context);
1085
- }
1086
- const contents = smithyClient.map({
1087
- $metadata: deserializeMetadata(output),
1088
- });
1089
- await smithyClient.collectBody(output.body, context);
1090
- return contents;
1091
- };
1092
- const de_DeleteLoggingConfigurationCommand = async (output, context) => {
1093
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1094
- return de_CommandError(output, context);
1095
- }
1096
- const contents = smithyClient.map({
1097
- $metadata: deserializeMetadata(output),
1098
- });
1099
- await smithyClient.collectBody(output.body, context);
1100
- return contents;
1101
- };
1102
- const de_DeleteQueryLoggingConfigurationCommand = 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_DeleteResourcePolicyCommand = async (output, context) => {
1113
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1114
- return de_CommandError(output, context);
1115
- }
1116
- const contents = smithyClient.map({
1117
- $metadata: deserializeMetadata(output),
1118
- });
1119
- await smithyClient.collectBody(output.body, context);
1120
- return contents;
1121
- };
1122
- const de_DeleteRuleGroupsNamespaceCommand = async (output, context) => {
1123
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1124
- return de_CommandError(output, context);
1125
- }
1126
- const contents = smithyClient.map({
1127
- $metadata: deserializeMetadata(output),
1128
- });
1129
- await smithyClient.collectBody(output.body, context);
1130
- return contents;
1131
- };
1132
- const de_DeleteScraperCommand = async (output, context) => {
1133
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1134
- return de_CommandError(output, context);
1135
- }
1136
- const contents = smithyClient.map({
1137
- $metadata: deserializeMetadata(output),
1138
- });
1139
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1140
- const doc = smithyClient.take(data, {
1141
- scraperId: smithyClient.expectString,
1142
- status: smithyClient._json,
1143
- });
1144
- Object.assign(contents, doc);
1145
- return contents;
1146
- };
1147
- const de_DeleteScraperLoggingConfigurationCommand = async (output, context) => {
1148
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1149
- return de_CommandError(output, context);
1150
- }
1151
- const contents = smithyClient.map({
1152
- $metadata: deserializeMetadata(output),
1153
- });
1154
- await smithyClient.collectBody(output.body, context);
1155
- return contents;
1156
- };
1157
- const de_DeleteWorkspaceCommand = async (output, context) => {
1158
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1159
- return de_CommandError(output, context);
1160
- }
1161
- const contents = smithyClient.map({
1162
- $metadata: deserializeMetadata(output),
1163
- });
1164
- await smithyClient.collectBody(output.body, context);
1165
- return contents;
1166
- };
1167
- const de_DescribeAlertManagerDefinitionCommand = async (output, context) => {
1168
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1169
- return de_CommandError(output, context);
1170
- }
1171
- const contents = smithyClient.map({
1172
- $metadata: deserializeMetadata(output),
1173
- });
1174
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1175
- const doc = smithyClient.take(data, {
1176
- alertManagerDefinition: (_) => de_AlertManagerDefinitionDescription(_, context),
1177
- });
1178
- Object.assign(contents, doc);
1179
- return contents;
1180
- };
1181
- const de_DescribeAnomalyDetectorCommand = async (output, context) => {
1182
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1183
- return de_CommandError(output, context);
1184
- }
1185
- const contents = smithyClient.map({
1186
- $metadata: deserializeMetadata(output),
1187
- });
1188
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1189
- const doc = smithyClient.take(data, {
1190
- anomalyDetector: (_) => de_AnomalyDetectorDescription(_),
1191
- });
1192
- Object.assign(contents, doc);
1193
- return contents;
1194
- };
1195
- const de_DescribeLoggingConfigurationCommand = async (output, context) => {
1196
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1197
- return de_CommandError(output, context);
1198
- }
1199
- const contents = smithyClient.map({
1200
- $metadata: deserializeMetadata(output),
1201
- });
1202
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1203
- const doc = smithyClient.take(data, {
1204
- loggingConfiguration: (_) => de_LoggingConfigurationMetadata(_),
1205
- });
1206
- Object.assign(contents, doc);
1207
- return contents;
1208
- };
1209
- const de_DescribeQueryLoggingConfigurationCommand = async (output, context) => {
1210
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1211
- return de_CommandError(output, context);
1212
- }
1213
- const contents = smithyClient.map({
1214
- $metadata: deserializeMetadata(output),
1215
- });
1216
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1217
- const doc = smithyClient.take(data, {
1218
- queryLoggingConfiguration: (_) => de_QueryLoggingConfigurationMetadata(_),
1219
- });
1220
- Object.assign(contents, doc);
1221
- return contents;
1222
- };
1223
- const de_DescribeResourcePolicyCommand = async (output, context) => {
1224
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1225
- return de_CommandError(output, context);
1226
- }
1227
- const contents = smithyClient.map({
1228
- $metadata: deserializeMetadata(output),
1229
- });
1230
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1231
- const doc = smithyClient.take(data, {
1232
- policyDocument: smithyClient.expectString,
1233
- policyStatus: smithyClient.expectString,
1234
- revisionId: smithyClient.expectString,
1235
- });
1236
- Object.assign(contents, doc);
1237
- return contents;
1238
- };
1239
- const de_DescribeRuleGroupsNamespaceCommand = async (output, context) => {
1240
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1241
- return de_CommandError(output, context);
1242
- }
1243
- const contents = smithyClient.map({
1244
- $metadata: deserializeMetadata(output),
1245
- });
1246
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1247
- const doc = smithyClient.take(data, {
1248
- ruleGroupsNamespace: (_) => de_RuleGroupsNamespaceDescription(_, context),
1249
- });
1250
- Object.assign(contents, doc);
1251
- return contents;
1252
- };
1253
- const de_DescribeScraperCommand = async (output, context) => {
1254
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1255
- return de_CommandError(output, context);
1256
- }
1257
- const contents = smithyClient.map({
1258
- $metadata: deserializeMetadata(output),
1259
- });
1260
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1261
- const doc = smithyClient.take(data, {
1262
- scraper: (_) => de_ScraperDescription(_, context),
1263
- });
1264
- Object.assign(contents, doc);
1265
- return contents;
1266
- };
1267
- const de_DescribeScraperLoggingConfigurationCommand = async (output, context) => {
1268
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1269
- return de_CommandError(output, context);
1270
- }
1271
- const contents = smithyClient.map({
1272
- $metadata: deserializeMetadata(output),
1273
- });
1274
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1275
- const doc = smithyClient.take(data, {
1276
- loggingDestination: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1277
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1278
- scraperComponents: smithyClient._json,
1279
- scraperId: smithyClient.expectString,
1280
- status: smithyClient._json,
1281
- });
1282
- Object.assign(contents, doc);
1283
- return contents;
1284
- };
1285
- const de_DescribeWorkspaceCommand = async (output, context) => {
1286
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1287
- return de_CommandError(output, context);
1288
- }
1289
- const contents = smithyClient.map({
1290
- $metadata: deserializeMetadata(output),
1291
- });
1292
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1293
- const doc = smithyClient.take(data, {
1294
- workspace: (_) => de_WorkspaceDescription(_),
1295
- });
1296
- Object.assign(contents, doc);
1297
- return contents;
1298
- };
1299
- const de_DescribeWorkspaceConfigurationCommand = async (output, context) => {
1300
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1301
- return de_CommandError(output, context);
1302
- }
1303
- const contents = smithyClient.map({
1304
- $metadata: deserializeMetadata(output),
1305
- });
1306
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1307
- const doc = smithyClient.take(data, {
1308
- workspaceConfiguration: smithyClient._json,
1309
- });
1310
- Object.assign(contents, doc);
1311
- return contents;
1312
- };
1313
- const de_GetDefaultScraperConfigurationCommand = async (output, context) => {
1314
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1315
- return de_CommandError(output, context);
1316
- }
1317
- const contents = smithyClient.map({
1318
- $metadata: deserializeMetadata(output),
1319
- });
1320
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1321
- const doc = smithyClient.take(data, {
1322
- configuration: context.base64Decoder,
1323
- });
1324
- Object.assign(contents, doc);
1325
- return contents;
1326
- };
1327
- const de_ListAnomalyDetectorsCommand = async (output, context) => {
1328
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1329
- return de_CommandError(output, context);
1330
- }
1331
- const contents = smithyClient.map({
1332
- $metadata: deserializeMetadata(output),
1333
- });
1334
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1335
- const doc = smithyClient.take(data, {
1336
- anomalyDetectors: (_) => de_AnomalyDetectorSummaryList(_),
1337
- nextToken: smithyClient.expectString,
1338
- });
1339
- Object.assign(contents, doc);
1340
- return contents;
1341
- };
1342
- const de_ListRuleGroupsNamespacesCommand = async (output, context) => {
1343
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1344
- return de_CommandError(output, context);
1345
- }
1346
- const contents = smithyClient.map({
1347
- $metadata: deserializeMetadata(output),
1348
- });
1349
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1350
- const doc = smithyClient.take(data, {
1351
- nextToken: smithyClient.expectString,
1352
- ruleGroupsNamespaces: (_) => de_RuleGroupsNamespaceSummaryList(_),
1353
- });
1354
- Object.assign(contents, doc);
1355
- return contents;
1356
- };
1357
- const de_ListScrapersCommand = async (output, context) => {
1358
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1359
- return de_CommandError(output, context);
1360
- }
1361
- const contents = smithyClient.map({
1362
- $metadata: deserializeMetadata(output),
1363
- });
1364
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1365
- const doc = smithyClient.take(data, {
1366
- nextToken: smithyClient.expectString,
1367
- scrapers: (_) => de_ScraperSummaryList(_),
1368
- });
1369
- Object.assign(contents, doc);
1370
- return contents;
1371
- };
1372
- const de_ListTagsForResourceCommand = async (output, context) => {
1373
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1374
- return de_CommandError(output, context);
1375
- }
1376
- const contents = smithyClient.map({
1377
- $metadata: deserializeMetadata(output),
1378
- });
1379
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1380
- const doc = smithyClient.take(data, {
1381
- tags: smithyClient._json,
1382
- });
1383
- Object.assign(contents, doc);
1384
- return contents;
1385
- };
1386
- const de_ListWorkspacesCommand = async (output, context) => {
1387
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1388
- return de_CommandError(output, context);
1389
- }
1390
- const contents = smithyClient.map({
1391
- $metadata: deserializeMetadata(output),
1392
- });
1393
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1394
- const doc = smithyClient.take(data, {
1395
- nextToken: smithyClient.expectString,
1396
- workspaces: (_) => de_WorkspaceSummaryList(_),
1397
- });
1398
- Object.assign(contents, doc);
1399
- return contents;
1400
- };
1401
- const de_PutAlertManagerDefinitionCommand = async (output, context) => {
1402
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1403
- return de_CommandError(output, context);
1404
- }
1405
- const contents = smithyClient.map({
1406
- $metadata: deserializeMetadata(output),
1407
- });
1408
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1409
- const doc = smithyClient.take(data, {
1410
- status: smithyClient._json,
1411
- });
1412
- Object.assign(contents, doc);
1413
- return contents;
1414
- };
1415
- const de_PutAnomalyDetectorCommand = async (output, context) => {
1416
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1417
- return de_CommandError(output, context);
1418
- }
1419
- const contents = smithyClient.map({
1420
- $metadata: deserializeMetadata(output),
1421
- });
1422
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1423
- const doc = smithyClient.take(data, {
1424
- anomalyDetectorId: smithyClient.expectString,
1425
- arn: smithyClient.expectString,
1426
- status: smithyClient._json,
1427
- tags: smithyClient._json,
1428
- });
1429
- Object.assign(contents, doc);
1430
- return contents;
1431
- };
1432
- const de_PutResourcePolicyCommand = async (output, context) => {
1433
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1434
- return de_CommandError(output, context);
1435
- }
1436
- const contents = smithyClient.map({
1437
- $metadata: deserializeMetadata(output),
1438
- });
1439
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1440
- const doc = smithyClient.take(data, {
1441
- policyStatus: smithyClient.expectString,
1442
- revisionId: smithyClient.expectString,
1443
- });
1444
- Object.assign(contents, doc);
1445
- return contents;
1446
- };
1447
- const de_PutRuleGroupsNamespaceCommand = async (output, context) => {
1448
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1449
- return de_CommandError(output, context);
1450
- }
1451
- const contents = smithyClient.map({
1452
- $metadata: deserializeMetadata(output),
1453
- });
1454
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1455
- const doc = smithyClient.take(data, {
1456
- arn: smithyClient.expectString,
1457
- name: smithyClient.expectString,
1458
- status: smithyClient._json,
1459
- tags: smithyClient._json,
1460
- });
1461
- Object.assign(contents, doc);
1462
- return contents;
1463
- };
1464
- const de_TagResourceCommand = async (output, context) => {
1465
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1466
- return de_CommandError(output, context);
1467
- }
1468
- const contents = smithyClient.map({
1469
- $metadata: deserializeMetadata(output),
1470
- });
1471
- await smithyClient.collectBody(output.body, context);
1472
- return contents;
1473
- };
1474
- const de_UntagResourceCommand = async (output, context) => {
1475
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1476
- return de_CommandError(output, context);
1477
- }
1478
- const contents = smithyClient.map({
1479
- $metadata: deserializeMetadata(output),
1480
- });
1481
- await smithyClient.collectBody(output.body, context);
1482
- return contents;
1483
- };
1484
- const de_UpdateLoggingConfigurationCommand = async (output, context) => {
1485
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1486
- return de_CommandError(output, context);
1487
- }
1488
- const contents = smithyClient.map({
1489
- $metadata: deserializeMetadata(output),
1490
- });
1491
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1492
- const doc = smithyClient.take(data, {
1493
- status: smithyClient._json,
1494
- });
1495
- Object.assign(contents, doc);
1496
- return contents;
1497
- };
1498
- const de_UpdateQueryLoggingConfigurationCommand = async (output, context) => {
1499
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1500
- return de_CommandError(output, context);
1501
- }
1502
- const contents = smithyClient.map({
1503
- $metadata: deserializeMetadata(output),
1504
- });
1505
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1506
- const doc = smithyClient.take(data, {
1507
- status: smithyClient._json,
1508
- });
1509
- Object.assign(contents, doc);
1510
- return contents;
1511
- };
1512
- const de_UpdateScraperCommand = async (output, context) => {
1513
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1514
- return de_CommandError(output, context);
1515
- }
1516
- const contents = smithyClient.map({
1517
- $metadata: deserializeMetadata(output),
1518
- });
1519
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1520
- const doc = smithyClient.take(data, {
1521
- arn: smithyClient.expectString,
1522
- scraperId: smithyClient.expectString,
1523
- status: smithyClient._json,
1524
- tags: smithyClient._json,
1525
- });
1526
- Object.assign(contents, doc);
1527
- return contents;
1528
- };
1529
- const de_UpdateScraperLoggingConfigurationCommand = async (output, context) => {
1530
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1531
- return de_CommandError(output, context);
1532
- }
1533
- const contents = smithyClient.map({
1534
- $metadata: deserializeMetadata(output),
1535
- });
1536
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1537
- const doc = smithyClient.take(data, {
1538
- status: smithyClient._json,
1539
- });
1540
- Object.assign(contents, doc);
1541
- return contents;
1542
- };
1543
- const de_UpdateWorkspaceAliasCommand = async (output, context) => {
1544
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1545
- return de_CommandError(output, context);
1546
- }
1547
- const contents = smithyClient.map({
1548
- $metadata: deserializeMetadata(output),
1549
- });
1550
- await smithyClient.collectBody(output.body, context);
1551
- return contents;
1552
- };
1553
- const de_UpdateWorkspaceConfigurationCommand = async (output, context) => {
1554
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1555
- return de_CommandError(output, context);
1556
- }
1557
- const contents = smithyClient.map({
1558
- $metadata: deserializeMetadata(output),
1559
- });
1560
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1561
- const doc = smithyClient.take(data, {
1562
- status: smithyClient._json,
1563
- });
1564
- Object.assign(contents, doc);
1565
- return contents;
1566
- };
1567
- const de_CommandError = async (output, context) => {
1568
- const parsedOutput = {
1569
- ...output,
1570
- body: await core$1.parseJsonErrorBody(output.body, context),
1571
- };
1572
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1573
- switch (errorCode) {
1574
- case "AccessDeniedException":
1575
- case "com.amazonaws.amp#AccessDeniedException":
1576
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1577
- case "ConflictException":
1578
- case "com.amazonaws.amp#ConflictException":
1579
- throw await de_ConflictExceptionRes(parsedOutput);
1580
- case "InternalServerException":
1581
- case "com.amazonaws.amp#InternalServerException":
1582
- throw await de_InternalServerExceptionRes(parsedOutput);
1583
- case "ResourceNotFoundException":
1584
- case "com.amazonaws.amp#ResourceNotFoundException":
1585
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1586
- case "ServiceQuotaExceededException":
1587
- case "com.amazonaws.amp#ServiceQuotaExceededException":
1588
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1589
- case "ThrottlingException":
1590
- case "com.amazonaws.amp#ThrottlingException":
1591
- throw await de_ThrottlingExceptionRes(parsedOutput);
1592
- case "ValidationException":
1593
- case "com.amazonaws.amp#ValidationException":
1594
- throw await de_ValidationExceptionRes(parsedOutput);
1595
- default:
1596
- const parsedBody = parsedOutput.body;
1597
- return throwDefaultError({
1598
- output,
1599
- parsedBody,
1600
- errorCode,
1601
- });
1602
- }
1603
- };
1604
- const throwDefaultError = smithyClient.withBaseException(AmpServiceException);
1605
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1606
- const contents = smithyClient.map({});
1607
- const data = parsedOutput.body;
1608
- const doc = smithyClient.take(data, {
1609
- message: smithyClient.expectString,
1610
- });
1611
- Object.assign(contents, doc);
1612
- const exception = new AccessDeniedException({
1613
- $metadata: deserializeMetadata(parsedOutput),
1614
- ...contents,
1615
- });
1616
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1617
- };
1618
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1619
- const contents = smithyClient.map({});
1620
- const data = parsedOutput.body;
1621
- const doc = smithyClient.take(data, {
1622
- message: smithyClient.expectString,
1623
- resourceId: smithyClient.expectString,
1624
- resourceType: smithyClient.expectString,
1625
- });
1626
- Object.assign(contents, doc);
1627
- const exception = new ConflictException({
1628
- $metadata: deserializeMetadata(parsedOutput),
1629
- ...contents,
1630
- });
1631
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1632
- };
1633
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1634
- const contents = smithyClient.map({
1635
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1636
- });
1637
- const data = parsedOutput.body;
1638
- const doc = smithyClient.take(data, {
1639
- message: smithyClient.expectString,
1640
- });
1641
- Object.assign(contents, doc);
1642
- const exception = new InternalServerException({
1643
- $metadata: deserializeMetadata(parsedOutput),
1644
- ...contents,
1645
- });
1646
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1647
- };
1648
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1649
- const contents = smithyClient.map({});
1650
- const data = parsedOutput.body;
1651
- const doc = smithyClient.take(data, {
1652
- message: smithyClient.expectString,
1653
- resourceId: smithyClient.expectString,
1654
- resourceType: smithyClient.expectString,
1655
- });
1656
- Object.assign(contents, doc);
1657
- const exception = new ResourceNotFoundException({
1658
- $metadata: deserializeMetadata(parsedOutput),
1659
- ...contents,
1660
- });
1661
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1662
- };
1663
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1664
- const contents = smithyClient.map({});
1665
- const data = parsedOutput.body;
1666
- const doc = smithyClient.take(data, {
1667
- message: smithyClient.expectString,
1668
- quotaCode: smithyClient.expectString,
1669
- resourceId: smithyClient.expectString,
1670
- resourceType: smithyClient.expectString,
1671
- serviceCode: smithyClient.expectString,
1672
- });
1673
- Object.assign(contents, doc);
1674
- const exception = new ServiceQuotaExceededException({
1675
- $metadata: deserializeMetadata(parsedOutput),
1676
- ...contents,
1677
- });
1678
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1679
- };
1680
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1681
- const contents = smithyClient.map({
1682
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1683
- });
1684
- const data = parsedOutput.body;
1685
- const doc = smithyClient.take(data, {
1686
- message: smithyClient.expectString,
1687
- quotaCode: smithyClient.expectString,
1688
- serviceCode: smithyClient.expectString,
1689
- });
1690
- Object.assign(contents, doc);
1691
- const exception = new ThrottlingException({
1692
- $metadata: deserializeMetadata(parsedOutput),
1693
- ...contents,
1694
- });
1695
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1696
- };
1697
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1698
- const contents = smithyClient.map({});
1699
- const data = parsedOutput.body;
1700
- const doc = smithyClient.take(data, {
1701
- fieldList: smithyClient._json,
1702
- message: smithyClient.expectString,
1703
- reason: smithyClient.expectString,
1704
- });
1705
- Object.assign(contents, doc);
1706
- const exception = new ValidationException({
1707
- $metadata: deserializeMetadata(parsedOutput),
1708
- ...contents,
1709
- });
1710
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1711
- };
1712
- const se_AnomalyDetectorConfiguration = (input, context) => {
1713
- return exports.AnomalyDetectorConfiguration.visit(input, {
1714
- randomCutForest: (value) => ({ randomCutForest: se_RandomCutForestConfiguration(value) }),
1715
- _: (name, value) => ({ [name]: value }),
1716
- });
1717
- };
1718
- const se_IgnoreNearExpected = (input, context) => {
1719
- return exports.IgnoreNearExpected.visit(input, {
1720
- amount: (value) => ({ amount: smithyClient.serializeFloat(value) }),
1721
- ratio: (value) => ({ ratio: smithyClient.serializeFloat(value) }),
1722
- _: (name, value) => ({ [name]: value }),
1723
- });
1724
- };
1725
- const se_RandomCutForestConfiguration = (input, context) => {
1726
- return smithyClient.take(input, {
1727
- ignoreNearExpectedFromAbove: (_) => se_IgnoreNearExpected(_),
1728
- ignoreNearExpectedFromBelow: (_) => se_IgnoreNearExpected(_),
1729
- query: [],
1730
- sampleSize: [],
1731
- shingleSize: [],
1732
- });
1733
- };
1734
- const se_ScrapeConfiguration = (input, context) => {
1735
- return exports.ScrapeConfiguration.visit(input, {
1736
- configurationBlob: (value) => ({ configurationBlob: context.base64Encoder(value) }),
1737
- _: (name, value) => ({ [name]: value }),
1738
- });
1739
- };
1740
- const de_AlertManagerDefinitionDescription = (output, context) => {
1741
- return smithyClient.take(output, {
1742
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1743
- data: context.base64Decoder,
1744
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1745
- status: smithyClient._json,
1746
- });
1747
- };
1748
- const de_AnomalyDetectorConfiguration = (output, context) => {
1749
- if (output.randomCutForest != null) {
1750
- return {
1751
- randomCutForest: de_RandomCutForestConfiguration(output.randomCutForest),
1752
- };
1753
- }
1754
- return { $unknown: Object.entries(output)[0] };
1755
- };
1756
- const de_AnomalyDetectorDescription = (output, context) => {
1757
- return smithyClient.take(output, {
1758
- alias: smithyClient.expectString,
1759
- anomalyDetectorId: smithyClient.expectString,
1760
- arn: smithyClient.expectString,
1761
- configuration: (_) => de_AnomalyDetectorConfiguration(core$1.awsExpectUnion(_)),
1762
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1763
- evaluationIntervalInSeconds: smithyClient.expectInt32,
1764
- labels: smithyClient._json,
1765
- missingDataAction: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1766
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1767
- status: smithyClient._json,
1768
- tags: smithyClient._json,
1769
- });
1770
- };
1771
- const de_AnomalyDetectorSummary = (output, context) => {
1772
- return smithyClient.take(output, {
1773
- alias: smithyClient.expectString,
1774
- anomalyDetectorId: smithyClient.expectString,
1775
- arn: smithyClient.expectString,
1776
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1777
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1778
- status: smithyClient._json,
1779
- tags: smithyClient._json,
1780
- });
1781
- };
1782
- const de_AnomalyDetectorSummaryList = (output, context) => {
1783
- const retVal = (output || [])
1784
- .filter((e) => e != null)
1785
- .map((entry) => {
1786
- return de_AnomalyDetectorSummary(entry);
1787
- });
1788
- return retVal;
1789
- };
1790
- const de_IgnoreNearExpected = (output, context) => {
1791
- if (smithyClient.limitedParseDouble(output.amount) !== undefined) {
1792
- return { amount: smithyClient.limitedParseDouble(output.amount) };
1793
- }
1794
- if (smithyClient.limitedParseDouble(output.ratio) !== undefined) {
1795
- return { ratio: smithyClient.limitedParseDouble(output.ratio) };
1796
- }
1797
- return { $unknown: Object.entries(output)[0] };
1798
- };
1799
- const de_LoggingConfigurationMetadata = (output, context) => {
1800
- return smithyClient.take(output, {
1801
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1802
- logGroupArn: smithyClient.expectString,
1803
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1804
- status: smithyClient._json,
1805
- workspace: smithyClient.expectString,
1806
- });
1807
- };
1808
- const de_QueryLoggingConfigurationMetadata = (output, context) => {
1809
- return smithyClient.take(output, {
1810
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1811
- destinations: smithyClient._json,
1812
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1813
- status: smithyClient._json,
1814
- workspace: smithyClient.expectString,
1815
- });
1816
- };
1817
- const de_RandomCutForestConfiguration = (output, context) => {
1818
- return smithyClient.take(output, {
1819
- ignoreNearExpectedFromAbove: (_) => de_IgnoreNearExpected(core$1.awsExpectUnion(_)),
1820
- ignoreNearExpectedFromBelow: (_) => de_IgnoreNearExpected(core$1.awsExpectUnion(_)),
1821
- query: smithyClient.expectString,
1822
- sampleSize: smithyClient.expectInt32,
1823
- shingleSize: smithyClient.expectInt32,
1824
- });
1825
- };
1826
- const de_RuleGroupsNamespaceDescription = (output, context) => {
1827
- return smithyClient.take(output, {
1828
- arn: smithyClient.expectString,
1829
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1830
- data: context.base64Decoder,
1831
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1832
- name: smithyClient.expectString,
1833
- status: smithyClient._json,
1834
- tags: smithyClient._json,
1835
- });
1836
- };
1837
- const de_RuleGroupsNamespaceSummary = (output, context) => {
1838
- return smithyClient.take(output, {
1839
- arn: smithyClient.expectString,
1840
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1841
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1842
- name: smithyClient.expectString,
1843
- status: smithyClient._json,
1844
- tags: smithyClient._json,
1845
- });
1846
- };
1847
- const de_RuleGroupsNamespaceSummaryList = (output, context) => {
1848
- const retVal = (output || [])
1849
- .filter((e) => e != null)
1850
- .map((entry) => {
1851
- return de_RuleGroupsNamespaceSummary(entry);
1852
- });
1853
- return retVal;
1854
- };
1855
- const de_ScrapeConfiguration = (output, context) => {
1856
- if (output.configurationBlob != null) {
1857
- return {
1858
- configurationBlob: context.base64Decoder(output.configurationBlob),
1859
- };
1860
- }
1861
- return { $unknown: Object.entries(output)[0] };
1862
- };
1863
- const de_ScraperDescription = (output, context) => {
1864
- return smithyClient.take(output, {
1865
- alias: smithyClient.expectString,
1866
- arn: smithyClient.expectString,
1867
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1868
- destination: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1869
- lastModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1870
- roleArn: smithyClient.expectString,
1871
- roleConfiguration: smithyClient._json,
1872
- scrapeConfiguration: (_) => de_ScrapeConfiguration(core$1.awsExpectUnion(_), context),
1873
- scraperId: smithyClient.expectString,
1874
- source: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1875
- status: smithyClient._json,
1876
- statusReason: smithyClient.expectString,
1877
- tags: smithyClient._json,
1878
- });
1879
- };
1880
- const de_ScraperSummary = (output, context) => {
1881
- return smithyClient.take(output, {
1882
- alias: smithyClient.expectString,
1883
- arn: smithyClient.expectString,
1884
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1885
- destination: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1886
- lastModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1887
- roleArn: smithyClient.expectString,
1888
- roleConfiguration: smithyClient._json,
1889
- scraperId: smithyClient.expectString,
1890
- source: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1891
- status: smithyClient._json,
1892
- statusReason: smithyClient.expectString,
1893
- tags: smithyClient._json,
1894
- });
1895
- };
1896
- const de_ScraperSummaryList = (output, context) => {
1897
- const retVal = (output || [])
1898
- .filter((e) => e != null)
1899
- .map((entry) => {
1900
- return de_ScraperSummary(entry);
1901
- });
1902
- return retVal;
1903
- };
1904
- const de_WorkspaceDescription = (output, context) => {
1905
- return smithyClient.take(output, {
1906
- alias: smithyClient.expectString,
1907
- arn: smithyClient.expectString,
1908
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1909
- kmsKeyArn: smithyClient.expectString,
1910
- prometheusEndpoint: smithyClient.expectString,
1911
- status: smithyClient._json,
1912
- tags: smithyClient._json,
1913
- workspaceId: smithyClient.expectString,
1914
- });
1915
- };
1916
- const de_WorkspaceSummary = (output, context) => {
1917
- return smithyClient.take(output, {
1918
- alias: smithyClient.expectString,
1919
- arn: smithyClient.expectString,
1920
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1921
- kmsKeyArn: smithyClient.expectString,
1922
- status: smithyClient._json,
1923
- tags: smithyClient._json,
1924
- workspaceId: smithyClient.expectString,
1925
- });
1926
- };
1927
- const de_WorkspaceSummaryList = (output, context) => {
1928
- const retVal = (output || [])
1929
- .filter((e) => e != null)
1930
- .map((entry) => {
1931
- return de_WorkspaceSummary(entry);
1932
- });
1933
- return retVal;
1934
- };
1935
- const deserializeMetadata = (output) => ({
1936
- httpStatusCode: output.statusCode,
1937
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1938
- extendedRequestId: output.headers["x-amz-id-2"],
1939
- cfId: output.headers["x-amz-cf-id"],
1940
- });
1941
- const _a = "alias";
323
+ const _AC = "AmpConfiguration";
324
+ const _ADC = "AnomalyDetectorConfiguration";
325
+ const _ADD = "AnomalyDetectorDescription";
326
+ const _ADE = "AccessDeniedException";
327
+ const _ADMDA = "AnomalyDetectorMissingDataAction";
328
+ const _ADS = "AnomalyDetectorStatus";
329
+ const _ADSL = "AnomalyDetectorSummaryList";
330
+ const _ADSn = "AnomalyDetectorSummary";
331
+ const _AMDD = "AlertManagerDefinitionDescription";
332
+ const _AMDS = "AlertManagerDefinitionStatus";
333
+ const _CAD = "CreateAnomalyDetector";
334
+ const _CADR = "CreateAnomalyDetectorRequest";
335
+ const _CADRr = "CreateAnomalyDetectorResponse";
336
+ const _CAMD = "CreateAlertManagerDefinition";
337
+ const _CAMDR = "CreateAlertManagerDefinitionRequest";
338
+ const _CAMDRr = "CreateAlertManagerDefinitionResponse";
339
+ const _CC = "ComponentConfig";
340
+ const _CE = "ConflictException";
341
+ const _CLC = "CreateLoggingConfiguration";
342
+ const _CLCR = "CreateLoggingConfigurationRequest";
343
+ const _CLCRr = "CreateLoggingConfigurationResponse";
344
+ const _CQLC = "CreateQueryLoggingConfiguration";
345
+ const _CQLCR = "CreateQueryLoggingConfigurationRequest";
346
+ const _CQLCRr = "CreateQueryLoggingConfigurationResponse";
347
+ const _CRGN = "CreateRuleGroupsNamespace";
348
+ const _CRGNR = "CreateRuleGroupsNamespaceRequest";
349
+ const _CRGNRr = "CreateRuleGroupsNamespaceResponse";
350
+ const _CS = "CreateScraper";
351
+ const _CSR = "CreateScraperRequest";
352
+ const _CSRr = "CreateScraperResponse";
353
+ const _CW = "CreateWorkspace";
354
+ const _CWLD = "CloudWatchLogDestination";
355
+ const _CWR = "CreateWorkspaceRequest";
356
+ const _CWRr = "CreateWorkspaceResponse";
357
+ const _D = "Destination";
358
+ const _DAD = "DeleteAnomalyDetector";
359
+ const _DADR = "DeleteAnomalyDetectorRequest";
360
+ const _DADRe = "DescribeAnomalyDetectorRequest";
361
+ const _DADRes = "DescribeAnomalyDetectorResponse";
362
+ const _DADe = "DescribeAnomalyDetector";
363
+ const _DAMD = "DeleteAlertManagerDefinition";
364
+ const _DAMDR = "DeleteAlertManagerDefinitionRequest";
365
+ const _DAMDRe = "DescribeAlertManagerDefinitionRequest";
366
+ const _DAMDRes = "DescribeAlertManagerDefinitionResponse";
367
+ const _DAMDe = "DescribeAlertManagerDefinition";
368
+ const _DLC = "DeleteLoggingConfiguration";
369
+ const _DLCR = "DeleteLoggingConfigurationRequest";
370
+ const _DLCRe = "DescribeLoggingConfigurationRequest";
371
+ const _DLCRes = "DescribeLoggingConfigurationResponse";
372
+ const _DLCe = "DescribeLoggingConfiguration";
373
+ const _DQLC = "DeleteQueryLoggingConfiguration";
374
+ const _DQLCR = "DeleteQueryLoggingConfigurationRequest";
375
+ const _DQLCRe = "DescribeQueryLoggingConfigurationRequest";
376
+ const _DQLCRes = "DescribeQueryLoggingConfigurationResponse";
377
+ const _DQLCe = "DescribeQueryLoggingConfiguration";
378
+ const _DRGN = "DeleteRuleGroupsNamespace";
379
+ const _DRGNR = "DeleteRuleGroupsNamespaceRequest";
380
+ const _DRGNRe = "DescribeRuleGroupsNamespaceRequest";
381
+ const _DRGNRes = "DescribeRuleGroupsNamespaceResponse";
382
+ const _DRGNe = "DescribeRuleGroupsNamespace";
383
+ const _DRP = "DeleteResourcePolicy";
384
+ const _DRPR = "DeleteResourcePolicyRequest";
385
+ const _DRPRe = "DescribeResourcePolicyRequest";
386
+ const _DRPRes = "DescribeResourcePolicyResponse";
387
+ const _DRPe = "DescribeResourcePolicy";
388
+ const _DS = "DeleteScraper";
389
+ const _DSLC = "DeleteScraperLoggingConfiguration";
390
+ const _DSLCR = "DeleteScraperLoggingConfigurationRequest";
391
+ const _DSLCRe = "DescribeScraperLoggingConfigurationRequest";
392
+ const _DSLCRes = "DescribeScraperLoggingConfigurationResponse";
393
+ const _DSLCe = "DescribeScraperLoggingConfiguration";
394
+ const _DSR = "DeleteScraperRequest";
395
+ const _DSRe = "DeleteScraperResponse";
396
+ const _DSRes = "DescribeScraperRequest";
397
+ const _DSResc = "DescribeScraperResponse";
398
+ const _DSe = "DescribeScraper";
399
+ const _DW = "DeleteWorkspace";
400
+ const _DWC = "DescribeWorkspaceConfiguration";
401
+ const _DWCR = "DescribeWorkspaceConfigurationRequest";
402
+ const _DWCRe = "DescribeWorkspaceConfigurationResponse";
403
+ const _DWR = "DeleteWorkspaceRequest";
404
+ const _DWRe = "DescribeWorkspaceRequest";
405
+ const _DWRes = "DescribeWorkspaceResponse";
406
+ const _DWe = "DescribeWorkspace";
407
+ const _EC = "EksConfiguration";
408
+ const _GDSC = "GetDefaultScraperConfiguration";
409
+ const _GDSCR = "GetDefaultScraperConfigurationRequest";
410
+ const _GDSCRe = "GetDefaultScraperConfigurationResponse";
411
+ const _INE = "IgnoreNearExpected";
412
+ const _ISE = "InternalServerException";
413
+ const _LAD = "ListAnomalyDetectors";
414
+ const _LADR = "ListAnomalyDetectorsRequest";
415
+ const _LADRi = "ListAnomalyDetectorsResponse";
416
+ const _LCM = "LoggingConfigurationMetadata";
417
+ const _LCS = "LoggingConfigurationStatus";
418
+ const _LD = "LoggingDestination";
419
+ const _LDo = "LoggingDestinations";
420
+ const _LF = "LoggingFilter";
421
+ const _LPLS = "LimitsPerLabelSet";
422
+ const _LPLSE = "LimitsPerLabelSetEntry";
423
+ const _LPLSL = "LimitsPerLabelSetList";
424
+ const _LRGN = "ListRuleGroupsNamespaces";
425
+ const _LRGNR = "ListRuleGroupsNamespacesRequest";
426
+ const _LRGNRi = "ListRuleGroupsNamespacesResponse";
427
+ const _LS = "ListScrapers";
428
+ const _LSR = "ListScrapersRequest";
429
+ const _LSRi = "ListScrapersResponse";
430
+ const _LTFR = "ListTagsForResource";
431
+ const _LTFRR = "ListTagsForResourceRequest";
432
+ const _LTFRRi = "ListTagsForResourceResponse";
433
+ const _LW = "ListWorkspaces";
434
+ const _LWR = "ListWorkspacesRequest";
435
+ const _LWRi = "ListWorkspacesResponse";
436
+ const _PAD = "PutAnomalyDetector";
437
+ const _PADR = "PutAnomalyDetectorRequest";
438
+ const _PADRu = "PutAnomalyDetectorResponse";
439
+ const _PAMD = "PutAlertManagerDefinition";
440
+ const _PAMDR = "PutAlertManagerDefinitionRequest";
441
+ const _PAMDRu = "PutAlertManagerDefinitionResponse";
442
+ const _PRGN = "PutRuleGroupsNamespace";
443
+ const _PRGNR = "PutRuleGroupsNamespaceRequest";
444
+ const _PRGNRu = "PutRuleGroupsNamespaceResponse";
445
+ const _PRP = "PutResourcePolicy";
446
+ const _PRPR = "PutResourcePolicyRequest";
447
+ const _PRPRu = "PutResourcePolicyResponse";
448
+ const _QLCM = "QueryLoggingConfigurationMetadata";
449
+ const _QLCS = "QueryLoggingConfigurationStatus";
450
+ const _RA = "Retry-After";
451
+ const _RC = "RoleConfiguration";
452
+ const _RCFC = "RandomCutForestConfiguration";
453
+ const _RGND = "RuleGroupsNamespaceDescription";
454
+ const _RGNS = "RuleGroupsNamespaceStatus";
455
+ const _RGNSL = "RuleGroupsNamespaceSummaryList";
456
+ const _RGNSu = "RuleGroupsNamespaceSummary";
457
+ const _RNFE = "ResourceNotFoundException";
458
+ const _S = "Source";
459
+ const _SC = "ScraperComponent";
460
+ const _SCc = "ScraperComponents";
461
+ const _SCcr = "ScrapeConfiguration";
462
+ const _SD = "ScraperDescription";
463
+ const _SF = "ScraperFilters";
464
+ const _SLCS = "ScraperLoggingConfigurationStatus";
465
+ const _SLD = "ScraperLoggingDestination";
466
+ const _SQEE = "ServiceQuotaExceededException";
467
+ const _SS = "ScraperStatus";
468
+ const _SSL = "ScraperSummaryList";
469
+ const _SSc = "ScraperSummary";
470
+ const _TE = "ThrottlingException";
471
+ const _TR = "TagResource";
472
+ const _TRR = "TagResourceRequest";
473
+ const _TRRa = "TagResourceResponse";
474
+ const _ULC = "UpdateLoggingConfiguration";
475
+ const _ULCR = "UpdateLoggingConfigurationRequest";
476
+ const _ULCRp = "UpdateLoggingConfigurationResponse";
477
+ const _UQLC = "UpdateQueryLoggingConfiguration";
478
+ const _UQLCR = "UpdateQueryLoggingConfigurationRequest";
479
+ const _UQLCRp = "UpdateQueryLoggingConfigurationResponse";
480
+ const _UR = "UntagResource";
481
+ const _URR = "UntagResourceRequest";
482
+ const _URRn = "UntagResourceResponse";
483
+ const _US = "UpdateScraper";
484
+ const _USLC = "UpdateScraperLoggingConfiguration";
485
+ const _USLCR = "UpdateScraperLoggingConfigurationRequest";
486
+ const _USLCRp = "UpdateScraperLoggingConfigurationResponse";
487
+ const _USR = "UpdateScraperRequest";
488
+ const _USRp = "UpdateScraperResponse";
489
+ const _UWA = "UpdateWorkspaceAlias";
490
+ const _UWAR = "UpdateWorkspaceAliasRequest";
491
+ const _UWC = "UpdateWorkspaceConfiguration";
492
+ const _UWCR = "UpdateWorkspaceConfigurationRequest";
493
+ const _UWCRp = "UpdateWorkspaceConfigurationResponse";
494
+ const _VC = "VpcConfiguration";
495
+ const _VE = "ValidationException";
496
+ const _VEF = "ValidationExceptionField";
497
+ const _VEFL = "ValidationExceptionFieldList";
498
+ const _WCD = "WorkspaceConfigurationDescription";
499
+ const _WCS = "WorkspaceConfigurationStatus";
500
+ const _WD = "WorkspaceDescription";
501
+ const _WS = "WorkspaceStatus";
502
+ const _WSL = "WorkspaceSummaryList";
503
+ const _WSo = "WorkspaceSummary";
504
+ const _a = "arn";
505
+ const _aC = "ampConfiguration";
506
+ const _aD = "anomalyDetector";
507
+ const _aDI = "anomalyDetectorId";
508
+ const _aDn = "anomalyDetectors";
509
+ const _aMD = "alertManagerDefinition";
510
+ const _al = "alias";
511
+ const _am = "amount";
512
+ const _c = "client";
513
+ const _cA = "createdAt";
514
+ const _cAl = "clusterArn";
515
+ const _cB = "configurationBlob";
1942
516
  const _cT = "clientToken";
517
+ const _cWL = "cloudWatchLogs";
518
+ const _co = "configuration";
519
+ const _con = "config";
520
+ const _d = "data";
521
+ const _de = "destinations";
522
+ const _des = "destination";
523
+ const _e = "error";
524
+ const _eC = "eksConfiguration";
525
+ const _eIIS = "evaluationIntervalInSeconds";
526
+ const _f = "filters";
527
+ const _fL = "fieldList";
528
+ const _h = "http";
529
+ const _hE = "httpError";
530
+ const _hH = "httpHeader";
531
+ const _hQ = "httpQuery";
532
+ const _iNEFA = "ignoreNearExpectedFromAbove";
533
+ const _iNEFB = "ignoreNearExpectedFromBelow";
534
+ const _iT = "idempotencyToken";
535
+ const _kKA = "kmsKeyArn";
536
+ const _l = "labels";
537
+ const _lC = "loggingConfiguration";
538
+ const _lD = "loggingDestination";
539
+ const _lGA = "logGroupArn";
540
+ const _lMA = "lastModifiedAt";
541
+ const _lPLS = "limitsPerLabelSet";
542
+ const _lS = "labelSet";
543
+ const _li = "limits";
544
+ const _m = "message";
545
+ const _mA = "modifiedAt";
546
+ const _mAA = "markAsAnomaly";
547
+ const _mDA = "missingDataAction";
1943
548
  const _mR = "maxResults";
549
+ const _mS = "maxSeries";
1944
550
  const _n = "name";
1945
551
  const _nT = "nextToken";
552
+ const _o = "options";
553
+ const _pD = "policyDocument";
554
+ const _pE = "prometheusEndpoint";
555
+ const _pS = "policyStatus";
556
+ const _q = "query";
557
+ const _qC = "quotaCode";
558
+ const _qLC = "queryLoggingConfiguration";
559
+ const _qT = "qspThreshold";
560
+ const _r = "reason";
561
+ const _rA = "resourceArn";
1946
562
  const _rAS = "retryAfterSeconds";
1947
- const _rI = "revisionId";
1948
- const _ra = "retry-after";
563
+ const _rAo = "roleArn";
564
+ const _rC = "roleConfiguration";
565
+ const _rCF = "randomCutForest";
566
+ const _rGN = "ruleGroupsNamespace";
567
+ const _rGNu = "ruleGroupsNamespaces";
568
+ const _rI = "resourceId";
569
+ const _rIe = "revisionId";
570
+ const _rPID = "retentionPeriodInDays";
571
+ const _rT = "resourceType";
572
+ const _ra = "ratio";
573
+ const _s = "status";
574
+ const _sC = "statusCode";
575
+ const _sCc = "scrapeConfiguration";
576
+ const _sCcr = "scraperComponents";
577
+ const _sCe = "serviceCode";
578
+ const _sGI = "securityGroupIds";
579
+ const _sI = "scraperId";
580
+ const _sIu = "subnetIds";
581
+ const _sR = "statusReason";
582
+ const _sRA = "sourceRoleArn";
583
+ const _sS = "shingleSize";
584
+ const _sSa = "sampleSize";
585
+ const _sc = "scraper";
586
+ const _scr = "scrapers";
587
+ const _se = "server";
588
+ const _sk = "skip";
589
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.amp";
590
+ const _so = "source";
591
+ const _t = "tags";
1949
592
  const _tK = "tagKeys";
593
+ const _tRA = "targetRoleArn";
594
+ const _ty = "type";
595
+ const _vC = "vpcConfiguration";
596
+ const _w = "workspace";
597
+ const _wA = "workspaceArn";
598
+ const _wC = "workspaceConfiguration";
599
+ const _wI = "workspaceId";
600
+ const _wo = "workspaces";
601
+ const n0 = "com.amazonaws.amp";
602
+ var AccessDeniedException = [
603
+ -3,
604
+ n0,
605
+ _ADE,
606
+ {
607
+ [_e]: _c,
608
+ [_hE]: 403,
609
+ },
610
+ [_m],
611
+ [0],
612
+ ];
613
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
614
+ var AlertManagerDefinitionDescription = [
615
+ 3,
616
+ n0,
617
+ _AMDD,
618
+ 0,
619
+ [_s, _d, _cA, _mA],
620
+ [() => AlertManagerDefinitionStatus, 21, 4, 4],
621
+ ];
622
+ var AlertManagerDefinitionStatus = [3, n0, _AMDS, 0, [_sC, _sR], [0, 0]];
623
+ var AmpConfiguration = [3, n0, _AC, 0, [_wA], [0]];
624
+ var AnomalyDetectorDescription = [
625
+ 3,
626
+ n0,
627
+ _ADD,
628
+ 0,
629
+ [_a, _aDI, _al, _eIIS, _mDA, _co, _l, _s, _cA, _mA, _t],
630
+ [
631
+ 0,
632
+ 0,
633
+ 0,
634
+ 1,
635
+ () => AnomalyDetectorMissingDataAction,
636
+ () => AnomalyDetectorConfiguration,
637
+ 128 | 0,
638
+ () => AnomalyDetectorStatus,
639
+ 4,
640
+ 4,
641
+ 128 | 0,
642
+ ],
643
+ ];
644
+ var AnomalyDetectorStatus = [3, n0, _ADS, 0, [_sC, _sR], [0, 0]];
645
+ var AnomalyDetectorSummary = [
646
+ 3,
647
+ n0,
648
+ _ADSn,
649
+ 0,
650
+ [_a, _aDI, _al, _s, _cA, _mA, _t],
651
+ [0, 0, 0, () => AnomalyDetectorStatus, 4, 4, 128 | 0],
652
+ ];
653
+ var CloudWatchLogDestination = [3, n0, _CWLD, 0, [_lGA], [0]];
654
+ var ComponentConfig = [3, n0, _CC, 0, [_o], [128 | 0]];
655
+ var ConflictException = [
656
+ -3,
657
+ n0,
658
+ _CE,
659
+ {
660
+ [_e]: _c,
661
+ [_hE]: 409,
662
+ },
663
+ [_m, _rI, _rT],
664
+ [0, 0, 0],
665
+ ];
666
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
667
+ var CreateAlertManagerDefinitionRequest = [
668
+ 3,
669
+ n0,
670
+ _CAMDR,
671
+ 0,
672
+ [_wI, _d, _cT],
673
+ [[0, 1], 21, [0, 4]],
674
+ ];
675
+ var CreateAlertManagerDefinitionResponse = [
676
+ 3,
677
+ n0,
678
+ _CAMDRr,
679
+ 0,
680
+ [_s],
681
+ [() => AlertManagerDefinitionStatus],
682
+ ];
683
+ var CreateAnomalyDetectorRequest = [
684
+ 3,
685
+ n0,
686
+ _CADR,
687
+ 0,
688
+ [_wI, _al, _eIIS, _mDA, _co, _l, _cT, _t],
689
+ [[0, 1], 0, 1, () => AnomalyDetectorMissingDataAction, () => AnomalyDetectorConfiguration, 128 | 0, [0, 4], 128 | 0],
690
+ ];
691
+ var CreateAnomalyDetectorResponse = [
692
+ 3,
693
+ n0,
694
+ _CADRr,
695
+ 0,
696
+ [_aDI, _a, _s, _t],
697
+ [0, 0, () => AnomalyDetectorStatus, 128 | 0],
698
+ ];
699
+ var CreateLoggingConfigurationRequest = [
700
+ 3,
701
+ n0,
702
+ _CLCR,
703
+ 0,
704
+ [_wI, _lGA, _cT],
705
+ [[0, 1], 0, [0, 4]],
706
+ ];
707
+ var CreateLoggingConfigurationResponse = [
708
+ 3,
709
+ n0,
710
+ _CLCRr,
711
+ 0,
712
+ [_s],
713
+ [() => LoggingConfigurationStatus],
714
+ ];
715
+ var CreateQueryLoggingConfigurationRequest = [
716
+ 3,
717
+ n0,
718
+ _CQLCR,
719
+ 0,
720
+ [_wI, _de, _cT],
721
+ [[0, 1], () => LoggingDestinations, [0, 4]],
722
+ ];
723
+ var CreateQueryLoggingConfigurationResponse = [
724
+ 3,
725
+ n0,
726
+ _CQLCRr,
727
+ 0,
728
+ [_s],
729
+ [() => QueryLoggingConfigurationStatus],
730
+ ];
731
+ var CreateRuleGroupsNamespaceRequest = [
732
+ 3,
733
+ n0,
734
+ _CRGNR,
735
+ 0,
736
+ [_wI, _n, _d, _cT, _t],
737
+ [[0, 1], 0, 21, [0, 4], 128 | 0],
738
+ ];
739
+ var CreateRuleGroupsNamespaceResponse = [
740
+ 3,
741
+ n0,
742
+ _CRGNRr,
743
+ 0,
744
+ [_n, _a, _s, _t],
745
+ [0, 0, () => RuleGroupsNamespaceStatus, 128 | 0],
746
+ ];
747
+ var CreateScraperRequest = [
748
+ 3,
749
+ n0,
750
+ _CSR,
751
+ 0,
752
+ [_al, _sCc, _so, _des, _rC, _cT, _t],
753
+ [0, () => ScrapeConfiguration, () => Source, () => Destination, () => RoleConfiguration, [0, 4], 128 | 0],
754
+ ];
755
+ var CreateScraperResponse = [
756
+ 3,
757
+ n0,
758
+ _CSRr,
759
+ 0,
760
+ [_sI, _a, _s, _t],
761
+ [0, 0, () => ScraperStatus, 128 | 0],
762
+ ];
763
+ var CreateWorkspaceRequest = [
764
+ 3,
765
+ n0,
766
+ _CWR,
767
+ 0,
768
+ [_al, _cT, _t, _kKA],
769
+ [0, [0, 4], 128 | 0, 0],
770
+ ];
771
+ var CreateWorkspaceResponse = [
772
+ 3,
773
+ n0,
774
+ _CWRr,
775
+ 0,
776
+ [_wI, _a, _s, _t, _kKA],
777
+ [0, 0, () => WorkspaceStatus, 128 | 0, 0],
778
+ ];
779
+ var DeleteAlertManagerDefinitionRequest = [
780
+ 3,
781
+ n0,
782
+ _DAMDR,
783
+ 0,
784
+ [_wI, _cT],
785
+ [
786
+ [0, 1],
787
+ [
788
+ 0,
789
+ {
790
+ [_iT]: 1,
791
+ [_hQ]: _cT,
792
+ },
793
+ ],
794
+ ],
795
+ ];
796
+ var DeleteAnomalyDetectorRequest = [
797
+ 3,
798
+ n0,
799
+ _DADR,
800
+ 0,
801
+ [_wI, _aDI, _cT],
802
+ [
803
+ [0, 1],
804
+ [0, 1],
805
+ [
806
+ 0,
807
+ {
808
+ [_iT]: 1,
809
+ [_hQ]: _cT,
810
+ },
811
+ ],
812
+ ],
813
+ ];
814
+ var DeleteLoggingConfigurationRequest = [
815
+ 3,
816
+ n0,
817
+ _DLCR,
818
+ 0,
819
+ [_wI, _cT],
820
+ [
821
+ [0, 1],
822
+ [
823
+ 0,
824
+ {
825
+ [_iT]: 1,
826
+ [_hQ]: _cT,
827
+ },
828
+ ],
829
+ ],
830
+ ];
831
+ var DeleteQueryLoggingConfigurationRequest = [
832
+ 3,
833
+ n0,
834
+ _DQLCR,
835
+ 0,
836
+ [_wI, _cT],
837
+ [
838
+ [0, 1],
839
+ [
840
+ 0,
841
+ {
842
+ [_iT]: 1,
843
+ [_hQ]: _cT,
844
+ },
845
+ ],
846
+ ],
847
+ ];
848
+ var DeleteResourcePolicyRequest = [
849
+ 3,
850
+ n0,
851
+ _DRPR,
852
+ 0,
853
+ [_wI, _cT, _rIe],
854
+ [
855
+ [0, 1],
856
+ [
857
+ 0,
858
+ {
859
+ [_iT]: 1,
860
+ [_hQ]: _cT,
861
+ },
862
+ ],
863
+ [
864
+ 0,
865
+ {
866
+ [_hQ]: _rIe,
867
+ },
868
+ ],
869
+ ],
870
+ ];
871
+ var DeleteRuleGroupsNamespaceRequest = [
872
+ 3,
873
+ n0,
874
+ _DRGNR,
875
+ 0,
876
+ [_wI, _n, _cT],
877
+ [
878
+ [0, 1],
879
+ [0, 1],
880
+ [
881
+ 0,
882
+ {
883
+ [_iT]: 1,
884
+ [_hQ]: _cT,
885
+ },
886
+ ],
887
+ ],
888
+ ];
889
+ var DeleteScraperLoggingConfigurationRequest = [
890
+ 3,
891
+ n0,
892
+ _DSLCR,
893
+ 0,
894
+ [_sI, _cT],
895
+ [
896
+ [0, 1],
897
+ [
898
+ 0,
899
+ {
900
+ [_iT]: 1,
901
+ [_hQ]: _cT,
902
+ },
903
+ ],
904
+ ],
905
+ ];
906
+ var DeleteScraperRequest = [
907
+ 3,
908
+ n0,
909
+ _DSR,
910
+ 0,
911
+ [_sI, _cT],
912
+ [
913
+ [0, 1],
914
+ [
915
+ 0,
916
+ {
917
+ [_iT]: 1,
918
+ [_hQ]: _cT,
919
+ },
920
+ ],
921
+ ],
922
+ ];
923
+ var DeleteScraperResponse = [3, n0, _DSRe, 0, [_sI, _s], [0, () => ScraperStatus]];
924
+ var DeleteWorkspaceRequest = [
925
+ 3,
926
+ n0,
927
+ _DWR,
928
+ 0,
929
+ [_wI, _cT],
930
+ [
931
+ [0, 1],
932
+ [
933
+ 0,
934
+ {
935
+ [_iT]: 1,
936
+ [_hQ]: _cT,
937
+ },
938
+ ],
939
+ ],
940
+ ];
941
+ var DescribeAlertManagerDefinitionRequest = [3, n0, _DAMDRe, 0, [_wI], [[0, 1]]];
942
+ var DescribeAlertManagerDefinitionResponse = [
943
+ 3,
944
+ n0,
945
+ _DAMDRes,
946
+ 0,
947
+ [_aMD],
948
+ [() => AlertManagerDefinitionDescription],
949
+ ];
950
+ var DescribeAnomalyDetectorRequest = [
951
+ 3,
952
+ n0,
953
+ _DADRe,
954
+ 0,
955
+ [_wI, _aDI],
956
+ [
957
+ [0, 1],
958
+ [0, 1],
959
+ ],
960
+ ];
961
+ var DescribeAnomalyDetectorResponse = [
962
+ 3,
963
+ n0,
964
+ _DADRes,
965
+ 0,
966
+ [_aD],
967
+ [() => AnomalyDetectorDescription],
968
+ ];
969
+ var DescribeLoggingConfigurationRequest = [3, n0, _DLCRe, 0, [_wI], [[0, 1]]];
970
+ var DescribeLoggingConfigurationResponse = [
971
+ 3,
972
+ n0,
973
+ _DLCRes,
974
+ 0,
975
+ [_lC],
976
+ [() => LoggingConfigurationMetadata],
977
+ ];
978
+ var DescribeQueryLoggingConfigurationRequest = [3, n0, _DQLCRe, 0, [_wI], [[0, 1]]];
979
+ var DescribeQueryLoggingConfigurationResponse = [
980
+ 3,
981
+ n0,
982
+ _DQLCRes,
983
+ 0,
984
+ [_qLC],
985
+ [() => QueryLoggingConfigurationMetadata],
986
+ ];
987
+ var DescribeResourcePolicyRequest = [3, n0, _DRPRe, 0, [_wI], [[0, 1]]];
988
+ var DescribeResourcePolicyResponse = [3, n0, _DRPRes, 0, [_pD, _pS, _rIe], [0, 0, 0]];
989
+ var DescribeRuleGroupsNamespaceRequest = [
990
+ 3,
991
+ n0,
992
+ _DRGNRe,
993
+ 0,
994
+ [_wI, _n],
995
+ [
996
+ [0, 1],
997
+ [0, 1],
998
+ ],
999
+ ];
1000
+ var DescribeRuleGroupsNamespaceResponse = [
1001
+ 3,
1002
+ n0,
1003
+ _DRGNRes,
1004
+ 0,
1005
+ [_rGN],
1006
+ [() => RuleGroupsNamespaceDescription],
1007
+ ];
1008
+ var DescribeScraperLoggingConfigurationRequest = [3, n0, _DSLCRe, 0, [_sI], [[0, 1]]];
1009
+ var DescribeScraperLoggingConfigurationResponse = [
1010
+ 3,
1011
+ n0,
1012
+ _DSLCRes,
1013
+ 0,
1014
+ [_s, _sI, _lD, _sCcr, _mA],
1015
+ [() => ScraperLoggingConfigurationStatus, 0, () => ScraperLoggingDestination, () => ScraperComponents, 4],
1016
+ ];
1017
+ var DescribeScraperRequest = [3, n0, _DSRes, 0, [_sI], [[0, 1]]];
1018
+ var DescribeScraperResponse = [3, n0, _DSResc, 0, [_sc], [() => ScraperDescription]];
1019
+ var DescribeWorkspaceConfigurationRequest = [3, n0, _DWCR, 0, [_wI], [[0, 1]]];
1020
+ var DescribeWorkspaceConfigurationResponse = [
1021
+ 3,
1022
+ n0,
1023
+ _DWCRe,
1024
+ 0,
1025
+ [_wC],
1026
+ [() => WorkspaceConfigurationDescription],
1027
+ ];
1028
+ var DescribeWorkspaceRequest = [3, n0, _DWRe, 0, [_wI], [[0, 1]]];
1029
+ var DescribeWorkspaceResponse = [3, n0, _DWRes, 0, [_w], [() => WorkspaceDescription]];
1030
+ var EksConfiguration = [3, n0, _EC, 0, [_cAl, _sGI, _sIu], [0, 64 | 0, 64 | 0]];
1031
+ var GetDefaultScraperConfigurationRequest = [3, n0, _GDSCR, 0, [], []];
1032
+ var GetDefaultScraperConfigurationResponse = [3, n0, _GDSCRe, 0, [_co], [21]];
1033
+ var InternalServerException = [
1034
+ -3,
1035
+ n0,
1036
+ _ISE,
1037
+ {
1038
+ [_e]: _se,
1039
+ [_hE]: 500,
1040
+ },
1041
+ [_m, _rAS],
1042
+ [
1043
+ 0,
1044
+ [
1045
+ 1,
1046
+ {
1047
+ [_hH]: _RA,
1048
+ },
1049
+ ],
1050
+ ],
1051
+ ];
1052
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1053
+ var LimitsPerLabelSet = [
1054
+ 3,
1055
+ n0,
1056
+ _LPLS,
1057
+ 0,
1058
+ [_li, _lS],
1059
+ [() => LimitsPerLabelSetEntry, 128 | 0],
1060
+ ];
1061
+ var LimitsPerLabelSetEntry = [3, n0, _LPLSE, 0, [_mS], [1]];
1062
+ var ListAnomalyDetectorsRequest = [
1063
+ 3,
1064
+ n0,
1065
+ _LADR,
1066
+ 0,
1067
+ [_wI, _al, _mR, _nT],
1068
+ [
1069
+ [0, 1],
1070
+ [
1071
+ 0,
1072
+ {
1073
+ [_hQ]: _al,
1074
+ },
1075
+ ],
1076
+ [
1077
+ 1,
1078
+ {
1079
+ [_hQ]: _mR,
1080
+ },
1081
+ ],
1082
+ [
1083
+ 0,
1084
+ {
1085
+ [_hQ]: _nT,
1086
+ },
1087
+ ],
1088
+ ],
1089
+ ];
1090
+ var ListAnomalyDetectorsResponse = [
1091
+ 3,
1092
+ n0,
1093
+ _LADRi,
1094
+ 0,
1095
+ [_aDn, _nT],
1096
+ [() => AnomalyDetectorSummaryList, 0],
1097
+ ];
1098
+ var ListRuleGroupsNamespacesRequest = [
1099
+ 3,
1100
+ n0,
1101
+ _LRGNR,
1102
+ 0,
1103
+ [_wI, _n, _nT, _mR],
1104
+ [
1105
+ [0, 1],
1106
+ [
1107
+ 0,
1108
+ {
1109
+ [_hQ]: _n,
1110
+ },
1111
+ ],
1112
+ [
1113
+ 0,
1114
+ {
1115
+ [_hQ]: _nT,
1116
+ },
1117
+ ],
1118
+ [
1119
+ 1,
1120
+ {
1121
+ [_hQ]: _mR,
1122
+ },
1123
+ ],
1124
+ ],
1125
+ ];
1126
+ var ListRuleGroupsNamespacesResponse = [
1127
+ 3,
1128
+ n0,
1129
+ _LRGNRi,
1130
+ 0,
1131
+ [_rGNu, _nT],
1132
+ [() => RuleGroupsNamespaceSummaryList, 0],
1133
+ ];
1134
+ var ListScrapersRequest = [
1135
+ 3,
1136
+ n0,
1137
+ _LSR,
1138
+ 0,
1139
+ [_f, _nT, _mR],
1140
+ [
1141
+ [[2, n0, _SF, 0, 0, 64 | 0], 64],
1142
+ [
1143
+ 0,
1144
+ {
1145
+ [_hQ]: _nT,
1146
+ },
1147
+ ],
1148
+ [
1149
+ 1,
1150
+ {
1151
+ [_hQ]: _mR,
1152
+ },
1153
+ ],
1154
+ ],
1155
+ ];
1156
+ var ListScrapersResponse = [3, n0, _LSRi, 0, [_scr, _nT], [() => ScraperSummaryList, 0]];
1157
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
1158
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
1159
+ var ListWorkspacesRequest = [
1160
+ 3,
1161
+ n0,
1162
+ _LWR,
1163
+ 0,
1164
+ [_nT, _al, _mR],
1165
+ [
1166
+ [
1167
+ 0,
1168
+ {
1169
+ [_hQ]: _nT,
1170
+ },
1171
+ ],
1172
+ [
1173
+ 0,
1174
+ {
1175
+ [_hQ]: _al,
1176
+ },
1177
+ ],
1178
+ [
1179
+ 1,
1180
+ {
1181
+ [_hQ]: _mR,
1182
+ },
1183
+ ],
1184
+ ],
1185
+ ];
1186
+ var ListWorkspacesResponse = [
1187
+ 3,
1188
+ n0,
1189
+ _LWRi,
1190
+ 0,
1191
+ [_wo, _nT],
1192
+ [() => WorkspaceSummaryList, 0],
1193
+ ];
1194
+ var LoggingConfigurationMetadata = [
1195
+ 3,
1196
+ n0,
1197
+ _LCM,
1198
+ 0,
1199
+ [_s, _w, _lGA, _cA, _mA],
1200
+ [() => LoggingConfigurationStatus, 0, 0, 4, 4],
1201
+ ];
1202
+ var LoggingConfigurationStatus = [3, n0, _LCS, 0, [_sC, _sR], [0, 0]];
1203
+ var LoggingDestination = [
1204
+ 3,
1205
+ n0,
1206
+ _LD,
1207
+ 0,
1208
+ [_cWL, _f],
1209
+ [() => CloudWatchLogDestination, () => LoggingFilter],
1210
+ ];
1211
+ var LoggingFilter = [3, n0, _LF, 0, [_qT], [1]];
1212
+ var PutAlertManagerDefinitionRequest = [
1213
+ 3,
1214
+ n0,
1215
+ _PAMDR,
1216
+ 0,
1217
+ [_wI, _d, _cT],
1218
+ [[0, 1], 21, [0, 4]],
1219
+ ];
1220
+ var PutAlertManagerDefinitionResponse = [
1221
+ 3,
1222
+ n0,
1223
+ _PAMDRu,
1224
+ 0,
1225
+ [_s],
1226
+ [() => AlertManagerDefinitionStatus],
1227
+ ];
1228
+ var PutAnomalyDetectorRequest = [
1229
+ 3,
1230
+ n0,
1231
+ _PADR,
1232
+ 0,
1233
+ [_wI, _aDI, _eIIS, _mDA, _co, _l, _cT],
1234
+ [[0, 1], [0, 1], 1, () => AnomalyDetectorMissingDataAction, () => AnomalyDetectorConfiguration, 128 | 0, [0, 4]],
1235
+ ];
1236
+ var PutAnomalyDetectorResponse = [
1237
+ 3,
1238
+ n0,
1239
+ _PADRu,
1240
+ 0,
1241
+ [_aDI, _a, _s, _t],
1242
+ [0, 0, () => AnomalyDetectorStatus, 128 | 0],
1243
+ ];
1244
+ var PutResourcePolicyRequest = [
1245
+ 3,
1246
+ n0,
1247
+ _PRPR,
1248
+ 0,
1249
+ [_wI, _pD, _cT, _rIe],
1250
+ [[0, 1], 0, [0, 4], 0],
1251
+ ];
1252
+ var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [_pS, _rIe], [0, 0]];
1253
+ var PutRuleGroupsNamespaceRequest = [
1254
+ 3,
1255
+ n0,
1256
+ _PRGNR,
1257
+ 0,
1258
+ [_wI, _n, _d, _cT],
1259
+ [[0, 1], [0, 1], 21, [0, 4]],
1260
+ ];
1261
+ var PutRuleGroupsNamespaceResponse = [
1262
+ 3,
1263
+ n0,
1264
+ _PRGNRu,
1265
+ 0,
1266
+ [_n, _a, _s, _t],
1267
+ [0, 0, () => RuleGroupsNamespaceStatus, 128 | 0],
1268
+ ];
1269
+ var QueryLoggingConfigurationMetadata = [
1270
+ 3,
1271
+ n0,
1272
+ _QLCM,
1273
+ 0,
1274
+ [_s, _w, _de, _cA, _mA],
1275
+ [() => QueryLoggingConfigurationStatus, 0, () => LoggingDestinations, 4, 4],
1276
+ ];
1277
+ var QueryLoggingConfigurationStatus = [3, n0, _QLCS, 0, [_sC, _sR], [0, 0]];
1278
+ var RandomCutForestConfiguration = [
1279
+ 3,
1280
+ n0,
1281
+ _RCFC,
1282
+ 0,
1283
+ [_q, _sS, _sSa, _iNEFA, _iNEFB],
1284
+ [0, 1, 1, () => IgnoreNearExpected, () => IgnoreNearExpected],
1285
+ ];
1286
+ var ResourceNotFoundException = [
1287
+ -3,
1288
+ n0,
1289
+ _RNFE,
1290
+ {
1291
+ [_e]: _c,
1292
+ [_hE]: 404,
1293
+ },
1294
+ [_m, _rI, _rT],
1295
+ [0, 0, 0],
1296
+ ];
1297
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1298
+ var RoleConfiguration = [3, n0, _RC, 0, [_sRA, _tRA], [0, 0]];
1299
+ var RuleGroupsNamespaceDescription = [
1300
+ 3,
1301
+ n0,
1302
+ _RGND,
1303
+ 0,
1304
+ [_a, _n, _s, _d, _cA, _mA, _t],
1305
+ [0, 0, () => RuleGroupsNamespaceStatus, 21, 4, 4, 128 | 0],
1306
+ ];
1307
+ var RuleGroupsNamespaceStatus = [3, n0, _RGNS, 0, [_sC, _sR], [0, 0]];
1308
+ var RuleGroupsNamespaceSummary = [
1309
+ 3,
1310
+ n0,
1311
+ _RGNSu,
1312
+ 0,
1313
+ [_a, _n, _s, _cA, _mA, _t],
1314
+ [0, 0, () => RuleGroupsNamespaceStatus, 4, 4, 128 | 0],
1315
+ ];
1316
+ var ScraperComponent = [3, n0, _SC, 0, [_ty, _con], [0, () => ComponentConfig]];
1317
+ var ScraperDescription = [
1318
+ 3,
1319
+ n0,
1320
+ _SD,
1321
+ 0,
1322
+ [_al, _sI, _a, _rAo, _s, _cA, _lMA, _t, _sR, _sCc, _so, _des, _rC],
1323
+ [
1324
+ 0,
1325
+ 0,
1326
+ 0,
1327
+ 0,
1328
+ () => ScraperStatus,
1329
+ 4,
1330
+ 4,
1331
+ 128 | 0,
1332
+ 0,
1333
+ () => ScrapeConfiguration,
1334
+ () => Source,
1335
+ () => Destination,
1336
+ () => RoleConfiguration,
1337
+ ],
1338
+ ];
1339
+ var ScraperLoggingConfigurationStatus = [3, n0, _SLCS, 0, [_sC, _sR], [0, 0]];
1340
+ var ScraperStatus = [3, n0, _SS, 0, [_sC], [0]];
1341
+ var ScraperSummary = [
1342
+ 3,
1343
+ n0,
1344
+ _SSc,
1345
+ 0,
1346
+ [_al, _sI, _a, _rAo, _s, _cA, _lMA, _t, _sR, _so, _des, _rC],
1347
+ [0, 0, 0, 0, () => ScraperStatus, 4, 4, 128 | 0, 0, () => Source, () => Destination, () => RoleConfiguration],
1348
+ ];
1349
+ var ServiceQuotaExceededException = [
1350
+ -3,
1351
+ n0,
1352
+ _SQEE,
1353
+ {
1354
+ [_e]: _c,
1355
+ [_hE]: 402,
1356
+ },
1357
+ [_m, _rI, _rT, _sCe, _qC],
1358
+ [0, 0, 0, 0, 0],
1359
+ ];
1360
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1361
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
1362
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1363
+ var ThrottlingException = [
1364
+ -3,
1365
+ n0,
1366
+ _TE,
1367
+ {
1368
+ [_e]: _c,
1369
+ [_hE]: 429,
1370
+ },
1371
+ [_m, _sCe, _qC, _rAS],
1372
+ [
1373
+ 0,
1374
+ 0,
1375
+ 0,
1376
+ [
1377
+ 1,
1378
+ {
1379
+ [_hH]: _RA,
1380
+ },
1381
+ ],
1382
+ ],
1383
+ ];
1384
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1385
+ var UntagResourceRequest = [
1386
+ 3,
1387
+ n0,
1388
+ _URR,
1389
+ 0,
1390
+ [_rA, _tK],
1391
+ [
1392
+ [0, 1],
1393
+ [
1394
+ 64 | 0,
1395
+ {
1396
+ [_hQ]: _tK,
1397
+ },
1398
+ ],
1399
+ ],
1400
+ ];
1401
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1402
+ var UpdateLoggingConfigurationRequest = [
1403
+ 3,
1404
+ n0,
1405
+ _ULCR,
1406
+ 0,
1407
+ [_wI, _lGA, _cT],
1408
+ [[0, 1], 0, [0, 4]],
1409
+ ];
1410
+ var UpdateLoggingConfigurationResponse = [
1411
+ 3,
1412
+ n0,
1413
+ _ULCRp,
1414
+ 0,
1415
+ [_s],
1416
+ [() => LoggingConfigurationStatus],
1417
+ ];
1418
+ var UpdateQueryLoggingConfigurationRequest = [
1419
+ 3,
1420
+ n0,
1421
+ _UQLCR,
1422
+ 0,
1423
+ [_wI, _de, _cT],
1424
+ [[0, 1], () => LoggingDestinations, [0, 4]],
1425
+ ];
1426
+ var UpdateQueryLoggingConfigurationResponse = [
1427
+ 3,
1428
+ n0,
1429
+ _UQLCRp,
1430
+ 0,
1431
+ [_s],
1432
+ [() => QueryLoggingConfigurationStatus],
1433
+ ];
1434
+ var UpdateScraperLoggingConfigurationRequest = [
1435
+ 3,
1436
+ n0,
1437
+ _USLCR,
1438
+ 0,
1439
+ [_sI, _lD, _sCcr],
1440
+ [[0, 1], () => ScraperLoggingDestination, () => ScraperComponents],
1441
+ ];
1442
+ var UpdateScraperLoggingConfigurationResponse = [
1443
+ 3,
1444
+ n0,
1445
+ _USLCRp,
1446
+ 0,
1447
+ [_s],
1448
+ [() => ScraperLoggingConfigurationStatus],
1449
+ ];
1450
+ var UpdateScraperRequest = [
1451
+ 3,
1452
+ n0,
1453
+ _USR,
1454
+ 0,
1455
+ [_sI, _al, _sCc, _des, _rC, _cT],
1456
+ [[0, 1], 0, () => ScrapeConfiguration, () => Destination, () => RoleConfiguration, [0, 4]],
1457
+ ];
1458
+ var UpdateScraperResponse = [
1459
+ 3,
1460
+ n0,
1461
+ _USRp,
1462
+ 0,
1463
+ [_sI, _a, _s, _t],
1464
+ [0, 0, () => ScraperStatus, 128 | 0],
1465
+ ];
1466
+ var UpdateWorkspaceAliasRequest = [3, n0, _UWAR, 0, [_wI, _al, _cT], [[0, 1], 0, [0, 4]]];
1467
+ var UpdateWorkspaceConfigurationRequest = [
1468
+ 3,
1469
+ n0,
1470
+ _UWCR,
1471
+ 0,
1472
+ [_wI, _cT, _lPLS, _rPID],
1473
+ [[0, 1], [0, 4], () => LimitsPerLabelSetList, 1],
1474
+ ];
1475
+ var UpdateWorkspaceConfigurationResponse = [
1476
+ 3,
1477
+ n0,
1478
+ _UWCRp,
1479
+ 0,
1480
+ [_s],
1481
+ [() => WorkspaceConfigurationStatus],
1482
+ ];
1483
+ var ValidationException = [
1484
+ -3,
1485
+ n0,
1486
+ _VE,
1487
+ {
1488
+ [_e]: _c,
1489
+ [_hE]: 400,
1490
+ },
1491
+ [_m, _r, _fL],
1492
+ [0, 0, () => ValidationExceptionFieldList],
1493
+ ];
1494
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1495
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
1496
+ var VpcConfiguration = [3, n0, _VC, 0, [_sGI, _sIu], [64 | 0, 64 | 0]];
1497
+ var WorkspaceConfigurationDescription = [
1498
+ 3,
1499
+ n0,
1500
+ _WCD,
1501
+ 0,
1502
+ [_s, _lPLS, _rPID],
1503
+ [() => WorkspaceConfigurationStatus, () => LimitsPerLabelSetList, 1],
1504
+ ];
1505
+ var WorkspaceConfigurationStatus = [3, n0, _WCS, 0, [_sC, _sR], [0, 0]];
1506
+ var WorkspaceDescription = [
1507
+ 3,
1508
+ n0,
1509
+ _WD,
1510
+ 0,
1511
+ [_wI, _al, _a, _s, _pE, _cA, _t, _kKA],
1512
+ [0, 0, 0, () => WorkspaceStatus, 0, 4, 128 | 0, 0],
1513
+ ];
1514
+ var WorkspaceStatus = [3, n0, _WS, 0, [_sC], [0]];
1515
+ var WorkspaceSummary = [
1516
+ 3,
1517
+ n0,
1518
+ _WSo,
1519
+ 0,
1520
+ [_wI, _al, _a, _s, _cA, _t, _kKA],
1521
+ [0, 0, 0, () => WorkspaceStatus, 4, 128 | 0, 0],
1522
+ ];
1523
+ var __Unit = "unit";
1524
+ var AmpServiceException = [-3, _sm, "AmpServiceException", 0, [], []];
1525
+ schema.TypeRegistry.for(_sm).registerError(AmpServiceException, AmpServiceException$1);
1526
+ var AnomalyDetectorSummaryList = [1, n0, _ADSL, 0, () => AnomalyDetectorSummary];
1527
+ var LimitsPerLabelSetList = [1, n0, _LPLSL, 0, () => LimitsPerLabelSet];
1528
+ var LoggingDestinations = [1, n0, _LDo, 0, () => LoggingDestination];
1529
+ var RuleGroupsNamespaceSummaryList = [1, n0, _RGNSL, 0, () => RuleGroupsNamespaceSummary];
1530
+ var ScraperComponents = [1, n0, _SCc, 0, () => ScraperComponent];
1531
+ var ScraperSummaryList = [1, n0, _SSL, 0, () => ScraperSummary];
1532
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1533
+ var WorkspaceSummaryList = [1, n0, _WSL, 0, () => WorkspaceSummary];
1534
+ var AnomalyDetectorConfiguration = [
1535
+ 3,
1536
+ n0,
1537
+ _ADC,
1538
+ 0,
1539
+ [_rCF],
1540
+ [() => RandomCutForestConfiguration],
1541
+ ];
1542
+ var AnomalyDetectorMissingDataAction = [3, n0, _ADMDA, 0, [_mAA, _sk], [2, 2]];
1543
+ var Destination = [3, n0, _D, 0, [_aC], [() => AmpConfiguration]];
1544
+ var IgnoreNearExpected = [3, n0, _INE, 0, [_am, _ra], [1, 1]];
1545
+ var ScrapeConfiguration = [3, n0, _SCcr, 0, [_cB], [21]];
1546
+ var ScraperLoggingDestination = [
1547
+ 3,
1548
+ n0,
1549
+ _SLD,
1550
+ 0,
1551
+ [_cWL],
1552
+ [() => CloudWatchLogDestination],
1553
+ ];
1554
+ var Source = [3, n0, _S, 0, [_eC, _vC], [() => EksConfiguration, () => VpcConfiguration]];
1555
+ var CreateAlertManagerDefinition = [
1556
+ 9,
1557
+ n0,
1558
+ _CAMD,
1559
+ {
1560
+ [_h]: ["POST", "/workspaces/{workspaceId}/alertmanager/definition", 202],
1561
+ },
1562
+ () => CreateAlertManagerDefinitionRequest,
1563
+ () => CreateAlertManagerDefinitionResponse,
1564
+ ];
1565
+ var CreateAnomalyDetector = [
1566
+ 9,
1567
+ n0,
1568
+ _CAD,
1569
+ {
1570
+ [_h]: ["POST", "/workspaces/{workspaceId}/anomalydetectors", 202],
1571
+ },
1572
+ () => CreateAnomalyDetectorRequest,
1573
+ () => CreateAnomalyDetectorResponse,
1574
+ ];
1575
+ var CreateLoggingConfiguration = [
1576
+ 9,
1577
+ n0,
1578
+ _CLC,
1579
+ {
1580
+ [_h]: ["POST", "/workspaces/{workspaceId}/logging", 202],
1581
+ },
1582
+ () => CreateLoggingConfigurationRequest,
1583
+ () => CreateLoggingConfigurationResponse,
1584
+ ];
1585
+ var CreateQueryLoggingConfiguration = [
1586
+ 9,
1587
+ n0,
1588
+ _CQLC,
1589
+ {
1590
+ [_h]: ["POST", "/workspaces/{workspaceId}/logging/query", 202],
1591
+ },
1592
+ () => CreateQueryLoggingConfigurationRequest,
1593
+ () => CreateQueryLoggingConfigurationResponse,
1594
+ ];
1595
+ var CreateRuleGroupsNamespace = [
1596
+ 9,
1597
+ n0,
1598
+ _CRGN,
1599
+ {
1600
+ [_h]: ["POST", "/workspaces/{workspaceId}/rulegroupsnamespaces", 202],
1601
+ },
1602
+ () => CreateRuleGroupsNamespaceRequest,
1603
+ () => CreateRuleGroupsNamespaceResponse,
1604
+ ];
1605
+ var CreateScraper = [
1606
+ 9,
1607
+ n0,
1608
+ _CS,
1609
+ {
1610
+ [_h]: ["POST", "/scrapers", 202],
1611
+ },
1612
+ () => CreateScraperRequest,
1613
+ () => CreateScraperResponse,
1614
+ ];
1615
+ var CreateWorkspace = [
1616
+ 9,
1617
+ n0,
1618
+ _CW,
1619
+ {
1620
+ [_h]: ["POST", "/workspaces", 202],
1621
+ },
1622
+ () => CreateWorkspaceRequest,
1623
+ () => CreateWorkspaceResponse,
1624
+ ];
1625
+ var DeleteAlertManagerDefinition = [
1626
+ 9,
1627
+ n0,
1628
+ _DAMD,
1629
+ {
1630
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/alertmanager/definition", 202],
1631
+ },
1632
+ () => DeleteAlertManagerDefinitionRequest,
1633
+ () => __Unit,
1634
+ ];
1635
+ var DeleteAnomalyDetector = [
1636
+ 9,
1637
+ n0,
1638
+ _DAD,
1639
+ {
1640
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", 202],
1641
+ },
1642
+ () => DeleteAnomalyDetectorRequest,
1643
+ () => __Unit,
1644
+ ];
1645
+ var DeleteLoggingConfiguration = [
1646
+ 9,
1647
+ n0,
1648
+ _DLC,
1649
+ {
1650
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/logging", 202],
1651
+ },
1652
+ () => DeleteLoggingConfigurationRequest,
1653
+ () => __Unit,
1654
+ ];
1655
+ var DeleteQueryLoggingConfiguration = [
1656
+ 9,
1657
+ n0,
1658
+ _DQLC,
1659
+ {
1660
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/logging/query", 202],
1661
+ },
1662
+ () => DeleteQueryLoggingConfigurationRequest,
1663
+ () => __Unit,
1664
+ ];
1665
+ var DeleteResourcePolicy = [
1666
+ 9,
1667
+ n0,
1668
+ _DRP,
1669
+ {
1670
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/policy", 202],
1671
+ },
1672
+ () => DeleteResourcePolicyRequest,
1673
+ () => __Unit,
1674
+ ];
1675
+ var DeleteRuleGroupsNamespace = [
1676
+ 9,
1677
+ n0,
1678
+ _DRGN,
1679
+ {
1680
+ [_h]: ["DELETE", "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 202],
1681
+ },
1682
+ () => DeleteRuleGroupsNamespaceRequest,
1683
+ () => __Unit,
1684
+ ];
1685
+ var DeleteScraper = [
1686
+ 9,
1687
+ n0,
1688
+ _DS,
1689
+ {
1690
+ [_h]: ["DELETE", "/scrapers/{scraperId}", 202],
1691
+ },
1692
+ () => DeleteScraperRequest,
1693
+ () => DeleteScraperResponse,
1694
+ ];
1695
+ var DeleteScraperLoggingConfiguration = [
1696
+ 9,
1697
+ n0,
1698
+ _DSLC,
1699
+ {
1700
+ [_h]: ["DELETE", "/scrapers/{scraperId}/logging-configuration", 202],
1701
+ },
1702
+ () => DeleteScraperLoggingConfigurationRequest,
1703
+ () => __Unit,
1704
+ ];
1705
+ var DeleteWorkspace = [
1706
+ 9,
1707
+ n0,
1708
+ _DW,
1709
+ {
1710
+ [_h]: ["DELETE", "/workspaces/{workspaceId}", 202],
1711
+ },
1712
+ () => DeleteWorkspaceRequest,
1713
+ () => __Unit,
1714
+ ];
1715
+ var DescribeAlertManagerDefinition = [
1716
+ 9,
1717
+ n0,
1718
+ _DAMDe,
1719
+ {
1720
+ [_h]: ["GET", "/workspaces/{workspaceId}/alertmanager/definition", 200],
1721
+ },
1722
+ () => DescribeAlertManagerDefinitionRequest,
1723
+ () => DescribeAlertManagerDefinitionResponse,
1724
+ ];
1725
+ var DescribeAnomalyDetector = [
1726
+ 9,
1727
+ n0,
1728
+ _DADe,
1729
+ {
1730
+ [_h]: ["GET", "/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", 200],
1731
+ },
1732
+ () => DescribeAnomalyDetectorRequest,
1733
+ () => DescribeAnomalyDetectorResponse,
1734
+ ];
1735
+ var DescribeLoggingConfiguration = [
1736
+ 9,
1737
+ n0,
1738
+ _DLCe,
1739
+ {
1740
+ [_h]: ["GET", "/workspaces/{workspaceId}/logging", 200],
1741
+ },
1742
+ () => DescribeLoggingConfigurationRequest,
1743
+ () => DescribeLoggingConfigurationResponse,
1744
+ ];
1745
+ var DescribeQueryLoggingConfiguration = [
1746
+ 9,
1747
+ n0,
1748
+ _DQLCe,
1749
+ {
1750
+ [_h]: ["GET", "/workspaces/{workspaceId}/logging/query", 200],
1751
+ },
1752
+ () => DescribeQueryLoggingConfigurationRequest,
1753
+ () => DescribeQueryLoggingConfigurationResponse,
1754
+ ];
1755
+ var DescribeResourcePolicy = [
1756
+ 9,
1757
+ n0,
1758
+ _DRPe,
1759
+ {
1760
+ [_h]: ["GET", "/workspaces/{workspaceId}/policy", 200],
1761
+ },
1762
+ () => DescribeResourcePolicyRequest,
1763
+ () => DescribeResourcePolicyResponse,
1764
+ ];
1765
+ var DescribeRuleGroupsNamespace = [
1766
+ 9,
1767
+ n0,
1768
+ _DRGNe,
1769
+ {
1770
+ [_h]: ["GET", "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 200],
1771
+ },
1772
+ () => DescribeRuleGroupsNamespaceRequest,
1773
+ () => DescribeRuleGroupsNamespaceResponse,
1774
+ ];
1775
+ var DescribeScraper = [
1776
+ 9,
1777
+ n0,
1778
+ _DSe,
1779
+ {
1780
+ [_h]: ["GET", "/scrapers/{scraperId}", 200],
1781
+ },
1782
+ () => DescribeScraperRequest,
1783
+ () => DescribeScraperResponse,
1784
+ ];
1785
+ var DescribeScraperLoggingConfiguration = [
1786
+ 9,
1787
+ n0,
1788
+ _DSLCe,
1789
+ {
1790
+ [_h]: ["GET", "/scrapers/{scraperId}/logging-configuration", 200],
1791
+ },
1792
+ () => DescribeScraperLoggingConfigurationRequest,
1793
+ () => DescribeScraperLoggingConfigurationResponse,
1794
+ ];
1795
+ var DescribeWorkspace = [
1796
+ 9,
1797
+ n0,
1798
+ _DWe,
1799
+ {
1800
+ [_h]: ["GET", "/workspaces/{workspaceId}", 200],
1801
+ },
1802
+ () => DescribeWorkspaceRequest,
1803
+ () => DescribeWorkspaceResponse,
1804
+ ];
1805
+ var DescribeWorkspaceConfiguration = [
1806
+ 9,
1807
+ n0,
1808
+ _DWC,
1809
+ {
1810
+ [_h]: ["GET", "/workspaces/{workspaceId}/configuration", 200],
1811
+ },
1812
+ () => DescribeWorkspaceConfigurationRequest,
1813
+ () => DescribeWorkspaceConfigurationResponse,
1814
+ ];
1815
+ var GetDefaultScraperConfiguration = [
1816
+ 9,
1817
+ n0,
1818
+ _GDSC,
1819
+ {
1820
+ [_h]: ["GET", "/scraperconfiguration", 200],
1821
+ },
1822
+ () => GetDefaultScraperConfigurationRequest,
1823
+ () => GetDefaultScraperConfigurationResponse,
1824
+ ];
1825
+ var ListAnomalyDetectors = [
1826
+ 9,
1827
+ n0,
1828
+ _LAD,
1829
+ {
1830
+ [_h]: ["GET", "/workspaces/{workspaceId}/anomalydetectors", 200],
1831
+ },
1832
+ () => ListAnomalyDetectorsRequest,
1833
+ () => ListAnomalyDetectorsResponse,
1834
+ ];
1835
+ var ListRuleGroupsNamespaces = [
1836
+ 9,
1837
+ n0,
1838
+ _LRGN,
1839
+ {
1840
+ [_h]: ["GET", "/workspaces/{workspaceId}/rulegroupsnamespaces", 200],
1841
+ },
1842
+ () => ListRuleGroupsNamespacesRequest,
1843
+ () => ListRuleGroupsNamespacesResponse,
1844
+ ];
1845
+ var ListScrapers = [
1846
+ 9,
1847
+ n0,
1848
+ _LS,
1849
+ {
1850
+ [_h]: ["GET", "/scrapers", 200],
1851
+ },
1852
+ () => ListScrapersRequest,
1853
+ () => ListScrapersResponse,
1854
+ ];
1855
+ var ListTagsForResource = [
1856
+ 9,
1857
+ n0,
1858
+ _LTFR,
1859
+ {
1860
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1861
+ },
1862
+ () => ListTagsForResourceRequest,
1863
+ () => ListTagsForResourceResponse,
1864
+ ];
1865
+ var ListWorkspaces = [
1866
+ 9,
1867
+ n0,
1868
+ _LW,
1869
+ {
1870
+ [_h]: ["GET", "/workspaces", 200],
1871
+ },
1872
+ () => ListWorkspacesRequest,
1873
+ () => ListWorkspacesResponse,
1874
+ ];
1875
+ var PutAlertManagerDefinition = [
1876
+ 9,
1877
+ n0,
1878
+ _PAMD,
1879
+ {
1880
+ [_h]: ["PUT", "/workspaces/{workspaceId}/alertmanager/definition", 202],
1881
+ },
1882
+ () => PutAlertManagerDefinitionRequest,
1883
+ () => PutAlertManagerDefinitionResponse,
1884
+ ];
1885
+ var PutAnomalyDetector = [
1886
+ 9,
1887
+ n0,
1888
+ _PAD,
1889
+ {
1890
+ [_h]: ["PUT", "/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", 202],
1891
+ },
1892
+ () => PutAnomalyDetectorRequest,
1893
+ () => PutAnomalyDetectorResponse,
1894
+ ];
1895
+ var PutResourcePolicy = [
1896
+ 9,
1897
+ n0,
1898
+ _PRP,
1899
+ {
1900
+ [_h]: ["PUT", "/workspaces/{workspaceId}/policy", 202],
1901
+ },
1902
+ () => PutResourcePolicyRequest,
1903
+ () => PutResourcePolicyResponse,
1904
+ ];
1905
+ var PutRuleGroupsNamespace = [
1906
+ 9,
1907
+ n0,
1908
+ _PRGN,
1909
+ {
1910
+ [_h]: ["PUT", "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 202],
1911
+ },
1912
+ () => PutRuleGroupsNamespaceRequest,
1913
+ () => PutRuleGroupsNamespaceResponse,
1914
+ ];
1915
+ var TagResource = [
1916
+ 9,
1917
+ n0,
1918
+ _TR,
1919
+ {
1920
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
1921
+ },
1922
+ () => TagResourceRequest,
1923
+ () => TagResourceResponse,
1924
+ ];
1925
+ var UntagResource = [
1926
+ 9,
1927
+ n0,
1928
+ _UR,
1929
+ {
1930
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1931
+ },
1932
+ () => UntagResourceRequest,
1933
+ () => UntagResourceResponse,
1934
+ ];
1935
+ var UpdateLoggingConfiguration = [
1936
+ 9,
1937
+ n0,
1938
+ _ULC,
1939
+ {
1940
+ [_h]: ["PUT", "/workspaces/{workspaceId}/logging", 202],
1941
+ },
1942
+ () => UpdateLoggingConfigurationRequest,
1943
+ () => UpdateLoggingConfigurationResponse,
1944
+ ];
1945
+ var UpdateQueryLoggingConfiguration = [
1946
+ 9,
1947
+ n0,
1948
+ _UQLC,
1949
+ {
1950
+ [_h]: ["PUT", "/workspaces/{workspaceId}/logging/query", 202],
1951
+ },
1952
+ () => UpdateQueryLoggingConfigurationRequest,
1953
+ () => UpdateQueryLoggingConfigurationResponse,
1954
+ ];
1955
+ var UpdateScraper = [
1956
+ 9,
1957
+ n0,
1958
+ _US,
1959
+ {
1960
+ [_h]: ["PUT", "/scrapers/{scraperId}", 202],
1961
+ },
1962
+ () => UpdateScraperRequest,
1963
+ () => UpdateScraperResponse,
1964
+ ];
1965
+ var UpdateScraperLoggingConfiguration = [
1966
+ 9,
1967
+ n0,
1968
+ _USLC,
1969
+ {
1970
+ [_h]: ["PUT", "/scrapers/{scraperId}/logging-configuration", 202],
1971
+ },
1972
+ () => UpdateScraperLoggingConfigurationRequest,
1973
+ () => UpdateScraperLoggingConfigurationResponse,
1974
+ ];
1975
+ var UpdateWorkspaceAlias = [
1976
+ 9,
1977
+ n0,
1978
+ _UWA,
1979
+ {
1980
+ [_h]: ["POST", "/workspaces/{workspaceId}/alias", 204],
1981
+ },
1982
+ () => UpdateWorkspaceAliasRequest,
1983
+ () => __Unit,
1984
+ ];
1985
+ var UpdateWorkspaceConfiguration = [
1986
+ 9,
1987
+ n0,
1988
+ _UWC,
1989
+ {
1990
+ [_h]: ["PATCH", "/workspaces/{workspaceId}/configuration", 202],
1991
+ },
1992
+ () => UpdateWorkspaceConfigurationRequest,
1993
+ () => UpdateWorkspaceConfigurationResponse,
1994
+ ];
1950
1995
 
1951
1996
  class CreateAlertManagerDefinitionCommand extends smithyClient.Command
1952
1997
  .classBuilder()
1953
1998
  .ep(commonParams)
1954
1999
  .m(function (Command, cs, config, o) {
1955
- return [
1956
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1957
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1958
- ];
2000
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1959
2001
  })
1960
2002
  .s("AmazonPrometheusService", "CreateAlertManagerDefinition", {})
1961
2003
  .n("AmpClient", "CreateAlertManagerDefinitionCommand")
1962
- .f(void 0, void 0)
1963
- .ser(se_CreateAlertManagerDefinitionCommand)
1964
- .de(de_CreateAlertManagerDefinitionCommand)
2004
+ .sc(CreateAlertManagerDefinition)
1965
2005
  .build() {
1966
2006
  }
1967
2007
 
@@ -1969,16 +2009,11 @@ class CreateAnomalyDetectorCommand extends smithyClient.Command
1969
2009
  .classBuilder()
1970
2010
  .ep(commonParams)
1971
2011
  .m(function (Command, cs, config, o) {
1972
- return [
1973
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1974
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1975
- ];
2012
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1976
2013
  })
1977
2014
  .s("AmazonPrometheusService", "CreateAnomalyDetector", {})
1978
2015
  .n("AmpClient", "CreateAnomalyDetectorCommand")
1979
- .f(void 0, void 0)
1980
- .ser(se_CreateAnomalyDetectorCommand)
1981
- .de(de_CreateAnomalyDetectorCommand)
2016
+ .sc(CreateAnomalyDetector)
1982
2017
  .build() {
1983
2018
  }
1984
2019
 
@@ -1986,16 +2021,11 @@ class CreateLoggingConfigurationCommand extends smithyClient.Command
1986
2021
  .classBuilder()
1987
2022
  .ep(commonParams)
1988
2023
  .m(function (Command, cs, config, o) {
1989
- return [
1990
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1991
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1992
- ];
2024
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1993
2025
  })
1994
2026
  .s("AmazonPrometheusService", "CreateLoggingConfiguration", {})
1995
2027
  .n("AmpClient", "CreateLoggingConfigurationCommand")
1996
- .f(void 0, void 0)
1997
- .ser(se_CreateLoggingConfigurationCommand)
1998
- .de(de_CreateLoggingConfigurationCommand)
2028
+ .sc(CreateLoggingConfiguration)
1999
2029
  .build() {
2000
2030
  }
2001
2031
 
@@ -2003,16 +2033,11 @@ class CreateQueryLoggingConfigurationCommand extends smithyClient.Command
2003
2033
  .classBuilder()
2004
2034
  .ep(commonParams)
2005
2035
  .m(function (Command, cs, config, o) {
2006
- return [
2007
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2008
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2009
- ];
2036
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2010
2037
  })
2011
2038
  .s("AmazonPrometheusService", "CreateQueryLoggingConfiguration", {})
2012
2039
  .n("AmpClient", "CreateQueryLoggingConfigurationCommand")
2013
- .f(void 0, void 0)
2014
- .ser(se_CreateQueryLoggingConfigurationCommand)
2015
- .de(de_CreateQueryLoggingConfigurationCommand)
2040
+ .sc(CreateQueryLoggingConfiguration)
2016
2041
  .build() {
2017
2042
  }
2018
2043
 
@@ -2020,16 +2045,11 @@ class CreateRuleGroupsNamespaceCommand extends smithyClient.Command
2020
2045
  .classBuilder()
2021
2046
  .ep(commonParams)
2022
2047
  .m(function (Command, cs, config, o) {
2023
- return [
2024
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2025
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2026
- ];
2048
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2027
2049
  })
2028
2050
  .s("AmazonPrometheusService", "CreateRuleGroupsNamespace", {})
2029
2051
  .n("AmpClient", "CreateRuleGroupsNamespaceCommand")
2030
- .f(void 0, void 0)
2031
- .ser(se_CreateRuleGroupsNamespaceCommand)
2032
- .de(de_CreateRuleGroupsNamespaceCommand)
2052
+ .sc(CreateRuleGroupsNamespace)
2033
2053
  .build() {
2034
2054
  }
2035
2055
 
@@ -2037,16 +2057,11 @@ class CreateScraperCommand extends smithyClient.Command
2037
2057
  .classBuilder()
2038
2058
  .ep(commonParams)
2039
2059
  .m(function (Command, cs, config, o) {
2040
- return [
2041
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2042
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2043
- ];
2060
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2044
2061
  })
2045
2062
  .s("AmazonPrometheusService", "CreateScraper", {})
2046
2063
  .n("AmpClient", "CreateScraperCommand")
2047
- .f(void 0, void 0)
2048
- .ser(se_CreateScraperCommand)
2049
- .de(de_CreateScraperCommand)
2064
+ .sc(CreateScraper)
2050
2065
  .build() {
2051
2066
  }
2052
2067
 
@@ -2054,16 +2069,11 @@ class CreateWorkspaceCommand extends smithyClient.Command
2054
2069
  .classBuilder()
2055
2070
  .ep(commonParams)
2056
2071
  .m(function (Command, cs, config, o) {
2057
- return [
2058
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2059
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2060
- ];
2072
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2061
2073
  })
2062
2074
  .s("AmazonPrometheusService", "CreateWorkspace", {})
2063
2075
  .n("AmpClient", "CreateWorkspaceCommand")
2064
- .f(void 0, void 0)
2065
- .ser(se_CreateWorkspaceCommand)
2066
- .de(de_CreateWorkspaceCommand)
2076
+ .sc(CreateWorkspace)
2067
2077
  .build() {
2068
2078
  }
2069
2079
 
@@ -2071,16 +2081,11 @@ class DeleteAlertManagerDefinitionCommand extends smithyClient.Command
2071
2081
  .classBuilder()
2072
2082
  .ep(commonParams)
2073
2083
  .m(function (Command, cs, config, o) {
2074
- return [
2075
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2076
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2077
- ];
2084
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2078
2085
  })
2079
2086
  .s("AmazonPrometheusService", "DeleteAlertManagerDefinition", {})
2080
2087
  .n("AmpClient", "DeleteAlertManagerDefinitionCommand")
2081
- .f(void 0, void 0)
2082
- .ser(se_DeleteAlertManagerDefinitionCommand)
2083
- .de(de_DeleteAlertManagerDefinitionCommand)
2088
+ .sc(DeleteAlertManagerDefinition)
2084
2089
  .build() {
2085
2090
  }
2086
2091
 
@@ -2088,16 +2093,11 @@ class DeleteAnomalyDetectorCommand extends smithyClient.Command
2088
2093
  .classBuilder()
2089
2094
  .ep(commonParams)
2090
2095
  .m(function (Command, cs, config, o) {
2091
- return [
2092
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2093
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2094
- ];
2096
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2095
2097
  })
2096
2098
  .s("AmazonPrometheusService", "DeleteAnomalyDetector", {})
2097
2099
  .n("AmpClient", "DeleteAnomalyDetectorCommand")
2098
- .f(void 0, void 0)
2099
- .ser(se_DeleteAnomalyDetectorCommand)
2100
- .de(de_DeleteAnomalyDetectorCommand)
2100
+ .sc(DeleteAnomalyDetector)
2101
2101
  .build() {
2102
2102
  }
2103
2103
 
@@ -2105,16 +2105,11 @@ class DeleteLoggingConfigurationCommand extends smithyClient.Command
2105
2105
  .classBuilder()
2106
2106
  .ep(commonParams)
2107
2107
  .m(function (Command, cs, config, o) {
2108
- return [
2109
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2110
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2111
- ];
2108
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2112
2109
  })
2113
2110
  .s("AmazonPrometheusService", "DeleteLoggingConfiguration", {})
2114
2111
  .n("AmpClient", "DeleteLoggingConfigurationCommand")
2115
- .f(void 0, void 0)
2116
- .ser(se_DeleteLoggingConfigurationCommand)
2117
- .de(de_DeleteLoggingConfigurationCommand)
2112
+ .sc(DeleteLoggingConfiguration)
2118
2113
  .build() {
2119
2114
  }
2120
2115
 
@@ -2122,16 +2117,11 @@ class DeleteQueryLoggingConfigurationCommand extends smithyClient.Command
2122
2117
  .classBuilder()
2123
2118
  .ep(commonParams)
2124
2119
  .m(function (Command, cs, config, o) {
2125
- return [
2126
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2127
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2128
- ];
2120
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2129
2121
  })
2130
2122
  .s("AmazonPrometheusService", "DeleteQueryLoggingConfiguration", {})
2131
2123
  .n("AmpClient", "DeleteQueryLoggingConfigurationCommand")
2132
- .f(void 0, void 0)
2133
- .ser(se_DeleteQueryLoggingConfigurationCommand)
2134
- .de(de_DeleteQueryLoggingConfigurationCommand)
2124
+ .sc(DeleteQueryLoggingConfiguration)
2135
2125
  .build() {
2136
2126
  }
2137
2127
 
@@ -2139,16 +2129,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
2139
2129
  .classBuilder()
2140
2130
  .ep(commonParams)
2141
2131
  .m(function (Command, cs, config, o) {
2142
- return [
2143
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2144
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2145
- ];
2132
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2146
2133
  })
2147
2134
  .s("AmazonPrometheusService", "DeleteResourcePolicy", {})
2148
2135
  .n("AmpClient", "DeleteResourcePolicyCommand")
2149
- .f(void 0, void 0)
2150
- .ser(se_DeleteResourcePolicyCommand)
2151
- .de(de_DeleteResourcePolicyCommand)
2136
+ .sc(DeleteResourcePolicy)
2152
2137
  .build() {
2153
2138
  }
2154
2139
 
@@ -2156,16 +2141,11 @@ class DeleteRuleGroupsNamespaceCommand extends smithyClient.Command
2156
2141
  .classBuilder()
2157
2142
  .ep(commonParams)
2158
2143
  .m(function (Command, cs, config, o) {
2159
- return [
2160
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2161
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2162
- ];
2144
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2163
2145
  })
2164
2146
  .s("AmazonPrometheusService", "DeleteRuleGroupsNamespace", {})
2165
2147
  .n("AmpClient", "DeleteRuleGroupsNamespaceCommand")
2166
- .f(void 0, void 0)
2167
- .ser(se_DeleteRuleGroupsNamespaceCommand)
2168
- .de(de_DeleteRuleGroupsNamespaceCommand)
2148
+ .sc(DeleteRuleGroupsNamespace)
2169
2149
  .build() {
2170
2150
  }
2171
2151
 
@@ -2173,16 +2153,11 @@ class DeleteScraperCommand extends smithyClient.Command
2173
2153
  .classBuilder()
2174
2154
  .ep(commonParams)
2175
2155
  .m(function (Command, cs, config, o) {
2176
- return [
2177
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2178
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2179
- ];
2156
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2180
2157
  })
2181
2158
  .s("AmazonPrometheusService", "DeleteScraper", {})
2182
2159
  .n("AmpClient", "DeleteScraperCommand")
2183
- .f(void 0, void 0)
2184
- .ser(se_DeleteScraperCommand)
2185
- .de(de_DeleteScraperCommand)
2160
+ .sc(DeleteScraper)
2186
2161
  .build() {
2187
2162
  }
2188
2163
 
@@ -2190,16 +2165,11 @@ class DeleteScraperLoggingConfigurationCommand extends smithyClient.Command
2190
2165
  .classBuilder()
2191
2166
  .ep(commonParams)
2192
2167
  .m(function (Command, cs, config, o) {
2193
- return [
2194
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2195
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2196
- ];
2168
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2197
2169
  })
2198
2170
  .s("AmazonPrometheusService", "DeleteScraperLoggingConfiguration", {})
2199
2171
  .n("AmpClient", "DeleteScraperLoggingConfigurationCommand")
2200
- .f(void 0, void 0)
2201
- .ser(se_DeleteScraperLoggingConfigurationCommand)
2202
- .de(de_DeleteScraperLoggingConfigurationCommand)
2172
+ .sc(DeleteScraperLoggingConfiguration)
2203
2173
  .build() {
2204
2174
  }
2205
2175
 
@@ -2207,16 +2177,11 @@ class DeleteWorkspaceCommand extends smithyClient.Command
2207
2177
  .classBuilder()
2208
2178
  .ep(commonParams)
2209
2179
  .m(function (Command, cs, config, o) {
2210
- return [
2211
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2212
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2213
- ];
2180
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2214
2181
  })
2215
2182
  .s("AmazonPrometheusService", "DeleteWorkspace", {})
2216
2183
  .n("AmpClient", "DeleteWorkspaceCommand")
2217
- .f(void 0, void 0)
2218
- .ser(se_DeleteWorkspaceCommand)
2219
- .de(de_DeleteWorkspaceCommand)
2184
+ .sc(DeleteWorkspace)
2220
2185
  .build() {
2221
2186
  }
2222
2187
 
@@ -2224,16 +2189,11 @@ class DescribeAlertManagerDefinitionCommand extends smithyClient.Command
2224
2189
  .classBuilder()
2225
2190
  .ep(commonParams)
2226
2191
  .m(function (Command, cs, config, o) {
2227
- return [
2228
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2229
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2230
- ];
2192
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2231
2193
  })
2232
2194
  .s("AmazonPrometheusService", "DescribeAlertManagerDefinition", {})
2233
2195
  .n("AmpClient", "DescribeAlertManagerDefinitionCommand")
2234
- .f(void 0, void 0)
2235
- .ser(se_DescribeAlertManagerDefinitionCommand)
2236
- .de(de_DescribeAlertManagerDefinitionCommand)
2196
+ .sc(DescribeAlertManagerDefinition)
2237
2197
  .build() {
2238
2198
  }
2239
2199
 
@@ -2241,16 +2201,11 @@ class DescribeAnomalyDetectorCommand extends smithyClient.Command
2241
2201
  .classBuilder()
2242
2202
  .ep(commonParams)
2243
2203
  .m(function (Command, cs, config, o) {
2244
- return [
2245
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2246
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2247
- ];
2204
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2248
2205
  })
2249
2206
  .s("AmazonPrometheusService", "DescribeAnomalyDetector", {})
2250
2207
  .n("AmpClient", "DescribeAnomalyDetectorCommand")
2251
- .f(void 0, void 0)
2252
- .ser(se_DescribeAnomalyDetectorCommand)
2253
- .de(de_DescribeAnomalyDetectorCommand)
2208
+ .sc(DescribeAnomalyDetector)
2254
2209
  .build() {
2255
2210
  }
2256
2211
 
@@ -2258,16 +2213,11 @@ class DescribeLoggingConfigurationCommand extends smithyClient.Command
2258
2213
  .classBuilder()
2259
2214
  .ep(commonParams)
2260
2215
  .m(function (Command, cs, config, o) {
2261
- return [
2262
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2263
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2264
- ];
2216
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2265
2217
  })
2266
2218
  .s("AmazonPrometheusService", "DescribeLoggingConfiguration", {})
2267
2219
  .n("AmpClient", "DescribeLoggingConfigurationCommand")
2268
- .f(void 0, void 0)
2269
- .ser(se_DescribeLoggingConfigurationCommand)
2270
- .de(de_DescribeLoggingConfigurationCommand)
2220
+ .sc(DescribeLoggingConfiguration)
2271
2221
  .build() {
2272
2222
  }
2273
2223
 
@@ -2275,16 +2225,11 @@ class DescribeQueryLoggingConfigurationCommand extends smithyClient.Command
2275
2225
  .classBuilder()
2276
2226
  .ep(commonParams)
2277
2227
  .m(function (Command, cs, config, o) {
2278
- return [
2279
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2280
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2281
- ];
2228
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2282
2229
  })
2283
2230
  .s("AmazonPrometheusService", "DescribeQueryLoggingConfiguration", {})
2284
2231
  .n("AmpClient", "DescribeQueryLoggingConfigurationCommand")
2285
- .f(void 0, void 0)
2286
- .ser(se_DescribeQueryLoggingConfigurationCommand)
2287
- .de(de_DescribeQueryLoggingConfigurationCommand)
2232
+ .sc(DescribeQueryLoggingConfiguration)
2288
2233
  .build() {
2289
2234
  }
2290
2235
 
@@ -2292,16 +2237,11 @@ class DescribeResourcePolicyCommand extends smithyClient.Command
2292
2237
  .classBuilder()
2293
2238
  .ep(commonParams)
2294
2239
  .m(function (Command, cs, config, o) {
2295
- return [
2296
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2297
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2298
- ];
2240
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2299
2241
  })
2300
2242
  .s("AmazonPrometheusService", "DescribeResourcePolicy", {})
2301
2243
  .n("AmpClient", "DescribeResourcePolicyCommand")
2302
- .f(void 0, void 0)
2303
- .ser(se_DescribeResourcePolicyCommand)
2304
- .de(de_DescribeResourcePolicyCommand)
2244
+ .sc(DescribeResourcePolicy)
2305
2245
  .build() {
2306
2246
  }
2307
2247
 
@@ -2309,16 +2249,11 @@ class DescribeRuleGroupsNamespaceCommand extends smithyClient.Command
2309
2249
  .classBuilder()
2310
2250
  .ep(commonParams)
2311
2251
  .m(function (Command, cs, config, o) {
2312
- return [
2313
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2314
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2315
- ];
2252
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2316
2253
  })
2317
2254
  .s("AmazonPrometheusService", "DescribeRuleGroupsNamespace", {})
2318
2255
  .n("AmpClient", "DescribeRuleGroupsNamespaceCommand")
2319
- .f(void 0, void 0)
2320
- .ser(se_DescribeRuleGroupsNamespaceCommand)
2321
- .de(de_DescribeRuleGroupsNamespaceCommand)
2256
+ .sc(DescribeRuleGroupsNamespace)
2322
2257
  .build() {
2323
2258
  }
2324
2259
 
@@ -2326,16 +2261,11 @@ class DescribeScraperCommand extends smithyClient.Command
2326
2261
  .classBuilder()
2327
2262
  .ep(commonParams)
2328
2263
  .m(function (Command, cs, config, o) {
2329
- return [
2330
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2331
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2332
- ];
2264
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2333
2265
  })
2334
2266
  .s("AmazonPrometheusService", "DescribeScraper", {})
2335
2267
  .n("AmpClient", "DescribeScraperCommand")
2336
- .f(void 0, void 0)
2337
- .ser(se_DescribeScraperCommand)
2338
- .de(de_DescribeScraperCommand)
2268
+ .sc(DescribeScraper)
2339
2269
  .build() {
2340
2270
  }
2341
2271
 
@@ -2343,16 +2273,11 @@ class DescribeScraperLoggingConfigurationCommand extends smithyClient.Command
2343
2273
  .classBuilder()
2344
2274
  .ep(commonParams)
2345
2275
  .m(function (Command, cs, config, o) {
2346
- return [
2347
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2348
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2349
- ];
2276
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2350
2277
  })
2351
2278
  .s("AmazonPrometheusService", "DescribeScraperLoggingConfiguration", {})
2352
2279
  .n("AmpClient", "DescribeScraperLoggingConfigurationCommand")
2353
- .f(void 0, void 0)
2354
- .ser(se_DescribeScraperLoggingConfigurationCommand)
2355
- .de(de_DescribeScraperLoggingConfigurationCommand)
2280
+ .sc(DescribeScraperLoggingConfiguration)
2356
2281
  .build() {
2357
2282
  }
2358
2283
 
@@ -2360,16 +2285,11 @@ class DescribeWorkspaceCommand extends smithyClient.Command
2360
2285
  .classBuilder()
2361
2286
  .ep(commonParams)
2362
2287
  .m(function (Command, cs, config, o) {
2363
- return [
2364
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2365
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2366
- ];
2288
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2367
2289
  })
2368
2290
  .s("AmazonPrometheusService", "DescribeWorkspace", {})
2369
2291
  .n("AmpClient", "DescribeWorkspaceCommand")
2370
- .f(void 0, void 0)
2371
- .ser(se_DescribeWorkspaceCommand)
2372
- .de(de_DescribeWorkspaceCommand)
2292
+ .sc(DescribeWorkspace)
2373
2293
  .build() {
2374
2294
  }
2375
2295
 
@@ -2377,16 +2297,11 @@ class DescribeWorkspaceConfigurationCommand extends smithyClient.Command
2377
2297
  .classBuilder()
2378
2298
  .ep(commonParams)
2379
2299
  .m(function (Command, cs, config, o) {
2380
- return [
2381
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2382
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2383
- ];
2300
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2384
2301
  })
2385
2302
  .s("AmazonPrometheusService", "DescribeWorkspaceConfiguration", {})
2386
2303
  .n("AmpClient", "DescribeWorkspaceConfigurationCommand")
2387
- .f(void 0, void 0)
2388
- .ser(se_DescribeWorkspaceConfigurationCommand)
2389
- .de(de_DescribeWorkspaceConfigurationCommand)
2304
+ .sc(DescribeWorkspaceConfiguration)
2390
2305
  .build() {
2391
2306
  }
2392
2307
 
@@ -2394,16 +2309,11 @@ class GetDefaultScraperConfigurationCommand extends smithyClient.Command
2394
2309
  .classBuilder()
2395
2310
  .ep(commonParams)
2396
2311
  .m(function (Command, cs, config, o) {
2397
- return [
2398
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2399
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2400
- ];
2312
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2401
2313
  })
2402
2314
  .s("AmazonPrometheusService", "GetDefaultScraperConfiguration", {})
2403
2315
  .n("AmpClient", "GetDefaultScraperConfigurationCommand")
2404
- .f(void 0, void 0)
2405
- .ser(se_GetDefaultScraperConfigurationCommand)
2406
- .de(de_GetDefaultScraperConfigurationCommand)
2316
+ .sc(GetDefaultScraperConfiguration)
2407
2317
  .build() {
2408
2318
  }
2409
2319
 
@@ -2411,16 +2321,11 @@ class ListAnomalyDetectorsCommand extends smithyClient.Command
2411
2321
  .classBuilder()
2412
2322
  .ep(commonParams)
2413
2323
  .m(function (Command, cs, config, o) {
2414
- return [
2415
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2416
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2417
- ];
2324
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2418
2325
  })
2419
2326
  .s("AmazonPrometheusService", "ListAnomalyDetectors", {})
2420
2327
  .n("AmpClient", "ListAnomalyDetectorsCommand")
2421
- .f(void 0, void 0)
2422
- .ser(se_ListAnomalyDetectorsCommand)
2423
- .de(de_ListAnomalyDetectorsCommand)
2328
+ .sc(ListAnomalyDetectors)
2424
2329
  .build() {
2425
2330
  }
2426
2331
 
@@ -2428,16 +2333,11 @@ class ListRuleGroupsNamespacesCommand extends smithyClient.Command
2428
2333
  .classBuilder()
2429
2334
  .ep(commonParams)
2430
2335
  .m(function (Command, cs, config, o) {
2431
- return [
2432
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2433
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2434
- ];
2336
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2435
2337
  })
2436
2338
  .s("AmazonPrometheusService", "ListRuleGroupsNamespaces", {})
2437
2339
  .n("AmpClient", "ListRuleGroupsNamespacesCommand")
2438
- .f(void 0, void 0)
2439
- .ser(se_ListRuleGroupsNamespacesCommand)
2440
- .de(de_ListRuleGroupsNamespacesCommand)
2340
+ .sc(ListRuleGroupsNamespaces)
2441
2341
  .build() {
2442
2342
  }
2443
2343
 
@@ -2445,16 +2345,11 @@ class ListScrapersCommand extends smithyClient.Command
2445
2345
  .classBuilder()
2446
2346
  .ep(commonParams)
2447
2347
  .m(function (Command, cs, config, o) {
2448
- return [
2449
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2450
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2451
- ];
2348
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2452
2349
  })
2453
2350
  .s("AmazonPrometheusService", "ListScrapers", {})
2454
2351
  .n("AmpClient", "ListScrapersCommand")
2455
- .f(void 0, void 0)
2456
- .ser(se_ListScrapersCommand)
2457
- .de(de_ListScrapersCommand)
2352
+ .sc(ListScrapers)
2458
2353
  .build() {
2459
2354
  }
2460
2355
 
@@ -2462,16 +2357,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2462
2357
  .classBuilder()
2463
2358
  .ep(commonParams)
2464
2359
  .m(function (Command, cs, config, o) {
2465
- return [
2466
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2467
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2468
- ];
2360
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2469
2361
  })
2470
2362
  .s("AmazonPrometheusService", "ListTagsForResource", {})
2471
2363
  .n("AmpClient", "ListTagsForResourceCommand")
2472
- .f(void 0, void 0)
2473
- .ser(se_ListTagsForResourceCommand)
2474
- .de(de_ListTagsForResourceCommand)
2364
+ .sc(ListTagsForResource)
2475
2365
  .build() {
2476
2366
  }
2477
2367
 
@@ -2479,16 +2369,11 @@ class ListWorkspacesCommand extends smithyClient.Command
2479
2369
  .classBuilder()
2480
2370
  .ep(commonParams)
2481
2371
  .m(function (Command, cs, config, o) {
2482
- return [
2483
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2484
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2485
- ];
2372
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2486
2373
  })
2487
2374
  .s("AmazonPrometheusService", "ListWorkspaces", {})
2488
2375
  .n("AmpClient", "ListWorkspacesCommand")
2489
- .f(void 0, void 0)
2490
- .ser(se_ListWorkspacesCommand)
2491
- .de(de_ListWorkspacesCommand)
2376
+ .sc(ListWorkspaces)
2492
2377
  .build() {
2493
2378
  }
2494
2379
 
@@ -2496,16 +2381,11 @@ class PutAlertManagerDefinitionCommand extends smithyClient.Command
2496
2381
  .classBuilder()
2497
2382
  .ep(commonParams)
2498
2383
  .m(function (Command, cs, config, o) {
2499
- return [
2500
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2501
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2502
- ];
2384
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2503
2385
  })
2504
2386
  .s("AmazonPrometheusService", "PutAlertManagerDefinition", {})
2505
2387
  .n("AmpClient", "PutAlertManagerDefinitionCommand")
2506
- .f(void 0, void 0)
2507
- .ser(se_PutAlertManagerDefinitionCommand)
2508
- .de(de_PutAlertManagerDefinitionCommand)
2388
+ .sc(PutAlertManagerDefinition)
2509
2389
  .build() {
2510
2390
  }
2511
2391
 
@@ -2513,16 +2393,11 @@ class PutAnomalyDetectorCommand extends smithyClient.Command
2513
2393
  .classBuilder()
2514
2394
  .ep(commonParams)
2515
2395
  .m(function (Command, cs, config, o) {
2516
- return [
2517
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2518
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2519
- ];
2396
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2520
2397
  })
2521
2398
  .s("AmazonPrometheusService", "PutAnomalyDetector", {})
2522
2399
  .n("AmpClient", "PutAnomalyDetectorCommand")
2523
- .f(void 0, void 0)
2524
- .ser(se_PutAnomalyDetectorCommand)
2525
- .de(de_PutAnomalyDetectorCommand)
2400
+ .sc(PutAnomalyDetector)
2526
2401
  .build() {
2527
2402
  }
2528
2403
 
@@ -2530,16 +2405,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
2530
2405
  .classBuilder()
2531
2406
  .ep(commonParams)
2532
2407
  .m(function (Command, cs, config, o) {
2533
- return [
2534
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2535
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2536
- ];
2408
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2537
2409
  })
2538
2410
  .s("AmazonPrometheusService", "PutResourcePolicy", {})
2539
2411
  .n("AmpClient", "PutResourcePolicyCommand")
2540
- .f(void 0, void 0)
2541
- .ser(se_PutResourcePolicyCommand)
2542
- .de(de_PutResourcePolicyCommand)
2412
+ .sc(PutResourcePolicy)
2543
2413
  .build() {
2544
2414
  }
2545
2415
 
@@ -2547,16 +2417,11 @@ class PutRuleGroupsNamespaceCommand extends smithyClient.Command
2547
2417
  .classBuilder()
2548
2418
  .ep(commonParams)
2549
2419
  .m(function (Command, cs, config, o) {
2550
- return [
2551
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2552
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2553
- ];
2420
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2554
2421
  })
2555
2422
  .s("AmazonPrometheusService", "PutRuleGroupsNamespace", {})
2556
2423
  .n("AmpClient", "PutRuleGroupsNamespaceCommand")
2557
- .f(void 0, void 0)
2558
- .ser(se_PutRuleGroupsNamespaceCommand)
2559
- .de(de_PutRuleGroupsNamespaceCommand)
2424
+ .sc(PutRuleGroupsNamespace)
2560
2425
  .build() {
2561
2426
  }
2562
2427
 
@@ -2564,16 +2429,11 @@ class TagResourceCommand extends smithyClient.Command
2564
2429
  .classBuilder()
2565
2430
  .ep(commonParams)
2566
2431
  .m(function (Command, cs, config, o) {
2567
- return [
2568
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2569
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2570
- ];
2432
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2571
2433
  })
2572
2434
  .s("AmazonPrometheusService", "TagResource", {})
2573
2435
  .n("AmpClient", "TagResourceCommand")
2574
- .f(void 0, void 0)
2575
- .ser(se_TagResourceCommand)
2576
- .de(de_TagResourceCommand)
2436
+ .sc(TagResource)
2577
2437
  .build() {
2578
2438
  }
2579
2439
 
@@ -2581,16 +2441,11 @@ class UntagResourceCommand extends smithyClient.Command
2581
2441
  .classBuilder()
2582
2442
  .ep(commonParams)
2583
2443
  .m(function (Command, cs, config, o) {
2584
- return [
2585
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2586
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2587
- ];
2444
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2588
2445
  })
2589
2446
  .s("AmazonPrometheusService", "UntagResource", {})
2590
2447
  .n("AmpClient", "UntagResourceCommand")
2591
- .f(void 0, void 0)
2592
- .ser(se_UntagResourceCommand)
2593
- .de(de_UntagResourceCommand)
2448
+ .sc(UntagResource)
2594
2449
  .build() {
2595
2450
  }
2596
2451
 
@@ -2598,16 +2453,11 @@ class UpdateLoggingConfigurationCommand extends smithyClient.Command
2598
2453
  .classBuilder()
2599
2454
  .ep(commonParams)
2600
2455
  .m(function (Command, cs, config, o) {
2601
- return [
2602
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2603
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2604
- ];
2456
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2605
2457
  })
2606
2458
  .s("AmazonPrometheusService", "UpdateLoggingConfiguration", {})
2607
2459
  .n("AmpClient", "UpdateLoggingConfigurationCommand")
2608
- .f(void 0, void 0)
2609
- .ser(se_UpdateLoggingConfigurationCommand)
2610
- .de(de_UpdateLoggingConfigurationCommand)
2460
+ .sc(UpdateLoggingConfiguration)
2611
2461
  .build() {
2612
2462
  }
2613
2463
 
@@ -2615,16 +2465,11 @@ class UpdateQueryLoggingConfigurationCommand extends smithyClient.Command
2615
2465
  .classBuilder()
2616
2466
  .ep(commonParams)
2617
2467
  .m(function (Command, cs, config, o) {
2618
- return [
2619
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2620
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2621
- ];
2468
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2622
2469
  })
2623
2470
  .s("AmazonPrometheusService", "UpdateQueryLoggingConfiguration", {})
2624
2471
  .n("AmpClient", "UpdateQueryLoggingConfigurationCommand")
2625
- .f(void 0, void 0)
2626
- .ser(se_UpdateQueryLoggingConfigurationCommand)
2627
- .de(de_UpdateQueryLoggingConfigurationCommand)
2472
+ .sc(UpdateQueryLoggingConfiguration)
2628
2473
  .build() {
2629
2474
  }
2630
2475
 
@@ -2632,16 +2477,11 @@ class UpdateScraperCommand extends smithyClient.Command
2632
2477
  .classBuilder()
2633
2478
  .ep(commonParams)
2634
2479
  .m(function (Command, cs, config, o) {
2635
- return [
2636
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2637
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2638
- ];
2480
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2639
2481
  })
2640
2482
  .s("AmazonPrometheusService", "UpdateScraper", {})
2641
2483
  .n("AmpClient", "UpdateScraperCommand")
2642
- .f(void 0, void 0)
2643
- .ser(se_UpdateScraperCommand)
2644
- .de(de_UpdateScraperCommand)
2484
+ .sc(UpdateScraper)
2645
2485
  .build() {
2646
2486
  }
2647
2487
 
@@ -2649,16 +2489,11 @@ class UpdateScraperLoggingConfigurationCommand extends smithyClient.Command
2649
2489
  .classBuilder()
2650
2490
  .ep(commonParams)
2651
2491
  .m(function (Command, cs, config, o) {
2652
- return [
2653
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2654
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2655
- ];
2492
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2656
2493
  })
2657
2494
  .s("AmazonPrometheusService", "UpdateScraperLoggingConfiguration", {})
2658
2495
  .n("AmpClient", "UpdateScraperLoggingConfigurationCommand")
2659
- .f(void 0, void 0)
2660
- .ser(se_UpdateScraperLoggingConfigurationCommand)
2661
- .de(de_UpdateScraperLoggingConfigurationCommand)
2496
+ .sc(UpdateScraperLoggingConfiguration)
2662
2497
  .build() {
2663
2498
  }
2664
2499
 
@@ -2666,16 +2501,11 @@ class UpdateWorkspaceAliasCommand extends smithyClient.Command
2666
2501
  .classBuilder()
2667
2502
  .ep(commonParams)
2668
2503
  .m(function (Command, cs, config, o) {
2669
- return [
2670
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2671
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2672
- ];
2504
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2673
2505
  })
2674
2506
  .s("AmazonPrometheusService", "UpdateWorkspaceAlias", {})
2675
2507
  .n("AmpClient", "UpdateWorkspaceAliasCommand")
2676
- .f(void 0, void 0)
2677
- .ser(se_UpdateWorkspaceAliasCommand)
2678
- .de(de_UpdateWorkspaceAliasCommand)
2508
+ .sc(UpdateWorkspaceAlias)
2679
2509
  .build() {
2680
2510
  }
2681
2511
 
@@ -2683,16 +2513,11 @@ class UpdateWorkspaceConfigurationCommand extends smithyClient.Command
2683
2513
  .classBuilder()
2684
2514
  .ep(commonParams)
2685
2515
  .m(function (Command, cs, config, o) {
2686
- return [
2687
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2688
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2689
- ];
2516
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2690
2517
  })
2691
2518
  .s("AmazonPrometheusService", "UpdateWorkspaceConfiguration", {})
2692
2519
  .n("AmpClient", "UpdateWorkspaceConfigurationCommand")
2693
- .f(void 0, void 0)
2694
- .ser(se_UpdateWorkspaceConfigurationCommand)
2695
- .de(de_UpdateWorkspaceConfigurationCommand)
2520
+ .sc(UpdateWorkspaceConfiguration)
2696
2521
  .build() {
2697
2522
  }
2698
2523
 
@@ -2996,13 +2821,13 @@ Object.defineProperty(exports, "__Client", {
2996
2821
  enumerable: true,
2997
2822
  get: function () { return smithyClient.Client; }
2998
2823
  });
2999
- exports.AccessDeniedException = AccessDeniedException;
2824
+ exports.AccessDeniedException = AccessDeniedException$1;
3000
2825
  exports.AlertManagerDefinitionStatusCode = AlertManagerDefinitionStatusCode;
3001
2826
  exports.Amp = Amp;
3002
2827
  exports.AmpClient = AmpClient;
3003
- exports.AmpServiceException = AmpServiceException;
2828
+ exports.AmpServiceException = AmpServiceException$1;
3004
2829
  exports.AnomalyDetectorStatusCode = AnomalyDetectorStatusCode;
3005
- exports.ConflictException = ConflictException;
2830
+ exports.ConflictException = ConflictException$1;
3006
2831
  exports.CreateAlertManagerDefinitionCommand = CreateAlertManagerDefinitionCommand;
3007
2832
  exports.CreateAnomalyDetectorCommand = CreateAnomalyDetectorCommand;
3008
2833
  exports.CreateLoggingConfigurationCommand = CreateLoggingConfigurationCommand;
@@ -3030,7 +2855,7 @@ exports.DescribeScraperLoggingConfigurationCommand = DescribeScraperLoggingConfi
3030
2855
  exports.DescribeWorkspaceCommand = DescribeWorkspaceCommand;
3031
2856
  exports.DescribeWorkspaceConfigurationCommand = DescribeWorkspaceConfigurationCommand;
3032
2857
  exports.GetDefaultScraperConfigurationCommand = GetDefaultScraperConfigurationCommand;
3033
- exports.InternalServerException = InternalServerException;
2858
+ exports.InternalServerException = InternalServerException$1;
3034
2859
  exports.ListAnomalyDetectorsCommand = ListAnomalyDetectorsCommand;
3035
2860
  exports.ListRuleGroupsNamespacesCommand = ListRuleGroupsNamespacesCommand;
3036
2861
  exports.ListScrapersCommand = ListScrapersCommand;
@@ -3042,14 +2867,14 @@ exports.PutAnomalyDetectorCommand = PutAnomalyDetectorCommand;
3042
2867
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
3043
2868
  exports.PutRuleGroupsNamespaceCommand = PutRuleGroupsNamespaceCommand;
3044
2869
  exports.QueryLoggingConfigurationStatusCode = QueryLoggingConfigurationStatusCode;
3045
- exports.ResourceNotFoundException = ResourceNotFoundException;
2870
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
3046
2871
  exports.RuleGroupsNamespaceStatusCode = RuleGroupsNamespaceStatusCode;
3047
2872
  exports.ScraperComponentType = ScraperComponentType;
3048
2873
  exports.ScraperLoggingConfigurationStatusCode = ScraperLoggingConfigurationStatusCode;
3049
2874
  exports.ScraperStatusCode = ScraperStatusCode;
3050
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2875
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
3051
2876
  exports.TagResourceCommand = TagResourceCommand;
3052
- exports.ThrottlingException = ThrottlingException;
2877
+ exports.ThrottlingException = ThrottlingException$1;
3053
2878
  exports.UntagResourceCommand = UntagResourceCommand;
3054
2879
  exports.UpdateLoggingConfigurationCommand = UpdateLoggingConfigurationCommand;
3055
2880
  exports.UpdateQueryLoggingConfigurationCommand = UpdateQueryLoggingConfigurationCommand;
@@ -3057,7 +2882,7 @@ exports.UpdateScraperCommand = UpdateScraperCommand;
3057
2882
  exports.UpdateScraperLoggingConfigurationCommand = UpdateScraperLoggingConfigurationCommand;
3058
2883
  exports.UpdateWorkspaceAliasCommand = UpdateWorkspaceAliasCommand;
3059
2884
  exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;
3060
- exports.ValidationException = ValidationException;
2885
+ exports.ValidationException = ValidationException$1;
3061
2886
  exports.ValidationExceptionReason = ValidationExceptionReason;
3062
2887
  exports.WorkspaceConfigurationStatusCode = WorkspaceConfigurationStatusCode;
3063
2888
  exports.WorkspacePolicyStatusCode = WorkspacePolicyStatusCode;