@aws-sdk/client-observabilityadmin 3.907.0 → 3.909.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 (55) hide show
  1. package/README.md +25 -4
  2. package/dist-cjs/endpoint/ruleset.js +1 -1
  3. package/dist-cjs/index.js +131 -0
  4. package/dist-es/ObservabilityAdmin.js +6 -0
  5. package/dist-es/commands/GetTelemetryEnrichmentStatusCommand.js +22 -0
  6. package/dist-es/commands/StartTelemetryEnrichmentCommand.js +22 -0
  7. package/dist-es/commands/StopTelemetryEnrichmentCommand.js +22 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/endpoint/ruleset.js +1 -1
  10. package/dist-es/models/models_0.js +5 -0
  11. package/dist-es/protocols/Aws_restJson1.js +68 -0
  12. package/dist-types/ObservabilityAdmin.d.ts +25 -4
  13. package/dist-types/ObservabilityAdminClient.d.ts +6 -6
  14. package/dist-types/commands/CreateCentralizationRuleForOrganizationCommand.d.ts +6 -18
  15. package/dist-types/commands/CreateTelemetryRuleCommand.d.ts +7 -21
  16. package/dist-types/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +7 -21
  17. package/dist-types/commands/DeleteCentralizationRuleForOrganizationCommand.d.ts +5 -15
  18. package/dist-types/commands/DeleteTelemetryRuleCommand.d.ts +6 -18
  19. package/dist-types/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +6 -18
  20. package/dist-types/commands/GetCentralizationRuleForOrganizationCommand.d.ts +5 -15
  21. package/dist-types/commands/GetTelemetryEnrichmentStatusCommand.d.ts +85 -0
  22. package/dist-types/commands/GetTelemetryEvaluationStatusCommand.d.ts +4 -12
  23. package/dist-types/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +5 -15
  24. package/dist-types/commands/GetTelemetryRuleCommand.d.ts +6 -18
  25. package/dist-types/commands/GetTelemetryRuleForOrganizationCommand.d.ts +6 -18
  26. package/dist-types/commands/ListCentralizationRulesForOrganizationCommand.d.ts +4 -12
  27. package/dist-types/commands/ListResourceTelemetryCommand.d.ts +5 -15
  28. package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +5 -15
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -18
  30. package/dist-types/commands/ListTelemetryRulesCommand.d.ts +5 -15
  31. package/dist-types/commands/ListTelemetryRulesForOrganizationCommand.d.ts +5 -15
  32. package/dist-types/commands/StartTelemetryEnrichmentCommand.d.ts +85 -0
  33. package/dist-types/commands/StartTelemetryEvaluationCommand.d.ts +5 -15
  34. package/dist-types/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +5 -15
  35. package/dist-types/commands/StopTelemetryEnrichmentCommand.d.ts +84 -0
  36. package/dist-types/commands/StopTelemetryEvaluationCommand.d.ts +5 -15
  37. package/dist-types/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +5 -15
  38. package/dist-types/commands/TagResourceCommand.d.ts +7 -21
  39. package/dist-types/commands/UntagResourceCommand.d.ts +6 -18
  40. package/dist-types/commands/UpdateCentralizationRuleForOrganizationCommand.d.ts +6 -18
  41. package/dist-types/commands/UpdateTelemetryRuleCommand.d.ts +7 -21
  42. package/dist-types/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +7 -21
  43. package/dist-types/commands/index.d.ts +3 -0
  44. package/dist-types/index.d.ts +1 -4
  45. package/dist-types/models/models_0.d.ts +159 -318
  46. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  47. package/dist-types/ts3.4/ObservabilityAdmin.d.ts +54 -0
  48. package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +18 -0
  49. package/dist-types/ts3.4/commands/GetTelemetryEnrichmentStatusCommand.d.ts +47 -0
  50. package/dist-types/ts3.4/commands/StartTelemetryEnrichmentCommand.d.ts +47 -0
  51. package/dist-types/ts3.4/commands/StopTelemetryEnrichmentCommand.d.ts +47 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  55. package/package.json +14 -14
package/README.md CHANGED
@@ -6,10 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript ObservabilityAdmin Client for Node.js, Browser and React Native.
8
8
 
9
- <p>
10
- You can use Amazon CloudWatch Observability Admin to discover and understand the state of telemetry configuration in CloudWatch for your Amazon Web Services Organization or account. This simplifies the process of auditing your telemetry collection configurations across multiple resource types within your Amazon Web Services Organization or account. By providing a consolidated view, it allows you to easily review and manage telemetry settings, helping you ensure proper monitoring and data collection across your Amazon Web Services environment.
11
- For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p>
12
- <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
9
+ <p> You can use Amazon CloudWatch Observability Admin to discover and understand the state of telemetry configuration in CloudWatch for your Amazon Web Services Organization or account. This simplifies the process of auditing your telemetry collection configurations across multiple resource types within your Amazon Web Services Organization or account. By providing a consolidated view, it allows you to easily review and manage telemetry settings, helping you ensure proper monitoring and data collection across your Amazon Web Services environment. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p> <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
13
10
 
14
11
  ## Installing
15
12
 
@@ -261,6 +258,14 @@ GetCentralizationRuleForOrganization
261
258
 
262
259
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/GetCentralizationRuleForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetCentralizationRuleForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetCentralizationRuleForOrganizationCommandOutput/)
263
260
 
261
+ </details>
262
+ <details>
263
+ <summary>
264
+ GetTelemetryEnrichmentStatus
265
+ </summary>
266
+
267
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/GetTelemetryEnrichmentStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetTelemetryEnrichmentStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/GetTelemetryEnrichmentStatusCommandOutput/)
268
+
264
269
  </details>
265
270
  <details>
266
271
  <summary>
@@ -341,6 +346,14 @@ ListTelemetryRulesForOrganization
341
346
 
342
347
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/ListTelemetryRulesForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/ListTelemetryRulesForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/ListTelemetryRulesForOrganizationCommandOutput/)
343
348
 
349
+ </details>
350
+ <details>
351
+ <summary>
352
+ StartTelemetryEnrichment
353
+ </summary>
354
+
355
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/StartTelemetryEnrichmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/StartTelemetryEnrichmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/StartTelemetryEnrichmentCommandOutput/)
356
+
344
357
  </details>
345
358
  <details>
346
359
  <summary>
@@ -357,6 +370,14 @@ StartTelemetryEvaluationForOrganization
357
370
 
358
371
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/StartTelemetryEvaluationForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/StartTelemetryEvaluationForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/StartTelemetryEvaluationForOrganizationCommandOutput/)
359
372
 
373
+ </details>
374
+ <details>
375
+ <summary>
376
+ StopTelemetryEnrichment
377
+ </summary>
378
+
379
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/observabilityadmin/command/StopTelemetryEnrichmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/StopTelemetryEnrichmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-observabilityadmin/Interface/StopTelemetryEnrichmentCommandOutput/)
380
+
360
381
  </details>
361
382
  <details>
362
383
  <summary>
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -256,6 +256,11 @@ class ResourceNotFoundException extends ObservabilityAdminServiceException {
256
256
  this.Message = opts.Message;
257
257
  }
258
258
  }
259
+ const TelemetryEnrichmentStatus = {
260
+ IMPAIRED: "Impaired",
261
+ RUNNING: "Running",
262
+ STOPPED: "Stopped",
263
+ };
259
264
  const Status = {
260
265
  FAILED_START: "FAILED_START",
261
266
  FAILED_STOP: "FAILED_STOP",
@@ -368,6 +373,14 @@ const se_GetCentralizationRuleForOrganizationCommand = async (input, context) =>
368
373
  b.m("POST").h(headers).b(body);
369
374
  return b.build();
370
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
+ };
371
384
  const se_GetTelemetryEvaluationStatusCommand = async (input, context) => {
372
385
  const b = core.requestBuilder(input, context);
373
386
  const headers = {};
@@ -508,6 +521,14 @@ const se_ListTelemetryRulesForOrganizationCommand = async (input, context) => {
508
521
  b.m("POST").h(headers).b(body);
509
522
  return b.build();
510
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
+ };
511
532
  const se_StartTelemetryEvaluationCommand = async (input, context) => {
512
533
  const b = core.requestBuilder(input, context);
513
534
  const headers = {};
@@ -524,6 +545,14 @@ const se_StartTelemetryEvaluationForOrganizationCommand = async (input, context)
524
545
  b.m("POST").h(headers).b(body);
525
546
  return b.build();
526
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
+ };
527
556
  const se_StopTelemetryEvaluationCommand = async (input, context) => {
528
557
  const b = core.requestBuilder(input, context);
529
558
  const headers = {};
@@ -704,6 +733,21 @@ const de_GetCentralizationRuleForOrganizationCommand = async (output, context) =
704
733
  Object.assign(contents, doc);
705
734
  return contents;
706
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
+ };
707
751
  const de_GetTelemetryEvaluationStatusCommand = async (output, context) => {
708
752
  if (output.statusCode !== 200 && output.statusCode >= 300) {
709
753
  return de_CommandError(output, context);
@@ -859,6 +903,21 @@ const de_ListTelemetryRulesForOrganizationCommand = async (output, context) => {
859
903
  Object.assign(contents, doc);
860
904
  return contents;
861
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
+ };
862
921
  const de_StartTelemetryEvaluationCommand = async (output, context) => {
863
922
  if (output.statusCode !== 200 && output.statusCode >= 300) {
864
923
  return de_CommandError(output, context);
@@ -879,6 +938,20 @@ const de_StartTelemetryEvaluationForOrganizationCommand = async (output, context
879
938
  await smithyClient.collectBody(output.body, context);
880
939
  return contents;
881
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
+ };
882
955
  const de_StopTelemetryEvaluationCommand = async (output, context) => {
883
956
  if (output.statusCode !== 200 && output.statusCode >= 300) {
884
957
  return de_CommandError(output, context);
@@ -1224,6 +1297,23 @@ class GetCentralizationRuleForOrganizationCommand extends smithyClient.Command
1224
1297
  .build() {
1225
1298
  }
1226
1299
 
1300
+ class GetTelemetryEnrichmentStatusCommand extends smithyClient.Command
1301
+ .classBuilder()
1302
+ .ep(commonParams)
1303
+ .m(function (Command, cs, config, o) {
1304
+ return [
1305
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1306
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1307
+ ];
1308
+ })
1309
+ .s("ObservabilityAdmin", "GetTelemetryEnrichmentStatus", {})
1310
+ .n("ObservabilityAdminClient", "GetTelemetryEnrichmentStatusCommand")
1311
+ .f(void 0, void 0)
1312
+ .ser(se_GetTelemetryEnrichmentStatusCommand)
1313
+ .de(de_GetTelemetryEnrichmentStatusCommand)
1314
+ .build() {
1315
+ }
1316
+
1227
1317
  class GetTelemetryEvaluationStatusCommand extends smithyClient.Command
1228
1318
  .classBuilder()
1229
1319
  .ep(commonParams)
@@ -1394,6 +1484,23 @@ class ListTelemetryRulesForOrganizationCommand extends smithyClient.Command
1394
1484
  .build() {
1395
1485
  }
1396
1486
 
1487
+ class StartTelemetryEnrichmentCommand extends smithyClient.Command
1488
+ .classBuilder()
1489
+ .ep(commonParams)
1490
+ .m(function (Command, cs, config, o) {
1491
+ return [
1492
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1493
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1494
+ ];
1495
+ })
1496
+ .s("ObservabilityAdmin", "StartTelemetryEnrichment", {})
1497
+ .n("ObservabilityAdminClient", "StartTelemetryEnrichmentCommand")
1498
+ .f(void 0, void 0)
1499
+ .ser(se_StartTelemetryEnrichmentCommand)
1500
+ .de(de_StartTelemetryEnrichmentCommand)
1501
+ .build() {
1502
+ }
1503
+
1397
1504
  class StartTelemetryEvaluationCommand extends smithyClient.Command
1398
1505
  .classBuilder()
1399
1506
  .ep(commonParams)
@@ -1428,6 +1535,23 @@ class StartTelemetryEvaluationForOrganizationCommand extends smithyClient.Comman
1428
1535
  .build() {
1429
1536
  }
1430
1537
 
1538
+ class StopTelemetryEnrichmentCommand extends smithyClient.Command
1539
+ .classBuilder()
1540
+ .ep(commonParams)
1541
+ .m(function (Command, cs, config, o) {
1542
+ return [
1543
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1544
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1545
+ ];
1546
+ })
1547
+ .s("ObservabilityAdmin", "StopTelemetryEnrichment", {})
1548
+ .n("ObservabilityAdminClient", "StopTelemetryEnrichmentCommand")
1549
+ .f(void 0, void 0)
1550
+ .ser(se_StopTelemetryEnrichmentCommand)
1551
+ .de(de_StopTelemetryEnrichmentCommand)
1552
+ .build() {
1553
+ }
1554
+
1431
1555
  class StopTelemetryEvaluationCommand extends smithyClient.Command
1432
1556
  .classBuilder()
1433
1557
  .ep(commonParams)
@@ -1555,6 +1679,7 @@ const commands = {
1555
1679
  DeleteTelemetryRuleCommand,
1556
1680
  DeleteTelemetryRuleForOrganizationCommand,
1557
1681
  GetCentralizationRuleForOrganizationCommand,
1682
+ GetTelemetryEnrichmentStatusCommand,
1558
1683
  GetTelemetryEvaluationStatusCommand,
1559
1684
  GetTelemetryEvaluationStatusForOrganizationCommand,
1560
1685
  GetTelemetryRuleCommand,
@@ -1565,8 +1690,10 @@ const commands = {
1565
1690
  ListTagsForResourceCommand,
1566
1691
  ListTelemetryRulesCommand,
1567
1692
  ListTelemetryRulesForOrganizationCommand,
1693
+ StartTelemetryEnrichmentCommand,
1568
1694
  StartTelemetryEvaluationCommand,
1569
1695
  StartTelemetryEvaluationForOrganizationCommand,
1696
+ StopTelemetryEnrichmentCommand,
1570
1697
  StopTelemetryEvaluationCommand,
1571
1698
  StopTelemetryEvaluationForOrganizationCommand,
1572
1699
  TagResourceCommand,
@@ -1611,6 +1738,7 @@ exports.EncryptedLogGroupStrategy = EncryptedLogGroupStrategy;
1611
1738
  exports.EncryptionConflictResolutionStrategy = EncryptionConflictResolutionStrategy;
1612
1739
  exports.EncryptionStrategy = EncryptionStrategy;
1613
1740
  exports.GetCentralizationRuleForOrganizationCommand = GetCentralizationRuleForOrganizationCommand;
1741
+ exports.GetTelemetryEnrichmentStatusCommand = GetTelemetryEnrichmentStatusCommand;
1614
1742
  exports.GetTelemetryEvaluationStatusCommand = GetTelemetryEvaluationStatusCommand;
1615
1743
  exports.GetTelemetryEvaluationStatusForOrganizationCommand = GetTelemetryEvaluationStatusForOrganizationCommand;
1616
1744
  exports.GetTelemetryRuleCommand = GetTelemetryRuleCommand;
@@ -1629,12 +1757,15 @@ exports.ResourceNotFoundException = ResourceNotFoundException;
1629
1757
  exports.ResourceType = ResourceType;
1630
1758
  exports.RuleHealth = RuleHealth;
1631
1759
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1760
+ exports.StartTelemetryEnrichmentCommand = StartTelemetryEnrichmentCommand;
1632
1761
  exports.StartTelemetryEvaluationCommand = StartTelemetryEvaluationCommand;
1633
1762
  exports.StartTelemetryEvaluationForOrganizationCommand = StartTelemetryEvaluationForOrganizationCommand;
1634
1763
  exports.Status = Status;
1764
+ exports.StopTelemetryEnrichmentCommand = StopTelemetryEnrichmentCommand;
1635
1765
  exports.StopTelemetryEvaluationCommand = StopTelemetryEvaluationCommand;
1636
1766
  exports.StopTelemetryEvaluationForOrganizationCommand = StopTelemetryEvaluationForOrganizationCommand;
1637
1767
  exports.TagResourceCommand = TagResourceCommand;
1768
+ exports.TelemetryEnrichmentStatus = TelemetryEnrichmentStatus;
1638
1769
  exports.TelemetryState = TelemetryState;
1639
1770
  exports.TelemetryType = TelemetryType;
1640
1771
  exports.TooManyRequestsException = TooManyRequestsException;
@@ -6,6 +6,7 @@ import { DeleteCentralizationRuleForOrganizationCommand, } from "./commands/Dele
6
6
  import { DeleteTelemetryRuleCommand, } from "./commands/DeleteTelemetryRuleCommand";
7
7
  import { DeleteTelemetryRuleForOrganizationCommand, } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
8
8
  import { GetCentralizationRuleForOrganizationCommand, } from "./commands/GetCentralizationRuleForOrganizationCommand";
9
+ import { GetTelemetryEnrichmentStatusCommand, } from "./commands/GetTelemetryEnrichmentStatusCommand";
9
10
  import { GetTelemetryEvaluationStatusCommand, } from "./commands/GetTelemetryEvaluationStatusCommand";
10
11
  import { GetTelemetryEvaluationStatusForOrganizationCommand, } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
11
12
  import { GetTelemetryRuleCommand, } from "./commands/GetTelemetryRuleCommand";
@@ -16,8 +17,10 @@ import { ListResourceTelemetryForOrganizationCommand, } from "./commands/ListRes
16
17
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
17
18
  import { ListTelemetryRulesCommand, } from "./commands/ListTelemetryRulesCommand";
18
19
  import { ListTelemetryRulesForOrganizationCommand, } from "./commands/ListTelemetryRulesForOrganizationCommand";
20
+ import { StartTelemetryEnrichmentCommand, } from "./commands/StartTelemetryEnrichmentCommand";
19
21
  import { StartTelemetryEvaluationCommand, } from "./commands/StartTelemetryEvaluationCommand";
20
22
  import { StartTelemetryEvaluationForOrganizationCommand, } from "./commands/StartTelemetryEvaluationForOrganizationCommand";
23
+ import { StopTelemetryEnrichmentCommand, } from "./commands/StopTelemetryEnrichmentCommand";
21
24
  import { StopTelemetryEvaluationCommand, } from "./commands/StopTelemetryEvaluationCommand";
22
25
  import { StopTelemetryEvaluationForOrganizationCommand, } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
23
26
  import { TagResourceCommand } from "./commands/TagResourceCommand";
@@ -34,6 +37,7 @@ const commands = {
34
37
  DeleteTelemetryRuleCommand,
35
38
  DeleteTelemetryRuleForOrganizationCommand,
36
39
  GetCentralizationRuleForOrganizationCommand,
40
+ GetTelemetryEnrichmentStatusCommand,
37
41
  GetTelemetryEvaluationStatusCommand,
38
42
  GetTelemetryEvaluationStatusForOrganizationCommand,
39
43
  GetTelemetryRuleCommand,
@@ -44,8 +48,10 @@ const commands = {
44
48
  ListTagsForResourceCommand,
45
49
  ListTelemetryRulesCommand,
46
50
  ListTelemetryRulesForOrganizationCommand,
51
+ StartTelemetryEnrichmentCommand,
47
52
  StartTelemetryEvaluationCommand,
48
53
  StartTelemetryEvaluationForOrganizationCommand,
54
+ StopTelemetryEnrichmentCommand,
49
55
  StopTelemetryEvaluationCommand,
50
56
  StopTelemetryEvaluationForOrganizationCommand,
51
57
  TagResourceCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetTelemetryEnrichmentStatusCommand, se_GetTelemetryEnrichmentStatusCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTelemetryEnrichmentStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ObservabilityAdmin", "GetTelemetryEnrichmentStatus", {})
17
+ .n("ObservabilityAdminClient", "GetTelemetryEnrichmentStatusCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTelemetryEnrichmentStatusCommand)
20
+ .de(de_GetTelemetryEnrichmentStatusCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartTelemetryEnrichmentCommand, se_StartTelemetryEnrichmentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartTelemetryEnrichmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ObservabilityAdmin", "StartTelemetryEnrichment", {})
17
+ .n("ObservabilityAdminClient", "StartTelemetryEnrichmentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartTelemetryEnrichmentCommand)
20
+ .de(de_StartTelemetryEnrichmentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StopTelemetryEnrichmentCommand, se_StopTelemetryEnrichmentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StopTelemetryEnrichmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ObservabilityAdmin", "StopTelemetryEnrichment", {})
17
+ .n("ObservabilityAdminClient", "StopTelemetryEnrichmentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StopTelemetryEnrichmentCommand)
20
+ .de(de_StopTelemetryEnrichmentCommand)
21
+ .build() {
22
+ }
@@ -5,6 +5,7 @@ export * from "./DeleteCentralizationRuleForOrganizationCommand";
5
5
  export * from "./DeleteTelemetryRuleCommand";
6
6
  export * from "./DeleteTelemetryRuleForOrganizationCommand";
7
7
  export * from "./GetCentralizationRuleForOrganizationCommand";
8
+ export * from "./GetTelemetryEnrichmentStatusCommand";
8
9
  export * from "./GetTelemetryEvaluationStatusCommand";
9
10
  export * from "./GetTelemetryEvaluationStatusForOrganizationCommand";
10
11
  export * from "./GetTelemetryRuleCommand";
@@ -15,8 +16,10 @@ export * from "./ListResourceTelemetryForOrganizationCommand";
15
16
  export * from "./ListTagsForResourceCommand";
16
17
  export * from "./ListTelemetryRulesCommand";
17
18
  export * from "./ListTelemetryRulesForOrganizationCommand";
19
+ export * from "./StartTelemetryEnrichmentCommand";
18
20
  export * from "./StartTelemetryEvaluationCommand";
19
21
  export * from "./StartTelemetryEvaluationForOrganizationCommand";
22
+ export * from "./StopTelemetryEnrichmentCommand";
20
23
  export * from "./StopTelemetryEvaluationCommand";
21
24
  export * from "./StopTelemetryEvaluationForOrganizationCommand";
22
25
  export * from "./TagResourceCommand";
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://observabilityadmin.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
4
  export const ruleSet = _data;
@@ -138,6 +138,11 @@ export class ResourceNotFoundException extends __BaseException {
138
138
  this.Message = opts.Message;
139
139
  }
140
140
  }
141
+ export const TelemetryEnrichmentStatus = {
142
+ IMPAIRED: "Impaired",
143
+ RUNNING: "Running",
144
+ STOPPED: "Stopped",
145
+ };
141
146
  export const Status = {
142
147
  FAILED_START: "FAILED_START",
143
148
  FAILED_STOP: "FAILED_STOP",
@@ -100,6 +100,14 @@ export const se_GetCentralizationRuleForOrganizationCommand = async (input, cont
100
100
  b.m("POST").h(headers).b(body);
101
101
  return b.build();
102
102
  };
103
+ export const se_GetTelemetryEnrichmentStatusCommand = async (input, context) => {
104
+ const b = rb(input, context);
105
+ const headers = {};
106
+ b.bp("/GetTelemetryEnrichmentStatus");
107
+ let body;
108
+ b.m("POST").h(headers).b(body);
109
+ return b.build();
110
+ };
103
111
  export const se_GetTelemetryEvaluationStatusCommand = async (input, context) => {
104
112
  const b = rb(input, context);
105
113
  const headers = {};
@@ -240,6 +248,14 @@ export const se_ListTelemetryRulesForOrganizationCommand = async (input, context
240
248
  b.m("POST").h(headers).b(body);
241
249
  return b.build();
242
250
  };
251
+ export const se_StartTelemetryEnrichmentCommand = async (input, context) => {
252
+ const b = rb(input, context);
253
+ const headers = {};
254
+ b.bp("/StartTelemetryEnrichment");
255
+ let body;
256
+ b.m("POST").h(headers).b(body);
257
+ return b.build();
258
+ };
243
259
  export const se_StartTelemetryEvaluationCommand = async (input, context) => {
244
260
  const b = rb(input, context);
245
261
  const headers = {};
@@ -256,6 +272,14 @@ export const se_StartTelemetryEvaluationForOrganizationCommand = async (input, c
256
272
  b.m("POST").h(headers).b(body);
257
273
  return b.build();
258
274
  };
275
+ export const se_StopTelemetryEnrichmentCommand = async (input, context) => {
276
+ const b = rb(input, context);
277
+ const headers = {};
278
+ b.bp("/StopTelemetryEnrichment");
279
+ let body;
280
+ b.m("POST").h(headers).b(body);
281
+ return b.build();
282
+ };
259
283
  export const se_StopTelemetryEvaluationCommand = async (input, context) => {
260
284
  const b = rb(input, context);
261
285
  const headers = {};
@@ -436,6 +460,21 @@ export const de_GetCentralizationRuleForOrganizationCommand = async (output, con
436
460
  Object.assign(contents, doc);
437
461
  return contents;
438
462
  };
463
+ export const de_GetTelemetryEnrichmentStatusCommand = async (output, context) => {
464
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
465
+ return de_CommandError(output, context);
466
+ }
467
+ const contents = map({
468
+ $metadata: deserializeMetadata(output),
469
+ });
470
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
471
+ const doc = take(data, {
472
+ AwsResourceExplorerManagedViewArn: __expectString,
473
+ Status: __expectString,
474
+ });
475
+ Object.assign(contents, doc);
476
+ return contents;
477
+ };
439
478
  export const de_GetTelemetryEvaluationStatusCommand = async (output, context) => {
440
479
  if (output.statusCode !== 200 && output.statusCode >= 300) {
441
480
  return de_CommandError(output, context);
@@ -591,6 +630,21 @@ export const de_ListTelemetryRulesForOrganizationCommand = async (output, contex
591
630
  Object.assign(contents, doc);
592
631
  return contents;
593
632
  };
633
+ export const de_StartTelemetryEnrichmentCommand = async (output, context) => {
634
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
635
+ return de_CommandError(output, context);
636
+ }
637
+ const contents = map({
638
+ $metadata: deserializeMetadata(output),
639
+ });
640
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
641
+ const doc = take(data, {
642
+ AwsResourceExplorerManagedViewArn: __expectString,
643
+ Status: __expectString,
644
+ });
645
+ Object.assign(contents, doc);
646
+ return contents;
647
+ };
594
648
  export const de_StartTelemetryEvaluationCommand = async (output, context) => {
595
649
  if (output.statusCode !== 200 && output.statusCode >= 300) {
596
650
  return de_CommandError(output, context);
@@ -611,6 +665,20 @@ export const de_StartTelemetryEvaluationForOrganizationCommand = async (output,
611
665
  await collectBody(output.body, context);
612
666
  return contents;
613
667
  };
668
+ export const de_StopTelemetryEnrichmentCommand = async (output, context) => {
669
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
670
+ return de_CommandError(output, context);
671
+ }
672
+ const contents = map({
673
+ $metadata: deserializeMetadata(output),
674
+ });
675
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
676
+ const doc = take(data, {
677
+ Status: __expectString,
678
+ });
679
+ Object.assign(contents, doc);
680
+ return contents;
681
+ };
614
682
  export const de_StopTelemetryEvaluationCommand = async (output, context) => {
615
683
  if (output.statusCode !== 200 && output.statusCode >= 300) {
616
684
  return de_CommandError(output, context);
@@ -6,6 +6,7 @@ import { DeleteCentralizationRuleForOrganizationCommandInput, DeleteCentralizati
6
6
  import { DeleteTelemetryRuleCommandInput, DeleteTelemetryRuleCommandOutput } from "./commands/DeleteTelemetryRuleCommand";
7
7
  import { DeleteTelemetryRuleForOrganizationCommandInput, DeleteTelemetryRuleForOrganizationCommandOutput } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
8
8
  import { GetCentralizationRuleForOrganizationCommandInput, GetCentralizationRuleForOrganizationCommandOutput } from "./commands/GetCentralizationRuleForOrganizationCommand";
9
+ import { GetTelemetryEnrichmentStatusCommandInput, GetTelemetryEnrichmentStatusCommandOutput } from "./commands/GetTelemetryEnrichmentStatusCommand";
9
10
  import { GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput } from "./commands/GetTelemetryEvaluationStatusCommand";
10
11
  import { GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
11
12
  import { GetTelemetryRuleCommandInput, GetTelemetryRuleCommandOutput } from "./commands/GetTelemetryRuleCommand";
@@ -16,8 +17,10 @@ import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetry
16
17
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
17
18
  import { ListTelemetryRulesCommandInput, ListTelemetryRulesCommandOutput } from "./commands/ListTelemetryRulesCommand";
18
19
  import { ListTelemetryRulesForOrganizationCommandInput, ListTelemetryRulesForOrganizationCommandOutput } from "./commands/ListTelemetryRulesForOrganizationCommand";
20
+ import { StartTelemetryEnrichmentCommandInput, StartTelemetryEnrichmentCommandOutput } from "./commands/StartTelemetryEnrichmentCommand";
19
21
  import { StartTelemetryEvaluationCommandInput, StartTelemetryEvaluationCommandOutput } from "./commands/StartTelemetryEvaluationCommand";
20
22
  import { StartTelemetryEvaluationForOrganizationCommandInput, StartTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StartTelemetryEvaluationForOrganizationCommand";
23
+ import { StopTelemetryEnrichmentCommandInput, StopTelemetryEnrichmentCommandOutput } from "./commands/StopTelemetryEnrichmentCommand";
21
24
  import { StopTelemetryEvaluationCommandInput, StopTelemetryEvaluationCommandOutput } from "./commands/StopTelemetryEvaluationCommand";
22
25
  import { StopTelemetryEvaluationForOrganizationCommandInput, StopTelemetryEvaluationForOrganizationCommandOutput } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
23
26
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -69,6 +72,13 @@ export interface ObservabilityAdmin {
69
72
  getCentralizationRuleForOrganization(args: GetCentralizationRuleForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<GetCentralizationRuleForOrganizationCommandOutput>;
70
73
  getCentralizationRuleForOrganization(args: GetCentralizationRuleForOrganizationCommandInput, cb: (err: any, data?: GetCentralizationRuleForOrganizationCommandOutput) => void): void;
71
74
  getCentralizationRuleForOrganization(args: GetCentralizationRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCentralizationRuleForOrganizationCommandOutput) => void): void;
75
+ /**
76
+ * @see {@link GetTelemetryEnrichmentStatusCommand}
77
+ */
78
+ getTelemetryEnrichmentStatus(): Promise<GetTelemetryEnrichmentStatusCommandOutput>;
79
+ getTelemetryEnrichmentStatus(args: GetTelemetryEnrichmentStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTelemetryEnrichmentStatusCommandOutput>;
80
+ getTelemetryEnrichmentStatus(args: GetTelemetryEnrichmentStatusCommandInput, cb: (err: any, data?: GetTelemetryEnrichmentStatusCommandOutput) => void): void;
81
+ getTelemetryEnrichmentStatus(args: GetTelemetryEnrichmentStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryEnrichmentStatusCommandOutput) => void): void;
72
82
  /**
73
83
  * @see {@link GetTelemetryEvaluationStatusCommand}
74
84
  */
@@ -136,6 +146,13 @@ export interface ObservabilityAdmin {
136
146
  listTelemetryRulesForOrganization(args: ListTelemetryRulesForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListTelemetryRulesForOrganizationCommandOutput>;
137
147
  listTelemetryRulesForOrganization(args: ListTelemetryRulesForOrganizationCommandInput, cb: (err: any, data?: ListTelemetryRulesForOrganizationCommandOutput) => void): void;
138
148
  listTelemetryRulesForOrganization(args: ListTelemetryRulesForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTelemetryRulesForOrganizationCommandOutput) => void): void;
149
+ /**
150
+ * @see {@link StartTelemetryEnrichmentCommand}
151
+ */
152
+ startTelemetryEnrichment(): Promise<StartTelemetryEnrichmentCommandOutput>;
153
+ startTelemetryEnrichment(args: StartTelemetryEnrichmentCommandInput, options?: __HttpHandlerOptions): Promise<StartTelemetryEnrichmentCommandOutput>;
154
+ startTelemetryEnrichment(args: StartTelemetryEnrichmentCommandInput, cb: (err: any, data?: StartTelemetryEnrichmentCommandOutput) => void): void;
155
+ startTelemetryEnrichment(args: StartTelemetryEnrichmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTelemetryEnrichmentCommandOutput) => void): void;
139
156
  /**
140
157
  * @see {@link StartTelemetryEvaluationCommand}
141
158
  */
@@ -150,6 +167,13 @@ export interface ObservabilityAdmin {
150
167
  startTelemetryEvaluationForOrganization(args: StartTelemetryEvaluationForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<StartTelemetryEvaluationForOrganizationCommandOutput>;
151
168
  startTelemetryEvaluationForOrganization(args: StartTelemetryEvaluationForOrganizationCommandInput, cb: (err: any, data?: StartTelemetryEvaluationForOrganizationCommandOutput) => void): void;
152
169
  startTelemetryEvaluationForOrganization(args: StartTelemetryEvaluationForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTelemetryEvaluationForOrganizationCommandOutput) => void): void;
170
+ /**
171
+ * @see {@link StopTelemetryEnrichmentCommand}
172
+ */
173
+ stopTelemetryEnrichment(): Promise<StopTelemetryEnrichmentCommandOutput>;
174
+ stopTelemetryEnrichment(args: StopTelemetryEnrichmentCommandInput, options?: __HttpHandlerOptions): Promise<StopTelemetryEnrichmentCommandOutput>;
175
+ stopTelemetryEnrichment(args: StopTelemetryEnrichmentCommandInput, cb: (err: any, data?: StopTelemetryEnrichmentCommandOutput) => void): void;
176
+ stopTelemetryEnrichment(args: StopTelemetryEnrichmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTelemetryEnrichmentCommandOutput) => void): void;
153
177
  /**
154
178
  * @see {@link StopTelemetryEvaluationCommand}
155
179
  */
@@ -196,10 +220,7 @@ export interface ObservabilityAdmin {
196
220
  updateTelemetryRuleForOrganization(args: UpdateTelemetryRuleForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTelemetryRuleForOrganizationCommandOutput) => void): void;
197
221
  }
198
222
  /**
199
- * <p>
200
- * You can use Amazon CloudWatch Observability Admin to discover and understand the state of telemetry configuration in CloudWatch for your Amazon Web Services Organization or account. This simplifies the process of auditing your telemetry collection configurations across multiple resource types within your Amazon Web Services Organization or account. By providing a consolidated view, it allows you to easily review and manage telemetry settings, helping you ensure proper monitoring and data collection across your Amazon Web Services environment.
201
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p>
202
- * <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
223
+ * <p> You can use Amazon CloudWatch Observability Admin to discover and understand the state of telemetry configuration in CloudWatch for your Amazon Web Services Organization or account. This simplifies the process of auditing your telemetry collection configurations across multiple resource types within your Amazon Web Services Organization or account. By providing a consolidated view, it allows you to easily review and manage telemetry settings, helping you ensure proper monitoring and data collection across your Amazon Web Services environment. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p> <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
203
224
  * @public
204
225
  */
205
226
  export declare class ObservabilityAdmin extends ObservabilityAdminClient implements ObservabilityAdmin {