@aws-sdk/client-observabilityadmin 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 (50) hide show
  1. package/dist-cjs/index.js +891 -1129
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ObservabilityAdminClient.js +2 -0
  4. package/dist-es/commands/CreateCentralizationRuleForOrganizationCommand.js +3 -9
  5. package/dist-es/commands/CreateTelemetryRuleCommand.js +3 -9
  6. package/dist-es/commands/CreateTelemetryRuleForOrganizationCommand.js +3 -9
  7. package/dist-es/commands/DeleteCentralizationRuleForOrganizationCommand.js +3 -9
  8. package/dist-es/commands/DeleteTelemetryRuleCommand.js +3 -9
  9. package/dist-es/commands/DeleteTelemetryRuleForOrganizationCommand.js +3 -9
  10. package/dist-es/commands/GetCentralizationRuleForOrganizationCommand.js +3 -9
  11. package/dist-es/commands/GetTelemetryEnrichmentStatusCommand.js +3 -9
  12. package/dist-es/commands/GetTelemetryEvaluationStatusCommand.js +3 -9
  13. package/dist-es/commands/GetTelemetryEvaluationStatusForOrganizationCommand.js +3 -9
  14. package/dist-es/commands/GetTelemetryRuleCommand.js +3 -9
  15. package/dist-es/commands/GetTelemetryRuleForOrganizationCommand.js +3 -9
  16. package/dist-es/commands/ListCentralizationRulesForOrganizationCommand.js +3 -9
  17. package/dist-es/commands/ListResourceTelemetryCommand.js +3 -9
  18. package/dist-es/commands/ListResourceTelemetryForOrganizationCommand.js +3 -9
  19. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  20. package/dist-es/commands/ListTelemetryRulesCommand.js +3 -9
  21. package/dist-es/commands/ListTelemetryRulesForOrganizationCommand.js +3 -9
  22. package/dist-es/commands/StartTelemetryEnrichmentCommand.js +3 -9
  23. package/dist-es/commands/StartTelemetryEvaluationCommand.js +3 -9
  24. package/dist-es/commands/StartTelemetryEvaluationForOrganizationCommand.js +3 -9
  25. package/dist-es/commands/StopTelemetryEnrichmentCommand.js +3 -9
  26. package/dist-es/commands/StopTelemetryEvaluationCommand.js +3 -9
  27. package/dist-es/commands/StopTelemetryEvaluationForOrganizationCommand.js +3 -9
  28. package/dist-es/commands/TagResourceCommand.js +3 -9
  29. package/dist-es/commands/UntagResourceCommand.js +3 -9
  30. package/dist-es/commands/UpdateCentralizationRuleForOrganizationCommand.js +3 -9
  31. package/dist-es/commands/UpdateTelemetryRuleCommand.js +3 -9
  32. package/dist-es/commands/UpdateTelemetryRuleForOrganizationCommand.js +3 -9
  33. package/dist-es/runtimeConfig.shared.js +2 -0
  34. package/dist-es/schemas/schemas_0.js +819 -0
  35. package/dist-types/ObservabilityAdminClient.d.ts +10 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +103 -0
  41. package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +108 -0
  47. package/package.json +33 -33
  48. package/dist-es/protocols/Aws_restJson1.js +0 -907
  49. package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -353
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,8 +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
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class ObservabilityAdminClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class ObservabilityAdminClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class ObservabilityAdminServiceException extends smithyClient.ServiceException {
113
+ let ObservabilityAdminServiceException$1 = class ObservabilityAdminServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ObservabilityAdminServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends ObservabilityAdminServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends ObservabilityAdminServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -132,7 +132,7 @@ class AccessDeniedException extends ObservabilityAdminServiceException {
132
132
  this.Message = opts.Message;
133
133
  this.amznErrorType = opts.amznErrorType;
134
134
  }
135
- }
135
+ };
136
136
  const CentralizationFailureReason = {
137
137
  DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
138
138
  INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
@@ -155,7 +155,7 @@ const RuleHealth = {
155
155
  PROVISIONING: "Provisioning",
156
156
  UNHEALTHY: "Unhealthy",
157
157
  };
158
- class ConflictException extends ObservabilityAdminServiceException {
158
+ let ConflictException$1 = class ConflictException extends ObservabilityAdminServiceException$1 {
159
159
  name = "ConflictException";
160
160
  $fault = "client";
161
161
  Message;
@@ -168,8 +168,8 @@ class ConflictException extends ObservabilityAdminServiceException {
168
168
  Object.setPrototypeOf(this, ConflictException.prototype);
169
169
  this.Message = opts.Message;
170
170
  }
171
- }
172
- class InternalServerException extends ObservabilityAdminServiceException {
171
+ };
172
+ let InternalServerException$1 = class InternalServerException extends ObservabilityAdminServiceException$1 {
173
173
  name = "InternalServerException";
174
174
  $fault = "server";
175
175
  Message;
@@ -184,8 +184,8 @@ class InternalServerException extends ObservabilityAdminServiceException {
184
184
  this.Message = opts.Message;
185
185
  this.amznErrorType = opts.amznErrorType;
186
186
  }
187
- }
188
- class ServiceQuotaExceededException extends ObservabilityAdminServiceException {
187
+ };
188
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ObservabilityAdminServiceException$1 {
189
189
  name = "ServiceQuotaExceededException";
190
190
  $fault = "client";
191
191
  Message;
@@ -200,8 +200,8 @@ class ServiceQuotaExceededException extends ObservabilityAdminServiceException {
200
200
  this.Message = opts.Message;
201
201
  this.amznErrorType = opts.amznErrorType;
202
202
  }
203
- }
204
- class TooManyRequestsException extends ObservabilityAdminServiceException {
203
+ };
204
+ let TooManyRequestsException$1 = class TooManyRequestsException extends ObservabilityAdminServiceException$1 {
205
205
  name = "TooManyRequestsException";
206
206
  $fault = "client";
207
207
  Message;
@@ -214,8 +214,8 @@ class TooManyRequestsException extends ObservabilityAdminServiceException {
214
214
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
215
215
  this.Message = opts.Message;
216
216
  }
217
- }
218
- class ValidationException extends ObservabilityAdminServiceException {
217
+ };
218
+ let ValidationException$1 = class ValidationException extends ObservabilityAdminServiceException$1 {
219
219
  name = "ValidationException";
220
220
  $fault = "client";
221
221
  Message;
@@ -228,7 +228,7 @@ class ValidationException extends ObservabilityAdminServiceException {
228
228
  Object.setPrototypeOf(this, ValidationException.prototype);
229
229
  this.Message = opts.Message;
230
230
  }
231
- }
231
+ };
232
232
  const DestinationType = {
233
233
  CLOUDWATCH_LOGS: "cloud-watch-logs",
234
234
  };
@@ -242,7 +242,7 @@ const TelemetryType = {
242
242
  METRICS: "Metrics",
243
243
  TRACES: "Traces",
244
244
  };
245
- class ResourceNotFoundException extends ObservabilityAdminServiceException {
245
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ObservabilityAdminServiceException$1 {
246
246
  name = "ResourceNotFoundException";
247
247
  $fault = "client";
248
248
  Message;
@@ -255,7 +255,7 @@ class ResourceNotFoundException extends ObservabilityAdminServiceException {
255
255
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
256
256
  this.Message = opts.Message;
257
257
  }
258
- }
258
+ };
259
259
  const TelemetryEnrichmentStatus = {
260
260
  IMPAIRED: "Impaired",
261
261
  RUNNING: "Running",
@@ -276,922 +276,824 @@ const TelemetryState = {
276
276
  NOT_APPLICABLE: "NotApplicable",
277
277
  };
278
278
 
279
- const se_CreateCentralizationRuleForOrganizationCommand = async (input, context) => {
280
- const b = core.requestBuilder(input, context);
281
- const headers = {
282
- "content-type": "application/json",
283
- };
284
- b.bp("/CreateCentralizationRuleForOrganization");
285
- let body;
286
- body = JSON.stringify(smithyClient.take(input, {
287
- Rule: (_) => smithyClient._json(_),
288
- RuleName: [],
289
- Tags: (_) => smithyClient._json(_),
290
- }));
291
- b.m("POST").h(headers).b(body);
292
- return b.build();
293
- };
294
- const se_CreateTelemetryRuleCommand = async (input, context) => {
295
- const b = core.requestBuilder(input, context);
296
- const headers = {
297
- "content-type": "application/json",
298
- };
299
- b.bp("/CreateTelemetryRule");
300
- let body;
301
- body = JSON.stringify(smithyClient.take(input, {
302
- Rule: (_) => smithyClient._json(_),
303
- RuleName: [],
304
- Tags: (_) => smithyClient._json(_),
305
- }));
306
- b.m("POST").h(headers).b(body);
307
- return b.build();
308
- };
309
- const se_CreateTelemetryRuleForOrganizationCommand = async (input, context) => {
310
- const b = core.requestBuilder(input, context);
311
- const headers = {
312
- "content-type": "application/json",
313
- };
314
- b.bp("/CreateTelemetryRuleForOrganization");
315
- let body;
316
- body = JSON.stringify(smithyClient.take(input, {
317
- Rule: (_) => smithyClient._json(_),
318
- RuleName: [],
319
- Tags: (_) => smithyClient._json(_),
320
- }));
321
- b.m("POST").h(headers).b(body);
322
- return b.build();
323
- };
324
- const se_DeleteCentralizationRuleForOrganizationCommand = async (input, context) => {
325
- const b = core.requestBuilder(input, context);
326
- const headers = {
327
- "content-type": "application/json",
328
- };
329
- b.bp("/DeleteCentralizationRuleForOrganization");
330
- let body;
331
- body = JSON.stringify(smithyClient.take(input, {
332
- RuleIdentifier: [],
333
- }));
334
- b.m("POST").h(headers).b(body);
335
- return b.build();
336
- };
337
- const se_DeleteTelemetryRuleCommand = async (input, context) => {
338
- const b = core.requestBuilder(input, context);
339
- const headers = {
340
- "content-type": "application/json",
341
- };
342
- b.bp("/DeleteTelemetryRule");
343
- let body;
344
- body = JSON.stringify(smithyClient.take(input, {
345
- RuleIdentifier: [],
346
- }));
347
- b.m("POST").h(headers).b(body);
348
- return b.build();
349
- };
350
- const se_DeleteTelemetryRuleForOrganizationCommand = async (input, context) => {
351
- const b = core.requestBuilder(input, context);
352
- const headers = {
353
- "content-type": "application/json",
354
- };
355
- b.bp("/DeleteTelemetryRuleForOrganization");
356
- let body;
357
- body = JSON.stringify(smithyClient.take(input, {
358
- RuleIdentifier: [],
359
- }));
360
- b.m("POST").h(headers).b(body);
361
- return b.build();
362
- };
363
- const se_GetCentralizationRuleForOrganizationCommand = async (input, context) => {
364
- const b = core.requestBuilder(input, context);
365
- const headers = {
366
- "content-type": "application/json",
367
- };
368
- b.bp("/GetCentralizationRuleForOrganization");
369
- let body;
370
- body = JSON.stringify(smithyClient.take(input, {
371
- RuleIdentifier: [],
372
- }));
373
- b.m("POST").h(headers).b(body);
374
- return b.build();
375
- };
376
- const se_GetTelemetryEnrichmentStatusCommand = async (input, context) => {
377
- const b = core.requestBuilder(input, context);
378
- const headers = {};
379
- b.bp("/GetTelemetryEnrichmentStatus");
380
- let body;
381
- b.m("POST").h(headers).b(body);
382
- return b.build();
383
- };
384
- const se_GetTelemetryEvaluationStatusCommand = async (input, context) => {
385
- const b = core.requestBuilder(input, context);
386
- const headers = {};
387
- b.bp("/GetTelemetryEvaluationStatus");
388
- let body;
389
- b.m("POST").h(headers).b(body);
390
- return b.build();
391
- };
392
- const se_GetTelemetryEvaluationStatusForOrganizationCommand = async (input, context) => {
393
- const b = core.requestBuilder(input, context);
394
- const headers = {};
395
- b.bp("/GetTelemetryEvaluationStatusForOrganization");
396
- let body;
397
- b.m("POST").h(headers).b(body);
398
- return b.build();
399
- };
400
- const se_GetTelemetryRuleCommand = async (input, context) => {
401
- const b = core.requestBuilder(input, context);
402
- const headers = {
403
- "content-type": "application/json",
404
- };
405
- b.bp("/GetTelemetryRule");
406
- let body;
407
- body = JSON.stringify(smithyClient.take(input, {
408
- RuleIdentifier: [],
409
- }));
410
- b.m("POST").h(headers).b(body);
411
- return b.build();
412
- };
413
- const se_GetTelemetryRuleForOrganizationCommand = async (input, context) => {
414
- const b = core.requestBuilder(input, context);
415
- const headers = {
416
- "content-type": "application/json",
417
- };
418
- b.bp("/GetTelemetryRuleForOrganization");
419
- let body;
420
- body = JSON.stringify(smithyClient.take(input, {
421
- RuleIdentifier: [],
422
- }));
423
- b.m("POST").h(headers).b(body);
424
- return b.build();
425
- };
426
- const se_ListCentralizationRulesForOrganizationCommand = async (input, context) => {
427
- const b = core.requestBuilder(input, context);
428
- const headers = {
429
- "content-type": "application/json",
430
- };
431
- b.bp("/ListCentralizationRulesForOrganization");
432
- let body;
433
- body = JSON.stringify(smithyClient.take(input, {
434
- AllRegions: [],
435
- MaxResults: [],
436
- NextToken: [],
437
- RuleNamePrefix: [],
438
- }));
439
- b.m("POST").h(headers).b(body);
440
- return b.build();
441
- };
442
- const se_ListResourceTelemetryCommand = async (input, context) => {
443
- const b = core.requestBuilder(input, context);
444
- const headers = {
445
- "content-type": "application/json",
446
- };
447
- b.bp("/ListResourceTelemetry");
448
- let body;
449
- body = JSON.stringify(smithyClient.take(input, {
450
- MaxResults: [],
451
- NextToken: [],
452
- ResourceIdentifierPrefix: [],
453
- ResourceTags: (_) => smithyClient._json(_),
454
- ResourceTypes: (_) => smithyClient._json(_),
455
- TelemetryConfigurationState: (_) => smithyClient._json(_),
456
- }));
457
- b.m("POST").h(headers).b(body);
458
- return b.build();
459
- };
460
- const se_ListResourceTelemetryForOrganizationCommand = async (input, context) => {
461
- const b = core.requestBuilder(input, context);
462
- const headers = {
463
- "content-type": "application/json",
464
- };
465
- b.bp("/ListResourceTelemetryForOrganization");
466
- let body;
467
- body = JSON.stringify(smithyClient.take(input, {
468
- AccountIdentifiers: (_) => smithyClient._json(_),
469
- MaxResults: [],
470
- NextToken: [],
471
- ResourceIdentifierPrefix: [],
472
- ResourceTags: (_) => smithyClient._json(_),
473
- ResourceTypes: (_) => smithyClient._json(_),
474
- TelemetryConfigurationState: (_) => smithyClient._json(_),
475
- }));
476
- b.m("POST").h(headers).b(body);
477
- return b.build();
478
- };
479
- const se_ListTagsForResourceCommand = async (input, context) => {
480
- const b = core.requestBuilder(input, context);
481
- const headers = {
482
- "content-type": "application/json",
483
- };
484
- b.bp("/ListTagsForResource");
485
- let body;
486
- body = JSON.stringify(smithyClient.take(input, {
487
- ResourceARN: [],
488
- }));
489
- b.m("POST").h(headers).b(body);
490
- return b.build();
491
- };
492
- const se_ListTelemetryRulesCommand = async (input, context) => {
493
- const b = core.requestBuilder(input, context);
494
- const headers = {
495
- "content-type": "application/json",
496
- };
497
- b.bp("/ListTelemetryRules");
498
- let body;
499
- body = JSON.stringify(smithyClient.take(input, {
500
- MaxResults: [],
501
- NextToken: [],
502
- RuleNamePrefix: [],
503
- }));
504
- b.m("POST").h(headers).b(body);
505
- return b.build();
506
- };
507
- const se_ListTelemetryRulesForOrganizationCommand = async (input, context) => {
508
- const b = core.requestBuilder(input, context);
509
- const headers = {
510
- "content-type": "application/json",
511
- };
512
- b.bp("/ListTelemetryRulesForOrganization");
513
- let body;
514
- body = JSON.stringify(smithyClient.take(input, {
515
- MaxResults: [],
516
- NextToken: [],
517
- RuleNamePrefix: [],
518
- SourceAccountIds: (_) => smithyClient._json(_),
519
- SourceOrganizationUnitIds: (_) => smithyClient._json(_),
520
- }));
521
- b.m("POST").h(headers).b(body);
522
- return b.build();
523
- };
524
- const se_StartTelemetryEnrichmentCommand = async (input, context) => {
525
- const b = core.requestBuilder(input, context);
526
- const headers = {};
527
- b.bp("/StartTelemetryEnrichment");
528
- let body;
529
- b.m("POST").h(headers).b(body);
530
- return b.build();
531
- };
532
- const se_StartTelemetryEvaluationCommand = async (input, context) => {
533
- const b = core.requestBuilder(input, context);
534
- const headers = {};
535
- b.bp("/StartTelemetryEvaluation");
536
- let body;
537
- b.m("POST").h(headers).b(body);
538
- return b.build();
539
- };
540
- const se_StartTelemetryEvaluationForOrganizationCommand = async (input, context) => {
541
- const b = core.requestBuilder(input, context);
542
- const headers = {};
543
- b.bp("/StartTelemetryEvaluationForOrganization");
544
- let body;
545
- b.m("POST").h(headers).b(body);
546
- return b.build();
547
- };
548
- const se_StopTelemetryEnrichmentCommand = async (input, context) => {
549
- const b = core.requestBuilder(input, context);
550
- const headers = {};
551
- b.bp("/StopTelemetryEnrichment");
552
- let body;
553
- b.m("POST").h(headers).b(body);
554
- return b.build();
555
- };
556
- const se_StopTelemetryEvaluationCommand = async (input, context) => {
557
- const b = core.requestBuilder(input, context);
558
- const headers = {};
559
- b.bp("/StopTelemetryEvaluation");
560
- let body;
561
- b.m("POST").h(headers).b(body);
562
- return b.build();
563
- };
564
- const se_StopTelemetryEvaluationForOrganizationCommand = async (input, context) => {
565
- const b = core.requestBuilder(input, context);
566
- const headers = {};
567
- b.bp("/StopTelemetryEvaluationForOrganization");
568
- let body;
569
- b.m("POST").h(headers).b(body);
570
- return b.build();
571
- };
572
- const se_TagResourceCommand = async (input, context) => {
573
- const b = core.requestBuilder(input, context);
574
- const headers = {
575
- "content-type": "application/json",
576
- };
577
- b.bp("/TagResource");
578
- let body;
579
- body = JSON.stringify(smithyClient.take(input, {
580
- ResourceARN: [],
581
- Tags: (_) => smithyClient._json(_),
582
- }));
583
- b.m("POST").h(headers).b(body);
584
- return b.build();
585
- };
586
- const se_UntagResourceCommand = async (input, context) => {
587
- const b = core.requestBuilder(input, context);
588
- const headers = {
589
- "content-type": "application/json",
590
- };
591
- b.bp("/UntagResource");
592
- let body;
593
- body = JSON.stringify(smithyClient.take(input, {
594
- ResourceARN: [],
595
- TagKeys: (_) => smithyClient._json(_),
596
- }));
597
- b.m("POST").h(headers).b(body);
598
- return b.build();
599
- };
600
- const se_UpdateCentralizationRuleForOrganizationCommand = async (input, context) => {
601
- const b = core.requestBuilder(input, context);
602
- const headers = {
603
- "content-type": "application/json",
604
- };
605
- b.bp("/UpdateCentralizationRuleForOrganization");
606
- let body;
607
- body = JSON.stringify(smithyClient.take(input, {
608
- Rule: (_) => smithyClient._json(_),
609
- RuleIdentifier: [],
610
- }));
611
- b.m("POST").h(headers).b(body);
612
- return b.build();
613
- };
614
- const se_UpdateTelemetryRuleCommand = async (input, context) => {
615
- const b = core.requestBuilder(input, context);
616
- const headers = {
617
- "content-type": "application/json",
618
- };
619
- b.bp("/UpdateTelemetryRule");
620
- let body;
621
- body = JSON.stringify(smithyClient.take(input, {
622
- Rule: (_) => smithyClient._json(_),
623
- RuleIdentifier: [],
624
- }));
625
- b.m("POST").h(headers).b(body);
626
- return b.build();
627
- };
628
- const se_UpdateTelemetryRuleForOrganizationCommand = async (input, context) => {
629
- const b = core.requestBuilder(input, context);
630
- const headers = {
631
- "content-type": "application/json",
632
- };
633
- b.bp("/UpdateTelemetryRuleForOrganization");
634
- let body;
635
- body = JSON.stringify(smithyClient.take(input, {
636
- Rule: (_) => smithyClient._json(_),
637
- RuleIdentifier: [],
638
- }));
639
- b.m("POST").h(headers).b(body);
640
- return b.build();
641
- };
642
- const de_CreateCentralizationRuleForOrganizationCommand = async (output, context) => {
643
- if (output.statusCode !== 200 && output.statusCode >= 300) {
644
- return de_CommandError(output, context);
645
- }
646
- const contents = smithyClient.map({
647
- $metadata: deserializeMetadata(output),
648
- });
649
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
650
- const doc = smithyClient.take(data, {
651
- RuleArn: smithyClient.expectString,
652
- });
653
- Object.assign(contents, doc);
654
- return contents;
655
- };
656
- const de_CreateTelemetryRuleCommand = async (output, context) => {
657
- if (output.statusCode !== 200 && output.statusCode >= 300) {
658
- return de_CommandError(output, context);
659
- }
660
- const contents = smithyClient.map({
661
- $metadata: deserializeMetadata(output),
662
- });
663
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
664
- const doc = smithyClient.take(data, {
665
- RuleArn: smithyClient.expectString,
666
- });
667
- Object.assign(contents, doc);
668
- return contents;
669
- };
670
- const de_CreateTelemetryRuleForOrganizationCommand = async (output, context) => {
671
- if (output.statusCode !== 200 && output.statusCode >= 300) {
672
- return de_CommandError(output, context);
673
- }
674
- const contents = smithyClient.map({
675
- $metadata: deserializeMetadata(output),
676
- });
677
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
678
- const doc = smithyClient.take(data, {
679
- RuleArn: smithyClient.expectString,
680
- });
681
- Object.assign(contents, doc);
682
- return contents;
683
- };
684
- const de_DeleteCentralizationRuleForOrganizationCommand = async (output, context) => {
685
- if (output.statusCode !== 200 && output.statusCode >= 300) {
686
- return de_CommandError(output, context);
687
- }
688
- const contents = smithyClient.map({
689
- $metadata: deserializeMetadata(output),
690
- });
691
- await smithyClient.collectBody(output.body, context);
692
- return contents;
693
- };
694
- const de_DeleteTelemetryRuleCommand = async (output, context) => {
695
- if (output.statusCode !== 200 && output.statusCode >= 300) {
696
- return de_CommandError(output, context);
697
- }
698
- const contents = smithyClient.map({
699
- $metadata: deserializeMetadata(output),
700
- });
701
- await smithyClient.collectBody(output.body, context);
702
- return contents;
703
- };
704
- const de_DeleteTelemetryRuleForOrganizationCommand = async (output, context) => {
705
- if (output.statusCode !== 200 && output.statusCode >= 300) {
706
- return de_CommandError(output, context);
707
- }
708
- const contents = smithyClient.map({
709
- $metadata: deserializeMetadata(output),
710
- });
711
- await smithyClient.collectBody(output.body, context);
712
- return contents;
713
- };
714
- const de_GetCentralizationRuleForOrganizationCommand = async (output, context) => {
715
- if (output.statusCode !== 200 && output.statusCode >= 300) {
716
- return de_CommandError(output, context);
717
- }
718
- const contents = smithyClient.map({
719
- $metadata: deserializeMetadata(output),
720
- });
721
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
722
- const doc = smithyClient.take(data, {
723
- CentralizationRule: smithyClient._json,
724
- CreatedRegion: smithyClient.expectString,
725
- CreatedTimeStamp: smithyClient.expectLong,
726
- CreatorAccountId: smithyClient.expectString,
727
- FailureReason: smithyClient.expectString,
728
- LastUpdateTimeStamp: smithyClient.expectLong,
729
- RuleArn: smithyClient.expectString,
730
- RuleHealth: smithyClient.expectString,
731
- RuleName: smithyClient.expectString,
732
- });
733
- Object.assign(contents, doc);
734
- return contents;
735
- };
736
- const de_GetTelemetryEnrichmentStatusCommand = async (output, context) => {
737
- if (output.statusCode !== 200 && output.statusCode >= 300) {
738
- return de_CommandError(output, context);
739
- }
740
- const contents = smithyClient.map({
741
- $metadata: deserializeMetadata(output),
742
- });
743
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
744
- const doc = smithyClient.take(data, {
745
- AwsResourceExplorerManagedViewArn: smithyClient.expectString,
746
- Status: smithyClient.expectString,
747
- });
748
- Object.assign(contents, doc);
749
- return contents;
750
- };
751
- const de_GetTelemetryEvaluationStatusCommand = async (output, context) => {
752
- if (output.statusCode !== 200 && output.statusCode >= 300) {
753
- return de_CommandError(output, context);
754
- }
755
- const contents = smithyClient.map({
756
- $metadata: deserializeMetadata(output),
757
- });
758
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
759
- const doc = smithyClient.take(data, {
760
- FailureReason: smithyClient.expectString,
761
- Status: smithyClient.expectString,
762
- });
763
- Object.assign(contents, doc);
764
- return contents;
765
- };
766
- const de_GetTelemetryEvaluationStatusForOrganizationCommand = async (output, context) => {
767
- if (output.statusCode !== 200 && output.statusCode >= 300) {
768
- return de_CommandError(output, context);
769
- }
770
- const contents = smithyClient.map({
771
- $metadata: deserializeMetadata(output),
772
- });
773
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
774
- const doc = smithyClient.take(data, {
775
- FailureReason: smithyClient.expectString,
776
- Status: smithyClient.expectString,
777
- });
778
- Object.assign(contents, doc);
779
- return contents;
780
- };
781
- const de_GetTelemetryRuleCommand = async (output, context) => {
782
- if (output.statusCode !== 200 && output.statusCode >= 300) {
783
- return de_CommandError(output, context);
784
- }
785
- const contents = smithyClient.map({
786
- $metadata: deserializeMetadata(output),
787
- });
788
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
789
- const doc = smithyClient.take(data, {
790
- CreatedTimeStamp: smithyClient.expectLong,
791
- LastUpdateTimeStamp: smithyClient.expectLong,
792
- RuleArn: smithyClient.expectString,
793
- RuleName: smithyClient.expectString,
794
- TelemetryRule: smithyClient._json,
795
- });
796
- Object.assign(contents, doc);
797
- return contents;
798
- };
799
- const de_GetTelemetryRuleForOrganizationCommand = async (output, context) => {
800
- if (output.statusCode !== 200 && output.statusCode >= 300) {
801
- return de_CommandError(output, context);
802
- }
803
- const contents = smithyClient.map({
804
- $metadata: deserializeMetadata(output),
805
- });
806
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
807
- const doc = smithyClient.take(data, {
808
- CreatedTimeStamp: smithyClient.expectLong,
809
- LastUpdateTimeStamp: smithyClient.expectLong,
810
- RuleArn: smithyClient.expectString,
811
- RuleName: smithyClient.expectString,
812
- TelemetryRule: smithyClient._json,
813
- });
814
- Object.assign(contents, doc);
815
- return contents;
816
- };
817
- const de_ListCentralizationRulesForOrganizationCommand = async (output, context) => {
818
- if (output.statusCode !== 200 && output.statusCode >= 300) {
819
- return de_CommandError(output, context);
820
- }
821
- const contents = smithyClient.map({
822
- $metadata: deserializeMetadata(output),
823
- });
824
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
825
- const doc = smithyClient.take(data, {
826
- CentralizationRuleSummaries: smithyClient._json,
827
- NextToken: smithyClient.expectString,
828
- });
829
- Object.assign(contents, doc);
830
- return contents;
831
- };
832
- const de_ListResourceTelemetryCommand = async (output, context) => {
833
- if (output.statusCode !== 200 && output.statusCode >= 300) {
834
- return de_CommandError(output, context);
835
- }
836
- const contents = smithyClient.map({
837
- $metadata: deserializeMetadata(output),
838
- });
839
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
840
- const doc = smithyClient.take(data, {
841
- NextToken: smithyClient.expectString,
842
- TelemetryConfigurations: smithyClient._json,
843
- });
844
- Object.assign(contents, doc);
845
- return contents;
846
- };
847
- const de_ListResourceTelemetryForOrganizationCommand = async (output, context) => {
848
- if (output.statusCode !== 200 && output.statusCode >= 300) {
849
- return de_CommandError(output, context);
850
- }
851
- const contents = smithyClient.map({
852
- $metadata: deserializeMetadata(output),
853
- });
854
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
855
- const doc = smithyClient.take(data, {
856
- NextToken: smithyClient.expectString,
857
- TelemetryConfigurations: smithyClient._json,
858
- });
859
- Object.assign(contents, doc);
860
- return contents;
861
- };
862
- const de_ListTagsForResourceCommand = async (output, context) => {
863
- if (output.statusCode !== 200 && output.statusCode >= 300) {
864
- return de_CommandError(output, context);
865
- }
866
- const contents = smithyClient.map({
867
- $metadata: deserializeMetadata(output),
868
- });
869
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
870
- const doc = smithyClient.take(data, {
871
- Tags: smithyClient._json,
872
- });
873
- Object.assign(contents, doc);
874
- return contents;
875
- };
876
- const de_ListTelemetryRulesCommand = async (output, context) => {
877
- if (output.statusCode !== 200 && output.statusCode >= 300) {
878
- return de_CommandError(output, context);
879
- }
880
- const contents = smithyClient.map({
881
- $metadata: deserializeMetadata(output),
882
- });
883
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
884
- const doc = smithyClient.take(data, {
885
- NextToken: smithyClient.expectString,
886
- TelemetryRuleSummaries: smithyClient._json,
887
- });
888
- Object.assign(contents, doc);
889
- return contents;
890
- };
891
- const de_ListTelemetryRulesForOrganizationCommand = async (output, context) => {
892
- if (output.statusCode !== 200 && output.statusCode >= 300) {
893
- return de_CommandError(output, context);
894
- }
895
- const contents = smithyClient.map({
896
- $metadata: deserializeMetadata(output),
897
- });
898
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
899
- const doc = smithyClient.take(data, {
900
- NextToken: smithyClient.expectString,
901
- TelemetryRuleSummaries: smithyClient._json,
902
- });
903
- Object.assign(contents, doc);
904
- return contents;
905
- };
906
- const de_StartTelemetryEnrichmentCommand = async (output, context) => {
907
- if (output.statusCode !== 202 && output.statusCode >= 300) {
908
- return de_CommandError(output, context);
909
- }
910
- const contents = smithyClient.map({
911
- $metadata: deserializeMetadata(output),
912
- });
913
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
914
- const doc = smithyClient.take(data, {
915
- AwsResourceExplorerManagedViewArn: smithyClient.expectString,
916
- Status: smithyClient.expectString,
917
- });
918
- Object.assign(contents, doc);
919
- return contents;
920
- };
921
- const de_StartTelemetryEvaluationCommand = async (output, context) => {
922
- if (output.statusCode !== 200 && output.statusCode >= 300) {
923
- return de_CommandError(output, context);
924
- }
925
- const contents = smithyClient.map({
926
- $metadata: deserializeMetadata(output),
927
- });
928
- await smithyClient.collectBody(output.body, context);
929
- return contents;
930
- };
931
- const de_StartTelemetryEvaluationForOrganizationCommand = async (output, context) => {
932
- if (output.statusCode !== 200 && output.statusCode >= 300) {
933
- return de_CommandError(output, context);
934
- }
935
- const contents = smithyClient.map({
936
- $metadata: deserializeMetadata(output),
937
- });
938
- await smithyClient.collectBody(output.body, context);
939
- return contents;
940
- };
941
- const de_StopTelemetryEnrichmentCommand = async (output, context) => {
942
- if (output.statusCode !== 202 && output.statusCode >= 300) {
943
- return de_CommandError(output, context);
944
- }
945
- const contents = smithyClient.map({
946
- $metadata: deserializeMetadata(output),
947
- });
948
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
949
- const doc = smithyClient.take(data, {
950
- Status: smithyClient.expectString,
951
- });
952
- Object.assign(contents, doc);
953
- return contents;
954
- };
955
- const de_StopTelemetryEvaluationCommand = async (output, context) => {
956
- if (output.statusCode !== 200 && output.statusCode >= 300) {
957
- return de_CommandError(output, context);
958
- }
959
- const contents = smithyClient.map({
960
- $metadata: deserializeMetadata(output),
961
- });
962
- await smithyClient.collectBody(output.body, context);
963
- return contents;
964
- };
965
- const de_StopTelemetryEvaluationForOrganizationCommand = async (output, context) => {
966
- if (output.statusCode !== 200 && output.statusCode >= 300) {
967
- return de_CommandError(output, context);
968
- }
969
- const contents = smithyClient.map({
970
- $metadata: deserializeMetadata(output),
971
- });
972
- await smithyClient.collectBody(output.body, context);
973
- return contents;
974
- };
975
- const de_TagResourceCommand = async (output, context) => {
976
- if (output.statusCode !== 200 && output.statusCode >= 300) {
977
- return de_CommandError(output, context);
978
- }
979
- const contents = smithyClient.map({
980
- $metadata: deserializeMetadata(output),
981
- });
982
- await smithyClient.collectBody(output.body, context);
983
- return contents;
984
- };
985
- const de_UntagResourceCommand = async (output, context) => {
986
- if (output.statusCode !== 200 && output.statusCode >= 300) {
987
- return de_CommandError(output, context);
988
- }
989
- const contents = smithyClient.map({
990
- $metadata: deserializeMetadata(output),
991
- });
992
- await smithyClient.collectBody(output.body, context);
993
- return contents;
994
- };
995
- const de_UpdateCentralizationRuleForOrganizationCommand = async (output, context) => {
996
- if (output.statusCode !== 200 && output.statusCode >= 300) {
997
- return de_CommandError(output, context);
998
- }
999
- const contents = smithyClient.map({
1000
- $metadata: deserializeMetadata(output),
1001
- });
1002
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1003
- const doc = smithyClient.take(data, {
1004
- RuleArn: smithyClient.expectString,
1005
- });
1006
- Object.assign(contents, doc);
1007
- return contents;
1008
- };
1009
- const de_UpdateTelemetryRuleCommand = async (output, context) => {
1010
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1011
- return de_CommandError(output, context);
1012
- }
1013
- const contents = smithyClient.map({
1014
- $metadata: deserializeMetadata(output),
1015
- });
1016
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1017
- const doc = smithyClient.take(data, {
1018
- RuleArn: smithyClient.expectString,
1019
- });
1020
- Object.assign(contents, doc);
1021
- return contents;
1022
- };
1023
- const de_UpdateTelemetryRuleForOrganizationCommand = async (output, context) => {
1024
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1025
- return de_CommandError(output, context);
1026
- }
1027
- const contents = smithyClient.map({
1028
- $metadata: deserializeMetadata(output),
1029
- });
1030
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1031
- const doc = smithyClient.take(data, {
1032
- RuleArn: smithyClient.expectString,
1033
- });
1034
- Object.assign(contents, doc);
1035
- return contents;
1036
- };
1037
- const de_CommandError = async (output, context) => {
1038
- const parsedOutput = {
1039
- ...output,
1040
- body: await core$1.parseJsonErrorBody(output.body, context),
1041
- };
1042
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1043
- switch (errorCode) {
1044
- case "AccessDeniedException":
1045
- case "com.amazonaws.observabilityadmin#AccessDeniedException":
1046
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1047
- case "ConflictException":
1048
- case "com.amazonaws.observabilityadmin#ConflictException":
1049
- throw await de_ConflictExceptionRes(parsedOutput);
1050
- case "InternalServerException":
1051
- case "com.amazonaws.observabilityadmin#InternalServerException":
1052
- throw await de_InternalServerExceptionRes(parsedOutput);
1053
- case "ServiceQuotaExceededException":
1054
- case "com.amazonaws.observabilityadmin#ServiceQuotaExceededException":
1055
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1056
- case "TooManyRequestsException":
1057
- case "com.amazonaws.observabilityadmin#TooManyRequestsException":
1058
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
1059
- case "ValidationException":
1060
- case "com.amazonaws.observabilityadmin#ValidationException":
1061
- throw await de_ValidationExceptionRes(parsedOutput);
1062
- case "ResourceNotFoundException":
1063
- case "com.amazonaws.observabilityadmin#ResourceNotFoundException":
1064
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1065
- default:
1066
- const parsedBody = parsedOutput.body;
1067
- return throwDefaultError({
1068
- output,
1069
- parsedBody,
1070
- errorCode,
1071
- });
1072
- }
1073
- };
1074
- const throwDefaultError = smithyClient.withBaseException(ObservabilityAdminServiceException);
1075
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1076
- const contents = smithyClient.map({
1077
- [_aET]: [, parsedOutput.headers[_xae]],
1078
- });
1079
- const data = parsedOutput.body;
1080
- const doc = smithyClient.take(data, {
1081
- Message: smithyClient.expectString,
1082
- });
1083
- Object.assign(contents, doc);
1084
- const exception = new AccessDeniedException({
1085
- $metadata: deserializeMetadata(parsedOutput),
1086
- ...contents,
1087
- });
1088
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1089
- };
1090
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1091
- const contents = smithyClient.map({});
1092
- const data = parsedOutput.body;
1093
- const doc = smithyClient.take(data, {
1094
- Message: smithyClient.expectString,
1095
- });
1096
- Object.assign(contents, doc);
1097
- const exception = new ConflictException({
1098
- $metadata: deserializeMetadata(parsedOutput),
1099
- ...contents,
1100
- });
1101
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1102
- };
1103
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1104
- const contents = smithyClient.map({
1105
- [_aET]: [, parsedOutput.headers[_xae]],
1106
- });
1107
- const data = parsedOutput.body;
1108
- const doc = smithyClient.take(data, {
1109
- Message: smithyClient.expectString,
1110
- });
1111
- Object.assign(contents, doc);
1112
- const exception = new InternalServerException({
1113
- $metadata: deserializeMetadata(parsedOutput),
1114
- ...contents,
1115
- });
1116
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1117
- };
1118
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1119
- const contents = smithyClient.map({});
1120
- const data = parsedOutput.body;
1121
- const doc = smithyClient.take(data, {
1122
- Message: smithyClient.expectString,
1123
- });
1124
- Object.assign(contents, doc);
1125
- const exception = new ResourceNotFoundException({
1126
- $metadata: deserializeMetadata(parsedOutput),
1127
- ...contents,
1128
- });
1129
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1130
- };
1131
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1132
- const contents = smithyClient.map({
1133
- [_aET]: [, parsedOutput.headers[_xae]],
1134
- });
1135
- const data = parsedOutput.body;
1136
- const doc = smithyClient.take(data, {
1137
- Message: smithyClient.expectString,
1138
- });
1139
- Object.assign(contents, doc);
1140
- const exception = new ServiceQuotaExceededException({
1141
- $metadata: deserializeMetadata(parsedOutput),
1142
- ...contents,
1143
- });
1144
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1145
- };
1146
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1147
- const contents = smithyClient.map({});
1148
- const data = parsedOutput.body;
1149
- const doc = smithyClient.take(data, {
1150
- Message: smithyClient.expectString,
1151
- });
1152
- Object.assign(contents, doc);
1153
- const exception = new TooManyRequestsException({
1154
- $metadata: deserializeMetadata(parsedOutput),
1155
- ...contents,
1156
- });
1157
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1158
- };
1159
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1160
- const contents = smithyClient.map({});
1161
- const data = parsedOutput.body;
1162
- const doc = smithyClient.take(data, {
1163
- Message: smithyClient.expectString,
1164
- });
1165
- Object.assign(contents, doc);
1166
- const exception = new ValidationException({
1167
- $metadata: deserializeMetadata(parsedOutput),
1168
- ...contents,
1169
- });
1170
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1171
- };
1172
- const deserializeMetadata = (output) => ({
1173
- httpStatusCode: output.statusCode,
1174
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1175
- extendedRequestId: output.headers["x-amz-id-2"],
1176
- cfId: output.headers["x-amz-cf-id"],
1177
- });
279
+ const _A = "Account";
280
+ const _ADE = "AccessDeniedException";
281
+ const _AI = "AccountIdentifiers";
282
+ const _AIc = "AccountIdentifier";
283
+ const _AR = "AllRegions";
284
+ const _AREMVA = "AwsResourceExplorerManagedViewArn";
285
+ const _BC = "BackupConfiguration";
286
+ const _CAI = "CreatorAccountId";
287
+ const _CCRFO = "CreateCentralizationRuleForOrganization";
288
+ const _CCRFOI = "CreateCentralizationRuleForOrganizationInput";
289
+ const _CCRFOO = "CreateCentralizationRuleForOrganizationOutput";
290
+ const _CE = "ConflictException";
291
+ const _CR = "CentralizationRule";
292
+ const _CRD = "CentralizationRuleDestination";
293
+ const _CRS = "CentralizationRuleSource";
294
+ const _CRSe = "CentralizationRuleSummary";
295
+ const _CRSen = "CentralizationRuleSummaries";
296
+ const _CRr = "CreatedRegion";
297
+ const _CTR = "CreateTelemetryRule";
298
+ const _CTRFO = "CreateTelemetryRuleForOrganization";
299
+ const _CTRFOI = "CreateTelemetryRuleForOrganizationInput";
300
+ const _CTRFOO = "CreateTelemetryRuleForOrganizationOutput";
301
+ const _CTRI = "CreateTelemetryRuleInput";
302
+ const _CTRO = "CreateTelemetryRuleOutput";
303
+ const _CTS = "CreatedTimeStamp";
304
+ const _D = "Destination";
305
+ const _DAI = "DestinationAccountId";
306
+ const _DC = "DestinationConfiguration";
307
+ const _DCRFO = "DeleteCentralizationRuleForOrganization";
308
+ const _DCRFOI = "DeleteCentralizationRuleForOrganizationInput";
309
+ const _DLC = "DestinationLogsConfiguration";
310
+ const _DP = "DestinationPattern";
311
+ const _DR = "DestinationRegion";
312
+ const _DT = "DestinationType";
313
+ const _DTR = "DeleteTelemetryRule";
314
+ const _DTRFO = "DeleteTelemetryRuleForOrganization";
315
+ const _DTRFOI = "DeleteTelemetryRuleForOrganizationInput";
316
+ const _DTRI = "DeleteTelemetryRuleInput";
317
+ const _ECRS = "EncryptionConflictResolutionStrategy";
318
+ const _ELGS = "EncryptedLogGroupStrategy";
319
+ const _ES = "EncryptionStrategy";
320
+ const _FR = "FailureReason";
321
+ const _GCRFO = "GetCentralizationRuleForOrganization";
322
+ const _GCRFOI = "GetCentralizationRuleForOrganizationInput";
323
+ const _GCRFOO = "GetCentralizationRuleForOrganizationOutput";
324
+ const _GTES = "GetTelemetryEnrichmentStatus";
325
+ const _GTESFO = "GetTelemetryEvaluationStatusForOrganization";
326
+ const _GTESFOO = "GetTelemetryEvaluationStatusForOrganizationOutput";
327
+ const _GTESO = "GetTelemetryEnrichmentStatusOutput";
328
+ const _GTESOe = "GetTelemetryEvaluationStatusOutput";
329
+ const _GTESe = "GetTelemetryEvaluationStatus";
330
+ const _GTR = "GetTelemetryRule";
331
+ const _GTRFO = "GetTelemetryRuleForOrganization";
332
+ const _GTRFOI = "GetTelemetryRuleForOrganizationInput";
333
+ const _GTRFOO = "GetTelemetryRuleForOrganizationOutput";
334
+ const _GTRI = "GetTelemetryRuleInput";
335
+ const _GTRO = "GetTelemetryRuleOutput";
336
+ const _ISE = "InternalServerException";
337
+ const _KKA = "KmsKeyArn";
338
+ const _LBC = "LogsBackupConfiguration";
339
+ const _LCRFO = "ListCentralizationRulesForOrganization";
340
+ const _LCRFOI = "ListCentralizationRulesForOrganizationInput";
341
+ const _LCRFOO = "ListCentralizationRulesForOrganizationOutput";
342
+ const _LEC = "LogsEncryptionConfiguration";
343
+ const _LF = "LogFormat";
344
+ const _LGSC = "LogGroupSelectionCriteria";
345
+ const _LRT = "ListResourceTelemetry";
346
+ const _LRTFO = "ListResourceTelemetryForOrganization";
347
+ const _LRTFOI = "ListResourceTelemetryForOrganizationInput";
348
+ const _LRTFOO = "ListResourceTelemetryForOrganizationOutput";
349
+ const _LRTI = "ListResourceTelemetryInput";
350
+ const _LRTO = "ListResourceTelemetryOutput";
351
+ const _LTFR = "ListTagsForResource";
352
+ const _LTFRI = "ListTagsForResourceInput";
353
+ const _LTFRO = "ListTagsForResourceOutput";
354
+ const _LTR = "ListTelemetryRules";
355
+ const _LTRFO = "ListTelemetryRulesForOrganization";
356
+ const _LTRFOI = "ListTelemetryRulesForOrganizationInput";
357
+ const _LTRFOO = "ListTelemetryRulesForOrganizationOutput";
358
+ const _LTRI = "ListTelemetryRulesInput";
359
+ const _LTRO = "ListTelemetryRulesOutput";
360
+ const _LUTS = "LastUpdateTimeStamp";
361
+ const _M = "Message";
362
+ const _MAI = "MaxAggregationInterval";
363
+ const _MR = "MaxResults";
364
+ const _NT = "NextToken";
365
+ const _R = "Region";
366
+ const _RA = "RuleArn";
367
+ const _RARN = "ResourceARN";
368
+ const _RH = "RuleHealth";
369
+ const _RI = "RuleIdentifier";
370
+ const _RID = "RetentionInDays";
371
+ const _RIP = "ResourceIdentifierPrefix";
372
+ const _RIe = "ResourceIdentifier";
373
+ const _RN = "RuleName";
374
+ const _RNFE = "ResourceNotFoundException";
375
+ const _RNP = "RuleNamePrefix";
376
+ const _RT = "ResourceTypes";
377
+ const _RTe = "ResourceTags";
378
+ const _RTes = "ResourceType";
379
+ const _Re = "Regions";
380
+ const _Ru = "Rule";
381
+ const _S = "Source";
382
+ const _SAI = "SourceAccountIds";
383
+ const _SC = "SelectionCriteria";
384
+ const _SLC = "SourceLogsConfiguration";
385
+ const _SOUI = "SourceOrganizationUnitIds";
386
+ const _SQEE = "ServiceQuotaExceededException";
387
+ const _STE = "StartTelemetryEnrichment";
388
+ const _STEFO = "StartTelemetryEvaluationForOrganization";
389
+ const _STEFOt = "StopTelemetryEvaluationForOrganization";
390
+ const _STEO = "StartTelemetryEnrichmentOutput";
391
+ const _STEOt = "StopTelemetryEnrichmentOutput";
392
+ const _STEt = "StartTelemetryEvaluation";
393
+ const _STEto = "StopTelemetryEnrichment";
394
+ const _STEtop = "StopTelemetryEvaluation";
395
+ const _Sc = "Scope";
396
+ const _St = "Status";
397
+ const _T = "Tags";
398
+ const _TC = "TelemetryConfigurations";
399
+ const _TCS = "TelemetryConfigurationState";
400
+ const _TCe = "TelemetryConfiguration";
401
+ const _TDC = "TelemetryDestinationConfiguration";
402
+ const _TK = "TagKeys";
403
+ const _TMRE = "TooManyRequestsException";
404
+ const _TR = "TelemetryRule";
405
+ const _TRI = "TagResourceInput";
406
+ const _TRS = "TelemetryRuleSummaries";
407
+ const _TRSe = "TelemetryRuleSummary";
408
+ const _TRa = "TagResource";
409
+ const _TT = "TelemetryType";
410
+ const _TTr = "TrafficType";
411
+ const _UCRFO = "UpdateCentralizationRuleForOrganization";
412
+ const _UCRFOI = "UpdateCentralizationRuleForOrganizationInput";
413
+ const _UCRFOO = "UpdateCentralizationRuleForOrganizationOutput";
414
+ const _UR = "UntagResource";
415
+ const _URI = "UntagResourceInput";
416
+ const _UTR = "UpdateTelemetryRule";
417
+ const _UTRFO = "UpdateTelemetryRuleForOrganization";
418
+ const _UTRFOI = "UpdateTelemetryRuleForOrganizationInput";
419
+ const _UTRFOO = "UpdateTelemetryRuleForOrganizationOutput";
420
+ const _UTRI = "UpdateTelemetryRuleInput";
421
+ const _UTRO = "UpdateTelemetryRuleOutput";
422
+ const _VE = "ValidationException";
423
+ const _VPCFLP = "VPCFlowLogParameters";
1178
424
  const _aET = "amznErrorType";
1179
- const _xae = "x-amzn-errortype";
425
+ const _c = "client";
426
+ const _e = "error";
427
+ const _h = "http";
428
+ const _hE = "httpError";
429
+ const _hH = "httpHeader";
430
+ const _s = "server";
431
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.observabilityadmin";
432
+ const _xaE = "x-amzn-ErrorType";
433
+ const n0 = "com.amazonaws.observabilityadmin";
434
+ var AccessDeniedException = [
435
+ -3,
436
+ n0,
437
+ _ADE,
438
+ {
439
+ [_e]: _c,
440
+ [_hE]: 400,
441
+ },
442
+ [_M, _aET],
443
+ [
444
+ 0,
445
+ [
446
+ 0,
447
+ {
448
+ [_hH]: _xaE,
449
+ },
450
+ ],
451
+ ],
452
+ ];
453
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
454
+ var CentralizationRule = [
455
+ 3,
456
+ n0,
457
+ _CR,
458
+ 0,
459
+ [_S, _D],
460
+ [() => CentralizationRuleSource, () => CentralizationRuleDestination],
461
+ ];
462
+ var CentralizationRuleDestination = [
463
+ 3,
464
+ n0,
465
+ _CRD,
466
+ 0,
467
+ [_R, _A, _DLC],
468
+ [0, 0, () => DestinationLogsConfiguration],
469
+ ];
470
+ var CentralizationRuleSource = [
471
+ 3,
472
+ n0,
473
+ _CRS,
474
+ 0,
475
+ [_Re, _Sc, _SLC],
476
+ [64 | 0, 0, () => SourceLogsConfiguration],
477
+ ];
478
+ var CentralizationRuleSummary = [
479
+ 3,
480
+ n0,
481
+ _CRSe,
482
+ 0,
483
+ [_RN, _RA, _CAI, _CTS, _CRr, _LUTS, _RH, _FR, _DAI, _DR],
484
+ [0, 0, 0, 1, 0, 1, 0, 0, 0, 0],
485
+ ];
486
+ var ConflictException = [
487
+ -3,
488
+ n0,
489
+ _CE,
490
+ {
491
+ [_e]: _c,
492
+ [_hE]: 409,
493
+ },
494
+ [_M],
495
+ [0],
496
+ ];
497
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
498
+ var CreateCentralizationRuleForOrganizationInput = [
499
+ 3,
500
+ n0,
501
+ _CCRFOI,
502
+ 0,
503
+ [_RN, _Ru, _T],
504
+ [0, () => CentralizationRule, 128 | 0],
505
+ ];
506
+ var CreateCentralizationRuleForOrganizationOutput = [3, n0, _CCRFOO, 0, [_RA], [0]];
507
+ var CreateTelemetryRuleForOrganizationInput = [
508
+ 3,
509
+ n0,
510
+ _CTRFOI,
511
+ 0,
512
+ [_RN, _Ru, _T],
513
+ [0, () => TelemetryRule, 128 | 0],
514
+ ];
515
+ var CreateTelemetryRuleForOrganizationOutput = [3, n0, _CTRFOO, 0, [_RA], [0]];
516
+ var CreateTelemetryRuleInput = [
517
+ 3,
518
+ n0,
519
+ _CTRI,
520
+ 0,
521
+ [_RN, _Ru, _T],
522
+ [0, () => TelemetryRule, 128 | 0],
523
+ ];
524
+ var CreateTelemetryRuleOutput = [3, n0, _CTRO, 0, [_RA], [0]];
525
+ var DeleteCentralizationRuleForOrganizationInput = [3, n0, _DCRFOI, 0, [_RI], [0]];
526
+ var DeleteTelemetryRuleForOrganizationInput = [3, n0, _DTRFOI, 0, [_RI], [0]];
527
+ var DeleteTelemetryRuleInput = [3, n0, _DTRI, 0, [_RI], [0]];
528
+ var DestinationLogsConfiguration = [
529
+ 3,
530
+ n0,
531
+ _DLC,
532
+ 0,
533
+ [_LEC, _BC],
534
+ [() => LogsEncryptionConfiguration, () => LogsBackupConfiguration],
535
+ ];
536
+ var GetCentralizationRuleForOrganizationInput = [3, n0, _GCRFOI, 0, [_RI], [0]];
537
+ var GetCentralizationRuleForOrganizationOutput = [
538
+ 3,
539
+ n0,
540
+ _GCRFOO,
541
+ 0,
542
+ [_RN, _RA, _CAI, _CTS, _CRr, _LUTS, _RH, _FR, _CR],
543
+ [0, 0, 0, 1, 0, 1, 0, 0, () => CentralizationRule],
544
+ ];
545
+ var GetTelemetryEnrichmentStatusOutput = [3, n0, _GTESO, 0, [_St, _AREMVA], [0, 0]];
546
+ var GetTelemetryEvaluationStatusForOrganizationOutput = [
547
+ 3,
548
+ n0,
549
+ _GTESFOO,
550
+ 0,
551
+ [_St, _FR],
552
+ [0, 0],
553
+ ];
554
+ var GetTelemetryEvaluationStatusOutput = [3, n0, _GTESOe, 0, [_St, _FR], [0, 0]];
555
+ var GetTelemetryRuleForOrganizationInput = [3, n0, _GTRFOI, 0, [_RI], [0]];
556
+ var GetTelemetryRuleForOrganizationOutput = [
557
+ 3,
558
+ n0,
559
+ _GTRFOO,
560
+ 0,
561
+ [_RN, _RA, _CTS, _LUTS, _TR],
562
+ [0, 0, 1, 1, () => TelemetryRule],
563
+ ];
564
+ var GetTelemetryRuleInput = [3, n0, _GTRI, 0, [_RI], [0]];
565
+ var GetTelemetryRuleOutput = [
566
+ 3,
567
+ n0,
568
+ _GTRO,
569
+ 0,
570
+ [_RN, _RA, _CTS, _LUTS, _TR],
571
+ [0, 0, 1, 1, () => TelemetryRule],
572
+ ];
573
+ var InternalServerException = [
574
+ -3,
575
+ n0,
576
+ _ISE,
577
+ {
578
+ [_e]: _s,
579
+ [_hE]: 500,
580
+ },
581
+ [_M, _aET],
582
+ [
583
+ 0,
584
+ [
585
+ 0,
586
+ {
587
+ [_hH]: _xaE,
588
+ },
589
+ ],
590
+ ],
591
+ ];
592
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
593
+ var ListCentralizationRulesForOrganizationInput = [
594
+ 3,
595
+ n0,
596
+ _LCRFOI,
597
+ 0,
598
+ [_RNP, _AR, _MR, _NT],
599
+ [0, 2, 1, 0],
600
+ ];
601
+ var ListCentralizationRulesForOrganizationOutput = [
602
+ 3,
603
+ n0,
604
+ _LCRFOO,
605
+ 0,
606
+ [_CRSen, _NT],
607
+ [() => CentralizationRuleSummaries, 0],
608
+ ];
609
+ var ListResourceTelemetryForOrganizationInput = [
610
+ 3,
611
+ n0,
612
+ _LRTFOI,
613
+ 0,
614
+ [_AI, _RIP, _RT, _TCS, _RTe, _MR, _NT],
615
+ [64 | 0, 0, 64 | 0, 128 | 0, 128 | 0, 1, 0],
616
+ ];
617
+ var ListResourceTelemetryForOrganizationOutput = [
618
+ 3,
619
+ n0,
620
+ _LRTFOO,
621
+ 0,
622
+ [_TC, _NT],
623
+ [() => TelemetryConfigurations, 0],
624
+ ];
625
+ var ListResourceTelemetryInput = [
626
+ 3,
627
+ n0,
628
+ _LRTI,
629
+ 0,
630
+ [_RIP, _RT, _TCS, _RTe, _MR, _NT],
631
+ [0, 64 | 0, 128 | 0, 128 | 0, 1, 0],
632
+ ];
633
+ var ListResourceTelemetryOutput = [
634
+ 3,
635
+ n0,
636
+ _LRTO,
637
+ 0,
638
+ [_TC, _NT],
639
+ [() => TelemetryConfigurations, 0],
640
+ ];
641
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RARN], [0]];
642
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_T], [128 | 0]];
643
+ var ListTelemetryRulesForOrganizationInput = [
644
+ 3,
645
+ n0,
646
+ _LTRFOI,
647
+ 0,
648
+ [_RNP, _SAI, _SOUI, _MR, _NT],
649
+ [0, 64 | 0, 64 | 0, 1, 0],
650
+ ];
651
+ var ListTelemetryRulesForOrganizationOutput = [
652
+ 3,
653
+ n0,
654
+ _LTRFOO,
655
+ 0,
656
+ [_TRS, _NT],
657
+ [() => TelemetryRuleSummaries, 0],
658
+ ];
659
+ var ListTelemetryRulesInput = [3, n0, _LTRI, 0, [_RNP, _MR, _NT], [0, 1, 0]];
660
+ var ListTelemetryRulesOutput = [
661
+ 3,
662
+ n0,
663
+ _LTRO,
664
+ 0,
665
+ [_TRS, _NT],
666
+ [() => TelemetryRuleSummaries, 0],
667
+ ];
668
+ var LogsBackupConfiguration = [3, n0, _LBC, 0, [_R, _KKA], [0, 0]];
669
+ var LogsEncryptionConfiguration = [3, n0, _LEC, 0, [_ES, _KKA, _ECRS], [0, 0, 0]];
670
+ var ResourceNotFoundException = [
671
+ -3,
672
+ n0,
673
+ _RNFE,
674
+ {
675
+ [_e]: _c,
676
+ [_hE]: 404,
677
+ },
678
+ [_M],
679
+ [0],
680
+ ];
681
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
682
+ var ServiceQuotaExceededException = [
683
+ -3,
684
+ n0,
685
+ _SQEE,
686
+ {
687
+ [_e]: _c,
688
+ [_hE]: 402,
689
+ },
690
+ [_M, _aET],
691
+ [
692
+ 0,
693
+ [
694
+ 0,
695
+ {
696
+ [_hH]: _xaE,
697
+ },
698
+ ],
699
+ ],
700
+ ];
701
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
702
+ var SourceLogsConfiguration = [3, n0, _SLC, 0, [_LGSC, _ELGS], [0, 0]];
703
+ var StartTelemetryEnrichmentOutput = [3, n0, _STEO, 0, [_St, _AREMVA], [0, 0]];
704
+ var StopTelemetryEnrichmentOutput = [3, n0, _STEOt, 0, [_St], [0]];
705
+ var TagResourceInput = [3, n0, _TRI, 0, [_RARN, _T], [0, 128 | 0]];
706
+ var TelemetryConfiguration = [
707
+ 3,
708
+ n0,
709
+ _TCe,
710
+ 0,
711
+ [_AIc, _TCS, _RTes, _RIe, _RTe, _LUTS],
712
+ [0, 128 | 0, 0, 0, 128 | 0, 1],
713
+ ];
714
+ var TelemetryDestinationConfiguration = [
715
+ 3,
716
+ n0,
717
+ _TDC,
718
+ 0,
719
+ [_DT, _DP, _RID, _VPCFLP],
720
+ [0, 0, 1, () => VPCFlowLogParameters],
721
+ ];
722
+ var TelemetryRule = [
723
+ 3,
724
+ n0,
725
+ _TR,
726
+ 0,
727
+ [_RTes, _TT, _DC, _Sc, _SC],
728
+ [0, 0, () => TelemetryDestinationConfiguration, 0, 0],
729
+ ];
730
+ var TelemetryRuleSummary = [
731
+ 3,
732
+ n0,
733
+ _TRSe,
734
+ 0,
735
+ [_RN, _RA, _CTS, _LUTS, _RTes, _TT],
736
+ [0, 0, 1, 1, 0, 0],
737
+ ];
738
+ var TooManyRequestsException = [
739
+ -3,
740
+ n0,
741
+ _TMRE,
742
+ {
743
+ [_e]: _c,
744
+ [_hE]: 429,
745
+ },
746
+ [_M],
747
+ [0],
748
+ ];
749
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
750
+ var UntagResourceInput = [3, n0, _URI, 0, [_RARN, _TK], [0, 64 | 0]];
751
+ var UpdateCentralizationRuleForOrganizationInput = [
752
+ 3,
753
+ n0,
754
+ _UCRFOI,
755
+ 0,
756
+ [_RI, _Ru],
757
+ [0, () => CentralizationRule],
758
+ ];
759
+ var UpdateCentralizationRuleForOrganizationOutput = [3, n0, _UCRFOO, 0, [_RA], [0]];
760
+ var UpdateTelemetryRuleForOrganizationInput = [
761
+ 3,
762
+ n0,
763
+ _UTRFOI,
764
+ 0,
765
+ [_RI, _Ru],
766
+ [0, () => TelemetryRule],
767
+ ];
768
+ var UpdateTelemetryRuleForOrganizationOutput = [3, n0, _UTRFOO, 0, [_RA], [0]];
769
+ var UpdateTelemetryRuleInput = [3, n0, _UTRI, 0, [_RI, _Ru], [0, () => TelemetryRule]];
770
+ var UpdateTelemetryRuleOutput = [3, n0, _UTRO, 0, [_RA], [0]];
771
+ var ValidationException = [
772
+ -3,
773
+ n0,
774
+ _VE,
775
+ {
776
+ [_e]: _c,
777
+ [_hE]: 400,
778
+ },
779
+ [_M],
780
+ [0],
781
+ ];
782
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
783
+ var VPCFlowLogParameters = [3, n0, _VPCFLP, 0, [_LF, _TTr, _MAI], [0, 0, 1]];
784
+ var __Unit = "unit";
785
+ var ObservabilityAdminServiceException = [
786
+ -3,
787
+ _sm,
788
+ "ObservabilityAdminServiceException",
789
+ 0,
790
+ [],
791
+ [],
792
+ ];
793
+ schema.TypeRegistry.for(_sm).registerError(ObservabilityAdminServiceException, ObservabilityAdminServiceException$1);
794
+ var CentralizationRuleSummaries = [1, n0, _CRSen, 0, () => CentralizationRuleSummary];
795
+ var TelemetryConfigurations = [1, n0, _TC, 0, () => TelemetryConfiguration];
796
+ var TelemetryRuleSummaries = [1, n0, _TRS, 0, () => TelemetryRuleSummary];
797
+ var CreateCentralizationRuleForOrganization = [
798
+ 9,
799
+ n0,
800
+ _CCRFO,
801
+ {
802
+ [_h]: ["POST", "/CreateCentralizationRuleForOrganization", 200],
803
+ },
804
+ () => CreateCentralizationRuleForOrganizationInput,
805
+ () => CreateCentralizationRuleForOrganizationOutput,
806
+ ];
807
+ var CreateTelemetryRule = [
808
+ 9,
809
+ n0,
810
+ _CTR,
811
+ {
812
+ [_h]: ["POST", "/CreateTelemetryRule", 200],
813
+ },
814
+ () => CreateTelemetryRuleInput,
815
+ () => CreateTelemetryRuleOutput,
816
+ ];
817
+ var CreateTelemetryRuleForOrganization = [
818
+ 9,
819
+ n0,
820
+ _CTRFO,
821
+ {
822
+ [_h]: ["POST", "/CreateTelemetryRuleForOrganization", 200],
823
+ },
824
+ () => CreateTelemetryRuleForOrganizationInput,
825
+ () => CreateTelemetryRuleForOrganizationOutput,
826
+ ];
827
+ var DeleteCentralizationRuleForOrganization = [
828
+ 9,
829
+ n0,
830
+ _DCRFO,
831
+ {
832
+ [_h]: ["POST", "/DeleteCentralizationRuleForOrganization", 200],
833
+ },
834
+ () => DeleteCentralizationRuleForOrganizationInput,
835
+ () => __Unit,
836
+ ];
837
+ var DeleteTelemetryRule = [
838
+ 9,
839
+ n0,
840
+ _DTR,
841
+ {
842
+ [_h]: ["POST", "/DeleteTelemetryRule", 200],
843
+ },
844
+ () => DeleteTelemetryRuleInput,
845
+ () => __Unit,
846
+ ];
847
+ var DeleteTelemetryRuleForOrganization = [
848
+ 9,
849
+ n0,
850
+ _DTRFO,
851
+ {
852
+ [_h]: ["POST", "/DeleteTelemetryRuleForOrganization", 200],
853
+ },
854
+ () => DeleteTelemetryRuleForOrganizationInput,
855
+ () => __Unit,
856
+ ];
857
+ var GetCentralizationRuleForOrganization = [
858
+ 9,
859
+ n0,
860
+ _GCRFO,
861
+ {
862
+ [_h]: ["POST", "/GetCentralizationRuleForOrganization", 200],
863
+ },
864
+ () => GetCentralizationRuleForOrganizationInput,
865
+ () => GetCentralizationRuleForOrganizationOutput,
866
+ ];
867
+ var GetTelemetryEnrichmentStatus = [
868
+ 9,
869
+ n0,
870
+ _GTES,
871
+ {
872
+ [_h]: ["POST", "/GetTelemetryEnrichmentStatus", 200],
873
+ },
874
+ () => __Unit,
875
+ () => GetTelemetryEnrichmentStatusOutput,
876
+ ];
877
+ var GetTelemetryEvaluationStatus = [
878
+ 9,
879
+ n0,
880
+ _GTESe,
881
+ {
882
+ [_h]: ["POST", "/GetTelemetryEvaluationStatus", 200],
883
+ },
884
+ () => __Unit,
885
+ () => GetTelemetryEvaluationStatusOutput,
886
+ ];
887
+ var GetTelemetryEvaluationStatusForOrganization = [
888
+ 9,
889
+ n0,
890
+ _GTESFO,
891
+ {
892
+ [_h]: ["POST", "/GetTelemetryEvaluationStatusForOrganization", 200],
893
+ },
894
+ () => __Unit,
895
+ () => GetTelemetryEvaluationStatusForOrganizationOutput,
896
+ ];
897
+ var GetTelemetryRule = [
898
+ 9,
899
+ n0,
900
+ _GTR,
901
+ {
902
+ [_h]: ["POST", "/GetTelemetryRule", 200],
903
+ },
904
+ () => GetTelemetryRuleInput,
905
+ () => GetTelemetryRuleOutput,
906
+ ];
907
+ var GetTelemetryRuleForOrganization = [
908
+ 9,
909
+ n0,
910
+ _GTRFO,
911
+ {
912
+ [_h]: ["POST", "/GetTelemetryRuleForOrganization", 200],
913
+ },
914
+ () => GetTelemetryRuleForOrganizationInput,
915
+ () => GetTelemetryRuleForOrganizationOutput,
916
+ ];
917
+ var ListCentralizationRulesForOrganization = [
918
+ 9,
919
+ n0,
920
+ _LCRFO,
921
+ {
922
+ [_h]: ["POST", "/ListCentralizationRulesForOrganization", 200],
923
+ },
924
+ () => ListCentralizationRulesForOrganizationInput,
925
+ () => ListCentralizationRulesForOrganizationOutput,
926
+ ];
927
+ var ListResourceTelemetry = [
928
+ 9,
929
+ n0,
930
+ _LRT,
931
+ {
932
+ [_h]: ["POST", "/ListResourceTelemetry", 200],
933
+ },
934
+ () => ListResourceTelemetryInput,
935
+ () => ListResourceTelemetryOutput,
936
+ ];
937
+ var ListResourceTelemetryForOrganization = [
938
+ 9,
939
+ n0,
940
+ _LRTFO,
941
+ {
942
+ [_h]: ["POST", "/ListResourceTelemetryForOrganization", 200],
943
+ },
944
+ () => ListResourceTelemetryForOrganizationInput,
945
+ () => ListResourceTelemetryForOrganizationOutput,
946
+ ];
947
+ var ListTagsForResource = [
948
+ 9,
949
+ n0,
950
+ _LTFR,
951
+ {
952
+ [_h]: ["POST", "/ListTagsForResource", 200],
953
+ },
954
+ () => ListTagsForResourceInput,
955
+ () => ListTagsForResourceOutput,
956
+ ];
957
+ var ListTelemetryRules = [
958
+ 9,
959
+ n0,
960
+ _LTR,
961
+ {
962
+ [_h]: ["POST", "/ListTelemetryRules", 200],
963
+ },
964
+ () => ListTelemetryRulesInput,
965
+ () => ListTelemetryRulesOutput,
966
+ ];
967
+ var ListTelemetryRulesForOrganization = [
968
+ 9,
969
+ n0,
970
+ _LTRFO,
971
+ {
972
+ [_h]: ["POST", "/ListTelemetryRulesForOrganization", 200],
973
+ },
974
+ () => ListTelemetryRulesForOrganizationInput,
975
+ () => ListTelemetryRulesForOrganizationOutput,
976
+ ];
977
+ var StartTelemetryEnrichment = [
978
+ 9,
979
+ n0,
980
+ _STE,
981
+ {
982
+ [_h]: ["POST", "/StartTelemetryEnrichment", 202],
983
+ },
984
+ () => __Unit,
985
+ () => StartTelemetryEnrichmentOutput,
986
+ ];
987
+ var StartTelemetryEvaluation = [
988
+ 9,
989
+ n0,
990
+ _STEt,
991
+ {
992
+ [_h]: ["POST", "/StartTelemetryEvaluation", 200],
993
+ },
994
+ () => __Unit,
995
+ () => __Unit,
996
+ ];
997
+ var StartTelemetryEvaluationForOrganization = [
998
+ 9,
999
+ n0,
1000
+ _STEFO,
1001
+ {
1002
+ [_h]: ["POST", "/StartTelemetryEvaluationForOrganization", 200],
1003
+ },
1004
+ () => __Unit,
1005
+ () => __Unit,
1006
+ ];
1007
+ var StopTelemetryEnrichment = [
1008
+ 9,
1009
+ n0,
1010
+ _STEto,
1011
+ {
1012
+ [_h]: ["POST", "/StopTelemetryEnrichment", 202],
1013
+ },
1014
+ () => __Unit,
1015
+ () => StopTelemetryEnrichmentOutput,
1016
+ ];
1017
+ var StopTelemetryEvaluation = [
1018
+ 9,
1019
+ n0,
1020
+ _STEtop,
1021
+ {
1022
+ [_h]: ["POST", "/StopTelemetryEvaluation", 200],
1023
+ },
1024
+ () => __Unit,
1025
+ () => __Unit,
1026
+ ];
1027
+ var StopTelemetryEvaluationForOrganization = [
1028
+ 9,
1029
+ n0,
1030
+ _STEFOt,
1031
+ {
1032
+ [_h]: ["POST", "/StopTelemetryEvaluationForOrganization", 200],
1033
+ },
1034
+ () => __Unit,
1035
+ () => __Unit,
1036
+ ];
1037
+ var TagResource = [
1038
+ 9,
1039
+ n0,
1040
+ _TRa,
1041
+ {
1042
+ [_h]: ["POST", "/TagResource", 200],
1043
+ },
1044
+ () => TagResourceInput,
1045
+ () => __Unit,
1046
+ ];
1047
+ var UntagResource = [
1048
+ 9,
1049
+ n0,
1050
+ _UR,
1051
+ {
1052
+ [_h]: ["POST", "/UntagResource", 200],
1053
+ },
1054
+ () => UntagResourceInput,
1055
+ () => __Unit,
1056
+ ];
1057
+ var UpdateCentralizationRuleForOrganization = [
1058
+ 9,
1059
+ n0,
1060
+ _UCRFO,
1061
+ {
1062
+ [_h]: ["POST", "/UpdateCentralizationRuleForOrganization", 200],
1063
+ },
1064
+ () => UpdateCentralizationRuleForOrganizationInput,
1065
+ () => UpdateCentralizationRuleForOrganizationOutput,
1066
+ ];
1067
+ var UpdateTelemetryRule = [
1068
+ 9,
1069
+ n0,
1070
+ _UTR,
1071
+ {
1072
+ [_h]: ["POST", "/UpdateTelemetryRule", 200],
1073
+ },
1074
+ () => UpdateTelemetryRuleInput,
1075
+ () => UpdateTelemetryRuleOutput,
1076
+ ];
1077
+ var UpdateTelemetryRuleForOrganization = [
1078
+ 9,
1079
+ n0,
1080
+ _UTRFO,
1081
+ {
1082
+ [_h]: ["POST", "/UpdateTelemetryRuleForOrganization", 200],
1083
+ },
1084
+ () => UpdateTelemetryRuleForOrganizationInput,
1085
+ () => UpdateTelemetryRuleForOrganizationOutput,
1086
+ ];
1180
1087
 
1181
1088
  class CreateCentralizationRuleForOrganizationCommand extends smithyClient.Command
1182
1089
  .classBuilder()
1183
1090
  .ep(commonParams)
1184
1091
  .m(function (Command, cs, config, o) {
1185
- return [
1186
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1187
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1188
- ];
1092
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1189
1093
  })
1190
1094
  .s("ObservabilityAdmin", "CreateCentralizationRuleForOrganization", {})
1191
1095
  .n("ObservabilityAdminClient", "CreateCentralizationRuleForOrganizationCommand")
1192
- .f(void 0, void 0)
1193
- .ser(se_CreateCentralizationRuleForOrganizationCommand)
1194
- .de(de_CreateCentralizationRuleForOrganizationCommand)
1096
+ .sc(CreateCentralizationRuleForOrganization)
1195
1097
  .build() {
1196
1098
  }
1197
1099
 
@@ -1199,16 +1101,11 @@ class CreateTelemetryRuleCommand extends smithyClient.Command
1199
1101
  .classBuilder()
1200
1102
  .ep(commonParams)
1201
1103
  .m(function (Command, cs, config, o) {
1202
- return [
1203
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1204
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1205
- ];
1104
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1206
1105
  })
1207
1106
  .s("ObservabilityAdmin", "CreateTelemetryRule", {})
1208
1107
  .n("ObservabilityAdminClient", "CreateTelemetryRuleCommand")
1209
- .f(void 0, void 0)
1210
- .ser(se_CreateTelemetryRuleCommand)
1211
- .de(de_CreateTelemetryRuleCommand)
1108
+ .sc(CreateTelemetryRule)
1212
1109
  .build() {
1213
1110
  }
1214
1111
 
@@ -1216,16 +1113,11 @@ class CreateTelemetryRuleForOrganizationCommand extends smithyClient.Command
1216
1113
  .classBuilder()
1217
1114
  .ep(commonParams)
1218
1115
  .m(function (Command, cs, config, o) {
1219
- return [
1220
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1221
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1222
- ];
1116
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1223
1117
  })
1224
1118
  .s("ObservabilityAdmin", "CreateTelemetryRuleForOrganization", {})
1225
1119
  .n("ObservabilityAdminClient", "CreateTelemetryRuleForOrganizationCommand")
1226
- .f(void 0, void 0)
1227
- .ser(se_CreateTelemetryRuleForOrganizationCommand)
1228
- .de(de_CreateTelemetryRuleForOrganizationCommand)
1120
+ .sc(CreateTelemetryRuleForOrganization)
1229
1121
  .build() {
1230
1122
  }
1231
1123
 
@@ -1233,16 +1125,11 @@ class DeleteCentralizationRuleForOrganizationCommand extends smithyClient.Comman
1233
1125
  .classBuilder()
1234
1126
  .ep(commonParams)
1235
1127
  .m(function (Command, cs, config, o) {
1236
- return [
1237
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1238
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1239
- ];
1128
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1240
1129
  })
1241
1130
  .s("ObservabilityAdmin", "DeleteCentralizationRuleForOrganization", {})
1242
1131
  .n("ObservabilityAdminClient", "DeleteCentralizationRuleForOrganizationCommand")
1243
- .f(void 0, void 0)
1244
- .ser(se_DeleteCentralizationRuleForOrganizationCommand)
1245
- .de(de_DeleteCentralizationRuleForOrganizationCommand)
1132
+ .sc(DeleteCentralizationRuleForOrganization)
1246
1133
  .build() {
1247
1134
  }
1248
1135
 
@@ -1250,16 +1137,11 @@ class DeleteTelemetryRuleCommand extends smithyClient.Command
1250
1137
  .classBuilder()
1251
1138
  .ep(commonParams)
1252
1139
  .m(function (Command, cs, config, o) {
1253
- return [
1254
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1255
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1256
- ];
1140
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1257
1141
  })
1258
1142
  .s("ObservabilityAdmin", "DeleteTelemetryRule", {})
1259
1143
  .n("ObservabilityAdminClient", "DeleteTelemetryRuleCommand")
1260
- .f(void 0, void 0)
1261
- .ser(se_DeleteTelemetryRuleCommand)
1262
- .de(de_DeleteTelemetryRuleCommand)
1144
+ .sc(DeleteTelemetryRule)
1263
1145
  .build() {
1264
1146
  }
1265
1147
 
@@ -1267,16 +1149,11 @@ class DeleteTelemetryRuleForOrganizationCommand extends smithyClient.Command
1267
1149
  .classBuilder()
1268
1150
  .ep(commonParams)
1269
1151
  .m(function (Command, cs, config, o) {
1270
- return [
1271
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1272
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1273
- ];
1152
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1274
1153
  })
1275
1154
  .s("ObservabilityAdmin", "DeleteTelemetryRuleForOrganization", {})
1276
1155
  .n("ObservabilityAdminClient", "DeleteTelemetryRuleForOrganizationCommand")
1277
- .f(void 0, void 0)
1278
- .ser(se_DeleteTelemetryRuleForOrganizationCommand)
1279
- .de(de_DeleteTelemetryRuleForOrganizationCommand)
1156
+ .sc(DeleteTelemetryRuleForOrganization)
1280
1157
  .build() {
1281
1158
  }
1282
1159
 
@@ -1284,16 +1161,11 @@ class GetCentralizationRuleForOrganizationCommand extends smithyClient.Command
1284
1161
  .classBuilder()
1285
1162
  .ep(commonParams)
1286
1163
  .m(function (Command, cs, config, o) {
1287
- return [
1288
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1289
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1290
- ];
1164
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1291
1165
  })
1292
1166
  .s("ObservabilityAdmin", "GetCentralizationRuleForOrganization", {})
1293
1167
  .n("ObservabilityAdminClient", "GetCentralizationRuleForOrganizationCommand")
1294
- .f(void 0, void 0)
1295
- .ser(se_GetCentralizationRuleForOrganizationCommand)
1296
- .de(de_GetCentralizationRuleForOrganizationCommand)
1168
+ .sc(GetCentralizationRuleForOrganization)
1297
1169
  .build() {
1298
1170
  }
1299
1171
 
@@ -1301,16 +1173,11 @@ class GetTelemetryEnrichmentStatusCommand extends smithyClient.Command
1301
1173
  .classBuilder()
1302
1174
  .ep(commonParams)
1303
1175
  .m(function (Command, cs, config, o) {
1304
- return [
1305
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1306
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1307
- ];
1176
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1308
1177
  })
1309
1178
  .s("ObservabilityAdmin", "GetTelemetryEnrichmentStatus", {})
1310
1179
  .n("ObservabilityAdminClient", "GetTelemetryEnrichmentStatusCommand")
1311
- .f(void 0, void 0)
1312
- .ser(se_GetTelemetryEnrichmentStatusCommand)
1313
- .de(de_GetTelemetryEnrichmentStatusCommand)
1180
+ .sc(GetTelemetryEnrichmentStatus)
1314
1181
  .build() {
1315
1182
  }
1316
1183
 
@@ -1318,16 +1185,11 @@ class GetTelemetryEvaluationStatusCommand extends smithyClient.Command
1318
1185
  .classBuilder()
1319
1186
  .ep(commonParams)
1320
1187
  .m(function (Command, cs, config, o) {
1321
- return [
1322
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1323
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1324
- ];
1188
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1325
1189
  })
1326
1190
  .s("ObservabilityAdmin", "GetTelemetryEvaluationStatus", {})
1327
1191
  .n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusCommand")
1328
- .f(void 0, void 0)
1329
- .ser(se_GetTelemetryEvaluationStatusCommand)
1330
- .de(de_GetTelemetryEvaluationStatusCommand)
1192
+ .sc(GetTelemetryEvaluationStatus)
1331
1193
  .build() {
1332
1194
  }
1333
1195
 
@@ -1335,16 +1197,11 @@ class GetTelemetryEvaluationStatusForOrganizationCommand extends smithyClient.Co
1335
1197
  .classBuilder()
1336
1198
  .ep(commonParams)
1337
1199
  .m(function (Command, cs, config, o) {
1338
- return [
1339
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1340
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1341
- ];
1200
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1342
1201
  })
1343
1202
  .s("ObservabilityAdmin", "GetTelemetryEvaluationStatusForOrganization", {})
1344
1203
  .n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusForOrganizationCommand")
1345
- .f(void 0, void 0)
1346
- .ser(se_GetTelemetryEvaluationStatusForOrganizationCommand)
1347
- .de(de_GetTelemetryEvaluationStatusForOrganizationCommand)
1204
+ .sc(GetTelemetryEvaluationStatusForOrganization)
1348
1205
  .build() {
1349
1206
  }
1350
1207
 
@@ -1352,16 +1209,11 @@ class GetTelemetryRuleCommand extends smithyClient.Command
1352
1209
  .classBuilder()
1353
1210
  .ep(commonParams)
1354
1211
  .m(function (Command, cs, config, o) {
1355
- return [
1356
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1357
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1358
- ];
1212
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1359
1213
  })
1360
1214
  .s("ObservabilityAdmin", "GetTelemetryRule", {})
1361
1215
  .n("ObservabilityAdminClient", "GetTelemetryRuleCommand")
1362
- .f(void 0, void 0)
1363
- .ser(se_GetTelemetryRuleCommand)
1364
- .de(de_GetTelemetryRuleCommand)
1216
+ .sc(GetTelemetryRule)
1365
1217
  .build() {
1366
1218
  }
1367
1219
 
@@ -1369,16 +1221,11 @@ class GetTelemetryRuleForOrganizationCommand extends smithyClient.Command
1369
1221
  .classBuilder()
1370
1222
  .ep(commonParams)
1371
1223
  .m(function (Command, cs, config, o) {
1372
- return [
1373
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1374
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1375
- ];
1224
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1376
1225
  })
1377
1226
  .s("ObservabilityAdmin", "GetTelemetryRuleForOrganization", {})
1378
1227
  .n("ObservabilityAdminClient", "GetTelemetryRuleForOrganizationCommand")
1379
- .f(void 0, void 0)
1380
- .ser(se_GetTelemetryRuleForOrganizationCommand)
1381
- .de(de_GetTelemetryRuleForOrganizationCommand)
1228
+ .sc(GetTelemetryRuleForOrganization)
1382
1229
  .build() {
1383
1230
  }
1384
1231
 
@@ -1386,16 +1233,11 @@ class ListCentralizationRulesForOrganizationCommand extends smithyClient.Command
1386
1233
  .classBuilder()
1387
1234
  .ep(commonParams)
1388
1235
  .m(function (Command, cs, config, o) {
1389
- return [
1390
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1391
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1392
- ];
1236
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1393
1237
  })
1394
1238
  .s("ObservabilityAdmin", "ListCentralizationRulesForOrganization", {})
1395
1239
  .n("ObservabilityAdminClient", "ListCentralizationRulesForOrganizationCommand")
1396
- .f(void 0, void 0)
1397
- .ser(se_ListCentralizationRulesForOrganizationCommand)
1398
- .de(de_ListCentralizationRulesForOrganizationCommand)
1240
+ .sc(ListCentralizationRulesForOrganization)
1399
1241
  .build() {
1400
1242
  }
1401
1243
 
@@ -1403,16 +1245,11 @@ class ListResourceTelemetryCommand extends smithyClient.Command
1403
1245
  .classBuilder()
1404
1246
  .ep(commonParams)
1405
1247
  .m(function (Command, cs, config, o) {
1406
- return [
1407
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1408
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1409
- ];
1248
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1410
1249
  })
1411
1250
  .s("ObservabilityAdmin", "ListResourceTelemetry", {})
1412
1251
  .n("ObservabilityAdminClient", "ListResourceTelemetryCommand")
1413
- .f(void 0, void 0)
1414
- .ser(se_ListResourceTelemetryCommand)
1415
- .de(de_ListResourceTelemetryCommand)
1252
+ .sc(ListResourceTelemetry)
1416
1253
  .build() {
1417
1254
  }
1418
1255
 
@@ -1420,16 +1257,11 @@ class ListResourceTelemetryForOrganizationCommand extends smithyClient.Command
1420
1257
  .classBuilder()
1421
1258
  .ep(commonParams)
1422
1259
  .m(function (Command, cs, config, o) {
1423
- return [
1424
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1425
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1426
- ];
1260
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
1261
  })
1428
1262
  .s("ObservabilityAdmin", "ListResourceTelemetryForOrganization", {})
1429
1263
  .n("ObservabilityAdminClient", "ListResourceTelemetryForOrganizationCommand")
1430
- .f(void 0, void 0)
1431
- .ser(se_ListResourceTelemetryForOrganizationCommand)
1432
- .de(de_ListResourceTelemetryForOrganizationCommand)
1264
+ .sc(ListResourceTelemetryForOrganization)
1433
1265
  .build() {
1434
1266
  }
1435
1267
 
@@ -1437,16 +1269,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1437
1269
  .classBuilder()
1438
1270
  .ep(commonParams)
1439
1271
  .m(function (Command, cs, config, o) {
1440
- return [
1441
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1442
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1443
- ];
1272
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1444
1273
  })
1445
1274
  .s("ObservabilityAdmin", "ListTagsForResource", {})
1446
1275
  .n("ObservabilityAdminClient", "ListTagsForResourceCommand")
1447
- .f(void 0, void 0)
1448
- .ser(se_ListTagsForResourceCommand)
1449
- .de(de_ListTagsForResourceCommand)
1276
+ .sc(ListTagsForResource)
1450
1277
  .build() {
1451
1278
  }
1452
1279
 
@@ -1454,16 +1281,11 @@ class ListTelemetryRulesCommand extends smithyClient.Command
1454
1281
  .classBuilder()
1455
1282
  .ep(commonParams)
1456
1283
  .m(function (Command, cs, config, o) {
1457
- return [
1458
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1459
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1460
- ];
1284
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
1285
  })
1462
1286
  .s("ObservabilityAdmin", "ListTelemetryRules", {})
1463
1287
  .n("ObservabilityAdminClient", "ListTelemetryRulesCommand")
1464
- .f(void 0, void 0)
1465
- .ser(se_ListTelemetryRulesCommand)
1466
- .de(de_ListTelemetryRulesCommand)
1288
+ .sc(ListTelemetryRules)
1467
1289
  .build() {
1468
1290
  }
1469
1291
 
@@ -1471,16 +1293,11 @@ class ListTelemetryRulesForOrganizationCommand extends smithyClient.Command
1471
1293
  .classBuilder()
1472
1294
  .ep(commonParams)
1473
1295
  .m(function (Command, cs, config, o) {
1474
- return [
1475
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1476
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1477
- ];
1296
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1478
1297
  })
1479
1298
  .s("ObservabilityAdmin", "ListTelemetryRulesForOrganization", {})
1480
1299
  .n("ObservabilityAdminClient", "ListTelemetryRulesForOrganizationCommand")
1481
- .f(void 0, void 0)
1482
- .ser(se_ListTelemetryRulesForOrganizationCommand)
1483
- .de(de_ListTelemetryRulesForOrganizationCommand)
1300
+ .sc(ListTelemetryRulesForOrganization)
1484
1301
  .build() {
1485
1302
  }
1486
1303
 
@@ -1488,16 +1305,11 @@ class StartTelemetryEnrichmentCommand extends smithyClient.Command
1488
1305
  .classBuilder()
1489
1306
  .ep(commonParams)
1490
1307
  .m(function (Command, cs, config, o) {
1491
- return [
1492
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1493
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1494
- ];
1308
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1495
1309
  })
1496
1310
  .s("ObservabilityAdmin", "StartTelemetryEnrichment", {})
1497
1311
  .n("ObservabilityAdminClient", "StartTelemetryEnrichmentCommand")
1498
- .f(void 0, void 0)
1499
- .ser(se_StartTelemetryEnrichmentCommand)
1500
- .de(de_StartTelemetryEnrichmentCommand)
1312
+ .sc(StartTelemetryEnrichment)
1501
1313
  .build() {
1502
1314
  }
1503
1315
 
@@ -1505,16 +1317,11 @@ class StartTelemetryEvaluationCommand extends smithyClient.Command
1505
1317
  .classBuilder()
1506
1318
  .ep(commonParams)
1507
1319
  .m(function (Command, cs, config, o) {
1508
- return [
1509
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1510
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1511
- ];
1320
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1512
1321
  })
1513
1322
  .s("ObservabilityAdmin", "StartTelemetryEvaluation", {})
1514
1323
  .n("ObservabilityAdminClient", "StartTelemetryEvaluationCommand")
1515
- .f(void 0, void 0)
1516
- .ser(se_StartTelemetryEvaluationCommand)
1517
- .de(de_StartTelemetryEvaluationCommand)
1324
+ .sc(StartTelemetryEvaluation)
1518
1325
  .build() {
1519
1326
  }
1520
1327
 
@@ -1522,16 +1329,11 @@ class StartTelemetryEvaluationForOrganizationCommand extends smithyClient.Comman
1522
1329
  .classBuilder()
1523
1330
  .ep(commonParams)
1524
1331
  .m(function (Command, cs, config, o) {
1525
- return [
1526
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1527
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1528
- ];
1332
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1529
1333
  })
1530
1334
  .s("ObservabilityAdmin", "StartTelemetryEvaluationForOrganization", {})
1531
1335
  .n("ObservabilityAdminClient", "StartTelemetryEvaluationForOrganizationCommand")
1532
- .f(void 0, void 0)
1533
- .ser(se_StartTelemetryEvaluationForOrganizationCommand)
1534
- .de(de_StartTelemetryEvaluationForOrganizationCommand)
1336
+ .sc(StartTelemetryEvaluationForOrganization)
1535
1337
  .build() {
1536
1338
  }
1537
1339
 
@@ -1539,16 +1341,11 @@ class StopTelemetryEnrichmentCommand extends smithyClient.Command
1539
1341
  .classBuilder()
1540
1342
  .ep(commonParams)
1541
1343
  .m(function (Command, cs, config, o) {
1542
- return [
1543
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1544
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1545
- ];
1344
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1546
1345
  })
1547
1346
  .s("ObservabilityAdmin", "StopTelemetryEnrichment", {})
1548
1347
  .n("ObservabilityAdminClient", "StopTelemetryEnrichmentCommand")
1549
- .f(void 0, void 0)
1550
- .ser(se_StopTelemetryEnrichmentCommand)
1551
- .de(de_StopTelemetryEnrichmentCommand)
1348
+ .sc(StopTelemetryEnrichment)
1552
1349
  .build() {
1553
1350
  }
1554
1351
 
@@ -1556,16 +1353,11 @@ class StopTelemetryEvaluationCommand extends smithyClient.Command
1556
1353
  .classBuilder()
1557
1354
  .ep(commonParams)
1558
1355
  .m(function (Command, cs, config, o) {
1559
- return [
1560
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1561
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1562
- ];
1356
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1563
1357
  })
1564
1358
  .s("ObservabilityAdmin", "StopTelemetryEvaluation", {})
1565
1359
  .n("ObservabilityAdminClient", "StopTelemetryEvaluationCommand")
1566
- .f(void 0, void 0)
1567
- .ser(se_StopTelemetryEvaluationCommand)
1568
- .de(de_StopTelemetryEvaluationCommand)
1360
+ .sc(StopTelemetryEvaluation)
1569
1361
  .build() {
1570
1362
  }
1571
1363
 
@@ -1573,16 +1365,11 @@ class StopTelemetryEvaluationForOrganizationCommand extends smithyClient.Command
1573
1365
  .classBuilder()
1574
1366
  .ep(commonParams)
1575
1367
  .m(function (Command, cs, config, o) {
1576
- return [
1577
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1578
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1579
- ];
1368
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1580
1369
  })
1581
1370
  .s("ObservabilityAdmin", "StopTelemetryEvaluationForOrganization", {})
1582
1371
  .n("ObservabilityAdminClient", "StopTelemetryEvaluationForOrganizationCommand")
1583
- .f(void 0, void 0)
1584
- .ser(se_StopTelemetryEvaluationForOrganizationCommand)
1585
- .de(de_StopTelemetryEvaluationForOrganizationCommand)
1372
+ .sc(StopTelemetryEvaluationForOrganization)
1586
1373
  .build() {
1587
1374
  }
1588
1375
 
@@ -1590,16 +1377,11 @@ class TagResourceCommand extends smithyClient.Command
1590
1377
  .classBuilder()
1591
1378
  .ep(commonParams)
1592
1379
  .m(function (Command, cs, config, o) {
1593
- return [
1594
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1595
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1596
- ];
1380
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1597
1381
  })
1598
1382
  .s("ObservabilityAdmin", "TagResource", {})
1599
1383
  .n("ObservabilityAdminClient", "TagResourceCommand")
1600
- .f(void 0, void 0)
1601
- .ser(se_TagResourceCommand)
1602
- .de(de_TagResourceCommand)
1384
+ .sc(TagResource)
1603
1385
  .build() {
1604
1386
  }
1605
1387
 
@@ -1607,16 +1389,11 @@ class UntagResourceCommand extends smithyClient.Command
1607
1389
  .classBuilder()
1608
1390
  .ep(commonParams)
1609
1391
  .m(function (Command, cs, config, o) {
1610
- return [
1611
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1612
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1613
- ];
1392
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1614
1393
  })
1615
1394
  .s("ObservabilityAdmin", "UntagResource", {})
1616
1395
  .n("ObservabilityAdminClient", "UntagResourceCommand")
1617
- .f(void 0, void 0)
1618
- .ser(se_UntagResourceCommand)
1619
- .de(de_UntagResourceCommand)
1396
+ .sc(UntagResource)
1620
1397
  .build() {
1621
1398
  }
1622
1399
 
@@ -1624,16 +1401,11 @@ class UpdateCentralizationRuleForOrganizationCommand extends smithyClient.Comman
1624
1401
  .classBuilder()
1625
1402
  .ep(commonParams)
1626
1403
  .m(function (Command, cs, config, o) {
1627
- return [
1628
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1629
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1630
- ];
1404
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1631
1405
  })
1632
1406
  .s("ObservabilityAdmin", "UpdateCentralizationRuleForOrganization", {})
1633
1407
  .n("ObservabilityAdminClient", "UpdateCentralizationRuleForOrganizationCommand")
1634
- .f(void 0, void 0)
1635
- .ser(se_UpdateCentralizationRuleForOrganizationCommand)
1636
- .de(de_UpdateCentralizationRuleForOrganizationCommand)
1408
+ .sc(UpdateCentralizationRuleForOrganization)
1637
1409
  .build() {
1638
1410
  }
1639
1411
 
@@ -1641,16 +1413,11 @@ class UpdateTelemetryRuleCommand extends smithyClient.Command
1641
1413
  .classBuilder()
1642
1414
  .ep(commonParams)
1643
1415
  .m(function (Command, cs, config, o) {
1644
- return [
1645
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1646
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1647
- ];
1416
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1648
1417
  })
1649
1418
  .s("ObservabilityAdmin", "UpdateTelemetryRule", {})
1650
1419
  .n("ObservabilityAdminClient", "UpdateTelemetryRuleCommand")
1651
- .f(void 0, void 0)
1652
- .ser(se_UpdateTelemetryRuleCommand)
1653
- .de(de_UpdateTelemetryRuleCommand)
1420
+ .sc(UpdateTelemetryRule)
1654
1421
  .build() {
1655
1422
  }
1656
1423
 
@@ -1658,16 +1425,11 @@ class UpdateTelemetryRuleForOrganizationCommand extends smithyClient.Command
1658
1425
  .classBuilder()
1659
1426
  .ep(commonParams)
1660
1427
  .m(function (Command, cs, config, o) {
1661
- return [
1662
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1663
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1664
- ];
1428
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
1429
  })
1666
1430
  .s("ObservabilityAdmin", "UpdateTelemetryRuleForOrganization", {})
1667
1431
  .n("ObservabilityAdminClient", "UpdateTelemetryRuleForOrganizationCommand")
1668
- .f(void 0, void 0)
1669
- .ser(se_UpdateTelemetryRuleForOrganizationCommand)
1670
- .de(de_UpdateTelemetryRuleForOrganizationCommand)
1432
+ .sc(UpdateTelemetryRuleForOrganization)
1671
1433
  .build() {
1672
1434
  }
1673
1435
 
@@ -1724,9 +1486,9 @@ Object.defineProperty(exports, "__Client", {
1724
1486
  enumerable: true,
1725
1487
  get: function () { return smithyClient.Client; }
1726
1488
  });
1727
- exports.AccessDeniedException = AccessDeniedException;
1489
+ exports.AccessDeniedException = AccessDeniedException$1;
1728
1490
  exports.CentralizationFailureReason = CentralizationFailureReason;
1729
- exports.ConflictException = ConflictException;
1491
+ exports.ConflictException = ConflictException$1;
1730
1492
  exports.CreateCentralizationRuleForOrganizationCommand = CreateCentralizationRuleForOrganizationCommand;
1731
1493
  exports.CreateTelemetryRuleCommand = CreateTelemetryRuleCommand;
1732
1494
  exports.CreateTelemetryRuleForOrganizationCommand = CreateTelemetryRuleForOrganizationCommand;
@@ -1743,7 +1505,7 @@ exports.GetTelemetryEvaluationStatusCommand = GetTelemetryEvaluationStatusComman
1743
1505
  exports.GetTelemetryEvaluationStatusForOrganizationCommand = GetTelemetryEvaluationStatusForOrganizationCommand;
1744
1506
  exports.GetTelemetryRuleCommand = GetTelemetryRuleCommand;
1745
1507
  exports.GetTelemetryRuleForOrganizationCommand = GetTelemetryRuleForOrganizationCommand;
1746
- exports.InternalServerException = InternalServerException;
1508
+ exports.InternalServerException = InternalServerException$1;
1747
1509
  exports.ListCentralizationRulesForOrganizationCommand = ListCentralizationRulesForOrganizationCommand;
1748
1510
  exports.ListResourceTelemetryCommand = ListResourceTelemetryCommand;
1749
1511
  exports.ListResourceTelemetryForOrganizationCommand = ListResourceTelemetryForOrganizationCommand;
@@ -1752,11 +1514,11 @@ exports.ListTelemetryRulesCommand = ListTelemetryRulesCommand;
1752
1514
  exports.ListTelemetryRulesForOrganizationCommand = ListTelemetryRulesForOrganizationCommand;
1753
1515
  exports.ObservabilityAdmin = ObservabilityAdmin;
1754
1516
  exports.ObservabilityAdminClient = ObservabilityAdminClient;
1755
- exports.ObservabilityAdminServiceException = ObservabilityAdminServiceException;
1756
- exports.ResourceNotFoundException = ResourceNotFoundException;
1517
+ exports.ObservabilityAdminServiceException = ObservabilityAdminServiceException$1;
1518
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1757
1519
  exports.ResourceType = ResourceType;
1758
1520
  exports.RuleHealth = RuleHealth;
1759
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1521
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1760
1522
  exports.StartTelemetryEnrichmentCommand = StartTelemetryEnrichmentCommand;
1761
1523
  exports.StartTelemetryEvaluationCommand = StartTelemetryEvaluationCommand;
1762
1524
  exports.StartTelemetryEvaluationForOrganizationCommand = StartTelemetryEvaluationForOrganizationCommand;
@@ -1768,12 +1530,12 @@ exports.TagResourceCommand = TagResourceCommand;
1768
1530
  exports.TelemetryEnrichmentStatus = TelemetryEnrichmentStatus;
1769
1531
  exports.TelemetryState = TelemetryState;
1770
1532
  exports.TelemetryType = TelemetryType;
1771
- exports.TooManyRequestsException = TooManyRequestsException;
1533
+ exports.TooManyRequestsException = TooManyRequestsException$1;
1772
1534
  exports.UntagResourceCommand = UntagResourceCommand;
1773
1535
  exports.UpdateCentralizationRuleForOrganizationCommand = UpdateCentralizationRuleForOrganizationCommand;
1774
1536
  exports.UpdateTelemetryRuleCommand = UpdateTelemetryRuleCommand;
1775
1537
  exports.UpdateTelemetryRuleForOrganizationCommand = UpdateTelemetryRuleForOrganizationCommand;
1776
- exports.ValidationException = ValidationException;
1538
+ exports.ValidationException = ValidationException$1;
1777
1539
  exports.paginateListCentralizationRulesForOrganization = paginateListCentralizationRulesForOrganization;
1778
1540
  exports.paginateListResourceTelemetry = paginateListResourceTelemetry;
1779
1541
  exports.paginateListResourceTelemetryForOrganization = paginateListResourceTelemetryForOrganization;