@aws-sdk/client-application-signals 3.899.0 → 3.900.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/README.md +41 -19
  2. package/dist-cjs/index.js +373 -0
  3. package/dist-es/ApplicationSignals.js +10 -0
  4. package/dist-es/commands/DeleteGroupingConfigurationCommand.js +22 -0
  5. package/dist-es/commands/ListAuditFindingsCommand.js +22 -0
  6. package/dist-es/commands/ListGroupingAttributeDefinitionsCommand.js +22 -0
  7. package/dist-es/commands/ListServiceStatesCommand.js +22 -0
  8. package/dist-es/commands/PutGroupingConfigurationCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +26 -0
  11. package/dist-es/pagination/ListServiceStatesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +250 -0
  14. package/dist-types/ApplicationSignals.d.ts +38 -19
  15. package/dist-types/ApplicationSignalsClient.d.ts +8 -21
  16. package/dist-types/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +1 -11
  17. package/dist-types/commands/CreateServiceLevelObjectiveCommand.d.ts +2 -90
  18. package/dist-types/commands/DeleteGroupingConfigurationCommand.d.ts +79 -0
  19. package/dist-types/commands/GetServiceCommand.d.ts +8 -0
  20. package/dist-types/commands/ListAuditFindingsCommand.d.ts +181 -0
  21. package/dist-types/commands/ListGroupingAttributeDefinitionsCommand.d.ts +93 -0
  22. package/dist-types/commands/ListServiceDependenciesCommand.d.ts +1 -4
  23. package/dist-types/commands/ListServiceDependentsCommand.d.ts +1 -2
  24. package/dist-types/commands/ListServiceLevelObjectivesCommand.d.ts +2 -2
  25. package/dist-types/commands/ListServiceOperationsCommand.d.ts +1 -2
  26. package/dist-types/commands/ListServiceStatesCommand.d.ts +124 -0
  27. package/dist-types/commands/ListServicesCommand.d.ts +9 -3
  28. package/dist-types/commands/PutGroupingConfigurationCommand.d.ts +102 -0
  29. package/dist-types/commands/StartDiscoveryCommand.d.ts +1 -44
  30. package/dist-types/commands/TagResourceCommand.d.ts +1 -10
  31. package/dist-types/commands/UpdateServiceLevelObjectiveCommand.d.ts +2 -4
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/index.d.ts +1 -19
  34. package/dist-types/models/models_0.d.ts +812 -1114
  35. package/dist-types/pagination/ListServiceStatesPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  38. package/dist-types/ts3.4/ApplicationSignals.d.ts +87 -0
  39. package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +30 -0
  40. package/dist-types/ts3.4/commands/DeleteGroupingConfigurationCommand.d.ts +47 -0
  41. package/dist-types/ts3.4/commands/ListAuditFindingsCommand.d.ts +50 -0
  42. package/dist-types/ts3.4/commands/ListGroupingAttributeDefinitionsCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListServiceStatesCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/PutGroupingConfigurationCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +193 -1
  47. package/dist-types/ts3.4/pagination/ListServiceStatesPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  50. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -25,30 +25,39 @@ __export(index_exports, {
25
25
  ApplicationSignals: () => ApplicationSignals,
26
26
  ApplicationSignalsClient: () => ApplicationSignalsClient,
27
27
  ApplicationSignalsServiceException: () => ApplicationSignalsServiceException,
28
+ AuditTargetEntity: () => AuditTargetEntity,
28
29
  BatchGetServiceLevelObjectiveBudgetReportCommand: () => BatchGetServiceLevelObjectiveBudgetReportCommand,
29
30
  BatchUpdateExclusionWindowsCommand: () => BatchUpdateExclusionWindowsCommand,
31
+ ChangeEventType: () => ChangeEventType,
30
32
  ConflictException: () => ConflictException,
33
+ ConnectionType: () => ConnectionType,
31
34
  CreateServiceLevelObjectiveCommand: () => CreateServiceLevelObjectiveCommand,
35
+ DeleteGroupingConfigurationCommand: () => DeleteGroupingConfigurationCommand,
32
36
  DeleteServiceLevelObjectiveCommand: () => DeleteServiceLevelObjectiveCommand,
33
37
  DurationUnit: () => DurationUnit,
34
38
  EvaluationType: () => EvaluationType,
35
39
  GetServiceCommand: () => GetServiceCommand,
36
40
  GetServiceLevelObjectiveCommand: () => GetServiceLevelObjectiveCommand,
37
41
  Interval: () => Interval,
42
+ ListAuditFindingsCommand: () => ListAuditFindingsCommand,
43
+ ListGroupingAttributeDefinitionsCommand: () => ListGroupingAttributeDefinitionsCommand,
38
44
  ListServiceDependenciesCommand: () => ListServiceDependenciesCommand,
39
45
  ListServiceDependentsCommand: () => ListServiceDependentsCommand,
40
46
  ListServiceLevelObjectiveExclusionWindowsCommand: () => ListServiceLevelObjectiveExclusionWindowsCommand,
41
47
  ListServiceLevelObjectivesCommand: () => ListServiceLevelObjectivesCommand,
42
48
  ListServiceOperationsCommand: () => ListServiceOperationsCommand,
49
+ ListServiceStatesCommand: () => ListServiceStatesCommand,
43
50
  ListServicesCommand: () => ListServicesCommand,
44
51
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
45
52
  MetricSourceType: () => MetricSourceType,
46
53
  MonitoredRequestCountMetricDataQueries: () => MonitoredRequestCountMetricDataQueries,
54
+ PutGroupingConfigurationCommand: () => PutGroupingConfigurationCommand,
47
55
  ResourceNotFoundException: () => ResourceNotFoundException,
48
56
  ServiceLevelIndicatorComparisonOperator: () => ServiceLevelIndicatorComparisonOperator,
49
57
  ServiceLevelIndicatorMetricType: () => ServiceLevelIndicatorMetricType,
50
58
  ServiceLevelObjectiveBudgetStatus: () => ServiceLevelObjectiveBudgetStatus,
51
59
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
60
+ Severity: () => Severity,
52
61
  StandardUnit: () => StandardUnit,
53
62
  StartDiscoveryCommand: () => StartDiscoveryCommand,
54
63
  TagResourceCommand: () => TagResourceCommand,
@@ -62,6 +71,7 @@ __export(index_exports, {
62
71
  paginateListServiceLevelObjectiveExclusionWindows: () => paginateListServiceLevelObjectiveExclusionWindows,
63
72
  paginateListServiceLevelObjectives: () => paginateListServiceLevelObjectives,
64
73
  paginateListServiceOperations: () => paginateListServiceOperations,
74
+ paginateListServiceStates: () => paginateListServiceStates,
65
75
  paginateListServices: () => paginateListServices
66
76
  });
67
77
  module.exports = __toCommonJS(index_exports);
@@ -395,6 +405,29 @@ var ResourceNotFoundException = class _ResourceNotFoundException extends Applica
395
405
  this.Message = opts.Message;
396
406
  }
397
407
  };
408
+ var AuditTargetEntity;
409
+ ((AuditTargetEntity3) => {
410
+ AuditTargetEntity3.visit = /* @__PURE__ */ __name((value, visitor) => {
411
+ if (value.Service !== void 0) return visitor.Service(value.Service);
412
+ if (value.Slo !== void 0) return visitor.Slo(value.Slo);
413
+ if (value.ServiceOperation !== void 0) return visitor.ServiceOperation(value.ServiceOperation);
414
+ return visitor._(value.$unknown[0], value.$unknown[1]);
415
+ }, "visit");
416
+ })(AuditTargetEntity || (AuditTargetEntity = {}));
417
+ var Severity = {
418
+ CRITICAL: "CRITICAL",
419
+ HIGH: "HIGH",
420
+ LOW: "LOW",
421
+ MEDIUM: "MEDIUM",
422
+ NONE: "NONE"
423
+ };
424
+ var ConnectionType = {
425
+ DIRECT: "DIRECT",
426
+ INDIRECT: "INDIRECT"
427
+ };
428
+ var ChangeEventType = {
429
+ DEPLOYMENT: "DEPLOYMENT"
430
+ };
398
431
  var ConflictException = class _ConflictException extends ApplicationSignalsServiceException {
399
432
  static {
400
433
  __name(this, "ConflictException");
@@ -496,6 +529,14 @@ var se_CreateServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (input,
496
529
  b.m("POST").h(headers).b(body);
497
530
  return b.build();
498
531
  }, "se_CreateServiceLevelObjectiveCommand");
532
+ var se_DeleteGroupingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
533
+ const b = (0, import_core.requestBuilder)(input, context);
534
+ const headers = {};
535
+ b.bp("/grouping-configuration");
536
+ let body;
537
+ b.m("DELETE").h(headers).b(body);
538
+ return b.build();
539
+ }, "se_DeleteGroupingConfigurationCommand");
499
540
  var se_DeleteServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (input, context) => {
500
541
  const b = (0, import_core.requestBuilder)(input, context);
501
542
  const headers = {};
@@ -533,6 +574,39 @@ var se_GetServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (input, co
533
574
  b.m("GET").h(headers).b(body);
534
575
  return b.build();
535
576
  }, "se_GetServiceLevelObjectiveCommand");
577
+ var se_ListAuditFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
578
+ const b = (0, import_core.requestBuilder)(input, context);
579
+ const headers = {
580
+ "content-type": "application/json"
581
+ };
582
+ b.bp("/auditFindings");
583
+ const query = (0, import_smithy_client.map)({
584
+ [_ST]: [(0, import_smithy_client.expectNonNull)(input.StartTime, `StartTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
585
+ [_ET]: [(0, import_smithy_client.expectNonNull)(input.EndTime, `EndTime`) != null, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()]
586
+ });
587
+ let body;
588
+ body = JSON.stringify(
589
+ (0, import_smithy_client.take)(input, {
590
+ AuditTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AuditTargets"),
591
+ Auditors: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Auditors"),
592
+ MaxResults: [],
593
+ NextToken: []
594
+ })
595
+ );
596
+ b.m("POST").h(headers).q(query).b(body);
597
+ return b.build();
598
+ }, "se_ListAuditFindingsCommand");
599
+ var se_ListGroupingAttributeDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
600
+ const b = (0, import_core.requestBuilder)(input, context);
601
+ const headers = {};
602
+ b.bp("/grouping-attribute-definitions");
603
+ const query = (0, import_smithy_client.map)({
604
+ [_NT]: [, input[_NT]]
605
+ });
606
+ let body;
607
+ b.m("POST").h(headers).q(query).b(body);
608
+ return b.build();
609
+ }, "se_ListGroupingAttributeDefinitionsCommand");
536
610
  var se_ListServiceDependenciesCommand = /* @__PURE__ */ __name(async (input, context) => {
537
611
  const b = (0, import_core.requestBuilder)(input, context);
538
612
  const headers = {
@@ -649,6 +723,27 @@ var se_ListServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
649
723
  b.m("GET").h(headers).q(query).b(body);
650
724
  return b.build();
651
725
  }, "se_ListServicesCommand");
726
+ var se_ListServiceStatesCommand = /* @__PURE__ */ __name(async (input, context) => {
727
+ const b = (0, import_core.requestBuilder)(input, context);
728
+ const headers = {
729
+ "content-type": "application/json"
730
+ };
731
+ b.bp("/service/states");
732
+ let body;
733
+ body = JSON.stringify(
734
+ (0, import_smithy_client.take)(input, {
735
+ AttributeFilters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeFilters"),
736
+ AwsAccountId: [],
737
+ EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
738
+ IncludeLinkedAccounts: [],
739
+ MaxResults: [],
740
+ NextToken: [],
741
+ StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
742
+ })
743
+ );
744
+ b.m("POST").h(headers).b(body);
745
+ return b.build();
746
+ }, "se_ListServiceStatesCommand");
652
747
  var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
653
748
  const b = (0, import_core.requestBuilder)(input, context);
654
749
  const headers = {};
@@ -660,6 +755,21 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
660
755
  b.m("GET").h(headers).q(query).b(body);
661
756
  return b.build();
662
757
  }, "se_ListTagsForResourceCommand");
758
+ var se_PutGroupingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
759
+ const b = (0, import_core.requestBuilder)(input, context);
760
+ const headers = {
761
+ "content-type": "application/json"
762
+ };
763
+ b.bp("/grouping-configuration");
764
+ let body;
765
+ body = JSON.stringify(
766
+ (0, import_smithy_client.take)(input, {
767
+ GroupingAttributeDefinitions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "GroupingAttributeDefinitions")
768
+ })
769
+ );
770
+ b.m("PUT").h(headers).b(body);
771
+ return b.build();
772
+ }, "se_PutGroupingConfigurationCommand");
663
773
  var se_StartDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => {
664
774
  const b = (0, import_core.requestBuilder)(input, context);
665
775
  const headers = {};
@@ -765,6 +875,16 @@ var de_CreateServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (output
765
875
  Object.assign(contents, doc);
766
876
  return contents;
767
877
  }, "de_CreateServiceLevelObjectiveCommand");
878
+ var de_DeleteGroupingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
879
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
880
+ return de_CommandError(output, context);
881
+ }
882
+ const contents = (0, import_smithy_client.map)({
883
+ $metadata: deserializeMetadata(output)
884
+ });
885
+ await (0, import_smithy_client.collectBody)(output.body, context);
886
+ return contents;
887
+ }, "de_DeleteGroupingConfigurationCommand");
768
888
  var de_DeleteServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (output, context) => {
769
889
  if (output.statusCode !== 200 && output.statusCode >= 300) {
770
890
  return de_CommandError(output, context);
@@ -806,6 +926,37 @@ var de_GetServiceLevelObjectiveCommand = /* @__PURE__ */ __name(async (output, c
806
926
  Object.assign(contents, doc);
807
927
  return contents;
808
928
  }, "de_GetServiceLevelObjectiveCommand");
929
+ var de_ListAuditFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {
930
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
931
+ return de_CommandError(output, context);
932
+ }
933
+ const contents = (0, import_smithy_client.map)({
934
+ $metadata: deserializeMetadata(output)
935
+ });
936
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
937
+ const doc = (0, import_smithy_client.take)(data, {
938
+ AuditFindings: /* @__PURE__ */ __name((_) => de_AuditFindings(_, context), "AuditFindings"),
939
+ NextToken: import_smithy_client.expectString
940
+ });
941
+ Object.assign(contents, doc);
942
+ return contents;
943
+ }, "de_ListAuditFindingsCommand");
944
+ var de_ListGroupingAttributeDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
945
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
946
+ return de_CommandError(output, context);
947
+ }
948
+ const contents = (0, import_smithy_client.map)({
949
+ $metadata: deserializeMetadata(output)
950
+ });
951
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
952
+ const doc = (0, import_smithy_client.take)(data, {
953
+ GroupingAttributeDefinitions: import_smithy_client._json,
954
+ NextToken: import_smithy_client.expectString,
955
+ UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
956
+ });
957
+ Object.assign(contents, doc);
958
+ return contents;
959
+ }, "de_ListGroupingAttributeDefinitionsCommand");
809
960
  var de_ListServiceDependenciesCommand = /* @__PURE__ */ __name(async (output, context) => {
810
961
  if (output.statusCode !== 200 && output.statusCode >= 300) {
811
962
  return de_CommandError(output, context);
@@ -904,6 +1055,23 @@ var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
904
1055
  Object.assign(contents, doc);
905
1056
  return contents;
906
1057
  }, "de_ListServicesCommand");
1058
+ var de_ListServiceStatesCommand = /* @__PURE__ */ __name(async (output, context) => {
1059
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1060
+ return de_CommandError(output, context);
1061
+ }
1062
+ const contents = (0, import_smithy_client.map)({
1063
+ $metadata: deserializeMetadata(output)
1064
+ });
1065
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1066
+ const doc = (0, import_smithy_client.take)(data, {
1067
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
1068
+ NextToken: import_smithy_client.expectString,
1069
+ ServiceStates: /* @__PURE__ */ __name((_) => de_ServiceStates(_, context), "ServiceStates"),
1070
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
1071
+ });
1072
+ Object.assign(contents, doc);
1073
+ return contents;
1074
+ }, "de_ListServiceStatesCommand");
907
1075
  var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
908
1076
  if (output.statusCode !== 200 && output.statusCode >= 300) {
909
1077
  return de_CommandError(output, context);
@@ -918,6 +1086,20 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
918
1086
  Object.assign(contents, doc);
919
1087
  return contents;
920
1088
  }, "de_ListTagsForResourceCommand");
1089
+ var de_PutGroupingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1090
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1091
+ return de_CommandError(output, context);
1092
+ }
1093
+ const contents = (0, import_smithy_client.map)({
1094
+ $metadata: deserializeMetadata(output)
1095
+ });
1096
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1097
+ const doc = (0, import_smithy_client.take)(data, {
1098
+ GroupingConfiguration: /* @__PURE__ */ __name((_) => de_GroupingConfiguration(_, context), "GroupingConfiguration")
1099
+ });
1100
+ Object.assign(contents, doc);
1101
+ return contents;
1102
+ }, "de_PutGroupingConfigurationCommand");
921
1103
  var de_StartDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => {
922
1104
  if (output.statusCode !== 200 && output.statusCode >= 300) {
923
1105
  return de_CommandError(output, context);
@@ -1125,6 +1307,22 @@ var se_ServiceLevelIndicatorConfig = /* @__PURE__ */ __name((input, context) =>
1125
1307
  SliMetricConfig: import_smithy_client._json
1126
1308
  });
1127
1309
  }, "se_ServiceLevelIndicatorConfig");
1310
+ var de_AuditFinding = /* @__PURE__ */ __name((output, context) => {
1311
+ return (0, import_smithy_client.take)(output, {
1312
+ AuditorResults: import_smithy_client._json,
1313
+ DependencyGraph: /* @__PURE__ */ __name((_) => de_DependencyGraph(_, context), "DependencyGraph"),
1314
+ KeyAttributes: import_smithy_client._json,
1315
+ MetricGraph: /* @__PURE__ */ __name((_) => de_MetricGraph(_, context), "MetricGraph"),
1316
+ Operation: import_smithy_client.expectString,
1317
+ Type: import_smithy_client.expectString
1318
+ });
1319
+ }, "de_AuditFinding");
1320
+ var de_AuditFindings = /* @__PURE__ */ __name((output, context) => {
1321
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1322
+ return de_AuditFinding(entry, context);
1323
+ });
1324
+ return retVal;
1325
+ }, "de_AuditFindings");
1128
1326
  var de_CalendarInterval = /* @__PURE__ */ __name((output, context) => {
1129
1327
  return (0, import_smithy_client.take)(output, {
1130
1328
  Duration: import_smithy_client.expectInt32,
@@ -1132,6 +1330,38 @@ var de_CalendarInterval = /* @__PURE__ */ __name((output, context) => {
1132
1330
  StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
1133
1331
  });
1134
1332
  }, "de_CalendarInterval");
1333
+ var de_ChangeEvent = /* @__PURE__ */ __name((output, context) => {
1334
+ return (0, import_smithy_client.take)(output, {
1335
+ AccountId: import_smithy_client.expectString,
1336
+ ChangeEventType: import_smithy_client.expectString,
1337
+ Entity: import_smithy_client._json,
1338
+ EventId: import_smithy_client.expectString,
1339
+ EventName: import_smithy_client.expectString,
1340
+ Region: import_smithy_client.expectString,
1341
+ Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
1342
+ UserName: import_smithy_client.expectString
1343
+ });
1344
+ }, "de_ChangeEvent");
1345
+ var de_DependencyGraph = /* @__PURE__ */ __name((output, context) => {
1346
+ return (0, import_smithy_client.take)(output, {
1347
+ Edges: /* @__PURE__ */ __name((_) => de_Edges(_, context), "Edges"),
1348
+ Nodes: /* @__PURE__ */ __name((_) => de_Nodes(_, context), "Nodes")
1349
+ });
1350
+ }, "de_DependencyGraph");
1351
+ var de_Edge = /* @__PURE__ */ __name((output, context) => {
1352
+ return (0, import_smithy_client.take)(output, {
1353
+ ConnectionType: import_smithy_client.expectString,
1354
+ DestinationNodeId: import_smithy_client.expectString,
1355
+ Duration: import_smithy_client.limitedParseDouble,
1356
+ SourceNodeId: import_smithy_client.expectString
1357
+ });
1358
+ }, "de_Edge");
1359
+ var de_Edges = /* @__PURE__ */ __name((output, context) => {
1360
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1361
+ return de_Edge(entry, context);
1362
+ });
1363
+ return retVal;
1364
+ }, "de_Edges");
1135
1365
  var de_ExclusionWindow = /* @__PURE__ */ __name((output, context) => {
1136
1366
  return (0, import_smithy_client.take)(output, {
1137
1367
  Reason: import_smithy_client.expectString,
@@ -1153,6 +1383,12 @@ var de_Goal = /* @__PURE__ */ __name((output, context) => {
1153
1383
  WarningThreshold: import_smithy_client.limitedParseDouble
1154
1384
  });
1155
1385
  }, "de_Goal");
1386
+ var de_GroupingConfiguration = /* @__PURE__ */ __name((output, context) => {
1387
+ return (0, import_smithy_client.take)(output, {
1388
+ GroupingAttributeDefinitions: import_smithy_client._json,
1389
+ UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
1390
+ });
1391
+ }, "de_GroupingConfiguration");
1156
1392
  var de_Interval = /* @__PURE__ */ __name((output, context) => {
1157
1393
  if (output.CalendarInterval != null) {
1158
1394
  return {
@@ -1166,6 +1402,36 @@ var de_Interval = /* @__PURE__ */ __name((output, context) => {
1166
1402
  }
1167
1403
  return { $unknown: Object.entries(output)[0] };
1168
1404
  }, "de_Interval");
1405
+ var de_LatestChangeEvents = /* @__PURE__ */ __name((output, context) => {
1406
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1407
+ return de_ChangeEvent(entry, context);
1408
+ });
1409
+ return retVal;
1410
+ }, "de_LatestChangeEvents");
1411
+ var de_MetricGraph = /* @__PURE__ */ __name((output, context) => {
1412
+ return (0, import_smithy_client.take)(output, {
1413
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
1414
+ MetricDataQueries: import_smithy_client._json,
1415
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
1416
+ });
1417
+ }, "de_MetricGraph");
1418
+ var de_Node = /* @__PURE__ */ __name((output, context) => {
1419
+ return (0, import_smithy_client.take)(output, {
1420
+ Duration: import_smithy_client.limitedParseDouble,
1421
+ KeyAttributes: import_smithy_client._json,
1422
+ Name: import_smithy_client.expectString,
1423
+ NodeId: import_smithy_client.expectString,
1424
+ Operation: import_smithy_client.expectString,
1425
+ Status: import_smithy_client.expectString,
1426
+ Type: import_smithy_client.expectString
1427
+ });
1428
+ }, "de_Node");
1429
+ var de_Nodes = /* @__PURE__ */ __name((output, context) => {
1430
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1431
+ return de_Node(entry, context);
1432
+ });
1433
+ return retVal;
1434
+ }, "de_Nodes");
1169
1435
  var de_RequestBasedServiceLevelIndicator = /* @__PURE__ */ __name((output, context) => {
1170
1436
  return (0, import_smithy_client.take)(output, {
1171
1437
  ComparisonOperator: import_smithy_client.expectString,
@@ -1235,6 +1501,19 @@ var de_ServiceLevelObjectiveSummary = /* @__PURE__ */ __name((output, context) =
1235
1501
  OperationName: import_smithy_client.expectString
1236
1502
  });
1237
1503
  }, "de_ServiceLevelObjectiveSummary");
1504
+ var de_ServiceState = /* @__PURE__ */ __name((output, context) => {
1505
+ return (0, import_smithy_client.take)(output, {
1506
+ AttributeFilters: import_smithy_client._json,
1507
+ LatestChangeEvents: /* @__PURE__ */ __name((_) => de_LatestChangeEvents(_, context), "LatestChangeEvents"),
1508
+ Service: import_smithy_client._json
1509
+ });
1510
+ }, "de_ServiceState");
1511
+ var de_ServiceStates = /* @__PURE__ */ __name((output, context) => {
1512
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1513
+ return de_ServiceState(entry, context);
1514
+ });
1515
+ return retVal;
1516
+ }, "de_ServiceStates");
1238
1517
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1239
1518
  httpStatusCode: output.statusCode,
1240
1519
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -1293,6 +1572,21 @@ var CreateServiceLevelObjectiveCommand = class extends import_smithy_client.Comm
1293
1572
  }
1294
1573
  };
1295
1574
 
1575
+ // src/commands/DeleteGroupingConfigurationCommand.ts
1576
+
1577
+
1578
+
1579
+ var DeleteGroupingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1580
+ return [
1581
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1582
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1583
+ ];
1584
+ }).s("ApplicationSignals", "DeleteGroupingConfiguration", {}).n("ApplicationSignalsClient", "DeleteGroupingConfigurationCommand").f(void 0, void 0).ser(se_DeleteGroupingConfigurationCommand).de(de_DeleteGroupingConfigurationCommand).build() {
1585
+ static {
1586
+ __name(this, "DeleteGroupingConfigurationCommand");
1587
+ }
1588
+ };
1589
+
1296
1590
  // src/commands/DeleteServiceLevelObjectiveCommand.ts
1297
1591
 
1298
1592
 
@@ -1338,6 +1632,36 @@ var GetServiceLevelObjectiveCommand = class extends import_smithy_client.Command
1338
1632
  }
1339
1633
  };
1340
1634
 
1635
+ // src/commands/ListAuditFindingsCommand.ts
1636
+
1637
+
1638
+
1639
+ var ListAuditFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1640
+ return [
1641
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1642
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1643
+ ];
1644
+ }).s("ApplicationSignals", "ListAuditFindings", {}).n("ApplicationSignalsClient", "ListAuditFindingsCommand").f(void 0, void 0).ser(se_ListAuditFindingsCommand).de(de_ListAuditFindingsCommand).build() {
1645
+ static {
1646
+ __name(this, "ListAuditFindingsCommand");
1647
+ }
1648
+ };
1649
+
1650
+ // src/commands/ListGroupingAttributeDefinitionsCommand.ts
1651
+
1652
+
1653
+
1654
+ var ListGroupingAttributeDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1655
+ return [
1656
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1657
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1658
+ ];
1659
+ }).s("ApplicationSignals", "ListGroupingAttributeDefinitions", {}).n("ApplicationSignalsClient", "ListGroupingAttributeDefinitionsCommand").f(void 0, void 0).ser(se_ListGroupingAttributeDefinitionsCommand).de(de_ListGroupingAttributeDefinitionsCommand).build() {
1660
+ static {
1661
+ __name(this, "ListGroupingAttributeDefinitionsCommand");
1662
+ }
1663
+ };
1664
+
1341
1665
  // src/commands/ListServiceDependenciesCommand.ts
1342
1666
 
1343
1667
 
@@ -1428,6 +1752,21 @@ var ListServicesCommand = class extends import_smithy_client.Command.classBuilde
1428
1752
  }
1429
1753
  };
1430
1754
 
1755
+ // src/commands/ListServiceStatesCommand.ts
1756
+
1757
+
1758
+
1759
+ var ListServiceStatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1760
+ return [
1761
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1762
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1763
+ ];
1764
+ }).s("ApplicationSignals", "ListServiceStates", {}).n("ApplicationSignalsClient", "ListServiceStatesCommand").f(void 0, void 0).ser(se_ListServiceStatesCommand).de(de_ListServiceStatesCommand).build() {
1765
+ static {
1766
+ __name(this, "ListServiceStatesCommand");
1767
+ }
1768
+ };
1769
+
1431
1770
  // src/commands/ListTagsForResourceCommand.ts
1432
1771
 
1433
1772
 
@@ -1443,6 +1782,21 @@ var ListTagsForResourceCommand = class extends import_smithy_client.Command.clas
1443
1782
  }
1444
1783
  };
1445
1784
 
1785
+ // src/commands/PutGroupingConfigurationCommand.ts
1786
+
1787
+
1788
+
1789
+ var PutGroupingConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1790
+ return [
1791
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1792
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1793
+ ];
1794
+ }).s("ApplicationSignals", "PutGroupingConfiguration", {}).n("ApplicationSignalsClient", "PutGroupingConfigurationCommand").f(void 0, void 0).ser(se_PutGroupingConfigurationCommand).de(de_PutGroupingConfigurationCommand).build() {
1795
+ static {
1796
+ __name(this, "PutGroupingConfigurationCommand");
1797
+ }
1798
+ };
1799
+
1446
1800
  // src/commands/StartDiscoveryCommand.ts
1447
1801
 
1448
1802
 
@@ -1508,16 +1862,21 @@ var commands = {
1508
1862
  BatchGetServiceLevelObjectiveBudgetReportCommand,
1509
1863
  BatchUpdateExclusionWindowsCommand,
1510
1864
  CreateServiceLevelObjectiveCommand,
1865
+ DeleteGroupingConfigurationCommand,
1511
1866
  DeleteServiceLevelObjectiveCommand,
1512
1867
  GetServiceCommand,
1513
1868
  GetServiceLevelObjectiveCommand,
1869
+ ListAuditFindingsCommand,
1870
+ ListGroupingAttributeDefinitionsCommand,
1514
1871
  ListServiceDependenciesCommand,
1515
1872
  ListServiceDependentsCommand,
1516
1873
  ListServiceLevelObjectiveExclusionWindowsCommand,
1517
1874
  ListServiceLevelObjectivesCommand,
1518
1875
  ListServiceOperationsCommand,
1519
1876
  ListServicesCommand,
1877
+ ListServiceStatesCommand,
1520
1878
  ListTagsForResourceCommand,
1879
+ PutGroupingConfigurationCommand,
1521
1880
  StartDiscoveryCommand,
1522
1881
  TagResourceCommand,
1523
1882
  UntagResourceCommand,
@@ -1550,6 +1909,10 @@ var paginateListServiceLevelObjectives = (0, import_core.createPaginator)(Applic
1550
1909
 
1551
1910
  var paginateListServiceOperations = (0, import_core.createPaginator)(ApplicationSignalsClient, ListServiceOperationsCommand, "NextToken", "NextToken", "MaxResults");
1552
1911
 
1912
+ // src/pagination/ListServiceStatesPaginator.ts
1913
+
1914
+ var paginateListServiceStates = (0, import_core.createPaginator)(ApplicationSignalsClient, ListServiceStatesCommand, "NextToken", "NextToken", "MaxResults");
1915
+
1553
1916
  // src/pagination/ListServicesPaginator.ts
1554
1917
 
1555
1918
  var paginateListServices = (0, import_core.createPaginator)(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1564,16 +1927,21 @@ var paginateListServices = (0, import_core.createPaginator)(ApplicationSignalsCl
1564
1927
  BatchGetServiceLevelObjectiveBudgetReportCommand,
1565
1928
  BatchUpdateExclusionWindowsCommand,
1566
1929
  CreateServiceLevelObjectiveCommand,
1930
+ DeleteGroupingConfigurationCommand,
1567
1931
  DeleteServiceLevelObjectiveCommand,
1568
1932
  GetServiceCommand,
1569
1933
  GetServiceLevelObjectiveCommand,
1934
+ ListAuditFindingsCommand,
1935
+ ListGroupingAttributeDefinitionsCommand,
1570
1936
  ListServiceDependenciesCommand,
1571
1937
  ListServiceDependentsCommand,
1572
1938
  ListServiceLevelObjectiveExclusionWindowsCommand,
1573
1939
  ListServiceLevelObjectivesCommand,
1574
1940
  ListServiceOperationsCommand,
1941
+ ListServiceStatesCommand,
1575
1942
  ListServicesCommand,
1576
1943
  ListTagsForResourceCommand,
1944
+ PutGroupingConfigurationCommand,
1577
1945
  StartDiscoveryCommand,
1578
1946
  TagResourceCommand,
1579
1947
  UntagResourceCommand,
@@ -1583,6 +1951,7 @@ var paginateListServices = (0, import_core.createPaginator)(ApplicationSignalsCl
1583
1951
  paginateListServiceLevelObjectiveExclusionWindows,
1584
1952
  paginateListServiceLevelObjectives,
1585
1953
  paginateListServiceOperations,
1954
+ paginateListServiceStates,
1586
1955
  paginateListServices,
1587
1956
  AccessDeniedException,
1588
1957
  ServiceLevelObjectiveBudgetStatus,
@@ -1596,6 +1965,10 @@ var paginateListServices = (0, import_core.createPaginator)(ApplicationSignalsCl
1596
1965
  ThrottlingException,
1597
1966
  ValidationException,
1598
1967
  ResourceNotFoundException,
1968
+ AuditTargetEntity,
1969
+ Severity,
1970
+ ConnectionType,
1971
+ ChangeEventType,
1599
1972
  ConflictException,
1600
1973
  MetricSourceType,
1601
1974
  ServiceQuotaExceededException
@@ -3,16 +3,21 @@ import { ApplicationSignalsClient } from "./ApplicationSignalsClient";
3
3
  import { BatchGetServiceLevelObjectiveBudgetReportCommand, } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
4
4
  import { BatchUpdateExclusionWindowsCommand, } from "./commands/BatchUpdateExclusionWindowsCommand";
5
5
  import { CreateServiceLevelObjectiveCommand, } from "./commands/CreateServiceLevelObjectiveCommand";
6
+ import { DeleteGroupingConfigurationCommand, } from "./commands/DeleteGroupingConfigurationCommand";
6
7
  import { DeleteServiceLevelObjectiveCommand, } from "./commands/DeleteServiceLevelObjectiveCommand";
7
8
  import { GetServiceCommand } from "./commands/GetServiceCommand";
8
9
  import { GetServiceLevelObjectiveCommand, } from "./commands/GetServiceLevelObjectiveCommand";
10
+ import { ListAuditFindingsCommand, } from "./commands/ListAuditFindingsCommand";
11
+ import { ListGroupingAttributeDefinitionsCommand, } from "./commands/ListGroupingAttributeDefinitionsCommand";
9
12
  import { ListServiceDependenciesCommand, } from "./commands/ListServiceDependenciesCommand";
10
13
  import { ListServiceDependentsCommand, } from "./commands/ListServiceDependentsCommand";
11
14
  import { ListServiceLevelObjectiveExclusionWindowsCommand, } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
12
15
  import { ListServiceLevelObjectivesCommand, } from "./commands/ListServiceLevelObjectivesCommand";
13
16
  import { ListServiceOperationsCommand, } from "./commands/ListServiceOperationsCommand";
14
17
  import { ListServicesCommand, } from "./commands/ListServicesCommand";
18
+ import { ListServiceStatesCommand, } from "./commands/ListServiceStatesCommand";
15
19
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
20
+ import { PutGroupingConfigurationCommand, } from "./commands/PutGroupingConfigurationCommand";
16
21
  import { StartDiscoveryCommand, } from "./commands/StartDiscoveryCommand";
17
22
  import { TagResourceCommand } from "./commands/TagResourceCommand";
18
23
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -21,16 +26,21 @@ const commands = {
21
26
  BatchGetServiceLevelObjectiveBudgetReportCommand,
22
27
  BatchUpdateExclusionWindowsCommand,
23
28
  CreateServiceLevelObjectiveCommand,
29
+ DeleteGroupingConfigurationCommand,
24
30
  DeleteServiceLevelObjectiveCommand,
25
31
  GetServiceCommand,
26
32
  GetServiceLevelObjectiveCommand,
33
+ ListAuditFindingsCommand,
34
+ ListGroupingAttributeDefinitionsCommand,
27
35
  ListServiceDependenciesCommand,
28
36
  ListServiceDependentsCommand,
29
37
  ListServiceLevelObjectiveExclusionWindowsCommand,
30
38
  ListServiceLevelObjectivesCommand,
31
39
  ListServiceOperationsCommand,
32
40
  ListServicesCommand,
41
+ ListServiceStatesCommand,
33
42
  ListTagsForResourceCommand,
43
+ PutGroupingConfigurationCommand,
34
44
  StartDiscoveryCommand,
35
45
  TagResourceCommand,
36
46
  UntagResourceCommand,
@@ -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_DeleteGroupingConfigurationCommand, se_DeleteGroupingConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteGroupingConfigurationCommand 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("ApplicationSignals", "DeleteGroupingConfiguration", {})
17
+ .n("ApplicationSignalsClient", "DeleteGroupingConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteGroupingConfigurationCommand)
20
+ .de(de_DeleteGroupingConfigurationCommand)
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_ListAuditFindingsCommand, se_ListAuditFindingsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListAuditFindingsCommand 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("ApplicationSignals", "ListAuditFindings", {})
17
+ .n("ApplicationSignalsClient", "ListAuditFindingsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAuditFindingsCommand)
20
+ .de(de_ListAuditFindingsCommand)
21
+ .build() {
22
+ }