@aws-sdk/client-config-service 3.137.0 → 3.138.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 (52) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/ConfigService.js +15 -0
  3. package/dist-cjs/commands/ListConformancePackComplianceScoresCommand.js +36 -0
  4. package/dist-cjs/commands/PutConformancePackCommand.js +2 -1
  5. package/dist-cjs/commands/PutDeliveryChannelCommand.js +2 -2
  6. package/dist-cjs/commands/PutEvaluationsCommand.js +3 -3
  7. package/dist-cjs/commands/PutExternalEvaluationCommand.js +3 -3
  8. package/dist-cjs/commands/index.js +1 -0
  9. package/dist-cjs/models/models_0.js +30 -29
  10. package/dist-cjs/models/models_1.js +25 -1
  11. package/dist-cjs/pagination/ListConformancePackComplianceScoresPaginator.js +36 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +112 -3
  14. package/dist-es/ConfigService.js +15 -0
  15. package/dist-es/commands/ListConformancePackComplianceScoresCommand.js +39 -0
  16. package/dist-es/commands/PutConformancePackCommand.js +2 -1
  17. package/dist-es/commands/PutDeliveryChannelCommand.js +1 -1
  18. package/dist-es/commands/PutEvaluationsCommand.js +1 -1
  19. package/dist-es/commands/PutExternalEvaluationCommand.js +1 -1
  20. package/dist-es/commands/index.js +1 -0
  21. package/dist-es/models/models_0.js +13 -6
  22. package/dist-es/models/models_1.js +6 -0
  23. package/dist-es/pagination/ListConformancePackComplianceScoresPaginator.js +75 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_json1_1.js +118 -0
  26. package/dist-types/ConfigService.d.ts +10 -0
  27. package/dist-types/ConfigServiceClient.d.ts +3 -2
  28. package/dist-types/commands/ListConformancePackComplianceScoresCommand.d.ts +38 -0
  29. package/dist-types/commands/PutConformancePackCommand.d.ts +2 -1
  30. package/dist-types/commands/PutDeliveryChannelCommand.d.ts +1 -1
  31. package/dist-types/commands/PutEvaluationsCommand.d.ts +1 -1
  32. package/dist-types/commands/PutExternalEvaluationCommand.d.ts +1 -1
  33. package/dist-types/commands/index.d.ts +1 -0
  34. package/dist-types/models/models_0.d.ts +83 -95
  35. package/dist-types/models/models_1.d.ts +96 -1
  36. package/dist-types/pagination/ListConformancePackComplianceScoresPaginator.d.ts +4 -0
  37. package/dist-types/pagination/index.d.ts +1 -0
  38. package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
  39. package/dist-types/ts3.4/ConfigService.d.ts +5 -0
  40. package/dist-types/ts3.4/ConfigServiceClient.d.ts +3 -2
  41. package/dist-types/ts3.4/commands/ListConformancePackComplianceScoresCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/PutConformancePackCommand.d.ts +2 -1
  43. package/dist-types/ts3.4/commands/PutDeliveryChannelCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/PutEvaluationsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/PutExternalEvaluationCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +47 -43
  48. package/dist-types/ts3.4/models/models_1.d.ts +44 -1
  49. package/dist-types/ts3.4/pagination/ListConformancePackComplianceScoresPaginator.d.ts +4 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
  52. package/package.json +1 -1
@@ -61,6 +61,7 @@ import { GetOrganizationCustomRulePolicyCommand, } from "./commands/GetOrganizat
61
61
  import { GetResourceConfigHistoryCommand, } from "./commands/GetResourceConfigHistoryCommand";
62
62
  import { GetStoredQueryCommand, } from "./commands/GetStoredQueryCommand";
63
63
  import { ListAggregateDiscoveredResourcesCommand, } from "./commands/ListAggregateDiscoveredResourcesCommand";
64
+ import { ListConformancePackComplianceScoresCommand, } from "./commands/ListConformancePackComplianceScoresCommand";
64
65
  import { ListDiscoveredResourcesCommand, } from "./commands/ListDiscoveredResourcesCommand";
65
66
  import { ListStoredQueriesCommand, } from "./commands/ListStoredQueriesCommand";
66
67
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
@@ -961,6 +962,20 @@ var ConfigService = (function (_super) {
961
962
  return this.send(command, optionsOrCb);
962
963
  }
963
964
  };
965
+ ConfigService.prototype.listConformancePackComplianceScores = function (args, optionsOrCb, cb) {
966
+ var command = new ListConformancePackComplianceScoresCommand(args);
967
+ if (typeof optionsOrCb === "function") {
968
+ this.send(command, optionsOrCb);
969
+ }
970
+ else if (typeof cb === "function") {
971
+ if (typeof optionsOrCb !== "object")
972
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
973
+ this.send(command, optionsOrCb || {}, cb);
974
+ }
975
+ else {
976
+ return this.send(command, optionsOrCb);
977
+ }
978
+ };
964
979
  ConfigService.prototype.listDiscoveredResources = function (args, optionsOrCb, cb) {
965
980
  var command = new ListDiscoveredResourcesCommand(args);
966
981
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListConformancePackComplianceScoresRequestFilterSensitiveLog, ListConformancePackComplianceScoresResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListConformancePackComplianceScoresCommand, serializeAws_json1_1ListConformancePackComplianceScoresCommand, } from "../protocols/Aws_json1_1";
6
+ var ListConformancePackComplianceScoresCommand = (function (_super) {
7
+ __extends(ListConformancePackComplianceScoresCommand, _super);
8
+ function ListConformancePackComplianceScoresCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListConformancePackComplianceScoresCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConfigServiceClient";
18
+ var commandName = "ListConformancePackComplianceScoresCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListConformancePackComplianceScoresRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListConformancePackComplianceScoresResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListConformancePackComplianceScoresCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ListConformancePackComplianceScoresCommand(input, context);
33
+ };
34
+ ListConformancePackComplianceScoresCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ListConformancePackComplianceScoresCommand(output, context);
36
+ };
37
+ return ListConformancePackComplianceScoresCommand;
38
+ }($Command));
39
+ export { ListConformancePackComplianceScoresCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PutConformancePackRequestFilterSensitiveLog, PutConformancePackResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { PutConformancePackRequestFilterSensitiveLog } from "../models/models_0";
5
+ import { PutConformancePackResponseFilterSensitiveLog } from "../models/models_1";
5
6
  import { deserializeAws_json1_1PutConformancePackCommand, serializeAws_json1_1PutConformancePackCommand, } from "../protocols/Aws_json1_1";
6
7
  var PutConformancePackCommand = (function (_super) {
7
8
  __extends(PutConformancePackCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PutDeliveryChannelRequestFilterSensitiveLog } from "../models/models_0";
4
+ import { PutDeliveryChannelRequestFilterSensitiveLog } from "../models/models_1";
5
5
  import { deserializeAws_json1_1PutDeliveryChannelCommand, serializeAws_json1_1PutDeliveryChannelCommand, } from "../protocols/Aws_json1_1";
6
6
  var PutDeliveryChannelCommand = (function (_super) {
7
7
  __extends(PutDeliveryChannelCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PutEvaluationsRequestFilterSensitiveLog, PutEvaluationsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { PutEvaluationsRequestFilterSensitiveLog, PutEvaluationsResponseFilterSensitiveLog, } from "../models/models_1";
5
5
  import { deserializeAws_json1_1PutEvaluationsCommand, serializeAws_json1_1PutEvaluationsCommand, } from "../protocols/Aws_json1_1";
6
6
  var PutEvaluationsCommand = (function (_super) {
7
7
  __extends(PutEvaluationsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PutExternalEvaluationRequestFilterSensitiveLog, PutExternalEvaluationResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { PutExternalEvaluationRequestFilterSensitiveLog, PutExternalEvaluationResponseFilterSensitiveLog, } from "../models/models_1";
5
5
  import { deserializeAws_json1_1PutExternalEvaluationCommand, serializeAws_json1_1PutExternalEvaluationCommand, } from "../protocols/Aws_json1_1";
6
6
  var PutExternalEvaluationCommand = (function (_super) {
7
7
  __extends(PutExternalEvaluationCommand, _super);
@@ -60,6 +60,7 @@ export * from "./GetOrganizationCustomRulePolicyCommand";
60
60
  export * from "./GetResourceConfigHistoryCommand";
61
61
  export * from "./GetStoredQueryCommand";
62
62
  export * from "./ListAggregateDiscoveredResourcesCommand";
63
+ export * from "./ListConformancePackComplianceScoresCommand";
63
64
  export * from "./ListDiscoveredResourcesCommand";
64
65
  export * from "./ListStoredQueriesCommand";
65
66
  export * from "./ListTagsForResourceCommand";
@@ -779,6 +779,15 @@ var LimitExceededException = (function (_super) {
779
779
  return LimitExceededException;
780
780
  }(__BaseException));
781
781
  export { LimitExceededException };
782
+ export var SortBy;
783
+ (function (SortBy) {
784
+ SortBy["SCORE"] = "SCORE";
785
+ })(SortBy || (SortBy = {}));
786
+ export var SortOrder;
787
+ (function (SortOrder) {
788
+ SortOrder["ASCENDING"] = "ASCENDING";
789
+ SortOrder["DESCENDING"] = "DESCENDING";
790
+ })(SortOrder || (SortOrder = {}));
782
791
  var MaxActiveResourcesExceededException = (function (_super) {
783
792
  __extends(MaxActiveResourcesExceededException, _super);
784
793
  function MaxActiveResourcesExceededException(opts) {
@@ -981,6 +990,8 @@ export var RecordingGroupFilterSensitiveLog = function (obj) { return (__assign(
981
990
  export var ConfigurationRecorderFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
982
991
  export var ConfigurationRecorderStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
983
992
  export var ConformancePackComplianceFiltersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
993
+ export var ConformancePackComplianceScoreFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
994
+ export var ConformancePackComplianceScoresFiltersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
984
995
  export var ConformancePackComplianceSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
985
996
  export var ConformancePackInputParameterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
986
997
  export var ConformancePackDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1133,6 +1144,8 @@ export var GetStoredQueryResponseFilterSensitiveLog = function (obj) { return (_
1133
1144
  export var ResourceFiltersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1134
1145
  export var ListAggregateDiscoveredResourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1135
1146
  export var ListAggregateDiscoveredResourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1147
+ export var ListConformancePackComplianceScoresRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1148
+ export var ListConformancePackComplianceScoresResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1136
1149
  export var ListDiscoveredResourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1137
1150
  export var ResourceIdentifierFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1138
1151
  export var ListDiscoveredResourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1150,9 +1163,3 @@ export var PutConfigurationAggregatorRequestFilterSensitiveLog = function (obj)
1150
1163
  export var PutConfigurationAggregatorResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1151
1164
  export var PutConfigurationRecorderRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1152
1165
  export var PutConformancePackRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1153
- export var PutConformancePackResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1154
- export var PutDeliveryChannelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1155
- export var PutEvaluationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1156
- export var PutEvaluationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1157
- export var PutExternalEvaluationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1158
- export var PutExternalEvaluationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -24,6 +24,12 @@ var TooManyTagsException = (function (_super) {
24
24
  return TooManyTagsException;
25
25
  }(__BaseException));
26
26
  export { TooManyTagsException };
27
+ export var PutConformancePackResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
28
+ export var PutDeliveryChannelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
+ export var PutEvaluationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
+ export var PutEvaluationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
31
+ export var PutExternalEvaluationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
32
+ export var PutExternalEvaluationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
27
33
  export var PutOrganizationConfigRuleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
28
34
  export var PutOrganizationConfigRuleResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
35
  export var PutOrganizationConformancePackRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -0,0 +1,75 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListConformancePackComplianceScoresCommand, } from "../commands/ListConformancePackComplianceScoresCommand";
3
+ import { ConfigService } from "../ConfigService";
4
+ import { ConfigServiceClient } from "../ConfigServiceClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListConformancePackComplianceScoresCommand(input)], __read(args), false))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listConformancePackComplianceScores.apply(client, __spreadArray([input], __read(args), false))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListConformancePackComplianceScores(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListConformancePackComplianceScores_1() {
39
+ var token, hasNext, page, prevToken;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.NextToken = token;
49
+ input["Limit"] = config.pageSize;
50
+ if (!(config.client instanceof ConfigService)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof ConfigServiceClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ prevToken = token;
67
+ token = page.NextToken;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
69
+ return [3, 1];
70
+ case 9: return [4, __await(undefined)];
71
+ case 10: return [2, _a.sent()];
72
+ }
73
+ });
74
+ });
75
+ }
@@ -32,6 +32,7 @@ export * from "./GetOrganizationConfigRuleDetailedStatusPaginator";
32
32
  export * from "./GetOrganizationConformancePackDetailedStatusPaginator";
33
33
  export * from "./GetResourceConfigHistoryPaginator";
34
34
  export * from "./ListAggregateDiscoveredResourcesPaginator";
35
+ export * from "./ListConformancePackComplianceScoresPaginator";
35
36
  export * from "./ListDiscoveredResourcesPaginator";
36
37
  export * from "./ListStoredQueriesPaginator";
37
38
  export * from "./ListTagsForResourcePaginator";
@@ -686,6 +686,17 @@ export var serializeAws_json1_1ListAggregateDiscoveredResourcesCommand = functio
686
686
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
687
687
  });
688
688
  }); };
689
+ export var serializeAws_json1_1ListConformancePackComplianceScoresCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
690
+ var headers, body;
691
+ return __generator(this, function (_a) {
692
+ headers = {
693
+ "content-type": "application/x-amz-json-1.1",
694
+ "x-amz-target": "StarlingDoveService.ListConformancePackComplianceScores",
695
+ };
696
+ body = JSON.stringify(serializeAws_json1_1ListConformancePackComplianceScoresRequest(input, context));
697
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
698
+ });
699
+ }); };
689
700
  export var serializeAws_json1_1ListDiscoveredResourcesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
690
701
  var headers, body;
691
702
  return __generator(this, function (_a) {
@@ -4552,6 +4563,65 @@ var deserializeAws_json1_1ListAggregateDiscoveredResourcesCommandError = functio
4552
4563
  }
4553
4564
  });
4554
4565
  }); };
4566
+ export var deserializeAws_json1_1ListConformancePackComplianceScoresCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4567
+ var data, contents, response;
4568
+ return __generator(this, function (_a) {
4569
+ switch (_a.label) {
4570
+ case 0:
4571
+ if (output.statusCode >= 300) {
4572
+ return [2, deserializeAws_json1_1ListConformancePackComplianceScoresCommandError(output, context)];
4573
+ }
4574
+ return [4, parseBody(output.body, context)];
4575
+ case 1:
4576
+ data = _a.sent();
4577
+ contents = {};
4578
+ contents = deserializeAws_json1_1ListConformancePackComplianceScoresResponse(data, context);
4579
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
4580
+ return [2, Promise.resolve(response)];
4581
+ }
4582
+ });
4583
+ }); };
4584
+ var deserializeAws_json1_1ListConformancePackComplianceScoresCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4585
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
4586
+ var _c;
4587
+ return __generator(this, function (_d) {
4588
+ switch (_d.label) {
4589
+ case 0:
4590
+ _a = [__assign({}, output)];
4591
+ _c = {};
4592
+ return [4, parseBody(output.body, context)];
4593
+ case 1:
4594
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4595
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4596
+ _b = errorCode;
4597
+ switch (_b) {
4598
+ case "InvalidLimitException": return [3, 2];
4599
+ case "com.amazonaws.configservice#InvalidLimitException": return [3, 2];
4600
+ case "InvalidNextTokenException": return [3, 4];
4601
+ case "com.amazonaws.configservice#InvalidNextTokenException": return [3, 4];
4602
+ case "InvalidParameterValueException": return [3, 6];
4603
+ case "com.amazonaws.configservice#InvalidParameterValueException": return [3, 6];
4604
+ }
4605
+ return [3, 8];
4606
+ case 2: return [4, deserializeAws_json1_1InvalidLimitExceptionResponse(parsedOutput, context)];
4607
+ case 3: throw _d.sent();
4608
+ case 4: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
4609
+ case 5: throw _d.sent();
4610
+ case 6: return [4, deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context)];
4611
+ case 7: throw _d.sent();
4612
+ case 8:
4613
+ parsedBody = parsedOutput.body;
4614
+ $metadata = deserializeMetadata(output);
4615
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
4616
+ response = new __BaseException({
4617
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
4618
+ $fault: "client",
4619
+ $metadata: $metadata,
4620
+ });
4621
+ throw __decorateServiceException(response, parsedBody);
4622
+ }
4623
+ });
4624
+ }); };
4555
4625
  export var deserializeAws_json1_1ListDiscoveredResourcesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4556
4626
  var data, contents, response;
4557
4627
  return __generator(this, function (_a) {
@@ -6779,6 +6849,11 @@ var serializeAws_json1_1ConformancePackComplianceResourceIds = function (input,
6779
6849
  return entry;
6780
6850
  });
6781
6851
  };
6852
+ var serializeAws_json1_1ConformancePackComplianceScoresFilters = function (input, context) {
6853
+ return __assign({}, (input.ConformancePackNames != null && {
6854
+ ConformancePackNames: serializeAws_json1_1ConformancePackNameFilter(input.ConformancePackNames, context),
6855
+ }));
6856
+ };
6782
6857
  var serializeAws_json1_1ConformancePackConfigRuleNames = function (input, context) {
6783
6858
  return input
6784
6859
  .filter(function (e) { return e != null; })
@@ -6809,6 +6884,16 @@ var serializeAws_json1_1ConformancePackInputParameters = function (input, contex
6809
6884
  return serializeAws_json1_1ConformancePackInputParameter(entry, context);
6810
6885
  });
6811
6886
  };
6887
+ var serializeAws_json1_1ConformancePackNameFilter = function (input, context) {
6888
+ return input
6889
+ .filter(function (e) { return e != null; })
6890
+ .map(function (entry) {
6891
+ if (entry === null) {
6892
+ return null;
6893
+ }
6894
+ return entry;
6895
+ });
6896
+ };
6812
6897
  var serializeAws_json1_1ConformancePackNamesList = function (input, context) {
6813
6898
  return input
6814
6899
  .filter(function (e) { return e != null; })
@@ -7153,6 +7238,11 @@ var serializeAws_json1_1ListAggregateDiscoveredResourcesRequest = function (inpu
7153
7238
  ConfigurationAggregatorName: input.ConfigurationAggregatorName,
7154
7239
  })), (input.Filters != null && { Filters: serializeAws_json1_1ResourceFilters(input.Filters, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
7155
7240
  };
7241
+ var serializeAws_json1_1ListConformancePackComplianceScoresRequest = function (input, context) {
7242
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && {
7243
+ Filters: serializeAws_json1_1ConformancePackComplianceScoresFilters(input.Filters, context),
7244
+ })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SortBy != null && { SortBy: input.SortBy })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
7245
+ };
7156
7246
  var serializeAws_json1_1ListDiscoveredResourcesRequest = function (input, context) {
7157
7247
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.includeDeletedResources != null && { includeDeletedResources: input.includeDeletedResources })), (input.limit != null && { limit: input.limit })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceIds != null && { resourceIds: serializeAws_json1_1ResourceIdList(input.resourceIds, context) })), (input.resourceName != null && { resourceName: input.resourceName })), (input.resourceType != null && { resourceType: input.resourceType }));
7158
7248
  };
@@ -8149,6 +8239,26 @@ var deserializeAws_json1_1ConfigurationRecorderStatusList = function (output, co
8149
8239
  });
8150
8240
  return retVal;
8151
8241
  };
8242
+ var deserializeAws_json1_1ConformancePackComplianceScore = function (output, context) {
8243
+ return {
8244
+ ConformancePackName: __expectString(output.ConformancePackName),
8245
+ LastUpdatedTime: output.LastUpdatedTime != null
8246
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
8247
+ : undefined,
8248
+ Score: __expectString(output.Score),
8249
+ };
8250
+ };
8251
+ var deserializeAws_json1_1ConformancePackComplianceScores = function (output, context) {
8252
+ var retVal = (output || [])
8253
+ .filter(function (e) { return e != null; })
8254
+ .map(function (entry) {
8255
+ if (entry === null) {
8256
+ return null;
8257
+ }
8258
+ return deserializeAws_json1_1ConformancePackComplianceScore(entry, context);
8259
+ });
8260
+ return retVal;
8261
+ };
8152
8262
  var deserializeAws_json1_1ConformancePackComplianceSummary = function (output, context) {
8153
8263
  return {
8154
8264
  ConformancePackComplianceStatus: __expectString(output.ConformancePackComplianceStatus),
@@ -8988,6 +9098,14 @@ var deserializeAws_json1_1ListAggregateDiscoveredResourcesResponse = function (o
8988
9098
  : undefined,
8989
9099
  };
8990
9100
  };
9101
+ var deserializeAws_json1_1ListConformancePackComplianceScoresResponse = function (output, context) {
9102
+ return {
9103
+ ConformancePackComplianceScores: output.ConformancePackComplianceScores != null
9104
+ ? deserializeAws_json1_1ConformancePackComplianceScores(output.ConformancePackComplianceScores, context)
9105
+ : undefined,
9106
+ NextToken: __expectString(output.NextToken),
9107
+ };
9108
+ };
8991
9109
  var deserializeAws_json1_1ListDiscoveredResourcesResponse = function (output, context) {
8992
9110
  return {
8993
9111
  nextToken: __expectString(output.nextToken),
@@ -61,6 +61,7 @@ import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRuleP
61
61
  import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
62
62
  import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
63
63
  import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
64
+ import { ListConformancePackComplianceScoresCommandInput, ListConformancePackComplianceScoresCommandOutput } from "./commands/ListConformancePackComplianceScoresCommand";
64
65
  import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
65
66
  import { ListStoredQueriesCommandInput, ListStoredQueriesCommandOutput } from "./commands/ListStoredQueriesCommand";
66
67
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -875,6 +876,15 @@ export declare class ConfigService extends ConfigServiceClient {
875
876
  listAggregateDiscoveredResources(args: ListAggregateDiscoveredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAggregateDiscoveredResourcesCommandOutput>;
876
877
  listAggregateDiscoveredResources(args: ListAggregateDiscoveredResourcesCommandInput, cb: (err: any, data?: ListAggregateDiscoveredResourcesCommandOutput) => void): void;
877
878
  listAggregateDiscoveredResources(args: ListAggregateDiscoveredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAggregateDiscoveredResourcesCommandOutput) => void): void;
879
+ /**
880
+ * <p>Returns a list of conformance pack compliance scores.
881
+ * A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack.
882
+ * This metric provides you with a high-level view of the compliance state of your conformance packs, and can be used to identify, investigate, and understand
883
+ * compliance deviations in your conformance packs.</p>
884
+ */
885
+ listConformancePackComplianceScores(args: ListConformancePackComplianceScoresCommandInput, options?: __HttpHandlerOptions): Promise<ListConformancePackComplianceScoresCommandOutput>;
886
+ listConformancePackComplianceScores(args: ListConformancePackComplianceScoresCommandInput, cb: (err: any, data?: ListConformancePackComplianceScoresCommandOutput) => void): void;
887
+ listConformancePackComplianceScores(args: ListConformancePackComplianceScoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConformancePackComplianceScoresCommandOutput) => void): void;
878
888
  /**
879
889
  * <p>Accepts a resource type and returns a list of resource
880
890
  * identifiers for the resources of that type. A resource identifier
@@ -68,6 +68,7 @@ import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRuleP
68
68
  import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
69
69
  import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
70
70
  import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
71
+ import { ListConformancePackComplianceScoresCommandInput, ListConformancePackComplianceScoresCommandOutput } from "./commands/ListConformancePackComplianceScoresCommand";
71
72
  import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
72
73
  import { ListStoredQueriesCommandInput, ListStoredQueriesCommandOutput } from "./commands/ListStoredQueriesCommand";
73
74
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -94,8 +95,8 @@ import { StartRemediationExecutionCommandInput, StartRemediationExecutionCommand
94
95
  import { StopConfigurationRecorderCommandInput, StopConfigurationRecorderCommandOutput } from "./commands/StopConfigurationRecorderCommand";
95
96
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
96
97
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
97
- export declare type ServiceInputTypes = BatchGetAggregateResourceConfigCommandInput | BatchGetResourceConfigCommandInput | DeleteAggregationAuthorizationCommandInput | DeleteConfigRuleCommandInput | DeleteConfigurationAggregatorCommandInput | DeleteConfigurationRecorderCommandInput | DeleteConformancePackCommandInput | DeleteDeliveryChannelCommandInput | DeleteEvaluationResultsCommandInput | DeleteOrganizationConfigRuleCommandInput | DeleteOrganizationConformancePackCommandInput | DeletePendingAggregationRequestCommandInput | DeleteRemediationConfigurationCommandInput | DeleteRemediationExceptionsCommandInput | DeleteResourceConfigCommandInput | DeleteRetentionConfigurationCommandInput | DeleteStoredQueryCommandInput | DeliverConfigSnapshotCommandInput | DescribeAggregateComplianceByConfigRulesCommandInput | DescribeAggregateComplianceByConformancePacksCommandInput | DescribeAggregationAuthorizationsCommandInput | DescribeComplianceByConfigRuleCommandInput | DescribeComplianceByResourceCommandInput | DescribeConfigRuleEvaluationStatusCommandInput | DescribeConfigRulesCommandInput | DescribeConfigurationAggregatorSourcesStatusCommandInput | DescribeConfigurationAggregatorsCommandInput | DescribeConfigurationRecorderStatusCommandInput | DescribeConfigurationRecordersCommandInput | DescribeConformancePackComplianceCommandInput | DescribeConformancePackStatusCommandInput | DescribeConformancePacksCommandInput | DescribeDeliveryChannelStatusCommandInput | DescribeDeliveryChannelsCommandInput | DescribeOrganizationConfigRuleStatusesCommandInput | DescribeOrganizationConfigRulesCommandInput | DescribeOrganizationConformancePackStatusesCommandInput | DescribeOrganizationConformancePacksCommandInput | DescribePendingAggregationRequestsCommandInput | DescribeRemediationConfigurationsCommandInput | DescribeRemediationExceptionsCommandInput | DescribeRemediationExecutionStatusCommandInput | DescribeRetentionConfigurationsCommandInput | GetAggregateComplianceDetailsByConfigRuleCommandInput | GetAggregateConfigRuleComplianceSummaryCommandInput | GetAggregateConformancePackComplianceSummaryCommandInput | GetAggregateDiscoveredResourceCountsCommandInput | GetAggregateResourceConfigCommandInput | GetComplianceDetailsByConfigRuleCommandInput | GetComplianceDetailsByResourceCommandInput | GetComplianceSummaryByConfigRuleCommandInput | GetComplianceSummaryByResourceTypeCommandInput | GetConformancePackComplianceDetailsCommandInput | GetConformancePackComplianceSummaryCommandInput | GetCustomRulePolicyCommandInput | GetDiscoveredResourceCountsCommandInput | GetOrganizationConfigRuleDetailedStatusCommandInput | GetOrganizationConformancePackDetailedStatusCommandInput | GetOrganizationCustomRulePolicyCommandInput | GetResourceConfigHistoryCommandInput | GetStoredQueryCommandInput | ListAggregateDiscoveredResourcesCommandInput | ListDiscoveredResourcesCommandInput | ListStoredQueriesCommandInput | ListTagsForResourceCommandInput | PutAggregationAuthorizationCommandInput | PutConfigRuleCommandInput | PutConfigurationAggregatorCommandInput | PutConfigurationRecorderCommandInput | PutConformancePackCommandInput | PutDeliveryChannelCommandInput | PutEvaluationsCommandInput | PutExternalEvaluationCommandInput | PutOrganizationConfigRuleCommandInput | PutOrganizationConformancePackCommandInput | PutRemediationConfigurationsCommandInput | PutRemediationExceptionsCommandInput | PutResourceConfigCommandInput | PutRetentionConfigurationCommandInput | PutStoredQueryCommandInput | SelectAggregateResourceConfigCommandInput | SelectResourceConfigCommandInput | StartConfigRulesEvaluationCommandInput | StartConfigurationRecorderCommandInput | StartRemediationExecutionCommandInput | StopConfigurationRecorderCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
98
- export declare type ServiceOutputTypes = BatchGetAggregateResourceConfigCommandOutput | BatchGetResourceConfigCommandOutput | DeleteAggregationAuthorizationCommandOutput | DeleteConfigRuleCommandOutput | DeleteConfigurationAggregatorCommandOutput | DeleteConfigurationRecorderCommandOutput | DeleteConformancePackCommandOutput | DeleteDeliveryChannelCommandOutput | DeleteEvaluationResultsCommandOutput | DeleteOrganizationConfigRuleCommandOutput | DeleteOrganizationConformancePackCommandOutput | DeletePendingAggregationRequestCommandOutput | DeleteRemediationConfigurationCommandOutput | DeleteRemediationExceptionsCommandOutput | DeleteResourceConfigCommandOutput | DeleteRetentionConfigurationCommandOutput | DeleteStoredQueryCommandOutput | DeliverConfigSnapshotCommandOutput | DescribeAggregateComplianceByConfigRulesCommandOutput | DescribeAggregateComplianceByConformancePacksCommandOutput | DescribeAggregationAuthorizationsCommandOutput | DescribeComplianceByConfigRuleCommandOutput | DescribeComplianceByResourceCommandOutput | DescribeConfigRuleEvaluationStatusCommandOutput | DescribeConfigRulesCommandOutput | DescribeConfigurationAggregatorSourcesStatusCommandOutput | DescribeConfigurationAggregatorsCommandOutput | DescribeConfigurationRecorderStatusCommandOutput | DescribeConfigurationRecordersCommandOutput | DescribeConformancePackComplianceCommandOutput | DescribeConformancePackStatusCommandOutput | DescribeConformancePacksCommandOutput | DescribeDeliveryChannelStatusCommandOutput | DescribeDeliveryChannelsCommandOutput | DescribeOrganizationConfigRuleStatusesCommandOutput | DescribeOrganizationConfigRulesCommandOutput | DescribeOrganizationConformancePackStatusesCommandOutput | DescribeOrganizationConformancePacksCommandOutput | DescribePendingAggregationRequestsCommandOutput | DescribeRemediationConfigurationsCommandOutput | DescribeRemediationExceptionsCommandOutput | DescribeRemediationExecutionStatusCommandOutput | DescribeRetentionConfigurationsCommandOutput | GetAggregateComplianceDetailsByConfigRuleCommandOutput | GetAggregateConfigRuleComplianceSummaryCommandOutput | GetAggregateConformancePackComplianceSummaryCommandOutput | GetAggregateDiscoveredResourceCountsCommandOutput | GetAggregateResourceConfigCommandOutput | GetComplianceDetailsByConfigRuleCommandOutput | GetComplianceDetailsByResourceCommandOutput | GetComplianceSummaryByConfigRuleCommandOutput | GetComplianceSummaryByResourceTypeCommandOutput | GetConformancePackComplianceDetailsCommandOutput | GetConformancePackComplianceSummaryCommandOutput | GetCustomRulePolicyCommandOutput | GetDiscoveredResourceCountsCommandOutput | GetOrganizationConfigRuleDetailedStatusCommandOutput | GetOrganizationConformancePackDetailedStatusCommandOutput | GetOrganizationCustomRulePolicyCommandOutput | GetResourceConfigHistoryCommandOutput | GetStoredQueryCommandOutput | ListAggregateDiscoveredResourcesCommandOutput | ListDiscoveredResourcesCommandOutput | ListStoredQueriesCommandOutput | ListTagsForResourceCommandOutput | PutAggregationAuthorizationCommandOutput | PutConfigRuleCommandOutput | PutConfigurationAggregatorCommandOutput | PutConfigurationRecorderCommandOutput | PutConformancePackCommandOutput | PutDeliveryChannelCommandOutput | PutEvaluationsCommandOutput | PutExternalEvaluationCommandOutput | PutOrganizationConfigRuleCommandOutput | PutOrganizationConformancePackCommandOutput | PutRemediationConfigurationsCommandOutput | PutRemediationExceptionsCommandOutput | PutResourceConfigCommandOutput | PutRetentionConfigurationCommandOutput | PutStoredQueryCommandOutput | SelectAggregateResourceConfigCommandOutput | SelectResourceConfigCommandOutput | StartConfigRulesEvaluationCommandOutput | StartConfigurationRecorderCommandOutput | StartRemediationExecutionCommandOutput | StopConfigurationRecorderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
98
+ export declare type ServiceInputTypes = BatchGetAggregateResourceConfigCommandInput | BatchGetResourceConfigCommandInput | DeleteAggregationAuthorizationCommandInput | DeleteConfigRuleCommandInput | DeleteConfigurationAggregatorCommandInput | DeleteConfigurationRecorderCommandInput | DeleteConformancePackCommandInput | DeleteDeliveryChannelCommandInput | DeleteEvaluationResultsCommandInput | DeleteOrganizationConfigRuleCommandInput | DeleteOrganizationConformancePackCommandInput | DeletePendingAggregationRequestCommandInput | DeleteRemediationConfigurationCommandInput | DeleteRemediationExceptionsCommandInput | DeleteResourceConfigCommandInput | DeleteRetentionConfigurationCommandInput | DeleteStoredQueryCommandInput | DeliverConfigSnapshotCommandInput | DescribeAggregateComplianceByConfigRulesCommandInput | DescribeAggregateComplianceByConformancePacksCommandInput | DescribeAggregationAuthorizationsCommandInput | DescribeComplianceByConfigRuleCommandInput | DescribeComplianceByResourceCommandInput | DescribeConfigRuleEvaluationStatusCommandInput | DescribeConfigRulesCommandInput | DescribeConfigurationAggregatorSourcesStatusCommandInput | DescribeConfigurationAggregatorsCommandInput | DescribeConfigurationRecorderStatusCommandInput | DescribeConfigurationRecordersCommandInput | DescribeConformancePackComplianceCommandInput | DescribeConformancePackStatusCommandInput | DescribeConformancePacksCommandInput | DescribeDeliveryChannelStatusCommandInput | DescribeDeliveryChannelsCommandInput | DescribeOrganizationConfigRuleStatusesCommandInput | DescribeOrganizationConfigRulesCommandInput | DescribeOrganizationConformancePackStatusesCommandInput | DescribeOrganizationConformancePacksCommandInput | DescribePendingAggregationRequestsCommandInput | DescribeRemediationConfigurationsCommandInput | DescribeRemediationExceptionsCommandInput | DescribeRemediationExecutionStatusCommandInput | DescribeRetentionConfigurationsCommandInput | GetAggregateComplianceDetailsByConfigRuleCommandInput | GetAggregateConfigRuleComplianceSummaryCommandInput | GetAggregateConformancePackComplianceSummaryCommandInput | GetAggregateDiscoveredResourceCountsCommandInput | GetAggregateResourceConfigCommandInput | GetComplianceDetailsByConfigRuleCommandInput | GetComplianceDetailsByResourceCommandInput | GetComplianceSummaryByConfigRuleCommandInput | GetComplianceSummaryByResourceTypeCommandInput | GetConformancePackComplianceDetailsCommandInput | GetConformancePackComplianceSummaryCommandInput | GetCustomRulePolicyCommandInput | GetDiscoveredResourceCountsCommandInput | GetOrganizationConfigRuleDetailedStatusCommandInput | GetOrganizationConformancePackDetailedStatusCommandInput | GetOrganizationCustomRulePolicyCommandInput | GetResourceConfigHistoryCommandInput | GetStoredQueryCommandInput | ListAggregateDiscoveredResourcesCommandInput | ListConformancePackComplianceScoresCommandInput | ListDiscoveredResourcesCommandInput | ListStoredQueriesCommandInput | ListTagsForResourceCommandInput | PutAggregationAuthorizationCommandInput | PutConfigRuleCommandInput | PutConfigurationAggregatorCommandInput | PutConfigurationRecorderCommandInput | PutConformancePackCommandInput | PutDeliveryChannelCommandInput | PutEvaluationsCommandInput | PutExternalEvaluationCommandInput | PutOrganizationConfigRuleCommandInput | PutOrganizationConformancePackCommandInput | PutRemediationConfigurationsCommandInput | PutRemediationExceptionsCommandInput | PutResourceConfigCommandInput | PutRetentionConfigurationCommandInput | PutStoredQueryCommandInput | SelectAggregateResourceConfigCommandInput | SelectResourceConfigCommandInput | StartConfigRulesEvaluationCommandInput | StartConfigurationRecorderCommandInput | StartRemediationExecutionCommandInput | StopConfigurationRecorderCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
99
+ export declare type ServiceOutputTypes = BatchGetAggregateResourceConfigCommandOutput | BatchGetResourceConfigCommandOutput | DeleteAggregationAuthorizationCommandOutput | DeleteConfigRuleCommandOutput | DeleteConfigurationAggregatorCommandOutput | DeleteConfigurationRecorderCommandOutput | DeleteConformancePackCommandOutput | DeleteDeliveryChannelCommandOutput | DeleteEvaluationResultsCommandOutput | DeleteOrganizationConfigRuleCommandOutput | DeleteOrganizationConformancePackCommandOutput | DeletePendingAggregationRequestCommandOutput | DeleteRemediationConfigurationCommandOutput | DeleteRemediationExceptionsCommandOutput | DeleteResourceConfigCommandOutput | DeleteRetentionConfigurationCommandOutput | DeleteStoredQueryCommandOutput | DeliverConfigSnapshotCommandOutput | DescribeAggregateComplianceByConfigRulesCommandOutput | DescribeAggregateComplianceByConformancePacksCommandOutput | DescribeAggregationAuthorizationsCommandOutput | DescribeComplianceByConfigRuleCommandOutput | DescribeComplianceByResourceCommandOutput | DescribeConfigRuleEvaluationStatusCommandOutput | DescribeConfigRulesCommandOutput | DescribeConfigurationAggregatorSourcesStatusCommandOutput | DescribeConfigurationAggregatorsCommandOutput | DescribeConfigurationRecorderStatusCommandOutput | DescribeConfigurationRecordersCommandOutput | DescribeConformancePackComplianceCommandOutput | DescribeConformancePackStatusCommandOutput | DescribeConformancePacksCommandOutput | DescribeDeliveryChannelStatusCommandOutput | DescribeDeliveryChannelsCommandOutput | DescribeOrganizationConfigRuleStatusesCommandOutput | DescribeOrganizationConfigRulesCommandOutput | DescribeOrganizationConformancePackStatusesCommandOutput | DescribeOrganizationConformancePacksCommandOutput | DescribePendingAggregationRequestsCommandOutput | DescribeRemediationConfigurationsCommandOutput | DescribeRemediationExceptionsCommandOutput | DescribeRemediationExecutionStatusCommandOutput | DescribeRetentionConfigurationsCommandOutput | GetAggregateComplianceDetailsByConfigRuleCommandOutput | GetAggregateConfigRuleComplianceSummaryCommandOutput | GetAggregateConformancePackComplianceSummaryCommandOutput | GetAggregateDiscoveredResourceCountsCommandOutput | GetAggregateResourceConfigCommandOutput | GetComplianceDetailsByConfigRuleCommandOutput | GetComplianceDetailsByResourceCommandOutput | GetComplianceSummaryByConfigRuleCommandOutput | GetComplianceSummaryByResourceTypeCommandOutput | GetConformancePackComplianceDetailsCommandOutput | GetConformancePackComplianceSummaryCommandOutput | GetCustomRulePolicyCommandOutput | GetDiscoveredResourceCountsCommandOutput | GetOrganizationConfigRuleDetailedStatusCommandOutput | GetOrganizationConformancePackDetailedStatusCommandOutput | GetOrganizationCustomRulePolicyCommandOutput | GetResourceConfigHistoryCommandOutput | GetStoredQueryCommandOutput | ListAggregateDiscoveredResourcesCommandOutput | ListConformancePackComplianceScoresCommandOutput | ListDiscoveredResourcesCommandOutput | ListStoredQueriesCommandOutput | ListTagsForResourceCommandOutput | PutAggregationAuthorizationCommandOutput | PutConfigRuleCommandOutput | PutConfigurationAggregatorCommandOutput | PutConfigurationRecorderCommandOutput | PutConformancePackCommandOutput | PutDeliveryChannelCommandOutput | PutEvaluationsCommandOutput | PutExternalEvaluationCommandOutput | PutOrganizationConfigRuleCommandOutput | PutOrganizationConformancePackCommandOutput | PutRemediationConfigurationsCommandOutput | PutRemediationExceptionsCommandOutput | PutResourceConfigCommandOutput | PutRetentionConfigurationCommandOutput | PutStoredQueryCommandOutput | SelectAggregateResourceConfigCommandOutput | SelectResourceConfigCommandOutput | StartConfigRulesEvaluationCommandOutput | StartConfigurationRecorderCommandOutput | StartRemediationExecutionCommandOutput | StopConfigurationRecorderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
99
100
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
100
101
  /**
101
102
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
4
+ import { ListConformancePackComplianceScoresRequest, ListConformancePackComplianceScoresResponse } from "../models/models_0";
5
+ export interface ListConformancePackComplianceScoresCommandInput extends ListConformancePackComplianceScoresRequest {
6
+ }
7
+ export interface ListConformancePackComplianceScoresCommandOutput extends ListConformancePackComplianceScoresResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of conformance pack compliance scores.
11
+ * A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack.
12
+ * This metric provides you with a high-level view of the compliance state of your conformance packs, and can be used to identify, investigate, and understand
13
+ * compliance deviations in your conformance packs.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { ConfigServiceClient, ListConformancePackComplianceScoresCommand } from "@aws-sdk/client-config-service"; // ES Modules import
18
+ * // const { ConfigServiceClient, ListConformancePackComplianceScoresCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
19
+ * const client = new ConfigServiceClient(config);
20
+ * const command = new ListConformancePackComplianceScoresCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListConformancePackComplianceScoresCommandInput} for command's `input` shape.
25
+ * @see {@link ListConformancePackComplianceScoresCommandOutput} for command's `response` shape.
26
+ * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListConformancePackComplianceScoresCommand extends $Command<ListConformancePackComplianceScoresCommandInput, ListConformancePackComplianceScoresCommandOutput, ConfigServiceClientResolvedConfig> {
30
+ readonly input: ListConformancePackComplianceScoresCommandInput;
31
+ constructor(input: ListConformancePackComplianceScoresCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListConformancePackComplianceScoresCommandInput, ListConformancePackComplianceScoresCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
4
- import { PutConformancePackRequest, PutConformancePackResponse } from "../models/models_0";
4
+ import { PutConformancePackRequest } from "../models/models_0";
5
+ import { PutConformancePackResponse } from "../models/models_1";
5
6
  export interface PutConformancePackCommandInput extends PutConformancePackRequest {
6
7
  }
7
8
  export interface PutConformancePackCommandOutput extends PutConformancePackResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
4
- import { PutDeliveryChannelRequest } from "../models/models_0";
4
+ import { PutDeliveryChannelRequest } from "../models/models_1";
5
5
  export interface PutDeliveryChannelCommandInput extends PutDeliveryChannelRequest {
6
6
  }
7
7
  export interface PutDeliveryChannelCommandOutput extends __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
4
- import { PutEvaluationsRequest, PutEvaluationsResponse } from "../models/models_0";
4
+ import { PutEvaluationsRequest, PutEvaluationsResponse } from "../models/models_1";
5
5
  export interface PutEvaluationsCommandInput extends PutEvaluationsRequest {
6
6
  }
7
7
  export interface PutEvaluationsCommandOutput extends PutEvaluationsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
4
- import { PutExternalEvaluationRequest, PutExternalEvaluationResponse } from "../models/models_0";
4
+ import { PutExternalEvaluationRequest, PutExternalEvaluationResponse } from "../models/models_1";
5
5
  export interface PutExternalEvaluationCommandInput extends PutExternalEvaluationRequest {
6
6
  }
7
7
  export interface PutExternalEvaluationCommandOutput extends PutExternalEvaluationResponse, __MetadataBearer {
@@ -60,6 +60,7 @@ export * from "./GetOrganizationCustomRulePolicyCommand";
60
60
  export * from "./GetResourceConfigHistoryCommand";
61
61
  export * from "./GetStoredQueryCommand";
62
62
  export * from "./ListAggregateDiscoveredResourcesCommand";
63
+ export * from "./ListConformancePackComplianceScoresCommand";
63
64
  export * from "./ListDiscoveredResourcesCommand";
64
65
  export * from "./ListStoredQueriesCommand";
65
66
  export * from "./ListTagsForResourceCommand";