@aws-sdk/client-ssm-sap 3.873.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 +6 -6
@@ -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_ListConfigurationCheckDefinitionsCommand, se_ListConfigurationCheckDefinitionsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListConfigurationCheckDefinitionsCommand 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", "ListConfigurationCheckDefinitions", {})
17
+ .n("SsmSapClient", "ListConfigurationCheckDefinitionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListConfigurationCheckDefinitionsCommand)
20
+ .de(de_ListConfigurationCheckDefinitionsCommand)
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_ListConfigurationCheckOperationsCommand, se_ListConfigurationCheckOperationsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListConfigurationCheckOperationsCommand 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", "ListConfigurationCheckOperations", {})
17
+ .n("SsmSapClient", "ListConfigurationCheckOperationsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListConfigurationCheckOperationsCommand)
20
+ .de(de_ListConfigurationCheckOperationsCommand)
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_ListSubCheckResultsCommand, se_ListSubCheckResultsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListSubCheckResultsCommand 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", "ListSubCheckResults", {})
17
+ .n("SsmSapClient", "ListSubCheckResultsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListSubCheckResultsCommand)
20
+ .de(de_ListSubCheckResultsCommand)
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_ListSubCheckRuleResultsCommand, se_ListSubCheckRuleResultsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListSubCheckRuleResultsCommand 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", "ListSubCheckRuleResults", {})
17
+ .n("SsmSapClient", "ListSubCheckRuleResultsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListSubCheckRuleResultsCommand)
20
+ .de(de_ListSubCheckRuleResultsCommand)
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_StartConfigurationChecksCommand, se_StartConfigurationChecksCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartConfigurationChecksCommand 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", "StartConfigurationChecks", {})
17
+ .n("SsmSapClient", "StartConfigurationChecksCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartConfigurationChecksCommand)
20
+ .de(de_StartConfigurationChecksCommand)
21
+ .build() {
22
+ }
@@ -2,19 +2,25 @@ export * from "./DeleteResourcePermissionCommand";
2
2
  export * from "./DeregisterApplicationCommand";
3
3
  export * from "./GetApplicationCommand";
4
4
  export * from "./GetComponentCommand";
5
+ export * from "./GetConfigurationCheckOperationCommand";
5
6
  export * from "./GetDatabaseCommand";
6
7
  export * from "./GetOperationCommand";
7
8
  export * from "./GetResourcePermissionCommand";
8
9
  export * from "./ListApplicationsCommand";
9
10
  export * from "./ListComponentsCommand";
11
+ export * from "./ListConfigurationCheckDefinitionsCommand";
12
+ export * from "./ListConfigurationCheckOperationsCommand";
10
13
  export * from "./ListDatabasesCommand";
11
14
  export * from "./ListOperationEventsCommand";
12
15
  export * from "./ListOperationsCommand";
16
+ export * from "./ListSubCheckResultsCommand";
17
+ export * from "./ListSubCheckRuleResultsCommand";
13
18
  export * from "./ListTagsForResourceCommand";
14
19
  export * from "./PutResourcePermissionCommand";
15
20
  export * from "./RegisterApplicationCommand";
16
21
  export * from "./StartApplicationCommand";
17
22
  export * from "./StartApplicationRefreshCommand";
23
+ export * from "./StartConfigurationChecksCommand";
18
24
  export * from "./StopApplicationCommand";
19
25
  export * from "./TagResourceCommand";
20
26
  export * from "./UntagResourceCommand";
@@ -83,6 +83,20 @@ export const ComponentStatus = {
83
83
  STOPPING: "STOPPING",
84
84
  UNDEFINED: "UNDEFINED",
85
85
  };
86
+ export const ConfigurationCheckType = {
87
+ SAP_CHECK_01: "SAP_CHECK_01",
88
+ SAP_CHECK_02: "SAP_CHECK_02",
89
+ SAP_CHECK_03: "SAP_CHECK_03",
90
+ };
91
+ export const OperationStatus = {
92
+ ERROR: "ERROR",
93
+ INPROGRESS: "INPROGRESS",
94
+ SUCCESS: "SUCCESS",
95
+ };
96
+ export const ConfigurationCheckOperationListingMode = {
97
+ ALL_OPERATIONS: "ALL_OPERATIONS",
98
+ LATEST_PER_CHECK: "LATEST_PER_CHECK",
99
+ };
86
100
  export class ConflictException extends __BaseException {
87
101
  name = "ConflictException";
88
102
  $fault = "client";
@@ -176,16 +190,18 @@ export const FilterOperator = {
176
190
  GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
177
191
  LESS_THAN_OR_EQUALS: "LessThanOrEquals",
178
192
  };
179
- export const OperationStatus = {
180
- ERROR: "ERROR",
181
- INPROGRESS: "INPROGRESS",
182
- SUCCESS: "SUCCESS",
183
- };
184
193
  export const OperationEventStatus = {
185
194
  COMPLETED: "COMPLETED",
186
195
  FAILED: "FAILED",
187
196
  IN_PROGRESS: "IN_PROGRESS",
188
197
  };
198
+ export const RuleResultStatus = {
199
+ FAILED: "FAILED",
200
+ INFO: "INFO",
201
+ PASSED: "PASSED",
202
+ UNKNOWN: "UNKNOWN",
203
+ WARNING: "WARNING",
204
+ };
189
205
  export const ApplicationCredentialFilterSensitiveLog = (obj) => ({
190
206
  ...obj,
191
207
  ...(obj.SecretId && { SecretId: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListConfigurationCheckDefinitionsCommand, } from "../commands/ListConfigurationCheckDefinitionsCommand";
3
+ import { SsmSapClient } from "../SsmSapClient";
4
+ export const paginateListConfigurationCheckDefinitions = createPaginator(SsmSapClient, ListConfigurationCheckDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListConfigurationCheckOperationsCommand, } from "../commands/ListConfigurationCheckOperationsCommand";
3
+ import { SsmSapClient } from "../SsmSapClient";
4
+ export const paginateListConfigurationCheckOperations = createPaginator(SsmSapClient, ListConfigurationCheckOperationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListSubCheckResultsCommand, } from "../commands/ListSubCheckResultsCommand";
3
+ import { SsmSapClient } from "../SsmSapClient";
4
+ export const paginateListSubCheckResults = createPaginator(SsmSapClient, ListSubCheckResultsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListSubCheckRuleResultsCommand, } from "../commands/ListSubCheckRuleResultsCommand";
3
+ import { SsmSapClient } from "../SsmSapClient";
4
+ export const paginateListSubCheckRuleResults = createPaginator(SsmSapClient, ListSubCheckRuleResultsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,10 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListApplicationsPaginator";
3
3
  export * from "./ListComponentsPaginator";
4
+ export * from "./ListConfigurationCheckDefinitionsPaginator";
5
+ export * from "./ListConfigurationCheckOperationsPaginator";
4
6
  export * from "./ListDatabasesPaginator";
5
7
  export * from "./ListOperationEventsPaginator";
6
8
  export * from "./ListOperationsPaginator";
9
+ export * from "./ListSubCheckResultsPaginator";
10
+ export * from "./ListSubCheckRuleResultsPaginator";
@@ -60,6 +60,19 @@ export const se_GetComponentCommand = async (input, context) => {
60
60
  b.m("POST").h(headers).b(body);
61
61
  return b.build();
62
62
  };
63
+ export const se_GetConfigurationCheckOperationCommand = async (input, context) => {
64
+ const b = rb(input, context);
65
+ const headers = {
66
+ "content-type": "application/json",
67
+ };
68
+ b.bp("/get-configuration-check-operation");
69
+ let body;
70
+ body = JSON.stringify(take(input, {
71
+ OperationId: [],
72
+ }));
73
+ b.m("POST").h(headers).b(body);
74
+ return b.build();
75
+ };
63
76
  export const se_GetDatabaseCommand = async (input, context) => {
64
77
  const b = rb(input, context);
65
78
  const headers = {
@@ -133,6 +146,37 @@ export const se_ListComponentsCommand = async (input, context) => {
133
146
  b.m("POST").h(headers).b(body);
134
147
  return b.build();
135
148
  };
149
+ export const se_ListConfigurationCheckDefinitionsCommand = async (input, context) => {
150
+ const b = rb(input, context);
151
+ const headers = {
152
+ "content-type": "application/json",
153
+ };
154
+ b.bp("/list-configuration-check-definitions");
155
+ let body;
156
+ body = JSON.stringify(take(input, {
157
+ MaxResults: [],
158
+ NextToken: [],
159
+ }));
160
+ b.m("POST").h(headers).b(body);
161
+ return b.build();
162
+ };
163
+ export const se_ListConfigurationCheckOperationsCommand = async (input, context) => {
164
+ const b = rb(input, context);
165
+ const headers = {
166
+ "content-type": "application/json",
167
+ };
168
+ b.bp("/list-configuration-check-operations");
169
+ let body;
170
+ body = JSON.stringify(take(input, {
171
+ ApplicationId: [],
172
+ Filters: (_) => _json(_),
173
+ ListMode: [],
174
+ MaxResults: [],
175
+ NextToken: [],
176
+ }));
177
+ b.m("POST").h(headers).b(body);
178
+ return b.build();
179
+ };
136
180
  export const se_ListDatabasesCommand = async (input, context) => {
137
181
  const b = rb(input, context);
138
182
  const headers = {
@@ -181,6 +225,36 @@ export const se_ListOperationsCommand = async (input, context) => {
181
225
  b.m("POST").h(headers).b(body);
182
226
  return b.build();
183
227
  };
228
+ export const se_ListSubCheckResultsCommand = async (input, context) => {
229
+ const b = rb(input, context);
230
+ const headers = {
231
+ "content-type": "application/json",
232
+ };
233
+ b.bp("/list-sub-check-results");
234
+ let body;
235
+ body = JSON.stringify(take(input, {
236
+ MaxResults: [],
237
+ NextToken: [],
238
+ OperationId: [],
239
+ }));
240
+ b.m("POST").h(headers).b(body);
241
+ return b.build();
242
+ };
243
+ export const se_ListSubCheckRuleResultsCommand = async (input, context) => {
244
+ const b = rb(input, context);
245
+ const headers = {
246
+ "content-type": "application/json",
247
+ };
248
+ b.bp("/list-sub-check-rule-results");
249
+ let body;
250
+ body = JSON.stringify(take(input, {
251
+ MaxResults: [],
252
+ NextToken: [],
253
+ SubCheckResultId: [],
254
+ }));
255
+ b.m("POST").h(headers).b(body);
256
+ return b.build();
257
+ };
184
258
  export const se_ListTagsForResourceCommand = async (input, context) => {
185
259
  const b = rb(input, context);
186
260
  const headers = {};
@@ -252,6 +326,20 @@ export const se_StartApplicationRefreshCommand = async (input, context) => {
252
326
  b.m("POST").h(headers).b(body);
253
327
  return b.build();
254
328
  };
329
+ export const se_StartConfigurationChecksCommand = async (input, context) => {
330
+ const b = rb(input, context);
331
+ const headers = {
332
+ "content-type": "application/json",
333
+ };
334
+ b.bp("/start-configuration-checks");
335
+ let body;
336
+ body = JSON.stringify(take(input, {
337
+ ApplicationId: [],
338
+ ConfigurationCheckIds: (_) => _json(_),
339
+ }));
340
+ b.m("POST").h(headers).b(body);
341
+ return b.build();
342
+ };
255
343
  export const se_StopApplicationCommand = async (input, context) => {
256
344
  const b = rb(input, context);
257
345
  const headers = {
@@ -364,6 +452,20 @@ export const de_GetComponentCommand = async (output, context) => {
364
452
  Object.assign(contents, doc);
365
453
  return contents;
366
454
  };
455
+ export const de_GetConfigurationCheckOperationCommand = async (output, context) => {
456
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
457
+ return de_CommandError(output, context);
458
+ }
459
+ const contents = map({
460
+ $metadata: deserializeMetadata(output),
461
+ });
462
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
463
+ const doc = take(data, {
464
+ ConfigurationCheckOperation: (_) => de_ConfigurationCheckOperation(_, context),
465
+ });
466
+ Object.assign(contents, doc);
467
+ return contents;
468
+ };
367
469
  export const de_GetDatabaseCommand = async (output, context) => {
368
470
  if (output.statusCode !== 200 && output.statusCode >= 300) {
369
471
  return de_CommandError(output, context);
@@ -437,6 +539,36 @@ export const de_ListComponentsCommand = async (output, context) => {
437
539
  Object.assign(contents, doc);
438
540
  return contents;
439
541
  };
542
+ export const de_ListConfigurationCheckDefinitionsCommand = async (output, context) => {
543
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
544
+ return de_CommandError(output, context);
545
+ }
546
+ const contents = map({
547
+ $metadata: deserializeMetadata(output),
548
+ });
549
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
550
+ const doc = take(data, {
551
+ ConfigurationChecks: _json,
552
+ NextToken: __expectString,
553
+ });
554
+ Object.assign(contents, doc);
555
+ return contents;
556
+ };
557
+ export const de_ListConfigurationCheckOperationsCommand = async (output, context) => {
558
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
559
+ return de_CommandError(output, context);
560
+ }
561
+ const contents = map({
562
+ $metadata: deserializeMetadata(output),
563
+ });
564
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
565
+ const doc = take(data, {
566
+ ConfigurationCheckOperations: (_) => de_ConfigurationCheckOperationList(_, context),
567
+ NextToken: __expectString,
568
+ });
569
+ Object.assign(contents, doc);
570
+ return contents;
571
+ };
440
572
  export const de_ListDatabasesCommand = async (output, context) => {
441
573
  if (output.statusCode !== 200 && output.statusCode >= 300) {
442
574
  return de_CommandError(output, context);
@@ -482,6 +614,36 @@ export const de_ListOperationsCommand = async (output, context) => {
482
614
  Object.assign(contents, doc);
483
615
  return contents;
484
616
  };
617
+ export const de_ListSubCheckResultsCommand = async (output, context) => {
618
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
619
+ return de_CommandError(output, context);
620
+ }
621
+ const contents = map({
622
+ $metadata: deserializeMetadata(output),
623
+ });
624
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
625
+ const doc = take(data, {
626
+ NextToken: __expectString,
627
+ SubCheckResults: _json,
628
+ });
629
+ Object.assign(contents, doc);
630
+ return contents;
631
+ };
632
+ export const de_ListSubCheckRuleResultsCommand = async (output, context) => {
633
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
634
+ return de_CommandError(output, context);
635
+ }
636
+ const contents = map({
637
+ $metadata: deserializeMetadata(output),
638
+ });
639
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
640
+ const doc = take(data, {
641
+ NextToken: __expectString,
642
+ RuleResults: _json,
643
+ });
644
+ Object.assign(contents, doc);
645
+ return contents;
646
+ };
485
647
  export const de_ListTagsForResourceCommand = async (output, context) => {
486
648
  if (output.statusCode !== 200 && output.statusCode >= 300) {
487
649
  return de_CommandError(output, context);
@@ -553,6 +715,20 @@ export const de_StartApplicationRefreshCommand = async (output, context) => {
553
715
  Object.assign(contents, doc);
554
716
  return contents;
555
717
  };
718
+ export const de_StartConfigurationChecksCommand = async (output, context) => {
719
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
720
+ return de_CommandError(output, context);
721
+ }
722
+ const contents = map({
723
+ $metadata: deserializeMetadata(output),
724
+ });
725
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
726
+ const doc = take(data, {
727
+ ConfigurationCheckOperations: (_) => de_ConfigurationCheckOperationList(_, context),
728
+ });
729
+ Object.assign(contents, doc);
730
+ return contents;
731
+ };
556
732
  export const de_StopApplicationCommand = async (output, context) => {
557
733
  if (output.statusCode !== 200 && output.statusCode >= 300) {
558
734
  return de_CommandError(output, context);
@@ -737,6 +913,28 @@ const de_Component = (output, context) => {
737
913
  SystemNumber: __expectString,
738
914
  });
739
915
  };
916
+ const de_ConfigurationCheckOperation = (output, context) => {
917
+ return take(output, {
918
+ ApplicationId: __expectString,
919
+ ConfigurationCheckDescription: __expectString,
920
+ ConfigurationCheckId: __expectString,
921
+ ConfigurationCheckName: __expectString,
922
+ EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
923
+ Id: __expectString,
924
+ RuleStatusCounts: _json,
925
+ StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
926
+ Status: __expectString,
927
+ StatusMessage: __expectString,
928
+ });
929
+ };
930
+ const de_ConfigurationCheckOperationList = (output, context) => {
931
+ const retVal = (output || [])
932
+ .filter((e) => e != null)
933
+ .map((entry) => {
934
+ return de_ConfigurationCheckOperation(entry, context);
935
+ });
936
+ return retVal;
937
+ };
740
938
  const de_Database = (output, context) => {
741
939
  return take(output, {
742
940
  ApplicationId: __expectString,
@@ -3,19 +3,25 @@ import { DeleteResourcePermissionCommandInput, DeleteResourcePermissionCommandOu
3
3
  import { DeregisterApplicationCommandInput, DeregisterApplicationCommandOutput } from "./commands/DeregisterApplicationCommand";
4
4
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
5
5
  import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
6
+ import { GetConfigurationCheckOperationCommandInput, GetConfigurationCheckOperationCommandOutput } from "./commands/GetConfigurationCheckOperationCommand";
6
7
  import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
7
8
  import { GetOperationCommandInput, GetOperationCommandOutput } from "./commands/GetOperationCommand";
8
9
  import { GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput } from "./commands/GetResourcePermissionCommand";
9
10
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
10
11
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
12
+ import { ListConfigurationCheckDefinitionsCommandInput, ListConfigurationCheckDefinitionsCommandOutput } from "./commands/ListConfigurationCheckDefinitionsCommand";
13
+ import { ListConfigurationCheckOperationsCommandInput, ListConfigurationCheckOperationsCommandOutput } from "./commands/ListConfigurationCheckOperationsCommand";
11
14
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
12
15
  import { ListOperationEventsCommandInput, ListOperationEventsCommandOutput } from "./commands/ListOperationEventsCommand";
13
16
  import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
17
+ import { ListSubCheckResultsCommandInput, ListSubCheckResultsCommandOutput } from "./commands/ListSubCheckResultsCommand";
18
+ import { ListSubCheckRuleResultsCommandInput, ListSubCheckRuleResultsCommandOutput } from "./commands/ListSubCheckRuleResultsCommand";
14
19
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
15
20
  import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "./commands/PutResourcePermissionCommand";
16
21
  import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "./commands/RegisterApplicationCommand";
17
22
  import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
18
23
  import { StartApplicationRefreshCommandInput, StartApplicationRefreshCommandOutput } from "./commands/StartApplicationRefreshCommand";
24
+ import { StartConfigurationChecksCommandInput, StartConfigurationChecksCommandOutput } from "./commands/StartConfigurationChecksCommand";
19
25
  import { StopApplicationCommandInput, StopApplicationCommandOutput } from "./commands/StopApplicationCommand";
20
26
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
27
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -47,6 +53,12 @@ export interface SsmSap {
47
53
  getComponent(args: GetComponentCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentCommandOutput>;
48
54
  getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
49
55
  getComponent(args: GetComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link GetConfigurationCheckOperationCommand}
58
+ */
59
+ getConfigurationCheckOperation(args: GetConfigurationCheckOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationCheckOperationCommandOutput>;
60
+ getConfigurationCheckOperation(args: GetConfigurationCheckOperationCommandInput, cb: (err: any, data?: GetConfigurationCheckOperationCommandOutput) => void): void;
61
+ getConfigurationCheckOperation(args: GetConfigurationCheckOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationCheckOperationCommandOutput) => void): void;
50
62
  /**
51
63
  * @see {@link GetDatabaseCommand}
52
64
  */
@@ -80,6 +92,19 @@ export interface SsmSap {
80
92
  listComponents(args: ListComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentsCommandOutput>;
81
93
  listComponents(args: ListComponentsCommandInput, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
82
94
  listComponents(args: ListComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
95
+ /**
96
+ * @see {@link ListConfigurationCheckDefinitionsCommand}
97
+ */
98
+ listConfigurationCheckDefinitions(): Promise<ListConfigurationCheckDefinitionsCommandOutput>;
99
+ listConfigurationCheckDefinitions(args: ListConfigurationCheckDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationCheckDefinitionsCommandOutput>;
100
+ listConfigurationCheckDefinitions(args: ListConfigurationCheckDefinitionsCommandInput, cb: (err: any, data?: ListConfigurationCheckDefinitionsCommandOutput) => void): void;
101
+ listConfigurationCheckDefinitions(args: ListConfigurationCheckDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationCheckDefinitionsCommandOutput) => void): void;
102
+ /**
103
+ * @see {@link ListConfigurationCheckOperationsCommand}
104
+ */
105
+ listConfigurationCheckOperations(args: ListConfigurationCheckOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationCheckOperationsCommandOutput>;
106
+ listConfigurationCheckOperations(args: ListConfigurationCheckOperationsCommandInput, cb: (err: any, data?: ListConfigurationCheckOperationsCommandOutput) => void): void;
107
+ listConfigurationCheckOperations(args: ListConfigurationCheckOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationCheckOperationsCommandOutput) => void): void;
83
108
  /**
84
109
  * @see {@link ListDatabasesCommand}
85
110
  */
@@ -99,6 +124,18 @@ export interface SsmSap {
99
124
  listOperations(args: ListOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListOperationsCommandOutput>;
100
125
  listOperations(args: ListOperationsCommandInput, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
101
126
  listOperations(args: ListOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
127
+ /**
128
+ * @see {@link ListSubCheckResultsCommand}
129
+ */
130
+ listSubCheckResults(args: ListSubCheckResultsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubCheckResultsCommandOutput>;
131
+ listSubCheckResults(args: ListSubCheckResultsCommandInput, cb: (err: any, data?: ListSubCheckResultsCommandOutput) => void): void;
132
+ listSubCheckResults(args: ListSubCheckResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubCheckResultsCommandOutput) => void): void;
133
+ /**
134
+ * @see {@link ListSubCheckRuleResultsCommand}
135
+ */
136
+ listSubCheckRuleResults(args: ListSubCheckRuleResultsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubCheckRuleResultsCommandOutput>;
137
+ listSubCheckRuleResults(args: ListSubCheckRuleResultsCommandInput, cb: (err: any, data?: ListSubCheckRuleResultsCommandOutput) => void): void;
138
+ listSubCheckRuleResults(args: ListSubCheckRuleResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubCheckRuleResultsCommandOutput) => void): void;
102
139
  /**
103
140
  * @see {@link ListTagsForResourceCommand}
104
141
  */
@@ -129,6 +166,12 @@ export interface SsmSap {
129
166
  startApplicationRefresh(args: StartApplicationRefreshCommandInput, options?: __HttpHandlerOptions): Promise<StartApplicationRefreshCommandOutput>;
130
167
  startApplicationRefresh(args: StartApplicationRefreshCommandInput, cb: (err: any, data?: StartApplicationRefreshCommandOutput) => void): void;
131
168
  startApplicationRefresh(args: StartApplicationRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApplicationRefreshCommandOutput) => void): void;
169
+ /**
170
+ * @see {@link StartConfigurationChecksCommand}
171
+ */
172
+ startConfigurationChecks(args: StartConfigurationChecksCommandInput, options?: __HttpHandlerOptions): Promise<StartConfigurationChecksCommandOutput>;
173
+ startConfigurationChecks(args: StartConfigurationChecksCommandInput, cb: (err: any, data?: StartConfigurationChecksCommandOutput) => void): void;
174
+ startConfigurationChecks(args: StartConfigurationChecksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartConfigurationChecksCommandOutput) => void): void;
132
175
  /**
133
176
  * @see {@link StopApplicationCommand}
134
177
  */
@@ -155,9 +198,7 @@ export interface SsmSap {
155
198
  updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationSettingsCommandOutput) => void): void;
156
199
  }
157
200
  /**
158
- * <p>This API reference provides descriptions, syntax, and other details about each of the
159
- * actions and data types for AWS Systems Manager for SAP. The topic for each action shows
160
- * the API request parameters and responses. </p>
201
+ * <p>This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Systems Manager for SAP. The topic for each action shows the API request parameters and responses. </p>
161
202
  * @public
162
203
  */
163
204
  export declare class SsmSap extends SsmSapClient implements SsmSap {
@@ -11,19 +11,25 @@ import { DeleteResourcePermissionCommandInput, DeleteResourcePermissionCommandOu
11
11
  import { DeregisterApplicationCommandInput, DeregisterApplicationCommandOutput } from "./commands/DeregisterApplicationCommand";
12
12
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
13
13
  import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
14
+ import { GetConfigurationCheckOperationCommandInput, GetConfigurationCheckOperationCommandOutput } from "./commands/GetConfigurationCheckOperationCommand";
14
15
  import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
15
16
  import { GetOperationCommandInput, GetOperationCommandOutput } from "./commands/GetOperationCommand";
16
17
  import { GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput } from "./commands/GetResourcePermissionCommand";
17
18
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
18
19
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
20
+ import { ListConfigurationCheckDefinitionsCommandInput, ListConfigurationCheckDefinitionsCommandOutput } from "./commands/ListConfigurationCheckDefinitionsCommand";
21
+ import { ListConfigurationCheckOperationsCommandInput, ListConfigurationCheckOperationsCommandOutput } from "./commands/ListConfigurationCheckOperationsCommand";
19
22
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
20
23
  import { ListOperationEventsCommandInput, ListOperationEventsCommandOutput } from "./commands/ListOperationEventsCommand";
21
24
  import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
25
+ import { ListSubCheckResultsCommandInput, ListSubCheckResultsCommandOutput } from "./commands/ListSubCheckResultsCommand";
26
+ import { ListSubCheckRuleResultsCommandInput, ListSubCheckRuleResultsCommandOutput } from "./commands/ListSubCheckRuleResultsCommand";
22
27
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
28
  import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "./commands/PutResourcePermissionCommand";
24
29
  import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "./commands/RegisterApplicationCommand";
25
30
  import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
26
31
  import { StartApplicationRefreshCommandInput, StartApplicationRefreshCommandOutput } from "./commands/StartApplicationRefreshCommand";
32
+ import { StartConfigurationChecksCommandInput, StartConfigurationChecksCommandOutput } from "./commands/StartConfigurationChecksCommand";
27
33
  import { StopApplicationCommandInput, StopApplicationCommandOutput } from "./commands/StopApplicationCommand";
28
34
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
29
35
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -34,11 +40,11 @@ export { __Client };
34
40
  /**
35
41
  * @public
36
42
  */
37
- export type ServiceInputTypes = DeleteResourcePermissionCommandInput | DeregisterApplicationCommandInput | GetApplicationCommandInput | GetComponentCommandInput | GetDatabaseCommandInput | GetOperationCommandInput | GetResourcePermissionCommandInput | ListApplicationsCommandInput | ListComponentsCommandInput | ListDatabasesCommandInput | ListOperationEventsCommandInput | ListOperationsCommandInput | ListTagsForResourceCommandInput | PutResourcePermissionCommandInput | RegisterApplicationCommandInput | StartApplicationCommandInput | StartApplicationRefreshCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationSettingsCommandInput;
43
+ export type ServiceInputTypes = DeleteResourcePermissionCommandInput | DeregisterApplicationCommandInput | GetApplicationCommandInput | GetComponentCommandInput | GetConfigurationCheckOperationCommandInput | GetDatabaseCommandInput | GetOperationCommandInput | GetResourcePermissionCommandInput | ListApplicationsCommandInput | ListComponentsCommandInput | ListConfigurationCheckDefinitionsCommandInput | ListConfigurationCheckOperationsCommandInput | ListDatabasesCommandInput | ListOperationEventsCommandInput | ListOperationsCommandInput | ListSubCheckResultsCommandInput | ListSubCheckRuleResultsCommandInput | ListTagsForResourceCommandInput | PutResourcePermissionCommandInput | RegisterApplicationCommandInput | StartApplicationCommandInput | StartApplicationRefreshCommandInput | StartConfigurationChecksCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationSettingsCommandInput;
38
44
  /**
39
45
  * @public
40
46
  */
41
- export type ServiceOutputTypes = DeleteResourcePermissionCommandOutput | DeregisterApplicationCommandOutput | GetApplicationCommandOutput | GetComponentCommandOutput | GetDatabaseCommandOutput | GetOperationCommandOutput | GetResourcePermissionCommandOutput | ListApplicationsCommandOutput | ListComponentsCommandOutput | ListDatabasesCommandOutput | ListOperationEventsCommandOutput | ListOperationsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePermissionCommandOutput | RegisterApplicationCommandOutput | StartApplicationCommandOutput | StartApplicationRefreshCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationSettingsCommandOutput;
47
+ export type ServiceOutputTypes = DeleteResourcePermissionCommandOutput | DeregisterApplicationCommandOutput | GetApplicationCommandOutput | GetComponentCommandOutput | GetConfigurationCheckOperationCommandOutput | GetDatabaseCommandOutput | GetOperationCommandOutput | GetResourcePermissionCommandOutput | ListApplicationsCommandOutput | ListComponentsCommandOutput | ListConfigurationCheckDefinitionsCommandOutput | ListConfigurationCheckOperationsCommandOutput | ListDatabasesCommandOutput | ListOperationEventsCommandOutput | ListOperationsCommandOutput | ListSubCheckResultsCommandOutput | ListSubCheckRuleResultsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePermissionCommandOutput | RegisterApplicationCommandOutput | StartApplicationCommandOutput | StartApplicationRefreshCommandOutput | StartConfigurationChecksCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationSettingsCommandOutput;
42
48
  /**
43
49
  * @public
44
50
  */
@@ -190,9 +196,7 @@ export type SsmSapClientResolvedConfigType = __SmithyResolvedConfiguration<__Htt
190
196
  export interface SsmSapClientResolvedConfig extends SsmSapClientResolvedConfigType {
191
197
  }
192
198
  /**
193
- * <p>This API reference provides descriptions, syntax, and other details about each of the
194
- * actions and data types for AWS Systems Manager for SAP. The topic for each action shows
195
- * the API request parameters and responses. </p>
199
+ * <p>This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Systems Manager for SAP. The topic for each action shows the API request parameters and responses. </p>
196
200
  * @public
197
201
  */
198
202
  export declare class SsmSapClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig> {
@@ -27,8 +27,7 @@ declare const DeregisterApplicationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deregister an SAP application with AWS Systems Manager for SAP. This action does not
31
- * affect the existing setup of your SAP workloads on Amazon EC2.</p>
30
+ * <p>Deregister an SAP application with AWS Systems Manager for SAP. This action does not affect the existing setup of your SAP workloads on Amazon EC2.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript