@aws-sdk/client-ssm-sap 3.876.0 → 3.878.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 (62) hide show
  1. package/README.md +49 -3
  2. package/dist-cjs/index.js +369 -7
  3. package/dist-es/SsmSap.js +12 -0
  4. package/dist-es/commands/GetConfigurationCheckOperationCommand.js +22 -0
  5. package/dist-es/commands/ListConfigurationCheckDefinitionsCommand.js +22 -0
  6. package/dist-es/commands/ListConfigurationCheckOperationsCommand.js +22 -0
  7. package/dist-es/commands/ListSubCheckResultsCommand.js +22 -0
  8. package/dist-es/commands/ListSubCheckRuleResultsCommand.js +22 -0
  9. package/dist-es/commands/StartConfigurationChecksCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +21 -5
  12. package/dist-es/pagination/ListConfigurationCheckDefinitionsPaginator.js +4 -0
  13. package/dist-es/pagination/ListConfigurationCheckOperationsPaginator.js +4 -0
  14. package/dist-es/pagination/ListSubCheckResultsPaginator.js +4 -0
  15. package/dist-es/pagination/ListSubCheckRuleResultsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +4 -0
  17. package/dist-es/protocols/Aws_restJson1.js +198 -0
  18. package/dist-types/SsmSap.d.ts +44 -3
  19. package/dist-types/SsmSapClient.d.ts +9 -5
  20. package/dist-types/commands/DeregisterApplicationCommand.d.ts +1 -2
  21. package/dist-types/commands/GetApplicationCommand.d.ts +1 -2
  22. package/dist-types/commands/GetComponentCommand.d.ts +1 -2
  23. package/dist-types/commands/GetConfigurationCheckOperationCommand.d.ts +95 -0
  24. package/dist-types/commands/GetDatabaseCommand.d.ts +1 -2
  25. package/dist-types/commands/ListConfigurationCheckDefinitionsCommand.d.ts +89 -0
  26. package/dist-types/commands/ListConfigurationCheckOperationsCommand.d.ts +111 -0
  27. package/dist-types/commands/ListDatabasesCommand.d.ts +1 -2
  28. package/dist-types/commands/ListOperationEventsCommand.d.ts +1 -3
  29. package/dist-types/commands/ListSubCheckResultsCommand.d.ts +90 -0
  30. package/dist-types/commands/ListSubCheckRuleResultsCommand.d.ts +91 -0
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  32. package/dist-types/commands/RegisterApplicationCommand.d.ts +1 -8
  33. package/dist-types/commands/StartApplicationCommand.d.ts +1 -2
  34. package/dist-types/commands/StartConfigurationChecksCommand.d.ts +106 -0
  35. package/dist-types/commands/StopApplicationCommand.d.ts +1 -4
  36. package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +1 -2
  37. package/dist-types/commands/index.d.ts +6 -0
  38. package/dist-types/index.d.ts +1 -3
  39. package/dist-types/models/models_0.d.ts +453 -156
  40. package/dist-types/pagination/ListConfigurationCheckDefinitionsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/ListConfigurationCheckOperationsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListSubCheckResultsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/ListSubCheckRuleResultsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +4 -0
  45. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  46. package/dist-types/ts3.4/SsmSap.d.ts +109 -0
  47. package/dist-types/ts3.4/SsmSapClient.d.ts +36 -0
  48. package/dist-types/ts3.4/commands/GetConfigurationCheckOperationCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/ListConfigurationCheckDefinitionsCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/ListConfigurationCheckOperationsCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/ListSubCheckResultsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/ListSubCheckRuleResultsCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/StartConfigurationChecksCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +117 -7
  56. package/dist-types/ts3.4/pagination/ListConfigurationCheckDefinitionsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/ListConfigurationCheckOperationsPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/ListSubCheckResultsPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/ListSubCheckRuleResultsPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  62. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -30,6 +30,8 @@ __export(index_exports, {
30
30
  ClusterStatus: () => ClusterStatus,
31
31
  ComponentStatus: () => ComponentStatus,
32
32
  ComponentType: () => ComponentType,
33
+ ConfigurationCheckOperationListingMode: () => ConfigurationCheckOperationListingMode,
34
+ ConfigurationCheckType: () => ConfigurationCheckType,
33
35
  ConflictException: () => ConflictException,
34
36
  ConnectedEntityType: () => ConnectedEntityType,
35
37
  CredentialType: () => CredentialType,
@@ -42,6 +44,7 @@ __export(index_exports, {
42
44
  FilterOperator: () => FilterOperator,
43
45
  GetApplicationCommand: () => GetApplicationCommand,
44
46
  GetComponentCommand: () => GetComponentCommand,
47
+ GetConfigurationCheckOperationCommand: () => GetConfigurationCheckOperationCommand,
45
48
  GetDatabaseCommand: () => GetDatabaseCommand,
46
49
  GetDatabaseOutputFilterSensitiveLog: () => GetDatabaseOutputFilterSensitiveLog,
47
50
  GetOperationCommand: () => GetOperationCommand,
@@ -50,9 +53,13 @@ __export(index_exports, {
50
53
  InternalServerException: () => InternalServerException,
51
54
  ListApplicationsCommand: () => ListApplicationsCommand,
52
55
  ListComponentsCommand: () => ListComponentsCommand,
56
+ ListConfigurationCheckDefinitionsCommand: () => ListConfigurationCheckDefinitionsCommand,
57
+ ListConfigurationCheckOperationsCommand: () => ListConfigurationCheckOperationsCommand,
53
58
  ListDatabasesCommand: () => ListDatabasesCommand,
54
59
  ListOperationEventsCommand: () => ListOperationEventsCommand,
55
60
  ListOperationsCommand: () => ListOperationsCommand,
61
+ ListSubCheckResultsCommand: () => ListSubCheckResultsCommand,
62
+ ListSubCheckRuleResultsCommand: () => ListSubCheckRuleResultsCommand,
56
63
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
57
64
  OperationEventStatus: () => OperationEventStatus,
58
65
  OperationMode: () => OperationMode,
@@ -63,11 +70,13 @@ __export(index_exports, {
63
70
  RegisterApplicationInputFilterSensitiveLog: () => RegisterApplicationInputFilterSensitiveLog,
64
71
  ReplicationMode: () => ReplicationMode,
65
72
  ResourceNotFoundException: () => ResourceNotFoundException,
73
+ RuleResultStatus: () => RuleResultStatus,
66
74
  SsmSap: () => SsmSap,
67
75
  SsmSapClient: () => SsmSapClient,
68
76
  SsmSapServiceException: () => SsmSapServiceException,
69
77
  StartApplicationCommand: () => StartApplicationCommand,
70
78
  StartApplicationRefreshCommand: () => StartApplicationRefreshCommand,
79
+ StartConfigurationChecksCommand: () => StartConfigurationChecksCommand,
71
80
  StopApplicationCommand: () => StopApplicationCommand,
72
81
  TagResourceCommand: () => TagResourceCommand,
73
82
  UnauthorizedException: () => UnauthorizedException,
@@ -78,9 +87,13 @@ __export(index_exports, {
78
87
  __Client: () => import_smithy_client.Client,
79
88
  paginateListApplications: () => paginateListApplications,
80
89
  paginateListComponents: () => paginateListComponents,
90
+ paginateListConfigurationCheckDefinitions: () => paginateListConfigurationCheckDefinitions,
91
+ paginateListConfigurationCheckOperations: () => paginateListConfigurationCheckOperations,
81
92
  paginateListDatabases: () => paginateListDatabases,
82
93
  paginateListOperationEvents: () => paginateListOperationEvents,
83
- paginateListOperations: () => paginateListOperations
94
+ paginateListOperations: () => paginateListOperations,
95
+ paginateListSubCheckResults: () => paginateListSubCheckResults,
96
+ paginateListSubCheckRuleResults: () => paginateListSubCheckRuleResults
84
97
  });
85
98
  module.exports = __toCommonJS(index_exports);
86
99
 
@@ -340,6 +353,20 @@ var ComponentStatus = {
340
353
  STOPPING: "STOPPING",
341
354
  UNDEFINED: "UNDEFINED"
342
355
  };
356
+ var ConfigurationCheckType = {
357
+ SAP_CHECK_01: "SAP_CHECK_01",
358
+ SAP_CHECK_02: "SAP_CHECK_02",
359
+ SAP_CHECK_03: "SAP_CHECK_03"
360
+ };
361
+ var OperationStatus = {
362
+ ERROR: "ERROR",
363
+ INPROGRESS: "INPROGRESS",
364
+ SUCCESS: "SUCCESS"
365
+ };
366
+ var ConfigurationCheckOperationListingMode = {
367
+ ALL_OPERATIONS: "ALL_OPERATIONS",
368
+ LATEST_PER_CHECK: "LATEST_PER_CHECK"
369
+ };
343
370
  var ConflictException = class _ConflictException extends SsmSapServiceException {
344
371
  static {
345
372
  __name(this, "ConflictException");
@@ -463,16 +490,18 @@ var FilterOperator = {
463
490
  GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
464
491
  LESS_THAN_OR_EQUALS: "LessThanOrEquals"
465
492
  };
466
- var OperationStatus = {
467
- ERROR: "ERROR",
468
- INPROGRESS: "INPROGRESS",
469
- SUCCESS: "SUCCESS"
470
- };
471
493
  var OperationEventStatus = {
472
494
  COMPLETED: "COMPLETED",
473
495
  FAILED: "FAILED",
474
496
  IN_PROGRESS: "IN_PROGRESS"
475
497
  };
498
+ var RuleResultStatus = {
499
+ FAILED: "FAILED",
500
+ INFO: "INFO",
501
+ PASSED: "PASSED",
502
+ UNKNOWN: "UNKNOWN",
503
+ WARNING: "WARNING"
504
+ };
476
505
  var ApplicationCredentialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
477
506
  ...obj,
478
507
  ...obj.SecretId && { SecretId: import_smithy_client.SENSITIVE_STRING }
@@ -565,6 +594,21 @@ var se_GetComponentCommand = /* @__PURE__ */ __name(async (input, context) => {
565
594
  b.m("POST").h(headers).b(body);
566
595
  return b.build();
567
596
  }, "se_GetComponentCommand");
597
+ var se_GetConfigurationCheckOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
598
+ const b = (0, import_core.requestBuilder)(input, context);
599
+ const headers = {
600
+ "content-type": "application/json"
601
+ };
602
+ b.bp("/get-configuration-check-operation");
603
+ let body;
604
+ body = JSON.stringify(
605
+ (0, import_smithy_client.take)(input, {
606
+ OperationId: []
607
+ })
608
+ );
609
+ b.m("POST").h(headers).b(body);
610
+ return b.build();
611
+ }, "se_GetConfigurationCheckOperationCommand");
568
612
  var se_GetDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {
569
613
  const b = (0, import_core.requestBuilder)(input, context);
570
614
  const headers = {
@@ -648,6 +692,41 @@ var se_ListComponentsCommand = /* @__PURE__ */ __name(async (input, context) =>
648
692
  b.m("POST").h(headers).b(body);
649
693
  return b.build();
650
694
  }, "se_ListComponentsCommand");
695
+ var se_ListConfigurationCheckDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
696
+ const b = (0, import_core.requestBuilder)(input, context);
697
+ const headers = {
698
+ "content-type": "application/json"
699
+ };
700
+ b.bp("/list-configuration-check-definitions");
701
+ let body;
702
+ body = JSON.stringify(
703
+ (0, import_smithy_client.take)(input, {
704
+ MaxResults: [],
705
+ NextToken: []
706
+ })
707
+ );
708
+ b.m("POST").h(headers).b(body);
709
+ return b.build();
710
+ }, "se_ListConfigurationCheckDefinitionsCommand");
711
+ var se_ListConfigurationCheckOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
712
+ const b = (0, import_core.requestBuilder)(input, context);
713
+ const headers = {
714
+ "content-type": "application/json"
715
+ };
716
+ b.bp("/list-configuration-check-operations");
717
+ let body;
718
+ body = JSON.stringify(
719
+ (0, import_smithy_client.take)(input, {
720
+ ApplicationId: [],
721
+ Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
722
+ ListMode: [],
723
+ MaxResults: [],
724
+ NextToken: []
725
+ })
726
+ );
727
+ b.m("POST").h(headers).b(body);
728
+ return b.build();
729
+ }, "se_ListConfigurationCheckOperationsCommand");
651
730
  var se_ListDatabasesCommand = /* @__PURE__ */ __name(async (input, context) => {
652
731
  const b = (0, import_core.requestBuilder)(input, context);
653
732
  const headers = {
@@ -702,6 +781,40 @@ var se_ListOperationsCommand = /* @__PURE__ */ __name(async (input, context) =>
702
781
  b.m("POST").h(headers).b(body);
703
782
  return b.build();
704
783
  }, "se_ListOperationsCommand");
784
+ var se_ListSubCheckResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
785
+ const b = (0, import_core.requestBuilder)(input, context);
786
+ const headers = {
787
+ "content-type": "application/json"
788
+ };
789
+ b.bp("/list-sub-check-results");
790
+ let body;
791
+ body = JSON.stringify(
792
+ (0, import_smithy_client.take)(input, {
793
+ MaxResults: [],
794
+ NextToken: [],
795
+ OperationId: []
796
+ })
797
+ );
798
+ b.m("POST").h(headers).b(body);
799
+ return b.build();
800
+ }, "se_ListSubCheckResultsCommand");
801
+ var se_ListSubCheckRuleResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
802
+ const b = (0, import_core.requestBuilder)(input, context);
803
+ const headers = {
804
+ "content-type": "application/json"
805
+ };
806
+ b.bp("/list-sub-check-rule-results");
807
+ let body;
808
+ body = JSON.stringify(
809
+ (0, import_smithy_client.take)(input, {
810
+ MaxResults: [],
811
+ NextToken: [],
812
+ SubCheckResultId: []
813
+ })
814
+ );
815
+ b.m("POST").h(headers).b(body);
816
+ return b.build();
817
+ }, "se_ListSubCheckRuleResultsCommand");
705
818
  var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
706
819
  const b = (0, import_core.requestBuilder)(input, context);
707
820
  const headers = {};
@@ -781,6 +894,22 @@ var se_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (input, con
781
894
  b.m("POST").h(headers).b(body);
782
895
  return b.build();
783
896
  }, "se_StartApplicationRefreshCommand");
897
+ var se_StartConfigurationChecksCommand = /* @__PURE__ */ __name(async (input, context) => {
898
+ const b = (0, import_core.requestBuilder)(input, context);
899
+ const headers = {
900
+ "content-type": "application/json"
901
+ };
902
+ b.bp("/start-configuration-checks");
903
+ let body;
904
+ body = JSON.stringify(
905
+ (0, import_smithy_client.take)(input, {
906
+ ApplicationId: [],
907
+ ConfigurationCheckIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ConfigurationCheckIds")
908
+ })
909
+ );
910
+ b.m("POST").h(headers).b(body);
911
+ return b.build();
912
+ }, "se_StartConfigurationChecksCommand");
784
913
  var se_StopApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
785
914
  const b = (0, import_core.requestBuilder)(input, context);
786
915
  const headers = {
@@ -899,6 +1028,20 @@ var de_GetComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
899
1028
  Object.assign(contents, doc);
900
1029
  return contents;
901
1030
  }, "de_GetComponentCommand");
1031
+ var de_GetConfigurationCheckOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
1032
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1033
+ return de_CommandError(output, context);
1034
+ }
1035
+ const contents = (0, import_smithy_client.map)({
1036
+ $metadata: deserializeMetadata(output)
1037
+ });
1038
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1039
+ const doc = (0, import_smithy_client.take)(data, {
1040
+ ConfigurationCheckOperation: /* @__PURE__ */ __name((_) => de_ConfigurationCheckOperation(_, context), "ConfigurationCheckOperation")
1041
+ });
1042
+ Object.assign(contents, doc);
1043
+ return contents;
1044
+ }, "de_GetConfigurationCheckOperationCommand");
902
1045
  var de_GetDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
903
1046
  if (output.statusCode !== 200 && output.statusCode >= 300) {
904
1047
  return de_CommandError(output, context);
@@ -972,6 +1115,36 @@ var de_ListComponentsCommand = /* @__PURE__ */ __name(async (output, context) =>
972
1115
  Object.assign(contents, doc);
973
1116
  return contents;
974
1117
  }, "de_ListComponentsCommand");
1118
+ var de_ListConfigurationCheckDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1119
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1120
+ return de_CommandError(output, context);
1121
+ }
1122
+ const contents = (0, import_smithy_client.map)({
1123
+ $metadata: deserializeMetadata(output)
1124
+ });
1125
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1126
+ const doc = (0, import_smithy_client.take)(data, {
1127
+ ConfigurationChecks: import_smithy_client._json,
1128
+ NextToken: import_smithy_client.expectString
1129
+ });
1130
+ Object.assign(contents, doc);
1131
+ return contents;
1132
+ }, "de_ListConfigurationCheckDefinitionsCommand");
1133
+ var de_ListConfigurationCheckOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1134
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1135
+ return de_CommandError(output, context);
1136
+ }
1137
+ const contents = (0, import_smithy_client.map)({
1138
+ $metadata: deserializeMetadata(output)
1139
+ });
1140
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1141
+ const doc = (0, import_smithy_client.take)(data, {
1142
+ ConfigurationCheckOperations: /* @__PURE__ */ __name((_) => de_ConfigurationCheckOperationList(_, context), "ConfigurationCheckOperations"),
1143
+ NextToken: import_smithy_client.expectString
1144
+ });
1145
+ Object.assign(contents, doc);
1146
+ return contents;
1147
+ }, "de_ListConfigurationCheckOperationsCommand");
975
1148
  var de_ListDatabasesCommand = /* @__PURE__ */ __name(async (output, context) => {
976
1149
  if (output.statusCode !== 200 && output.statusCode >= 300) {
977
1150
  return de_CommandError(output, context);
@@ -1017,6 +1190,36 @@ var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) =>
1017
1190
  Object.assign(contents, doc);
1018
1191
  return contents;
1019
1192
  }, "de_ListOperationsCommand");
1193
+ var de_ListSubCheckResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
1194
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1195
+ return de_CommandError(output, context);
1196
+ }
1197
+ const contents = (0, import_smithy_client.map)({
1198
+ $metadata: deserializeMetadata(output)
1199
+ });
1200
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1201
+ const doc = (0, import_smithy_client.take)(data, {
1202
+ NextToken: import_smithy_client.expectString,
1203
+ SubCheckResults: import_smithy_client._json
1204
+ });
1205
+ Object.assign(contents, doc);
1206
+ return contents;
1207
+ }, "de_ListSubCheckResultsCommand");
1208
+ var de_ListSubCheckRuleResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
1209
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1210
+ return de_CommandError(output, context);
1211
+ }
1212
+ const contents = (0, import_smithy_client.map)({
1213
+ $metadata: deserializeMetadata(output)
1214
+ });
1215
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1216
+ const doc = (0, import_smithy_client.take)(data, {
1217
+ NextToken: import_smithy_client.expectString,
1218
+ RuleResults: import_smithy_client._json
1219
+ });
1220
+ Object.assign(contents, doc);
1221
+ return contents;
1222
+ }, "de_ListSubCheckRuleResultsCommand");
1020
1223
  var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1021
1224
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1022
1225
  return de_CommandError(output, context);
@@ -1088,6 +1291,20 @@ var de_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (output, co
1088
1291
  Object.assign(contents, doc);
1089
1292
  return contents;
1090
1293
  }, "de_StartApplicationRefreshCommand");
1294
+ var de_StartConfigurationChecksCommand = /* @__PURE__ */ __name(async (output, context) => {
1295
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1296
+ return de_CommandError(output, context);
1297
+ }
1298
+ const contents = (0, import_smithy_client.map)({
1299
+ $metadata: deserializeMetadata(output)
1300
+ });
1301
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1302
+ const doc = (0, import_smithy_client.take)(data, {
1303
+ ConfigurationCheckOperations: /* @__PURE__ */ __name((_) => de_ConfigurationCheckOperationList(_, context), "ConfigurationCheckOperations")
1304
+ });
1305
+ Object.assign(contents, doc);
1306
+ return contents;
1307
+ }, "de_StartConfigurationChecksCommand");
1091
1308
  var de_StopApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
1092
1309
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1093
1310
  return de_CommandError(output, context);
@@ -1272,6 +1489,26 @@ var de_Component = /* @__PURE__ */ __name((output, context) => {
1272
1489
  SystemNumber: import_smithy_client.expectString
1273
1490
  });
1274
1491
  }, "de_Component");
1492
+ var de_ConfigurationCheckOperation = /* @__PURE__ */ __name((output, context) => {
1493
+ return (0, import_smithy_client.take)(output, {
1494
+ ApplicationId: import_smithy_client.expectString,
1495
+ ConfigurationCheckDescription: import_smithy_client.expectString,
1496
+ ConfigurationCheckId: import_smithy_client.expectString,
1497
+ ConfigurationCheckName: import_smithy_client.expectString,
1498
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
1499
+ Id: import_smithy_client.expectString,
1500
+ RuleStatusCounts: import_smithy_client._json,
1501
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
1502
+ Status: import_smithy_client.expectString,
1503
+ StatusMessage: import_smithy_client.expectString
1504
+ });
1505
+ }, "de_ConfigurationCheckOperation");
1506
+ var de_ConfigurationCheckOperationList = /* @__PURE__ */ __name((output, context) => {
1507
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1508
+ return de_ConfigurationCheckOperation(entry, context);
1509
+ });
1510
+ return retVal;
1511
+ }, "de_ConfigurationCheckOperationList");
1275
1512
  var de_Database = /* @__PURE__ */ __name((output, context) => {
1276
1513
  return (0, import_smithy_client.take)(output, {
1277
1514
  ApplicationId: import_smithy_client.expectString,
@@ -1399,6 +1636,21 @@ var GetComponentCommand = class extends import_smithy_client.Command.classBuilde
1399
1636
  }
1400
1637
  };
1401
1638
 
1639
+ // src/commands/GetConfigurationCheckOperationCommand.ts
1640
+
1641
+
1642
+
1643
+ var GetConfigurationCheckOperationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1644
+ return [
1645
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1646
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1647
+ ];
1648
+ }).s("SsmSap", "GetConfigurationCheckOperation", {}).n("SsmSapClient", "GetConfigurationCheckOperationCommand").f(void 0, void 0).ser(se_GetConfigurationCheckOperationCommand).de(de_GetConfigurationCheckOperationCommand).build() {
1649
+ static {
1650
+ __name(this, "GetConfigurationCheckOperationCommand");
1651
+ }
1652
+ };
1653
+
1402
1654
  // src/commands/GetDatabaseCommand.ts
1403
1655
 
1404
1656
 
@@ -1474,6 +1726,36 @@ var ListComponentsCommand = class extends import_smithy_client.Command.classBuil
1474
1726
  }
1475
1727
  };
1476
1728
 
1729
+ // src/commands/ListConfigurationCheckDefinitionsCommand.ts
1730
+
1731
+
1732
+
1733
+ var ListConfigurationCheckDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1734
+ return [
1735
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1736
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1737
+ ];
1738
+ }).s("SsmSap", "ListConfigurationCheckDefinitions", {}).n("SsmSapClient", "ListConfigurationCheckDefinitionsCommand").f(void 0, void 0).ser(se_ListConfigurationCheckDefinitionsCommand).de(de_ListConfigurationCheckDefinitionsCommand).build() {
1739
+ static {
1740
+ __name(this, "ListConfigurationCheckDefinitionsCommand");
1741
+ }
1742
+ };
1743
+
1744
+ // src/commands/ListConfigurationCheckOperationsCommand.ts
1745
+
1746
+
1747
+
1748
+ var ListConfigurationCheckOperationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1749
+ return [
1750
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1751
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1752
+ ];
1753
+ }).s("SsmSap", "ListConfigurationCheckOperations", {}).n("SsmSapClient", "ListConfigurationCheckOperationsCommand").f(void 0, void 0).ser(se_ListConfigurationCheckOperationsCommand).de(de_ListConfigurationCheckOperationsCommand).build() {
1754
+ static {
1755
+ __name(this, "ListConfigurationCheckOperationsCommand");
1756
+ }
1757
+ };
1758
+
1477
1759
  // src/commands/ListDatabasesCommand.ts
1478
1760
 
1479
1761
 
@@ -1519,6 +1801,36 @@ var ListOperationsCommand = class extends import_smithy_client.Command.classBuil
1519
1801
  }
1520
1802
  };
1521
1803
 
1804
+ // src/commands/ListSubCheckResultsCommand.ts
1805
+
1806
+
1807
+
1808
+ var ListSubCheckResultsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1809
+ return [
1810
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1811
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1812
+ ];
1813
+ }).s("SsmSap", "ListSubCheckResults", {}).n("SsmSapClient", "ListSubCheckResultsCommand").f(void 0, void 0).ser(se_ListSubCheckResultsCommand).de(de_ListSubCheckResultsCommand).build() {
1814
+ static {
1815
+ __name(this, "ListSubCheckResultsCommand");
1816
+ }
1817
+ };
1818
+
1819
+ // src/commands/ListSubCheckRuleResultsCommand.ts
1820
+
1821
+
1822
+
1823
+ var ListSubCheckRuleResultsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1824
+ return [
1825
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1826
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1827
+ ];
1828
+ }).s("SsmSap", "ListSubCheckRuleResults", {}).n("SsmSapClient", "ListSubCheckRuleResultsCommand").f(void 0, void 0).ser(se_ListSubCheckRuleResultsCommand).de(de_ListSubCheckRuleResultsCommand).build() {
1829
+ static {
1830
+ __name(this, "ListSubCheckRuleResultsCommand");
1831
+ }
1832
+ };
1833
+
1522
1834
  // src/commands/ListTagsForResourceCommand.ts
1523
1835
 
1524
1836
 
@@ -1594,6 +1906,21 @@ var StartApplicationRefreshCommand = class extends import_smithy_client.Command.
1594
1906
  }
1595
1907
  };
1596
1908
 
1909
+ // src/commands/StartConfigurationChecksCommand.ts
1910
+
1911
+
1912
+
1913
+ var StartConfigurationChecksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1914
+ return [
1915
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1916
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1917
+ ];
1918
+ }).s("SsmSap", "StartConfigurationChecks", {}).n("SsmSapClient", "StartConfigurationChecksCommand").f(void 0, void 0).ser(se_StartConfigurationChecksCommand).de(de_StartConfigurationChecksCommand).build() {
1919
+ static {
1920
+ __name(this, "StartConfigurationChecksCommand");
1921
+ }
1922
+ };
1923
+
1597
1924
  // src/commands/StopApplicationCommand.ts
1598
1925
 
1599
1926
 
@@ -1660,19 +1987,25 @@ var commands = {
1660
1987
  DeregisterApplicationCommand,
1661
1988
  GetApplicationCommand,
1662
1989
  GetComponentCommand,
1990
+ GetConfigurationCheckOperationCommand,
1663
1991
  GetDatabaseCommand,
1664
1992
  GetOperationCommand,
1665
1993
  GetResourcePermissionCommand,
1666
1994
  ListApplicationsCommand,
1667
1995
  ListComponentsCommand,
1996
+ ListConfigurationCheckDefinitionsCommand,
1997
+ ListConfigurationCheckOperationsCommand,
1668
1998
  ListDatabasesCommand,
1669
1999
  ListOperationEventsCommand,
1670
2000
  ListOperationsCommand,
2001
+ ListSubCheckResultsCommand,
2002
+ ListSubCheckRuleResultsCommand,
1671
2003
  ListTagsForResourceCommand,
1672
2004
  PutResourcePermissionCommand,
1673
2005
  RegisterApplicationCommand,
1674
2006
  StartApplicationCommand,
1675
2007
  StartApplicationRefreshCommand,
2008
+ StartConfigurationChecksCommand,
1676
2009
  StopApplicationCommand,
1677
2010
  TagResourceCommand,
1678
2011
  UntagResourceCommand,
@@ -1693,6 +2026,14 @@ var paginateListApplications = (0, import_core.createPaginator)(SsmSapClient, Li
1693
2026
 
1694
2027
  var paginateListComponents = (0, import_core.createPaginator)(SsmSapClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
1695
2028
 
2029
+ // src/pagination/ListConfigurationCheckDefinitionsPaginator.ts
2030
+
2031
+ var paginateListConfigurationCheckDefinitions = (0, import_core.createPaginator)(SsmSapClient, ListConfigurationCheckDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
2032
+
2033
+ // src/pagination/ListConfigurationCheckOperationsPaginator.ts
2034
+
2035
+ var paginateListConfigurationCheckOperations = (0, import_core.createPaginator)(SsmSapClient, ListConfigurationCheckOperationsCommand, "NextToken", "NextToken", "MaxResults");
2036
+
1696
2037
  // src/pagination/ListDatabasesPaginator.ts
1697
2038
 
1698
2039
  var paginateListDatabases = (0, import_core.createPaginator)(SsmSapClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1704,6 +2045,14 @@ var paginateListOperationEvents = (0, import_core.createPaginator)(SsmSapClient,
1704
2045
  // src/pagination/ListOperationsPaginator.ts
1705
2046
 
1706
2047
  var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
2048
+
2049
+ // src/pagination/ListSubCheckResultsPaginator.ts
2050
+
2051
+ var paginateListSubCheckResults = (0, import_core.createPaginator)(SsmSapClient, ListSubCheckResultsCommand, "NextToken", "NextToken", "MaxResults");
2052
+
2053
+ // src/pagination/ListSubCheckRuleResultsPaginator.ts
2054
+
2055
+ var paginateListSubCheckRuleResults = (0, import_core.createPaginator)(SsmSapClient, ListSubCheckRuleResultsCommand, "NextToken", "NextToken", "MaxResults");
1707
2056
  // Annotate the CommonJS export names for ESM import in node:
1708
2057
 
1709
2058
  0 && (module.exports = {
@@ -1716,28 +2065,38 @@ var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, List
1716
2065
  DeregisterApplicationCommand,
1717
2066
  GetApplicationCommand,
1718
2067
  GetComponentCommand,
2068
+ GetConfigurationCheckOperationCommand,
1719
2069
  GetDatabaseCommand,
1720
2070
  GetOperationCommand,
1721
2071
  GetResourcePermissionCommand,
1722
2072
  ListApplicationsCommand,
1723
2073
  ListComponentsCommand,
2074
+ ListConfigurationCheckDefinitionsCommand,
2075
+ ListConfigurationCheckOperationsCommand,
1724
2076
  ListDatabasesCommand,
1725
2077
  ListOperationEventsCommand,
1726
2078
  ListOperationsCommand,
2079
+ ListSubCheckResultsCommand,
2080
+ ListSubCheckRuleResultsCommand,
1727
2081
  ListTagsForResourceCommand,
1728
2082
  PutResourcePermissionCommand,
1729
2083
  RegisterApplicationCommand,
1730
2084
  StartApplicationCommand,
1731
2085
  StartApplicationRefreshCommand,
2086
+ StartConfigurationChecksCommand,
1732
2087
  StopApplicationCommand,
1733
2088
  TagResourceCommand,
1734
2089
  UntagResourceCommand,
1735
2090
  UpdateApplicationSettingsCommand,
1736
2091
  paginateListApplications,
1737
2092
  paginateListComponents,
2093
+ paginateListConfigurationCheckDefinitions,
2094
+ paginateListConfigurationCheckOperations,
1738
2095
  paginateListDatabases,
1739
2096
  paginateListOperationEvents,
1740
2097
  paginateListOperations,
2098
+ paginateListSubCheckResults,
2099
+ paginateListSubCheckRuleResults,
1741
2100
  AllocationType,
1742
2101
  ApplicationDiscoveryStatus,
1743
2102
  ApplicationStatus,
@@ -1751,6 +2110,9 @@ var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, List
1751
2110
  OperationMode,
1752
2111
  ReplicationMode,
1753
2112
  ComponentStatus,
2113
+ ConfigurationCheckType,
2114
+ OperationStatus,
2115
+ ConfigurationCheckOperationListingMode,
1754
2116
  ConflictException,
1755
2117
  ConnectedEntityType,
1756
2118
  DatabaseType,
@@ -1761,8 +2123,8 @@ var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, List
1761
2123
  ValidationException,
1762
2124
  UnauthorizedException,
1763
2125
  FilterOperator,
1764
- OperationStatus,
1765
2126
  OperationEventStatus,
2127
+ RuleResultStatus,
1766
2128
  ApplicationCredentialFilterSensitiveLog,
1767
2129
  DatabaseFilterSensitiveLog,
1768
2130
  GetDatabaseOutputFilterSensitiveLog,
package/dist-es/SsmSap.js CHANGED
@@ -3,19 +3,25 @@ import { DeleteResourcePermissionCommand, } from "./commands/DeleteResourcePermi
3
3
  import { DeregisterApplicationCommand, } from "./commands/DeregisterApplicationCommand";
4
4
  import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
5
5
  import { GetComponentCommand, } from "./commands/GetComponentCommand";
6
+ import { GetConfigurationCheckOperationCommand, } from "./commands/GetConfigurationCheckOperationCommand";
6
7
  import { GetDatabaseCommand } from "./commands/GetDatabaseCommand";
7
8
  import { GetOperationCommand, } from "./commands/GetOperationCommand";
8
9
  import { GetResourcePermissionCommand, } from "./commands/GetResourcePermissionCommand";
9
10
  import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
10
11
  import { ListComponentsCommand, } from "./commands/ListComponentsCommand";
12
+ import { ListConfigurationCheckDefinitionsCommand, } from "./commands/ListConfigurationCheckDefinitionsCommand";
13
+ import { ListConfigurationCheckOperationsCommand, } from "./commands/ListConfigurationCheckOperationsCommand";
11
14
  import { ListDatabasesCommand, } from "./commands/ListDatabasesCommand";
12
15
  import { ListOperationEventsCommand, } from "./commands/ListOperationEventsCommand";
13
16
  import { ListOperationsCommand, } from "./commands/ListOperationsCommand";
17
+ import { ListSubCheckResultsCommand, } from "./commands/ListSubCheckResultsCommand";
18
+ import { ListSubCheckRuleResultsCommand, } from "./commands/ListSubCheckRuleResultsCommand";
14
19
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
15
20
  import { PutResourcePermissionCommand, } from "./commands/PutResourcePermissionCommand";
16
21
  import { RegisterApplicationCommand, } from "./commands/RegisterApplicationCommand";
17
22
  import { StartApplicationCommand, } from "./commands/StartApplicationCommand";
18
23
  import { StartApplicationRefreshCommand, } from "./commands/StartApplicationRefreshCommand";
24
+ import { StartConfigurationChecksCommand, } from "./commands/StartConfigurationChecksCommand";
19
25
  import { StopApplicationCommand, } from "./commands/StopApplicationCommand";
20
26
  import { TagResourceCommand } from "./commands/TagResourceCommand";
21
27
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -26,19 +32,25 @@ const commands = {
26
32
  DeregisterApplicationCommand,
27
33
  GetApplicationCommand,
28
34
  GetComponentCommand,
35
+ GetConfigurationCheckOperationCommand,
29
36
  GetDatabaseCommand,
30
37
  GetOperationCommand,
31
38
  GetResourcePermissionCommand,
32
39
  ListApplicationsCommand,
33
40
  ListComponentsCommand,
41
+ ListConfigurationCheckDefinitionsCommand,
42
+ ListConfigurationCheckOperationsCommand,
34
43
  ListDatabasesCommand,
35
44
  ListOperationEventsCommand,
36
45
  ListOperationsCommand,
46
+ ListSubCheckResultsCommand,
47
+ ListSubCheckRuleResultsCommand,
37
48
  ListTagsForResourceCommand,
38
49
  PutResourcePermissionCommand,
39
50
  RegisterApplicationCommand,
40
51
  StartApplicationCommand,
41
52
  StartApplicationRefreshCommand,
53
+ StartConfigurationChecksCommand,
42
54
  StopApplicationCommand,
43
55
  TagResourceCommand,
44
56
  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_GetConfigurationCheckOperationCommand, se_GetConfigurationCheckOperationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetConfigurationCheckOperationCommand 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("SsmSap", "GetConfigurationCheckOperation", {})
17
+ .n("SsmSapClient", "GetConfigurationCheckOperationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetConfigurationCheckOperationCommand)
20
+ .de(de_GetConfigurationCheckOperationCommand)
21
+ .build() {
22
+ }