@aws-sdk/client-config-service 3.218.0 → 3.219.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/dist-cjs/ConfigService.js +45 -0
  2. package/dist-cjs/commands/GetResourceEvaluationSummaryCommand.js +46 -0
  3. package/dist-cjs/commands/ListResourceEvaluationsCommand.js +46 -0
  4. package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
  5. package/dist-cjs/commands/PutConfigRuleCommand.js +2 -2
  6. package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
  7. package/dist-cjs/commands/PutConfigurationRecorderCommand.js +2 -2
  8. package/dist-cjs/commands/StartResourceEvaluationCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +3 -0
  10. package/dist-cjs/models/models_0.js +82 -151
  11. package/dist-cjs/models/models_1.js +155 -1
  12. package/dist-cjs/pagination/ListResourceEvaluationsPaginator.js +36 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +341 -12
  15. package/dist-es/ConfigService.js +45 -0
  16. package/dist-es/commands/GetResourceEvaluationSummaryCommand.js +42 -0
  17. package/dist-es/commands/ListResourceEvaluationsCommand.js +42 -0
  18. package/dist-es/commands/PutAggregationAuthorizationCommand.js +1 -1
  19. package/dist-es/commands/PutConfigRuleCommand.js +1 -1
  20. package/dist-es/commands/PutConfigurationAggregatorCommand.js +1 -1
  21. package/dist-es/commands/PutConfigurationRecorderCommand.js +1 -1
  22. package/dist-es/commands/StartResourceEvaluationCommand.js +42 -0
  23. package/dist-es/commands/index.js +3 -0
  24. package/dist-es/models/models_0.js +59 -125
  25. package/dist-es/models/models_1.js +135 -0
  26. package/dist-es/pagination/ListResourceEvaluationsPaginator.js +32 -0
  27. package/dist-es/pagination/index.js +1 -0
  28. package/dist-es/protocols/Aws_json1_1.js +325 -2
  29. package/dist-types/ConfigService.d.ts +36 -3
  30. package/dist-types/ConfigServiceClient.d.ts +5 -2
  31. package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +2 -2
  32. package/dist-types/commands/GetComplianceDetailsByResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/GetResourceEvaluationSummaryCommand.d.ts +39 -0
  34. package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +37 -0
  35. package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
  36. package/dist-types/commands/PutConfigRuleCommand.d.ts +1 -1
  37. package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  38. package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +1 -1
  39. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +3 -0
  40. package/dist-types/commands/StartResourceEvaluationCommand.d.ts +44 -0
  41. package/dist-types/commands/index.d.ts +3 -0
  42. package/dist-types/models/models_0.d.ts +287 -290
  43. package/dist-types/models/models_1.d.ts +319 -1
  44. package/dist-types/pagination/ListResourceEvaluationsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  47. package/dist-types/ts3.4/ConfigService.d.ts +51 -0
  48. package/dist-types/ts3.4/ConfigServiceClient.d.ts +18 -0
  49. package/dist-types/ts3.4/commands/GetResourceEvaluationSummaryCommand.d.ts +41 -0
  50. package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/PutConfigRuleCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/PutConfigurationRecorderCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartResourceEvaluationCommand.d.ts +41 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +114 -150
  58. package/dist-types/ts3.4/models/models_1.d.ts +175 -1
  59. package/dist-types/ts3.4/pagination/ListResourceEvaluationsPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  62. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { ConfigServiceServiceException as __BaseException } from "../models/ConfigServiceServiceException";
4
- import { ConformancePackTemplateValidationException, InsufficientDeliveryPolicyException, InsufficientPermissionsException, InvalidConfigurationRecorderNameException, InvalidDeliveryChannelNameException, InvalidExpressionException, InvalidLimitException, InvalidNextTokenException, InvalidParameterValueException, InvalidRecordingGroupException, InvalidResultTokenException, InvalidRoleException, InvalidS3KeyPrefixException, InvalidS3KmsKeyArnException, InvalidSNSTopicARNException, InvalidTimeRangeException, LastDeliveryChannelDeleteFailedException, LimitExceededException, MaxActiveResourcesExceededException, MaxNumberOfConfigRulesExceededException, MaxNumberOfConfigurationRecordersExceededException, MaxNumberOfConformancePacksExceededException, MaxNumberOfDeliveryChannelsExceededException, MaxNumberOfOrganizationConfigRulesExceededException, MaxNumberOfOrganizationConformancePacksExceededException, MaxNumberOfRetentionConfigurationsExceededException, NoAvailableConfigurationRecorderException, NoAvailableDeliveryChannelException, NoAvailableOrganizationException, NoRunningConfigurationRecorderException, NoSuchBucketException, NoSuchConfigRuleException, NoSuchConfigRuleInConformancePackException, NoSuchConfigurationAggregatorException, NoSuchConfigurationRecorderException, NoSuchConformancePackException, NoSuchDeliveryChannelException, NoSuchOrganizationConfigRuleException, NoSuchOrganizationConformancePackException, NoSuchRemediationConfigurationException, NoSuchRemediationExceptionException, NoSuchRetentionConfigurationException, OrganizationAccessDeniedException, OrganizationAllFeaturesNotEnabledException, OrganizationConformancePackTemplateValidationException, OversizedConfigurationItemException, RemediationInProgressException, ResourceInUseException, ResourceNotDiscoveredException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
5
- import { ResourceConcurrentModificationException, TooManyTagsException, } from "../models/models_1";
4
+ import { ConformancePackTemplateValidationException, IdempotentParameterMismatch, InsufficientDeliveryPolicyException, InsufficientPermissionsException, InvalidConfigurationRecorderNameException, InvalidDeliveryChannelNameException, InvalidExpressionException, InvalidLimitException, InvalidNextTokenException, InvalidParameterValueException, InvalidRecordingGroupException, InvalidResultTokenException, InvalidRoleException, InvalidS3KeyPrefixException, InvalidS3KmsKeyArnException, InvalidSNSTopicARNException, InvalidTimeRangeException, LastDeliveryChannelDeleteFailedException, LimitExceededException, MaxActiveResourcesExceededException, MaxNumberOfConfigRulesExceededException, MaxNumberOfConfigurationRecordersExceededException, MaxNumberOfConformancePacksExceededException, NoAvailableConfigurationRecorderException, NoRunningConfigurationRecorderException, NoSuchConfigRuleException, NoSuchConfigRuleInConformancePackException, NoSuchConfigurationAggregatorException, NoSuchConfigurationRecorderException, NoSuchConformancePackException, NoSuchDeliveryChannelException, NoSuchOrganizationConfigRuleException, NoSuchOrganizationConformancePackException, NoSuchRemediationConfigurationException, NoSuchRemediationExceptionException, NoSuchRetentionConfigurationException, OrganizationAccessDeniedException, OversizedConfigurationItemException, RemediationInProgressException, ResourceInUseException, ResourceNotDiscoveredException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
5
+ import { MaxNumberOfDeliveryChannelsExceededException, MaxNumberOfOrganizationConfigRulesExceededException, MaxNumberOfOrganizationConformancePacksExceededException, MaxNumberOfRetentionConfigurationsExceededException, NoAvailableDeliveryChannelException, NoAvailableOrganizationException, NoSuchBucketException, OrganizationAllFeaturesNotEnabledException, OrganizationConformancePackTemplateValidationException, ResourceConcurrentModificationException, TooManyTagsException, } from "../models/models_1";
6
6
  export const serializeAws_json1_1BatchGetAggregateResourceConfigCommand = async (input, context) => {
7
7
  const headers = {
8
8
  "content-type": "application/x-amz-json-1.1",
@@ -542,6 +542,15 @@ export const serializeAws_json1_1GetResourceConfigHistoryCommand = async (input,
542
542
  body = JSON.stringify(serializeAws_json1_1GetResourceConfigHistoryRequest(input, context));
543
543
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
544
544
  };
545
+ export const serializeAws_json1_1GetResourceEvaluationSummaryCommand = async (input, context) => {
546
+ const headers = {
547
+ "content-type": "application/x-amz-json-1.1",
548
+ "x-amz-target": "StarlingDoveService.GetResourceEvaluationSummary",
549
+ };
550
+ let body;
551
+ body = JSON.stringify(serializeAws_json1_1GetResourceEvaluationSummaryRequest(input, context));
552
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
553
+ };
545
554
  export const serializeAws_json1_1GetStoredQueryCommand = async (input, context) => {
546
555
  const headers = {
547
556
  "content-type": "application/x-amz-json-1.1",
@@ -578,6 +587,15 @@ export const serializeAws_json1_1ListDiscoveredResourcesCommand = async (input,
578
587
  body = JSON.stringify(serializeAws_json1_1ListDiscoveredResourcesRequest(input, context));
579
588
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
580
589
  };
590
+ export const serializeAws_json1_1ListResourceEvaluationsCommand = async (input, context) => {
591
+ const headers = {
592
+ "content-type": "application/x-amz-json-1.1",
593
+ "x-amz-target": "StarlingDoveService.ListResourceEvaluations",
594
+ };
595
+ let body;
596
+ body = JSON.stringify(serializeAws_json1_1ListResourceEvaluationsRequest(input, context));
597
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
598
+ };
581
599
  export const serializeAws_json1_1ListStoredQueriesCommand = async (input, context) => {
582
600
  const headers = {
583
601
  "content-type": "application/x-amz-json-1.1",
@@ -776,6 +794,15 @@ export const serializeAws_json1_1StartRemediationExecutionCommand = async (input
776
794
  body = JSON.stringify(serializeAws_json1_1StartRemediationExecutionRequest(input, context));
777
795
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
778
796
  };
797
+ export const serializeAws_json1_1StartResourceEvaluationCommand = async (input, context) => {
798
+ const headers = {
799
+ "content-type": "application/x-amz-json-1.1",
800
+ "x-amz-target": "StarlingDoveService.StartResourceEvaluation",
801
+ };
802
+ let body;
803
+ body = JSON.stringify(serializeAws_json1_1StartResourceEvaluationRequest(input, context));
804
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
805
+ };
779
806
  export const serializeAws_json1_1StopConfigurationRecorderCommand = async (input, context) => {
780
807
  const headers = {
781
808
  "content-type": "application/x-amz-json-1.1",
@@ -1678,6 +1705,9 @@ const deserializeAws_json1_1DescribeConfigRulesCommandError = async (output, con
1678
1705
  case "InvalidNextTokenException":
1679
1706
  case "com.amazonaws.configservice#InvalidNextTokenException":
1680
1707
  throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1708
+ case "InvalidParameterValueException":
1709
+ case "com.amazonaws.configservice#InvalidParameterValueException":
1710
+ throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
1681
1711
  case "NoSuchConfigRuleException":
1682
1712
  case "com.amazonaws.configservice#NoSuchConfigRuleException":
1683
1713
  throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
@@ -3047,6 +3077,39 @@ const deserializeAws_json1_1GetResourceConfigHistoryCommandError = async (output
3047
3077
  });
3048
3078
  }
3049
3079
  };
3080
+ export const deserializeAws_json1_1GetResourceEvaluationSummaryCommand = async (output, context) => {
3081
+ if (output.statusCode >= 300) {
3082
+ return deserializeAws_json1_1GetResourceEvaluationSummaryCommandError(output, context);
3083
+ }
3084
+ const data = await parseBody(output.body, context);
3085
+ let contents = {};
3086
+ contents = deserializeAws_json1_1GetResourceEvaluationSummaryResponse(data, context);
3087
+ const response = {
3088
+ $metadata: deserializeMetadata(output),
3089
+ ...contents,
3090
+ };
3091
+ return Promise.resolve(response);
3092
+ };
3093
+ const deserializeAws_json1_1GetResourceEvaluationSummaryCommandError = async (output, context) => {
3094
+ const parsedOutput = {
3095
+ ...output,
3096
+ body: await parseErrorBody(output.body, context),
3097
+ };
3098
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3099
+ switch (errorCode) {
3100
+ case "ResourceNotFoundException":
3101
+ case "com.amazonaws.configservice#ResourceNotFoundException":
3102
+ throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
3103
+ default:
3104
+ const parsedBody = parsedOutput.body;
3105
+ throwDefaultError({
3106
+ output,
3107
+ parsedBody,
3108
+ exceptionCtor: __BaseException,
3109
+ errorCode,
3110
+ });
3111
+ }
3112
+ };
3050
3113
  export const deserializeAws_json1_1GetStoredQueryCommand = async (output, context) => {
3051
3114
  if (output.statusCode >= 300) {
3052
3115
  return deserializeAws_json1_1GetStoredQueryCommandError(output, context);
@@ -3206,6 +3269,45 @@ const deserializeAws_json1_1ListDiscoveredResourcesCommandError = async (output,
3206
3269
  });
3207
3270
  }
3208
3271
  };
3272
+ export const deserializeAws_json1_1ListResourceEvaluationsCommand = async (output, context) => {
3273
+ if (output.statusCode >= 300) {
3274
+ return deserializeAws_json1_1ListResourceEvaluationsCommandError(output, context);
3275
+ }
3276
+ const data = await parseBody(output.body, context);
3277
+ let contents = {};
3278
+ contents = deserializeAws_json1_1ListResourceEvaluationsResponse(data, context);
3279
+ const response = {
3280
+ $metadata: deserializeMetadata(output),
3281
+ ...contents,
3282
+ };
3283
+ return Promise.resolve(response);
3284
+ };
3285
+ const deserializeAws_json1_1ListResourceEvaluationsCommandError = async (output, context) => {
3286
+ const parsedOutput = {
3287
+ ...output,
3288
+ body: await parseErrorBody(output.body, context),
3289
+ };
3290
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3291
+ switch (errorCode) {
3292
+ case "InvalidNextTokenException":
3293
+ case "com.amazonaws.configservice#InvalidNextTokenException":
3294
+ throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
3295
+ case "InvalidParameterValueException":
3296
+ case "com.amazonaws.configservice#InvalidParameterValueException":
3297
+ throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
3298
+ case "InvalidTimeRangeException":
3299
+ case "com.amazonaws.configservice#InvalidTimeRangeException":
3300
+ throw await deserializeAws_json1_1InvalidTimeRangeExceptionResponse(parsedOutput, context);
3301
+ default:
3302
+ const parsedBody = parsedOutput.body;
3303
+ throwDefaultError({
3304
+ output,
3305
+ parsedBody,
3306
+ exceptionCtor: __BaseException,
3307
+ errorCode,
3308
+ });
3309
+ }
3310
+ };
3209
3311
  export const deserializeAws_json1_1ListStoredQueriesCommand = async (output, context) => {
3210
3312
  if (output.statusCode >= 300) {
3211
3313
  return deserializeAws_json1_1ListStoredQueriesCommandError(output, context);
@@ -4106,6 +4208,42 @@ const deserializeAws_json1_1StartRemediationExecutionCommandError = async (outpu
4106
4208
  });
4107
4209
  }
4108
4210
  };
4211
+ export const deserializeAws_json1_1StartResourceEvaluationCommand = async (output, context) => {
4212
+ if (output.statusCode >= 300) {
4213
+ return deserializeAws_json1_1StartResourceEvaluationCommandError(output, context);
4214
+ }
4215
+ const data = await parseBody(output.body, context);
4216
+ let contents = {};
4217
+ contents = deserializeAws_json1_1StartResourceEvaluationResponse(data, context);
4218
+ const response = {
4219
+ $metadata: deserializeMetadata(output),
4220
+ ...contents,
4221
+ };
4222
+ return Promise.resolve(response);
4223
+ };
4224
+ const deserializeAws_json1_1StartResourceEvaluationCommandError = async (output, context) => {
4225
+ const parsedOutput = {
4226
+ ...output,
4227
+ body: await parseErrorBody(output.body, context),
4228
+ };
4229
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4230
+ switch (errorCode) {
4231
+ case "IdempotentParameterMismatch":
4232
+ case "com.amazonaws.configservice#IdempotentParameterMismatch":
4233
+ throw await deserializeAws_json1_1IdempotentParameterMismatchResponse(parsedOutput, context);
4234
+ case "InvalidParameterValueException":
4235
+ case "com.amazonaws.configservice#InvalidParameterValueException":
4236
+ throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
4237
+ default:
4238
+ const parsedBody = parsedOutput.body;
4239
+ throwDefaultError({
4240
+ output,
4241
+ parsedBody,
4242
+ exceptionCtor: __BaseException,
4243
+ errorCode,
4244
+ });
4245
+ }
4246
+ };
4109
4247
  export const deserializeAws_json1_1StopConfigurationRecorderCommand = async (output, context) => {
4110
4248
  if (output.statusCode >= 300) {
4111
4249
  return deserializeAws_json1_1StopConfigurationRecorderCommandError(output, context);
@@ -4214,6 +4352,15 @@ const deserializeAws_json1_1ConformancePackTemplateValidationExceptionResponse =
4214
4352
  });
4215
4353
  return __decorateServiceException(exception, body);
4216
4354
  };
4355
+ const deserializeAws_json1_1IdempotentParameterMismatchResponse = async (parsedOutput, context) => {
4356
+ const body = parsedOutput.body;
4357
+ const deserialized = deserializeAws_json1_1IdempotentParameterMismatch(body, context);
4358
+ const exception = new IdempotentParameterMismatch({
4359
+ $metadata: deserializeMetadata(parsedOutput),
4360
+ ...deserialized,
4361
+ });
4362
+ return __decorateServiceException(exception, body);
4363
+ };
4217
4364
  const deserializeAws_json1_1InsufficientDeliveryPolicyExceptionResponse = async (parsedOutput, context) => {
4218
4365
  const body = parsedOutput.body;
4219
4366
  const deserialized = deserializeAws_json1_1InsufficientDeliveryPolicyException(body, context);
@@ -4781,6 +4928,9 @@ const serializeAws_json1_1ConfigRule = (input, context) => {
4781
4928
  ...(input.ConfigRuleState != null && { ConfigRuleState: input.ConfigRuleState }),
4782
4929
  ...(input.CreatedBy != null && { CreatedBy: input.CreatedBy }),
4783
4930
  ...(input.Description != null && { Description: input.Description }),
4931
+ ...(input.EvaluationModes != null && {
4932
+ EvaluationModes: serializeAws_json1_1EvaluationModes(input.EvaluationModes, context),
4933
+ }),
4784
4934
  ...(input.InputParameters != null && { InputParameters: input.InputParameters }),
4785
4935
  ...(input.MaximumExecutionFrequency != null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency }),
4786
4936
  ...(input.Scope != null && { Scope: serializeAws_json1_1Scope(input.Scope, context) }),
@@ -5094,11 +5244,17 @@ const serializeAws_json1_1DescribeConfigRuleEvaluationStatusRequest = (input, co
5094
5244
  ...(input.NextToken != null && { NextToken: input.NextToken }),
5095
5245
  };
5096
5246
  };
5247
+ const serializeAws_json1_1DescribeConfigRulesFilters = (input, context) => {
5248
+ return {
5249
+ ...(input.EvaluationMode != null && { EvaluationMode: input.EvaluationMode }),
5250
+ };
5251
+ };
5097
5252
  const serializeAws_json1_1DescribeConfigRulesRequest = (input, context) => {
5098
5253
  return {
5099
5254
  ...(input.ConfigRuleNames != null && {
5100
5255
  ConfigRuleNames: serializeAws_json1_1ConfigRuleNames(input.ConfigRuleNames, context),
5101
5256
  }),
5257
+ ...(input.Filters != null && { Filters: serializeAws_json1_1DescribeConfigRulesFilters(input.Filters, context) }),
5102
5258
  ...(input.NextToken != null && { NextToken: input.NextToken }),
5103
5259
  };
5104
5260
  };
@@ -5263,6 +5419,25 @@ const serializeAws_json1_1Evaluation = (input, context) => {
5263
5419
  ...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
5264
5420
  };
5265
5421
  };
5422
+ const serializeAws_json1_1EvaluationContext = (input, context) => {
5423
+ return {
5424
+ ...(input.EvaluationContextIdentifier != null && {
5425
+ EvaluationContextIdentifier: input.EvaluationContextIdentifier,
5426
+ }),
5427
+ };
5428
+ };
5429
+ const serializeAws_json1_1EvaluationModeConfiguration = (input, context) => {
5430
+ return {
5431
+ ...(input.Mode != null && { Mode: input.Mode }),
5432
+ };
5433
+ };
5434
+ const serializeAws_json1_1EvaluationModes = (input, context) => {
5435
+ return input
5436
+ .filter((e) => e != null)
5437
+ .map((entry) => {
5438
+ return serializeAws_json1_1EvaluationModeConfiguration(entry, context);
5439
+ });
5440
+ };
5266
5441
  const serializeAws_json1_1Evaluations = (input, context) => {
5267
5442
  return input
5268
5443
  .filter((e) => e != null)
@@ -5367,6 +5542,7 @@ const serializeAws_json1_1GetComplianceDetailsByResourceRequest = (input, contex
5367
5542
  ComplianceTypes: serializeAws_json1_1ComplianceTypes(input.ComplianceTypes, context),
5368
5543
  }),
5369
5544
  ...(input.NextToken != null && { NextToken: input.NextToken }),
5545
+ ...(input.ResourceEvaluationId != null && { ResourceEvaluationId: input.ResourceEvaluationId }),
5370
5546
  ...(input.ResourceId != null && { ResourceId: input.ResourceId }),
5371
5547
  ...(input.ResourceType != null && { ResourceType: input.ResourceType }),
5372
5548
  };
@@ -5447,6 +5623,11 @@ const serializeAws_json1_1GetResourceConfigHistoryRequest = (input, context) =>
5447
5623
  ...(input.resourceType != null && { resourceType: input.resourceType }),
5448
5624
  };
5449
5625
  };
5626
+ const serializeAws_json1_1GetResourceEvaluationSummaryRequest = (input, context) => {
5627
+ return {
5628
+ ...(input.ResourceEvaluationId != null && { ResourceEvaluationId: input.ResourceEvaluationId }),
5629
+ };
5630
+ };
5450
5631
  const serializeAws_json1_1GetStoredQueryRequest = (input, context) => {
5451
5632
  return {
5452
5633
  ...(input.QueryName != null && { QueryName: input.QueryName }),
@@ -5484,6 +5665,13 @@ const serializeAws_json1_1ListDiscoveredResourcesRequest = (input, context) => {
5484
5665
  ...(input.resourceType != null && { resourceType: input.resourceType }),
5485
5666
  };
5486
5667
  };
5668
+ const serializeAws_json1_1ListResourceEvaluationsRequest = (input, context) => {
5669
+ return {
5670
+ ...(input.Filters != null && { Filters: serializeAws_json1_1ResourceEvaluationFilters(input.Filters, context) }),
5671
+ ...(input.Limit != null && { Limit: input.Limit }),
5672
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
5673
+ };
5674
+ };
5487
5675
  const serializeAws_json1_1ListStoredQueriesRequest = (input, context) => {
5488
5676
  return {
5489
5677
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
@@ -5815,6 +6003,25 @@ const serializeAws_json1_1ResourceCountFilters = (input, context) => {
5815
6003
  ...(input.ResourceType != null && { ResourceType: input.ResourceType }),
5816
6004
  };
5817
6005
  };
6006
+ const serializeAws_json1_1ResourceDetails = (input, context) => {
6007
+ return {
6008
+ ...(input.ResourceConfiguration != null && { ResourceConfiguration: input.ResourceConfiguration }),
6009
+ ...(input.ResourceConfigurationSchemaType != null && {
6010
+ ResourceConfigurationSchemaType: input.ResourceConfigurationSchemaType,
6011
+ }),
6012
+ ...(input.ResourceId != null && { ResourceId: input.ResourceId }),
6013
+ ...(input.ResourceType != null && { ResourceType: input.ResourceType }),
6014
+ };
6015
+ };
6016
+ const serializeAws_json1_1ResourceEvaluationFilters = (input, context) => {
6017
+ return {
6018
+ ...(input.EvaluationContextIdentifier != null && {
6019
+ EvaluationContextIdentifier: input.EvaluationContextIdentifier,
6020
+ }),
6021
+ ...(input.EvaluationMode != null && { EvaluationMode: input.EvaluationMode }),
6022
+ ...(input.TimeWindow != null && { TimeWindow: serializeAws_json1_1TimeWindow(input.TimeWindow, context) }),
6023
+ };
6024
+ };
5818
6025
  const serializeAws_json1_1ResourceFilters = (input, context) => {
5819
6026
  return {
5820
6027
  ...(input.AccountId != null && { AccountId: input.AccountId }),
@@ -5963,6 +6170,19 @@ const serializeAws_json1_1StartRemediationExecutionRequest = (input, context) =>
5963
6170
  ...(input.ResourceKeys != null && { ResourceKeys: serializeAws_json1_1ResourceKeys(input.ResourceKeys, context) }),
5964
6171
  };
5965
6172
  };
6173
+ const serializeAws_json1_1StartResourceEvaluationRequest = (input, context) => {
6174
+ return {
6175
+ ...(input.ClientToken != null && { ClientToken: input.ClientToken }),
6176
+ ...(input.EvaluationContext != null && {
6177
+ EvaluationContext: serializeAws_json1_1EvaluationContext(input.EvaluationContext, context),
6178
+ }),
6179
+ ...(input.EvaluationMode != null && { EvaluationMode: input.EvaluationMode }),
6180
+ ...(input.EvaluationTimeout != null && { EvaluationTimeout: input.EvaluationTimeout }),
6181
+ ...(input.ResourceDetails != null && {
6182
+ ResourceDetails: serializeAws_json1_1ResourceDetails(input.ResourceDetails, context),
6183
+ }),
6184
+ };
6185
+ };
5966
6186
  const serializeAws_json1_1StaticParameterValues = (input, context) => {
5967
6187
  return input
5968
6188
  .filter((e) => e != null)
@@ -6043,6 +6263,12 @@ const serializeAws_json1_1TemplateSSMDocumentDetails = (input, context) => {
6043
6263
  ...(input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion }),
6044
6264
  };
6045
6265
  };
6266
+ const serializeAws_json1_1TimeWindow = (input, context) => {
6267
+ return {
6268
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
6269
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
6270
+ };
6271
+ };
6046
6272
  const serializeAws_json1_1UntagResourceRequest = (input, context) => {
6047
6273
  return {
6048
6274
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
@@ -6436,6 +6662,9 @@ const deserializeAws_json1_1ConfigRule = (output, context) => {
6436
6662
  ConfigRuleState: __expectString(output.ConfigRuleState),
6437
6663
  CreatedBy: __expectString(output.CreatedBy),
6438
6664
  Description: __expectString(output.Description),
6665
+ EvaluationModes: output.EvaluationModes != null
6666
+ ? deserializeAws_json1_1EvaluationModes(output.EvaluationModes, context)
6667
+ : undefined,
6439
6668
  InputParameters: __expectString(output.InputParameters),
6440
6669
  MaximumExecutionFrequency: __expectString(output.MaximumExecutionFrequency),
6441
6670
  Scope: output.Scope != null ? deserializeAws_json1_1Scope(output.Scope, context) : undefined,
@@ -7102,6 +7331,27 @@ const deserializeAws_json1_1Evaluation = (output, context) => {
7102
7331
  : undefined,
7103
7332
  };
7104
7333
  };
7334
+ const deserializeAws_json1_1EvaluationContext = (output, context) => {
7335
+ return {
7336
+ EvaluationContextIdentifier: __expectString(output.EvaluationContextIdentifier),
7337
+ };
7338
+ };
7339
+ const deserializeAws_json1_1EvaluationModeConfiguration = (output, context) => {
7340
+ return {
7341
+ Mode: __expectString(output.Mode),
7342
+ };
7343
+ };
7344
+ const deserializeAws_json1_1EvaluationModes = (output, context) => {
7345
+ const retVal = (output || [])
7346
+ .filter((e) => e != null)
7347
+ .map((entry) => {
7348
+ if (entry === null) {
7349
+ return null;
7350
+ }
7351
+ return deserializeAws_json1_1EvaluationModeConfiguration(entry, context);
7352
+ });
7353
+ return retVal;
7354
+ };
7105
7355
  const deserializeAws_json1_1EvaluationResult = (output, context) => {
7106
7356
  return {
7107
7357
  Annotation: __expectString(output.Annotation),
@@ -7126,11 +7376,13 @@ const deserializeAws_json1_1EvaluationResultIdentifier = (output, context) => {
7126
7376
  OrderingTimestamp: output.OrderingTimestamp != null
7127
7377
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OrderingTimestamp)))
7128
7378
  : undefined,
7379
+ ResourceEvaluationId: __expectString(output.ResourceEvaluationId),
7129
7380
  };
7130
7381
  };
7131
7382
  const deserializeAws_json1_1EvaluationResultQualifier = (output, context) => {
7132
7383
  return {
7133
7384
  ConfigRuleName: __expectString(output.ConfigRuleName),
7385
+ EvaluationMode: __expectString(output.EvaluationMode),
7134
7386
  ResourceId: __expectString(output.ResourceId),
7135
7387
  ResourceType: __expectString(output.ResourceType),
7136
7388
  };
@@ -7157,6 +7409,12 @@ const deserializeAws_json1_1Evaluations = (output, context) => {
7157
7409
  });
7158
7410
  return retVal;
7159
7411
  };
7412
+ const deserializeAws_json1_1EvaluationStatus = (output, context) => {
7413
+ return {
7414
+ FailureReason: __expectString(output.FailureReason),
7415
+ Status: __expectString(output.Status),
7416
+ };
7417
+ };
7160
7418
  const deserializeAws_json1_1ExcludedAccounts = (output, context) => {
7161
7419
  const retVal = (output || [])
7162
7420
  .filter((e) => e != null)
@@ -7375,6 +7633,25 @@ const deserializeAws_json1_1GetResourceConfigHistoryResponse = (output, context)
7375
7633
  nextToken: __expectString(output.nextToken),
7376
7634
  };
7377
7635
  };
7636
+ const deserializeAws_json1_1GetResourceEvaluationSummaryResponse = (output, context) => {
7637
+ return {
7638
+ Compliance: __expectString(output.Compliance),
7639
+ EvaluationContext: output.EvaluationContext != null
7640
+ ? deserializeAws_json1_1EvaluationContext(output.EvaluationContext, context)
7641
+ : undefined,
7642
+ EvaluationMode: __expectString(output.EvaluationMode),
7643
+ EvaluationStartTimestamp: output.EvaluationStartTimestamp != null
7644
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EvaluationStartTimestamp)))
7645
+ : undefined,
7646
+ EvaluationStatus: output.EvaluationStatus != null
7647
+ ? deserializeAws_json1_1EvaluationStatus(output.EvaluationStatus, context)
7648
+ : undefined,
7649
+ ResourceDetails: output.ResourceDetails != null
7650
+ ? deserializeAws_json1_1ResourceDetails(output.ResourceDetails, context)
7651
+ : undefined,
7652
+ ResourceEvaluationId: __expectString(output.ResourceEvaluationId),
7653
+ };
7654
+ };
7378
7655
  const deserializeAws_json1_1GetStoredQueryResponse = (output, context) => {
7379
7656
  return {
7380
7657
  StoredQuery: output.StoredQuery != null ? deserializeAws_json1_1StoredQuery(output.StoredQuery, context) : undefined,
@@ -7397,6 +7674,11 @@ const deserializeAws_json1_1GroupedResourceCountList = (output, context) => {
7397
7674
  });
7398
7675
  return retVal;
7399
7676
  };
7677
+ const deserializeAws_json1_1IdempotentParameterMismatch = (output, context) => {
7678
+ return {
7679
+ message: __expectString(output.message),
7680
+ };
7681
+ };
7400
7682
  const deserializeAws_json1_1InsufficientDeliveryPolicyException = (output, context) => {
7401
7683
  return {
7402
7684
  message: __expectString(output.message),
@@ -7506,6 +7788,14 @@ const deserializeAws_json1_1ListDiscoveredResourcesResponse = (output, context)
7506
7788
  : undefined,
7507
7789
  };
7508
7790
  };
7791
+ const deserializeAws_json1_1ListResourceEvaluationsResponse = (output, context) => {
7792
+ return {
7793
+ NextToken: __expectString(output.NextToken),
7794
+ ResourceEvaluations: output.ResourceEvaluations != null
7795
+ ? deserializeAws_json1_1ResourceEvaluations(output.ResourceEvaluations, context)
7796
+ : undefined,
7797
+ };
7798
+ };
7509
7799
  const deserializeAws_json1_1ListStoredQueriesResponse = (output, context) => {
7510
7800
  return {
7511
7801
  NextToken: __expectString(output.NextToken),
@@ -8170,6 +8460,34 @@ const deserializeAws_json1_1ResourceCounts = (output, context) => {
8170
8460
  });
8171
8461
  return retVal;
8172
8462
  };
8463
+ const deserializeAws_json1_1ResourceDetails = (output, context) => {
8464
+ return {
8465
+ ResourceConfiguration: __expectString(output.ResourceConfiguration),
8466
+ ResourceConfigurationSchemaType: __expectString(output.ResourceConfigurationSchemaType),
8467
+ ResourceId: __expectString(output.ResourceId),
8468
+ ResourceType: __expectString(output.ResourceType),
8469
+ };
8470
+ };
8471
+ const deserializeAws_json1_1ResourceEvaluation = (output, context) => {
8472
+ return {
8473
+ EvaluationMode: __expectString(output.EvaluationMode),
8474
+ EvaluationStartTimestamp: output.EvaluationStartTimestamp != null
8475
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EvaluationStartTimestamp)))
8476
+ : undefined,
8477
+ ResourceEvaluationId: __expectString(output.ResourceEvaluationId),
8478
+ };
8479
+ };
8480
+ const deserializeAws_json1_1ResourceEvaluations = (output, context) => {
8481
+ const retVal = (output || [])
8482
+ .filter((e) => e != null)
8483
+ .map((entry) => {
8484
+ if (entry === null) {
8485
+ return null;
8486
+ }
8487
+ return deserializeAws_json1_1ResourceEvaluation(entry, context);
8488
+ });
8489
+ return retVal;
8490
+ };
8173
8491
  const deserializeAws_json1_1ResourceIdentifier = (output, context) => {
8174
8492
  return {
8175
8493
  resourceDeletionTime: output.resourceDeletionTime != null
@@ -8345,6 +8663,11 @@ const deserializeAws_json1_1StartRemediationExecutionResponse = (output, context
8345
8663
  FailureMessage: __expectString(output.FailureMessage),
8346
8664
  };
8347
8665
  };
8666
+ const deserializeAws_json1_1StartResourceEvaluationResponse = (output, context) => {
8667
+ return {
8668
+ ResourceEvaluationId: __expectString(output.ResourceEvaluationId),
8669
+ };
8670
+ };
8348
8671
  const deserializeAws_json1_1StaticParameterValues = (output, context) => {
8349
8672
  const retVal = (output || [])
8350
8673
  .filter((e) => e != null)
@@ -59,10 +59,12 @@ import { GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationCon
59
59
  import { GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput } from "./commands/GetOrganizationConformancePackDetailedStatusCommand";
60
60
  import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput } from "./commands/GetOrganizationCustomRulePolicyCommand";
61
61
  import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
62
+ import { GetResourceEvaluationSummaryCommandInput, GetResourceEvaluationSummaryCommandOutput } from "./commands/GetResourceEvaluationSummaryCommand";
62
63
  import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
63
64
  import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
64
65
  import { ListConformancePackComplianceScoresCommandInput, ListConformancePackComplianceScoresCommandOutput } from "./commands/ListConformancePackComplianceScoresCommand";
65
66
  import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
67
+ import { ListResourceEvaluationsCommandInput, ListResourceEvaluationsCommandOutput } from "./commands/ListResourceEvaluationsCommand";
66
68
  import { ListStoredQueriesCommandInput, ListStoredQueriesCommandOutput } from "./commands/ListStoredQueriesCommand";
67
69
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
68
70
  import { PutAggregationAuthorizationCommandInput, PutAggregationAuthorizationCommandOutput } from "./commands/PutAggregationAuthorizationCommand";
@@ -85,6 +87,7 @@ import { SelectResourceConfigCommandInput, SelectResourceConfigCommandOutput } f
85
87
  import { StartConfigRulesEvaluationCommandInput, StartConfigRulesEvaluationCommandOutput } from "./commands/StartConfigRulesEvaluationCommand";
86
88
  import { StartConfigurationRecorderCommandInput, StartConfigurationRecorderCommandOutput } from "./commands/StartConfigurationRecorderCommand";
87
89
  import { StartRemediationExecutionCommandInput, StartRemediationExecutionCommandOutput } from "./commands/StartRemediationExecutionCommand";
90
+ import { StartResourceEvaluationCommandInput, StartResourceEvaluationCommandOutput } from "./commands/StartResourceEvaluationCommand";
88
91
  import { StopConfigurationRecorderCommandInput, StopConfigurationRecorderCommandOutput } from "./commands/StopConfigurationRecorderCommand";
89
92
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
90
93
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -327,8 +330,8 @@ export declare class ConfigService extends ConfigServiceClient {
327
330
  describeAggregateComplianceByConfigRules(args: DescribeAggregateComplianceByConfigRulesCommandInput, cb: (err: any, data?: DescribeAggregateComplianceByConfigRulesCommandOutput) => void): void;
328
331
  describeAggregateComplianceByConfigRules(args: DescribeAggregateComplianceByConfigRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAggregateComplianceByConfigRulesCommandOutput) => void): void;
329
332
  /**
330
- * <p>Returns a list of the conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each conformance pack.
331
- * Also returns the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.</p>
333
+ * <p>Returns a list of the conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each
334
+ * conformance pack. Also returns the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.</p>
332
335
  * <note>
333
336
  * <p>The results can return an empty result page, but if you have a <code>nextToken</code>, the results are displayed on the next page.</p>
334
337
  * </note>
@@ -709,7 +712,7 @@ export declare class ConfigService extends ConfigServiceClient {
709
712
  /**
710
713
  * <p>Returns the evaluation results for the specified Amazon Web Services resource.
711
714
  * The results indicate which Config rules were used to evaluate
712
- * the resource, when each rule was last used, and whether the resource
715
+ * the resource, when each rule was last invoked, and whether the resource
713
716
  * complies with each rule.</p>
714
717
  */
715
718
  getComplianceDetailsByResource(args: GetComplianceDetailsByResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetComplianceDetailsByResourceCommandOutput>;
@@ -861,6 +864,14 @@ export declare class ConfigService extends ConfigServiceClient {
861
864
  getResourceConfigHistory(args: GetResourceConfigHistoryCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceConfigHistoryCommandOutput>;
862
865
  getResourceConfigHistory(args: GetResourceConfigHistoryCommandInput, cb: (err: any, data?: GetResourceConfigHistoryCommandOutput) => void): void;
863
866
  getResourceConfigHistory(args: GetResourceConfigHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceConfigHistoryCommandOutput) => void): void;
867
+ /**
868
+ * <p>Returns a summary of resource evaluation for the specified resource evaluation ID from the proactive rules that were run.
869
+ * The results indicate which evaluation context was used to evaluate the rules, which resource details were evaluated,
870
+ * the evaluation mode that was run, and whether the resource details comply with the configuration of the proactive rules. </p>
871
+ */
872
+ getResourceEvaluationSummary(args: GetResourceEvaluationSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceEvaluationSummaryCommandOutput>;
873
+ getResourceEvaluationSummary(args: GetResourceEvaluationSummaryCommandInput, cb: (err: any, data?: GetResourceEvaluationSummaryCommandOutput) => void): void;
874
+ getResourceEvaluationSummary(args: GetResourceEvaluationSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceEvaluationSummaryCommandOutput) => void): void;
864
875
  /**
865
876
  * <p>Returns the details of a specific stored query.</p>
866
877
  */
@@ -910,6 +921,12 @@ export declare class ConfigService extends ConfigServiceClient {
910
921
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDiscoveredResourcesCommandOutput>;
911
922
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
912
923
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
924
+ /**
925
+ * <p>Returns a list of proactive resource evaluations.</p>
926
+ */
927
+ listResourceEvaluations(args: ListResourceEvaluationsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceEvaluationsCommandOutput>;
928
+ listResourceEvaluations(args: ListResourceEvaluationsCommandInput, cb: (err: any, data?: ListResourceEvaluationsCommandOutput) => void): void;
929
+ listResourceEvaluations(args: ListResourceEvaluationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceEvaluationsCommandOutput) => void): void;
913
930
  /**
914
931
  * <p>Lists the stored queries for a single Amazon Web Services account and a single Amazon Web Services Region. The default is 100. </p>
915
932
  */
@@ -1163,6 +1180,9 @@ export declare class ConfigService extends ConfigServiceClient {
1163
1180
  * <p>Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource.
1164
1181
  * Remediation exceptions blocks auto-remediation until the exception is cleared.</p>
1165
1182
  * </note>
1183
+ * <note>
1184
+ * <p>To place an exception on an Amazon Web Services resource, ensure remediation is set as manual remediation.</p>
1185
+ * </note>
1166
1186
  */
1167
1187
  putRemediationExceptions(args: PutRemediationExceptionsCommandInput, options?: __HttpHandlerOptions): Promise<PutRemediationExceptionsCommandOutput>;
1168
1188
  putRemediationExceptions(args: PutRemediationExceptionsCommandInput, cb: (err: any, data?: PutRemediationExceptionsCommandOutput) => void): void;
@@ -1303,6 +1323,19 @@ export declare class ConfigService extends ConfigServiceClient {
1303
1323
  startRemediationExecution(args: StartRemediationExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartRemediationExecutionCommandOutput>;
1304
1324
  startRemediationExecution(args: StartRemediationExecutionCommandInput, cb: (err: any, data?: StartRemediationExecutionCommandOutput) => void): void;
1305
1325
  startRemediationExecution(args: StartRemediationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRemediationExecutionCommandOutput) => void): void;
1326
+ /**
1327
+ * <p>Runs an on-demand evaluation for the specified resource to determine whether the resource details will comply with configured Config rules.
1328
+ * You can also use it for evaluation purposes. Config recommends using an evaluation context. It runs an execution against the resource details with all
1329
+ * of the Config rules in your account that match with the specified proactive mode and resource type.</p>
1330
+ *
1331
+ * <note>
1332
+ * <p>Ensure you have the <code>cloudformation:DescribeType</code> role setup to validate the resource type schema.
1333
+ * </p>
1334
+ * </note>
1335
+ */
1336
+ startResourceEvaluation(args: StartResourceEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<StartResourceEvaluationCommandOutput>;
1337
+ startResourceEvaluation(args: StartResourceEvaluationCommandInput, cb: (err: any, data?: StartResourceEvaluationCommandOutput) => void): void;
1338
+ startResourceEvaluation(args: StartResourceEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartResourceEvaluationCommandOutput) => void): void;
1306
1339
  /**
1307
1340
  * <p>Stops recording configurations of the Amazon Web Services resources you have selected to record in your Amazon Web Services account.</p>
1308
1341
  */