@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
@@ -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_ListGroupingAttributeDefinitionsCommand, se_ListGroupingAttributeDefinitionsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListGroupingAttributeDefinitionsCommand 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", "ListGroupingAttributeDefinitions", {})
17
+ .n("ApplicationSignalsClient", "ListGroupingAttributeDefinitionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListGroupingAttributeDefinitionsCommand)
20
+ .de(de_ListGroupingAttributeDefinitionsCommand)
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_ListServiceStatesCommand, se_ListServiceStatesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListServiceStatesCommand 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", "ListServiceStates", {})
17
+ .n("ApplicationSignalsClient", "ListServiceStatesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListServiceStatesCommand)
20
+ .de(de_ListServiceStatesCommand)
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_PutGroupingConfigurationCommand, se_PutGroupingConfigurationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PutGroupingConfigurationCommand 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", "PutGroupingConfiguration", {})
17
+ .n("ApplicationSignalsClient", "PutGroupingConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PutGroupingConfigurationCommand)
20
+ .de(de_PutGroupingConfigurationCommand)
21
+ .build() {
22
+ }
@@ -1,16 +1,21 @@
1
1
  export * from "./BatchGetServiceLevelObjectiveBudgetReportCommand";
2
2
  export * from "./BatchUpdateExclusionWindowsCommand";
3
3
  export * from "./CreateServiceLevelObjectiveCommand";
4
+ export * from "./DeleteGroupingConfigurationCommand";
4
5
  export * from "./DeleteServiceLevelObjectiveCommand";
5
6
  export * from "./GetServiceCommand";
6
7
  export * from "./GetServiceLevelObjectiveCommand";
8
+ export * from "./ListAuditFindingsCommand";
9
+ export * from "./ListGroupingAttributeDefinitionsCommand";
7
10
  export * from "./ListServiceDependenciesCommand";
8
11
  export * from "./ListServiceDependentsCommand";
9
12
  export * from "./ListServiceLevelObjectiveExclusionWindowsCommand";
10
13
  export * from "./ListServiceLevelObjectivesCommand";
11
14
  export * from "./ListServiceOperationsCommand";
15
+ export * from "./ListServiceStatesCommand";
12
16
  export * from "./ListServicesCommand";
13
17
  export * from "./ListTagsForResourceCommand";
18
+ export * from "./PutGroupingConfigurationCommand";
14
19
  export * from "./StartDiscoveryCommand";
15
20
  export * from "./TagResourceCommand";
16
21
  export * from "./UntagResourceCommand";
@@ -132,6 +132,32 @@ export class ResourceNotFoundException extends __BaseException {
132
132
  this.Message = opts.Message;
133
133
  }
134
134
  }
135
+ export var AuditTargetEntity;
136
+ (function (AuditTargetEntity) {
137
+ AuditTargetEntity.visit = (value, visitor) => {
138
+ if (value.Service !== undefined)
139
+ return visitor.Service(value.Service);
140
+ if (value.Slo !== undefined)
141
+ return visitor.Slo(value.Slo);
142
+ if (value.ServiceOperation !== undefined)
143
+ return visitor.ServiceOperation(value.ServiceOperation);
144
+ return visitor._(value.$unknown[0], value.$unknown[1]);
145
+ };
146
+ })(AuditTargetEntity || (AuditTargetEntity = {}));
147
+ export const Severity = {
148
+ CRITICAL: "CRITICAL",
149
+ HIGH: "HIGH",
150
+ LOW: "LOW",
151
+ MEDIUM: "MEDIUM",
152
+ NONE: "NONE",
153
+ };
154
+ export const ConnectionType = {
155
+ DIRECT: "DIRECT",
156
+ INDIRECT: "INDIRECT",
157
+ };
158
+ export const ChangeEventType = {
159
+ DEPLOYMENT: "DEPLOYMENT",
160
+ };
135
161
  export class ConflictException extends __BaseException {
136
162
  name = "ConflictException";
137
163
  $fault = "client";
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
3
+ import { ListServiceStatesCommand, } from "../commands/ListServiceStatesCommand";
4
+ export const paginateListServiceStates = createPaginator(ApplicationSignalsClient, ListServiceStatesCommand, "NextToken", "NextToken", "MaxResults");
@@ -4,4 +4,5 @@ export * from "./ListServiceDependentsPaginator";
4
4
  export * from "./ListServiceLevelObjectiveExclusionWindowsPaginator";
5
5
  export * from "./ListServiceLevelObjectivesPaginator";
6
6
  export * from "./ListServiceOperationsPaginator";
7
+ export * from "./ListServiceStatesPaginator";
7
8
  export * from "./ListServicesPaginator";
@@ -51,6 +51,14 @@ export const se_CreateServiceLevelObjectiveCommand = async (input, context) => {
51
51
  b.m("POST").h(headers).b(body);
52
52
  return b.build();
53
53
  };
54
+ export const se_DeleteGroupingConfigurationCommand = async (input, context) => {
55
+ const b = rb(input, context);
56
+ const headers = {};
57
+ b.bp("/grouping-configuration");
58
+ let body;
59
+ b.m("DELETE").h(headers).b(body);
60
+ return b.build();
61
+ };
54
62
  export const se_DeleteServiceLevelObjectiveCommand = async (input, context) => {
55
63
  const b = rb(input, context);
56
64
  const headers = {};
@@ -86,6 +94,37 @@ export const se_GetServiceLevelObjectiveCommand = async (input, context) => {
86
94
  b.m("GET").h(headers).b(body);
87
95
  return b.build();
88
96
  };
97
+ export const se_ListAuditFindingsCommand = async (input, context) => {
98
+ const b = rb(input, context);
99
+ const headers = {
100
+ "content-type": "application/json",
101
+ };
102
+ b.bp("/auditFindings");
103
+ const query = map({
104
+ [_ST]: [__expectNonNull(input.StartTime, `StartTime`) != null, () => __serializeDateTime(input[_ST]).toString()],
105
+ [_ET]: [__expectNonNull(input.EndTime, `EndTime`) != null, () => __serializeDateTime(input[_ET]).toString()],
106
+ });
107
+ let body;
108
+ body = JSON.stringify(take(input, {
109
+ AuditTargets: (_) => _json(_),
110
+ Auditors: (_) => _json(_),
111
+ MaxResults: [],
112
+ NextToken: [],
113
+ }));
114
+ b.m("POST").h(headers).q(query).b(body);
115
+ return b.build();
116
+ };
117
+ export const se_ListGroupingAttributeDefinitionsCommand = async (input, context) => {
118
+ const b = rb(input, context);
119
+ const headers = {};
120
+ b.bp("/grouping-attribute-definitions");
121
+ const query = map({
122
+ [_NT]: [, input[_NT]],
123
+ });
124
+ let body;
125
+ b.m("POST").h(headers).q(query).b(body);
126
+ return b.build();
127
+ };
89
128
  export const se_ListServiceDependenciesCommand = async (input, context) => {
90
129
  const b = rb(input, context);
91
130
  const headers = {
@@ -194,6 +233,25 @@ export const se_ListServicesCommand = async (input, context) => {
194
233
  b.m("GET").h(headers).q(query).b(body);
195
234
  return b.build();
196
235
  };
236
+ export const se_ListServiceStatesCommand = async (input, context) => {
237
+ const b = rb(input, context);
238
+ const headers = {
239
+ "content-type": "application/json",
240
+ };
241
+ b.bp("/service/states");
242
+ let body;
243
+ body = JSON.stringify(take(input, {
244
+ AttributeFilters: (_) => _json(_),
245
+ AwsAccountId: [],
246
+ EndTime: (_) => _.getTime() / 1_000,
247
+ IncludeLinkedAccounts: [],
248
+ MaxResults: [],
249
+ NextToken: [],
250
+ StartTime: (_) => _.getTime() / 1_000,
251
+ }));
252
+ b.m("POST").h(headers).b(body);
253
+ return b.build();
254
+ };
197
255
  export const se_ListTagsForResourceCommand = async (input, context) => {
198
256
  const b = rb(input, context);
199
257
  const headers = {};
@@ -205,6 +263,19 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
205
263
  b.m("GET").h(headers).q(query).b(body);
206
264
  return b.build();
207
265
  };
266
+ export const se_PutGroupingConfigurationCommand = async (input, context) => {
267
+ const b = rb(input, context);
268
+ const headers = {
269
+ "content-type": "application/json",
270
+ };
271
+ b.bp("/grouping-configuration");
272
+ let body;
273
+ body = JSON.stringify(take(input, {
274
+ GroupingAttributeDefinitions: (_) => _json(_),
275
+ }));
276
+ b.m("PUT").h(headers).b(body);
277
+ return b.build();
278
+ };
208
279
  export const se_StartDiscoveryCommand = async (input, context) => {
209
280
  const b = rb(input, context);
210
281
  const headers = {};
@@ -304,6 +375,16 @@ export const de_CreateServiceLevelObjectiveCommand = async (output, context) =>
304
375
  Object.assign(contents, doc);
305
376
  return contents;
306
377
  };
378
+ export const de_DeleteGroupingConfigurationCommand = async (output, context) => {
379
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
380
+ return de_CommandError(output, context);
381
+ }
382
+ const contents = map({
383
+ $metadata: deserializeMetadata(output),
384
+ });
385
+ await collectBody(output.body, context);
386
+ return contents;
387
+ };
307
388
  export const de_DeleteServiceLevelObjectiveCommand = async (output, context) => {
308
389
  if (output.statusCode !== 200 && output.statusCode >= 300) {
309
390
  return de_CommandError(output, context);
@@ -345,6 +426,37 @@ export const de_GetServiceLevelObjectiveCommand = async (output, context) => {
345
426
  Object.assign(contents, doc);
346
427
  return contents;
347
428
  };
429
+ export const de_ListAuditFindingsCommand = async (output, context) => {
430
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
431
+ return de_CommandError(output, context);
432
+ }
433
+ const contents = map({
434
+ $metadata: deserializeMetadata(output),
435
+ });
436
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
437
+ const doc = take(data, {
438
+ AuditFindings: (_) => de_AuditFindings(_, context),
439
+ NextToken: __expectString,
440
+ });
441
+ Object.assign(contents, doc);
442
+ return contents;
443
+ };
444
+ export const de_ListGroupingAttributeDefinitionsCommand = async (output, context) => {
445
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
446
+ return de_CommandError(output, context);
447
+ }
448
+ const contents = map({
449
+ $metadata: deserializeMetadata(output),
450
+ });
451
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
452
+ const doc = take(data, {
453
+ GroupingAttributeDefinitions: _json,
454
+ NextToken: __expectString,
455
+ UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
456
+ });
457
+ Object.assign(contents, doc);
458
+ return contents;
459
+ };
348
460
  export const de_ListServiceDependenciesCommand = async (output, context) => {
349
461
  if (output.statusCode !== 200 && output.statusCode >= 300) {
350
462
  return de_CommandError(output, context);
@@ -443,6 +555,23 @@ export const de_ListServicesCommand = async (output, context) => {
443
555
  Object.assign(contents, doc);
444
556
  return contents;
445
557
  };
558
+ export const de_ListServiceStatesCommand = async (output, context) => {
559
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
560
+ return de_CommandError(output, context);
561
+ }
562
+ const contents = map({
563
+ $metadata: deserializeMetadata(output),
564
+ });
565
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
566
+ const doc = take(data, {
567
+ EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
568
+ NextToken: __expectString,
569
+ ServiceStates: (_) => de_ServiceStates(_, context),
570
+ StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
571
+ });
572
+ Object.assign(contents, doc);
573
+ return contents;
574
+ };
446
575
  export const de_ListTagsForResourceCommand = async (output, context) => {
447
576
  if (output.statusCode !== 200 && output.statusCode >= 300) {
448
577
  return de_CommandError(output, context);
@@ -457,6 +586,20 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
457
586
  Object.assign(contents, doc);
458
587
  return contents;
459
588
  };
589
+ export const de_PutGroupingConfigurationCommand = async (output, context) => {
590
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
591
+ return de_CommandError(output, context);
592
+ }
593
+ const contents = map({
594
+ $metadata: deserializeMetadata(output),
595
+ });
596
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
597
+ const doc = take(data, {
598
+ GroupingConfiguration: (_) => de_GroupingConfiguration(_, context),
599
+ });
600
+ Object.assign(contents, doc);
601
+ return contents;
602
+ };
460
603
  export const de_StartDiscoveryCommand = async (output, context) => {
461
604
  if (output.statusCode !== 200 && output.statusCode >= 300) {
462
605
  return de_CommandError(output, context);
@@ -666,6 +809,24 @@ const se_ServiceLevelIndicatorConfig = (input, context) => {
666
809
  SliMetricConfig: _json,
667
810
  });
668
811
  };
812
+ const de_AuditFinding = (output, context) => {
813
+ return take(output, {
814
+ AuditorResults: _json,
815
+ DependencyGraph: (_) => de_DependencyGraph(_, context),
816
+ KeyAttributes: _json,
817
+ MetricGraph: (_) => de_MetricGraph(_, context),
818
+ Operation: __expectString,
819
+ Type: __expectString,
820
+ });
821
+ };
822
+ const de_AuditFindings = (output, context) => {
823
+ const retVal = (output || [])
824
+ .filter((e) => e != null)
825
+ .map((entry) => {
826
+ return de_AuditFinding(entry, context);
827
+ });
828
+ return retVal;
829
+ };
669
830
  const de_CalendarInterval = (output, context) => {
670
831
  return take(output, {
671
832
  Duration: __expectInt32,
@@ -673,6 +834,40 @@ const de_CalendarInterval = (output, context) => {
673
834
  StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
674
835
  });
675
836
  };
837
+ const de_ChangeEvent = (output, context) => {
838
+ return take(output, {
839
+ AccountId: __expectString,
840
+ ChangeEventType: __expectString,
841
+ Entity: _json,
842
+ EventId: __expectString,
843
+ EventName: __expectString,
844
+ Region: __expectString,
845
+ Timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
846
+ UserName: __expectString,
847
+ });
848
+ };
849
+ const de_DependencyGraph = (output, context) => {
850
+ return take(output, {
851
+ Edges: (_) => de_Edges(_, context),
852
+ Nodes: (_) => de_Nodes(_, context),
853
+ });
854
+ };
855
+ const de_Edge = (output, context) => {
856
+ return take(output, {
857
+ ConnectionType: __expectString,
858
+ DestinationNodeId: __expectString,
859
+ Duration: __limitedParseDouble,
860
+ SourceNodeId: __expectString,
861
+ });
862
+ };
863
+ const de_Edges = (output, context) => {
864
+ const retVal = (output || [])
865
+ .filter((e) => e != null)
866
+ .map((entry) => {
867
+ return de_Edge(entry, context);
868
+ });
869
+ return retVal;
870
+ };
676
871
  const de_ExclusionWindow = (output, context) => {
677
872
  return take(output, {
678
873
  Reason: __expectString,
@@ -696,6 +891,12 @@ const de_Goal = (output, context) => {
696
891
  WarningThreshold: __limitedParseDouble,
697
892
  });
698
893
  };
894
+ const de_GroupingConfiguration = (output, context) => {
895
+ return take(output, {
896
+ GroupingAttributeDefinitions: _json,
897
+ UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
898
+ });
899
+ };
699
900
  const de_Interval = (output, context) => {
700
901
  if (output.CalendarInterval != null) {
701
902
  return {
@@ -709,6 +910,40 @@ const de_Interval = (output, context) => {
709
910
  }
710
911
  return { $unknown: Object.entries(output)[0] };
711
912
  };
913
+ const de_LatestChangeEvents = (output, context) => {
914
+ const retVal = (output || [])
915
+ .filter((e) => e != null)
916
+ .map((entry) => {
917
+ return de_ChangeEvent(entry, context);
918
+ });
919
+ return retVal;
920
+ };
921
+ const de_MetricGraph = (output, context) => {
922
+ return take(output, {
923
+ EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
924
+ MetricDataQueries: _json,
925
+ StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
926
+ });
927
+ };
928
+ const de_Node = (output, context) => {
929
+ return take(output, {
930
+ Duration: __limitedParseDouble,
931
+ KeyAttributes: _json,
932
+ Name: __expectString,
933
+ NodeId: __expectString,
934
+ Operation: __expectString,
935
+ Status: __expectString,
936
+ Type: __expectString,
937
+ });
938
+ };
939
+ const de_Nodes = (output, context) => {
940
+ const retVal = (output || [])
941
+ .filter((e) => e != null)
942
+ .map((entry) => {
943
+ return de_Node(entry, context);
944
+ });
945
+ return retVal;
946
+ };
712
947
  const de_RequestBasedServiceLevelIndicator = (output, context) => {
713
948
  return take(output, {
714
949
  ComparisonOperator: __expectString,
@@ -782,6 +1017,21 @@ const de_ServiceLevelObjectiveSummary = (output, context) => {
782
1017
  OperationName: __expectString,
783
1018
  });
784
1019
  };
1020
+ const de_ServiceState = (output, context) => {
1021
+ return take(output, {
1022
+ AttributeFilters: _json,
1023
+ LatestChangeEvents: (_) => de_LatestChangeEvents(_, context),
1024
+ Service: _json,
1025
+ });
1026
+ };
1027
+ const de_ServiceStates = (output, context) => {
1028
+ const retVal = (output || [])
1029
+ .filter((e) => e != null)
1030
+ .map((entry) => {
1031
+ return de_ServiceState(entry, context);
1032
+ });
1033
+ return retVal;
1034
+ };
785
1035
  const deserializeMetadata = (output) => ({
786
1036
  httpStatusCode: output.statusCode,
787
1037
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -3,16 +3,21 @@ import { ApplicationSignalsClient } from "./ApplicationSignalsClient";
3
3
  import { BatchGetServiceLevelObjectiveBudgetReportCommandInput, BatchGetServiceLevelObjectiveBudgetReportCommandOutput } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
4
4
  import { BatchUpdateExclusionWindowsCommandInput, BatchUpdateExclusionWindowsCommandOutput } from "./commands/BatchUpdateExclusionWindowsCommand";
5
5
  import { CreateServiceLevelObjectiveCommandInput, CreateServiceLevelObjectiveCommandOutput } from "./commands/CreateServiceLevelObjectiveCommand";
6
+ import { DeleteGroupingConfigurationCommandInput, DeleteGroupingConfigurationCommandOutput } from "./commands/DeleteGroupingConfigurationCommand";
6
7
  import { DeleteServiceLevelObjectiveCommandInput, DeleteServiceLevelObjectiveCommandOutput } from "./commands/DeleteServiceLevelObjectiveCommand";
7
8
  import { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
8
9
  import { GetServiceLevelObjectiveCommandInput, GetServiceLevelObjectiveCommandOutput } from "./commands/GetServiceLevelObjectiveCommand";
10
+ import { ListAuditFindingsCommandInput, ListAuditFindingsCommandOutput } from "./commands/ListAuditFindingsCommand";
11
+ import { ListGroupingAttributeDefinitionsCommandInput, ListGroupingAttributeDefinitionsCommandOutput } from "./commands/ListGroupingAttributeDefinitionsCommand";
9
12
  import { ListServiceDependenciesCommandInput, ListServiceDependenciesCommandOutput } from "./commands/ListServiceDependenciesCommand";
10
13
  import { ListServiceDependentsCommandInput, ListServiceDependentsCommandOutput } from "./commands/ListServiceDependentsCommand";
11
14
  import { ListServiceLevelObjectiveExclusionWindowsCommandInput, ListServiceLevelObjectiveExclusionWindowsCommandOutput } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
12
15
  import { ListServiceLevelObjectivesCommandInput, ListServiceLevelObjectivesCommandOutput } from "./commands/ListServiceLevelObjectivesCommand";
13
16
  import { ListServiceOperationsCommandInput, ListServiceOperationsCommandOutput } from "./commands/ListServiceOperationsCommand";
14
17
  import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
18
+ import { ListServiceStatesCommandInput, ListServiceStatesCommandOutput } from "./commands/ListServiceStatesCommand";
15
19
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
20
+ import { PutGroupingConfigurationCommandInput, PutGroupingConfigurationCommandOutput } from "./commands/PutGroupingConfigurationCommand";
16
21
  import { StartDiscoveryCommandInput, StartDiscoveryCommandOutput } from "./commands/StartDiscoveryCommand";
17
22
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
18
23
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -36,6 +41,13 @@ export interface ApplicationSignals {
36
41
  createServiceLevelObjective(args: CreateServiceLevelObjectiveCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceLevelObjectiveCommandOutput>;
37
42
  createServiceLevelObjective(args: CreateServiceLevelObjectiveCommandInput, cb: (err: any, data?: CreateServiceLevelObjectiveCommandOutput) => void): void;
38
43
  createServiceLevelObjective(args: CreateServiceLevelObjectiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceLevelObjectiveCommandOutput) => void): void;
44
+ /**
45
+ * @see {@link DeleteGroupingConfigurationCommand}
46
+ */
47
+ deleteGroupingConfiguration(): Promise<DeleteGroupingConfigurationCommandOutput>;
48
+ deleteGroupingConfiguration(args: DeleteGroupingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupingConfigurationCommandOutput>;
49
+ deleteGroupingConfiguration(args: DeleteGroupingConfigurationCommandInput, cb: (err: any, data?: DeleteGroupingConfigurationCommandOutput) => void): void;
50
+ deleteGroupingConfiguration(args: DeleteGroupingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGroupingConfigurationCommandOutput) => void): void;
39
51
  /**
40
52
  * @see {@link DeleteServiceLevelObjectiveCommand}
41
53
  */
@@ -54,6 +66,19 @@ export interface ApplicationSignals {
54
66
  getServiceLevelObjective(args: GetServiceLevelObjectiveCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceLevelObjectiveCommandOutput>;
55
67
  getServiceLevelObjective(args: GetServiceLevelObjectiveCommandInput, cb: (err: any, data?: GetServiceLevelObjectiveCommandOutput) => void): void;
56
68
  getServiceLevelObjective(args: GetServiceLevelObjectiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceLevelObjectiveCommandOutput) => void): void;
69
+ /**
70
+ * @see {@link ListAuditFindingsCommand}
71
+ */
72
+ listAuditFindings(args: ListAuditFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListAuditFindingsCommandOutput>;
73
+ listAuditFindings(args: ListAuditFindingsCommandInput, cb: (err: any, data?: ListAuditFindingsCommandOutput) => void): void;
74
+ listAuditFindings(args: ListAuditFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAuditFindingsCommandOutput) => void): void;
75
+ /**
76
+ * @see {@link ListGroupingAttributeDefinitionsCommand}
77
+ */
78
+ listGroupingAttributeDefinitions(): Promise<ListGroupingAttributeDefinitionsCommandOutput>;
79
+ listGroupingAttributeDefinitions(args: ListGroupingAttributeDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupingAttributeDefinitionsCommandOutput>;
80
+ listGroupingAttributeDefinitions(args: ListGroupingAttributeDefinitionsCommandInput, cb: (err: any, data?: ListGroupingAttributeDefinitionsCommandOutput) => void): void;
81
+ listGroupingAttributeDefinitions(args: ListGroupingAttributeDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupingAttributeDefinitionsCommandOutput) => void): void;
57
82
  /**
58
83
  * @see {@link ListServiceDependenciesCommand}
59
84
  */
@@ -91,12 +116,24 @@ export interface ApplicationSignals {
91
116
  listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
92
117
  listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
93
118
  listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
119
+ /**
120
+ * @see {@link ListServiceStatesCommand}
121
+ */
122
+ listServiceStates(args: ListServiceStatesCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceStatesCommandOutput>;
123
+ listServiceStates(args: ListServiceStatesCommandInput, cb: (err: any, data?: ListServiceStatesCommandOutput) => void): void;
124
+ listServiceStates(args: ListServiceStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceStatesCommandOutput) => void): void;
94
125
  /**
95
126
  * @see {@link ListTagsForResourceCommand}
96
127
  */
97
128
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
98
129
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
99
130
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
131
+ /**
132
+ * @see {@link PutGroupingConfigurationCommand}
133
+ */
134
+ putGroupingConfiguration(args: PutGroupingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutGroupingConfigurationCommandOutput>;
135
+ putGroupingConfiguration(args: PutGroupingConfigurationCommandInput, cb: (err: any, data?: PutGroupingConfigurationCommandOutput) => void): void;
136
+ putGroupingConfiguration(args: PutGroupingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutGroupingConfigurationCommandOutput) => void): void;
100
137
  /**
101
138
  * @see {@link StartDiscoveryCommand}
102
139
  */
@@ -124,25 +161,7 @@ export interface ApplicationSignals {
124
161
  updateServiceLevelObjective(args: UpdateServiceLevelObjectiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceLevelObjectiveCommandOutput) => void): void;
125
162
  }
126
163
  /**
127
- * <p>Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications.
128
- * It enables real-time service health dashboards and helps you track long-term performance trends against your business goals.
129
- * The application-centric view provides you with unified visibility across your applications, services, and
130
- * dependencies, so you can proactively monitor and efficiently triage any issues that may arise,
131
- * ensuring optimal customer experience.</p>
132
- * <p>Application Signals provides the following benefits:</p>
133
- * <ul>
134
- * <li>
135
- * <p>Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors. </p>
136
- * </li>
137
- * <li>
138
- * <p>Create and monitor service level objectives (SLOs). </p>
139
- * </li>
140
- * <li>
141
- * <p>See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.</p>
142
- * </li>
143
- * </ul>
144
- * <p>Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries,
145
- * and application names within dashboards and maps.</p>
164
+ * <p>Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications. It enables real-time service health dashboards and helps you track long-term performance trends against your business goals. The application-centric view provides you with unified visibility across your applications, services, and dependencies, so you can proactively monitor and efficiently triage any issues that may arise, ensuring optimal customer experience.</p> <p>Application Signals provides the following benefits:</p> <ul> <li> <p>Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors. </p> </li> <li> <p>Create and monitor service level objectives (SLOs). </p> </li> <li> <p>See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.</p> </li> </ul> <p>Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries, and application names within dashboards and maps.</p>
146
165
  * @public
147
166
  */
148
167
  export declare class ApplicationSignals extends ApplicationSignalsClient implements ApplicationSignals {
@@ -10,16 +10,21 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
10
10
  import { BatchGetServiceLevelObjectiveBudgetReportCommandInput, BatchGetServiceLevelObjectiveBudgetReportCommandOutput } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
11
11
  import { BatchUpdateExclusionWindowsCommandInput, BatchUpdateExclusionWindowsCommandOutput } from "./commands/BatchUpdateExclusionWindowsCommand";
12
12
  import { CreateServiceLevelObjectiveCommandInput, CreateServiceLevelObjectiveCommandOutput } from "./commands/CreateServiceLevelObjectiveCommand";
13
+ import { DeleteGroupingConfigurationCommandInput, DeleteGroupingConfigurationCommandOutput } from "./commands/DeleteGroupingConfigurationCommand";
13
14
  import { DeleteServiceLevelObjectiveCommandInput, DeleteServiceLevelObjectiveCommandOutput } from "./commands/DeleteServiceLevelObjectiveCommand";
14
15
  import { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
15
16
  import { GetServiceLevelObjectiveCommandInput, GetServiceLevelObjectiveCommandOutput } from "./commands/GetServiceLevelObjectiveCommand";
17
+ import { ListAuditFindingsCommandInput, ListAuditFindingsCommandOutput } from "./commands/ListAuditFindingsCommand";
18
+ import { ListGroupingAttributeDefinitionsCommandInput, ListGroupingAttributeDefinitionsCommandOutput } from "./commands/ListGroupingAttributeDefinitionsCommand";
16
19
  import { ListServiceDependenciesCommandInput, ListServiceDependenciesCommandOutput } from "./commands/ListServiceDependenciesCommand";
17
20
  import { ListServiceDependentsCommandInput, ListServiceDependentsCommandOutput } from "./commands/ListServiceDependentsCommand";
18
21
  import { ListServiceLevelObjectiveExclusionWindowsCommandInput, ListServiceLevelObjectiveExclusionWindowsCommandOutput } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
19
22
  import { ListServiceLevelObjectivesCommandInput, ListServiceLevelObjectivesCommandOutput } from "./commands/ListServiceLevelObjectivesCommand";
20
23
  import { ListServiceOperationsCommandInput, ListServiceOperationsCommandOutput } from "./commands/ListServiceOperationsCommand";
21
24
  import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
25
+ import { ListServiceStatesCommandInput, ListServiceStatesCommandOutput } from "./commands/ListServiceStatesCommand";
22
26
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
27
+ import { PutGroupingConfigurationCommandInput, PutGroupingConfigurationCommandOutput } from "./commands/PutGroupingConfigurationCommand";
23
28
  import { StartDiscoveryCommandInput, StartDiscoveryCommandOutput } from "./commands/StartDiscoveryCommand";
24
29
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
25
30
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -30,11 +35,11 @@ export { __Client };
30
35
  /**
31
36
  * @public
32
37
  */
33
- export type ServiceInputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandInput | BatchUpdateExclusionWindowsCommandInput | CreateServiceLevelObjectiveCommandInput | DeleteServiceLevelObjectiveCommandInput | GetServiceCommandInput | GetServiceLevelObjectiveCommandInput | ListServiceDependenciesCommandInput | ListServiceDependentsCommandInput | ListServiceLevelObjectiveExclusionWindowsCommandInput | ListServiceLevelObjectivesCommandInput | ListServiceOperationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | StartDiscoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceLevelObjectiveCommandInput;
38
+ export type ServiceInputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandInput | BatchUpdateExclusionWindowsCommandInput | CreateServiceLevelObjectiveCommandInput | DeleteGroupingConfigurationCommandInput | DeleteServiceLevelObjectiveCommandInput | GetServiceCommandInput | GetServiceLevelObjectiveCommandInput | ListAuditFindingsCommandInput | ListGroupingAttributeDefinitionsCommandInput | ListServiceDependenciesCommandInput | ListServiceDependentsCommandInput | ListServiceLevelObjectiveExclusionWindowsCommandInput | ListServiceLevelObjectivesCommandInput | ListServiceOperationsCommandInput | ListServiceStatesCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | PutGroupingConfigurationCommandInput | StartDiscoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceLevelObjectiveCommandInput;
34
39
  /**
35
40
  * @public
36
41
  */
37
- export type ServiceOutputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandOutput | BatchUpdateExclusionWindowsCommandOutput | CreateServiceLevelObjectiveCommandOutput | DeleteServiceLevelObjectiveCommandOutput | GetServiceCommandOutput | GetServiceLevelObjectiveCommandOutput | ListServiceDependenciesCommandOutput | ListServiceDependentsCommandOutput | ListServiceLevelObjectiveExclusionWindowsCommandOutput | ListServiceLevelObjectivesCommandOutput | ListServiceOperationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | StartDiscoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceLevelObjectiveCommandOutput;
42
+ export type ServiceOutputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandOutput | BatchUpdateExclusionWindowsCommandOutput | CreateServiceLevelObjectiveCommandOutput | DeleteGroupingConfigurationCommandOutput | DeleteServiceLevelObjectiveCommandOutput | GetServiceCommandOutput | GetServiceLevelObjectiveCommandOutput | ListAuditFindingsCommandOutput | ListGroupingAttributeDefinitionsCommandOutput | ListServiceDependenciesCommandOutput | ListServiceDependentsCommandOutput | ListServiceLevelObjectiveExclusionWindowsCommandOutput | ListServiceLevelObjectivesCommandOutput | ListServiceOperationsCommandOutput | ListServiceStatesCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | PutGroupingConfigurationCommandOutput | StartDiscoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceLevelObjectiveCommandOutput;
38
43
  /**
39
44
  * @public
40
45
  */
@@ -186,25 +191,7 @@ export type ApplicationSignalsClientResolvedConfigType = __SmithyResolvedConfigu
186
191
  export interface ApplicationSignalsClientResolvedConfig extends ApplicationSignalsClientResolvedConfigType {
187
192
  }
188
193
  /**
189
- * <p>Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications.
190
- * It enables real-time service health dashboards and helps you track long-term performance trends against your business goals.
191
- * The application-centric view provides you with unified visibility across your applications, services, and
192
- * dependencies, so you can proactively monitor and efficiently triage any issues that may arise,
193
- * ensuring optimal customer experience.</p>
194
- * <p>Application Signals provides the following benefits:</p>
195
- * <ul>
196
- * <li>
197
- * <p>Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors. </p>
198
- * </li>
199
- * <li>
200
- * <p>Create and monitor service level objectives (SLOs). </p>
201
- * </li>
202
- * <li>
203
- * <p>See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.</p>
204
- * </li>
205
- * </ul>
206
- * <p>Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries,
207
- * and application names within dashboards and maps.</p>
194
+ * <p>Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications. It enables real-time service health dashboards and helps you track long-term performance trends against your business goals. The application-centric view provides you with unified visibility across your applications, services, and dependencies, so you can proactively monitor and efficiently triage any issues that may arise, ensuring optimal customer experience.</p> <p>Application Signals provides the following benefits:</p> <ul> <li> <p>Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors. </p> </li> <li> <p>Create and monitor service level objectives (SLOs). </p> </li> <li> <p>See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.</p> </li> </ul> <p>Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries, and application names within dashboards and maps.</p>
208
195
  * @public
209
196
  */
210
197
  export declare class ApplicationSignalsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApplicationSignalsClientResolvedConfig> {