@aws-sdk/client-config-service 3.54.0 → 3.56.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 (181) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/ConfigService.js +30 -0
  3. package/dist-cjs/ConfigServiceClient.js +13 -13
  4. package/dist-cjs/commands/BatchGetAggregateResourceConfigCommand.js +3 -3
  5. package/dist-cjs/commands/BatchGetResourceConfigCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteAggregationAuthorizationCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteConfigRuleCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteConfigurationAggregatorCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteConfigurationRecorderCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteConformancePackCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteDeliveryChannelCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteEvaluationResultsCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteOrganizationConfigRuleCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteOrganizationConformancePackCommand.js +3 -3
  15. package/dist-cjs/commands/DeletePendingAggregationRequestCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteRemediationConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteRemediationExceptionsCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteResourceConfigCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteRetentionConfigurationCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteStoredQueryCommand.js +3 -3
  21. package/dist-cjs/commands/DeliverConfigSnapshotCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeAggregateComplianceByConfigRulesCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeAggregateComplianceByConformancePacksCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeAggregationAuthorizationsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeComplianceByConfigRuleCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeComplianceByResourceCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeConfigRuleEvaluationStatusCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeConfigRulesCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeConfigurationAggregatorsCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeConfigurationRecorderStatusCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeConfigurationRecordersCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeConformancePackComplianceCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeConformancePackStatusCommand.js +3 -3
  35. package/dist-cjs/commands/DescribeConformancePacksCommand.js +3 -3
  36. package/dist-cjs/commands/DescribeDeliveryChannelStatusCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeDeliveryChannelsCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeOrganizationConfigRuleStatusesCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeOrganizationConfigRulesCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeOrganizationConformancePackStatusesCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeOrganizationConformancePacksCommand.js +3 -3
  42. package/dist-cjs/commands/DescribePendingAggregationRequestsCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeRemediationConfigurationsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeRemediationExceptionsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeRemediationExecutionStatusCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeRetentionConfigurationsCommand.js +3 -3
  47. package/dist-cjs/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +3 -3
  48. package/dist-cjs/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +3 -3
  49. package/dist-cjs/commands/GetAggregateConformancePackComplianceSummaryCommand.js +3 -3
  50. package/dist-cjs/commands/GetAggregateDiscoveredResourceCountsCommand.js +3 -3
  51. package/dist-cjs/commands/GetAggregateResourceConfigCommand.js +3 -3
  52. package/dist-cjs/commands/GetComplianceDetailsByConfigRuleCommand.js +3 -3
  53. package/dist-cjs/commands/GetComplianceDetailsByResourceCommand.js +3 -3
  54. package/dist-cjs/commands/GetComplianceSummaryByConfigRuleCommand.js +3 -3
  55. package/dist-cjs/commands/GetComplianceSummaryByResourceTypeCommand.js +3 -3
  56. package/dist-cjs/commands/GetConformancePackComplianceDetailsCommand.js +3 -3
  57. package/dist-cjs/commands/GetConformancePackComplianceSummaryCommand.js +3 -3
  58. package/dist-cjs/commands/GetCustomRulePolicyCommand.js +36 -0
  59. package/dist-cjs/commands/GetDiscoveredResourceCountsCommand.js +3 -3
  60. package/dist-cjs/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +3 -3
  61. package/dist-cjs/commands/GetOrganizationConformancePackDetailedStatusCommand.js +3 -3
  62. package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +36 -0
  63. package/dist-cjs/commands/GetResourceConfigHistoryCommand.js +3 -3
  64. package/dist-cjs/commands/GetStoredQueryCommand.js +3 -3
  65. package/dist-cjs/commands/ListAggregateDiscoveredResourcesCommand.js +3 -3
  66. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +3 -3
  67. package/dist-cjs/commands/ListStoredQueriesCommand.js +3 -3
  68. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  69. package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
  70. package/dist-cjs/commands/PutConfigRuleCommand.js +3 -3
  71. package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
  72. package/dist-cjs/commands/PutConfigurationRecorderCommand.js +3 -3
  73. package/dist-cjs/commands/PutConformancePackCommand.js +3 -3
  74. package/dist-cjs/commands/PutDeliveryChannelCommand.js +3 -3
  75. package/dist-cjs/commands/PutEvaluationsCommand.js +3 -3
  76. package/dist-cjs/commands/PutExternalEvaluationCommand.js +3 -3
  77. package/dist-cjs/commands/PutOrganizationConfigRuleCommand.js +6 -6
  78. package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +6 -6
  79. package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +6 -6
  80. package/dist-cjs/commands/PutRemediationExceptionsCommand.js +6 -6
  81. package/dist-cjs/commands/PutResourceConfigCommand.js +3 -3
  82. package/dist-cjs/commands/PutRetentionConfigurationCommand.js +3 -3
  83. package/dist-cjs/commands/PutStoredQueryCommand.js +3 -3
  84. package/dist-cjs/commands/SelectAggregateResourceConfigCommand.js +3 -3
  85. package/dist-cjs/commands/SelectResourceConfigCommand.js +3 -3
  86. package/dist-cjs/commands/StartConfigRulesEvaluationCommand.js +3 -3
  87. package/dist-cjs/commands/StartConfigurationRecorderCommand.js +3 -3
  88. package/dist-cjs/commands/StartRemediationExecutionCommand.js +3 -3
  89. package/dist-cjs/commands/StopConfigurationRecorderCommand.js +3 -3
  90. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  91. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  92. package/dist-cjs/commands/index.js +2 -0
  93. package/dist-cjs/endpoints.js +1 -1
  94. package/dist-cjs/models/models_0.js +57 -54
  95. package/dist-cjs/models/models_1.js +49 -1
  96. package/dist-cjs/protocols/Aws_json1_1.js +779 -539
  97. package/dist-cjs/runtimeConfig.browser.js +4 -4
  98. package/dist-cjs/runtimeConfig.js +9 -9
  99. package/dist-cjs/runtimeConfig.native.js +1 -1
  100. package/dist-es/ConfigService.js +116 -86
  101. package/dist-es/commands/GetCustomRulePolicyCommand.js +39 -0
  102. package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +39 -0
  103. package/dist-es/commands/PutOrganizationConfigRuleCommand.js +1 -1
  104. package/dist-es/commands/PutOrganizationConformancePackCommand.js +1 -1
  105. package/dist-es/commands/PutRemediationConfigurationsCommand.js +1 -1
  106. package/dist-es/commands/PutRemediationExceptionsCommand.js +1 -1
  107. package/dist-es/commands/index.js +2 -0
  108. package/dist-es/models/models_0.js +37 -32
  109. package/dist-es/models/models_1.js +32 -0
  110. package/dist-es/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +4 -4
  111. package/dist-es/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +4 -4
  112. package/dist-es/pagination/DescribeAggregationAuthorizationsPaginator.js +4 -4
  113. package/dist-es/pagination/DescribeComplianceByConfigRulePaginator.js +4 -4
  114. package/dist-es/pagination/DescribeComplianceByResourcePaginator.js +4 -4
  115. package/dist-es/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +4 -4
  116. package/dist-es/pagination/DescribeConfigRulesPaginator.js +4 -4
  117. package/dist-es/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +4 -4
  118. package/dist-es/pagination/DescribeConfigurationAggregatorsPaginator.js +4 -4
  119. package/dist-es/pagination/DescribeConformancePackCompliancePaginator.js +4 -4
  120. package/dist-es/pagination/DescribeConformancePackStatusPaginator.js +4 -4
  121. package/dist-es/pagination/DescribeConformancePacksPaginator.js +4 -4
  122. package/dist-es/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +4 -4
  123. package/dist-es/pagination/DescribeOrganizationConfigRulesPaginator.js +4 -4
  124. package/dist-es/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +4 -4
  125. package/dist-es/pagination/DescribeOrganizationConformancePacksPaginator.js +4 -4
  126. package/dist-es/pagination/DescribePendingAggregationRequestsPaginator.js +4 -4
  127. package/dist-es/pagination/DescribeRemediationExceptionsPaginator.js +4 -4
  128. package/dist-es/pagination/DescribeRemediationExecutionStatusPaginator.js +4 -4
  129. package/dist-es/pagination/DescribeRetentionConfigurationsPaginator.js +4 -4
  130. package/dist-es/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +4 -4
  131. package/dist-es/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +4 -4
  132. package/dist-es/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +4 -4
  133. package/dist-es/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +4 -4
  134. package/dist-es/pagination/GetComplianceDetailsByConfigRulePaginator.js +4 -4
  135. package/dist-es/pagination/GetComplianceDetailsByResourcePaginator.js +4 -4
  136. package/dist-es/pagination/GetConformancePackComplianceDetailsPaginator.js +4 -4
  137. package/dist-es/pagination/GetConformancePackComplianceSummaryPaginator.js +4 -4
  138. package/dist-es/pagination/GetDiscoveredResourceCountsPaginator.js +4 -4
  139. package/dist-es/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +4 -4
  140. package/dist-es/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +4 -4
  141. package/dist-es/pagination/GetResourceConfigHistoryPaginator.js +4 -4
  142. package/dist-es/pagination/ListAggregateDiscoveredResourcesPaginator.js +4 -4
  143. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +4 -4
  144. package/dist-es/pagination/ListStoredQueriesPaginator.js +4 -4
  145. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  146. package/dist-es/pagination/SelectAggregateResourceConfigPaginator.js +4 -4
  147. package/dist-es/pagination/SelectResourceConfigPaginator.js +4 -4
  148. package/dist-es/protocols/Aws_json1_1.js +252 -3
  149. package/dist-types/ConfigService.d.ts +29 -15
  150. package/dist-types/ConfigServiceClient.d.ts +4 -2
  151. package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +2 -2
  152. package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
  153. package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +4 -4
  154. package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +3 -3
  155. package/dist-types/commands/GetCustomRulePolicyCommand.d.ts +35 -0
  156. package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
  157. package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +35 -0
  158. package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  159. package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +4 -4
  160. package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  161. package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  162. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  163. package/dist-types/commands/index.d.ts +2 -0
  164. package/dist-types/models/models_0.d.ts +342 -236
  165. package/dist-types/models/models_1.d.ts +162 -1
  166. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  167. package/dist-types/runtimeConfig.native.d.ts +2 -2
  168. package/dist-types/ts3.4/ConfigService.d.ts +10 -0
  169. package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -2
  170. package/dist-types/ts3.4/commands/GetCustomRulePolicyCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/GetOrganizationCustomRulePolicyCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  177. package/dist-types/ts3.4/models/models_0.d.ts +121 -90
  178. package/dist-types/ts3.4/models/models_1.d.ts +91 -1
  179. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  180. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  181. package/package.json +34 -34
@@ -525,6 +525,7 @@ export declare enum ResourceType {
525
525
  DBSubnetGroup = "AWS::RDS::DBSubnetGroup",
526
526
  Distribution = "AWS::CloudFront::Distribution",
527
527
  Domain = "AWS::Elasticsearch::Domain",
528
+ ECRPublicRepository = "AWS::ECR::PublicRepository",
528
529
  ECRRepository = "AWS::ECR::Repository",
529
530
  ECSCluster = "AWS::ECS::Cluster",
530
531
  ECSService = "AWS::ECS::Service",
@@ -541,6 +542,7 @@ export declare enum ResourceType {
541
542
  FlowLog = "AWS::EC2::FlowLog",
542
543
  Function = "AWS::Lambda::Function",
543
544
  Group = "AWS::IAM::Group",
545
+ GuardDutyDetector = "AWS::GuardDuty::Detector",
544
546
  Host = "AWS::EC2::Host",
545
547
  IPSetV2 = "AWS::WAFv2::IPSet",
546
548
  Instance = "AWS::EC2::Instance",
@@ -549,6 +551,7 @@ export declare enum ResourceType {
549
551
  KinesisStream = "AWS::Kinesis::Stream",
550
552
  KinesisStreamConsumer = "AWS::Kinesis::StreamConsumer",
551
553
  LaunchConfiguration = "AWS::AutoScaling::LaunchConfiguration",
554
+ LaunchTemplate = "AWS::EC2::LaunchTemplate",
552
555
  LoadBalancer = "AWS::ElasticLoadBalancing::LoadBalancer",
553
556
  LoadBalancerV2 = "AWS::ElasticLoadBalancingV2::LoadBalancer",
554
557
  ManagedInstanceInventory = "AWS::SSM::ManagedInstanceInventory",
@@ -1070,9 +1073,37 @@ export declare namespace Scope {
1070
1073
  */
1071
1074
  const filterSensitiveLog: (obj: Scope) => any;
1072
1075
  }
1076
+ /**
1077
+ * <p>Provides the runtime system, policy definition, and whether debug logging enabled. You can
1078
+ * specify the following CustomPolicyDetails parameter values
1079
+ * only
1080
+ * for Config Custom Policy rules.</p>
1081
+ */
1082
+ export interface CustomPolicyDetails {
1083
+ /**
1084
+ * <p>The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
1085
+ * Repository</a>.</p>
1086
+ */
1087
+ PolicyRuntime: string | undefined;
1088
+ /**
1089
+ * <p>The policy definition containing the logic for your Config Custom Policy rule.</p>
1090
+ */
1091
+ PolicyText: string | undefined;
1092
+ /**
1093
+ * <p>The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is <code>false</code>.</p>
1094
+ */
1095
+ EnableDebugLogDelivery?: boolean;
1096
+ }
1097
+ export declare namespace CustomPolicyDetails {
1098
+ /**
1099
+ * @internal
1100
+ */
1101
+ const filterSensitiveLog: (obj: CustomPolicyDetails) => any;
1102
+ }
1073
1103
  export declare enum Owner {
1074
1104
  Aws = "AWS",
1075
- Custom_Lambda = "CUSTOM_LAMBDA"
1105
+ Custom_Lambda = "CUSTOM_LAMBDA",
1106
+ Custom_Policy = "CUSTOM_POLICY"
1076
1107
  }
1077
1108
  export declare enum EventSource {
1078
1109
  Aws_Config = "aws.config"
@@ -1148,7 +1179,6 @@ export interface SourceDetail {
1148
1179
  *
1149
1180
  *
1150
1181
  *
1151
- *
1152
1182
  * <note>
1153
1183
  * <p>By default, rules with a periodic trigger are evaluated
1154
1184
  * every 24 hours. To change the frequency, specify a valid value
@@ -1170,28 +1200,40 @@ export declare namespace SourceDetail {
1170
1200
  const filterSensitiveLog: (obj: SourceDetail) => any;
1171
1201
  }
1172
1202
  /**
1173
- * <p>Provides the Config rule owner (Amazon Web Services or customer), the rule
1174
- * identifier, and the events that trigger the evaluation of your Amazon Web Services
1203
+ * <p>Provides the CustomPolicyDetails, the rule owner (Amazon Web Services or customer), the rule
1204
+ * identifier, and the events that cause the evaluation of your Amazon Web Services
1175
1205
  * resources.</p>
1176
1206
  */
1177
1207
  export interface Source {
1178
1208
  /**
1179
1209
  * <p>Indicates whether Amazon Web Services or the customer owns and manages the Config rule.</p>
1210
+ *
1211
+ * <p>Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html">Config Managed Rules</a> in the Config developer guide.</p>
1212
+ *
1213
+ * <p>Config Custom Rules are rules that you can develop either with Guard (<code>CUSTOM_POLICY</code>) or Lambda (<code>CUSTOM_LAMBDA</code>). For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html">Config Custom Rules </a> in the Config developer guide.</p>
1180
1214
  */
1181
1215
  Owner: Owner | string | undefined;
1182
1216
  /**
1183
- * <p>For Config managed rules, a predefined identifier from a
1217
+ * <p>For Config Managed rules, a predefined identifier from a
1184
1218
  * list. For example, <code>IAM_PASSWORD_POLICY</code> is a managed
1185
- * rule. To reference a managed rule, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html">Using Config managed rules</a>.</p>
1186
- * <p>For custom rules, the identifier is the Amazon Resource Name
1219
+ * rule. To reference a managed rule, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">List of Config Managed Rules</a>.</p>
1220
+ * <p>For Config Custom Lambda rules, the identifier is the Amazon Resource Name
1187
1221
  * (ARN) of the rule's Lambda function, such as
1188
- * <code>arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name</code>.</p>
1222
+ * <code>arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name</code>.</p>
1223
+ *
1224
+ * <p>For Config Custom Policy rules, this field will be ignored.</p>
1189
1225
  */
1190
- SourceIdentifier: string | undefined;
1226
+ SourceIdentifier?: string;
1191
1227
  /**
1192
- * <p>Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.</p>
1228
+ * <p>Provides the source and the message types that cause Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.</p>
1229
+ *
1230
+ * <p>If the owner is set to <code>CUSTOM_POLICY</code>, the only acceptable values for the Config rule trigger message type are <code>ConfigurationItemChangeNotification</code> and <code>OversizedConfigurationItemChangeNotification</code>.</p>
1193
1231
  */
1194
1232
  SourceDetails?: SourceDetail[];
1233
+ /**
1234
+ * <p>Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to <code>CUSTOM_POLICY</code>.</p>
1235
+ */
1236
+ CustomPolicyDetails?: CustomPolicyDetails;
1195
1237
  }
1196
1238
  export declare namespace Source {
1197
1239
  /**
@@ -1384,11 +1426,11 @@ export declare enum ConfigRuleComplianceSummaryGroupKey {
1384
1426
  AWS_REGION = "AWS_REGION"
1385
1427
  }
1386
1428
  /**
1387
- * <p>Status information for your Config managed rules. The
1429
+ * <p>Status information for your Config Managed rules and Config Custom Policy rules. The
1388
1430
  * status includes information such as the last time the rule ran, the
1389
1431
  * last time it failed, and the related error for the last
1390
1432
  * failure.</p>
1391
- * <p>This action does not return status information about custom Config rules.</p>
1433
+ * <p>This action does not return status information about Config Custom Lambda rules.</p>
1392
1434
  */
1393
1435
  export interface ConfigRuleEvaluationStatus {
1394
1436
  /**
@@ -1453,12 +1495,26 @@ export interface ConfigRuleEvaluationStatus {
1453
1495
  * </li>
1454
1496
  * <li>
1455
1497
  * <p>
1456
- * <code>false</code> - Config has not once finished
1457
- * evaluating your Amazon Web Services resources against the rule.</p>
1498
+ * <code>false</code> - Config has not finished evaluating your Amazon Web Services resources against the
1499
+ * rule
1500
+ * at least once.</p>
1458
1501
  * </li>
1459
1502
  * </ul>
1460
1503
  */
1461
1504
  FirstEvaluationStarted?: boolean;
1505
+ /**
1506
+ * <p>The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either <code>Successful</code> or <code>Failed</code>.</p>
1507
+ */
1508
+ LastDebugLogDeliveryStatus?: string;
1509
+ /**
1510
+ * <p>The reason Config was not able to deliver a debug log. This is for the last
1511
+ * failed attempt to retrieve a debug log for your Config Custom Policy rules.</p>
1512
+ */
1513
+ LastDebugLogDeliveryStatusReason?: string;
1514
+ /**
1515
+ * <p>The time Config last attempted to deliver a debug log for your Config Custom Policy rules.</p>
1516
+ */
1517
+ LastDebugLogDeliveryTime?: Date;
1462
1518
  }
1463
1519
  export declare namespace ConfigRuleEvaluationStatus {
1464
1520
  /**
@@ -2137,7 +2193,7 @@ export declare namespace ConformancePackEvaluationResult {
2137
2193
  */
2138
2194
  export interface ConformancePackRuleCompliance {
2139
2195
  /**
2140
- * <p>Name of the config rule.</p>
2196
+ * <p>Name of the Config rule.</p>
2141
2197
  */
2142
2198
  ConfigRuleName?: string;
2143
2199
  /**
@@ -2282,8 +2338,7 @@ export declare namespace DeleteConfigRuleRequest {
2282
2338
  const filterSensitiveLog: (obj: DeleteConfigRuleRequest) => any;
2283
2339
  }
2284
2340
  /**
2285
- * <p>One or more Config rules in the request are invalid. Verify
2286
- * that the rule names are correct and try again.</p>
2341
+ * <p>The Config rule in the request is not valid. Verify that the rule is an Config Custom Policy rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.</p>
2287
2342
  */
2288
2343
  export declare class NoSuchConfigRuleException extends __BaseException {
2289
2344
  readonly name: "NoSuchConfigRuleException";
@@ -2306,10 +2361,10 @@ export declare class NoSuchConfigRuleException extends __BaseException {
2306
2361
  * <p>For DeleteConfigRule, a remediation action is associated with the rule and Config cannot delete this rule. Delete the remediation action associated with the rule before deleting the rule and try your request again later.</p>
2307
2362
  * </li>
2308
2363
  * <li>
2309
- * <p>For PutConfigOrganizationRule, organization config rule deletion is in progress. Try your request again later.</p>
2364
+ * <p>For PutConfigOrganizationRule, organization Config rule deletion is in progress. Try your request again later.</p>
2310
2365
  * </li>
2311
2366
  * <li>
2312
- * <p>For DeleteOrganizationConfigRule, organization config rule creation is in progress. Try your request again later.</p>
2367
+ * <p>For DeleteOrganizationConfigRule, organization Config rule creation is in progress. Try your request again later.</p>
2313
2368
  * </li>
2314
2369
  * <li>
2315
2370
  * <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.</p>
@@ -2463,7 +2518,7 @@ export declare namespace DeleteEvaluationResultsResponse {
2463
2518
  }
2464
2519
  export interface DeleteOrganizationConfigRuleRequest {
2465
2520
  /**
2466
- * <p>The name of organization config rule that you want to delete.</p>
2521
+ * <p>The name of organization Config rule that you want to delete.</p>
2467
2522
  */
2468
2523
  OrganizationConfigRuleName: string | undefined;
2469
2524
  }
@@ -2474,7 +2529,7 @@ export declare namespace DeleteOrganizationConfigRuleRequest {
2474
2529
  const filterSensitiveLog: (obj: DeleteOrganizationConfigRuleRequest) => any;
2475
2530
  }
2476
2531
  /**
2477
- * <p>You specified one or more organization config rules that do not exist.</p>
2532
+ * <p>The Config rule in the request is not valid. Verify that the rule is an organization Config Custom Policy rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.</p>
2478
2533
  */
2479
2534
  export declare class NoSuchOrganizationConfigRuleException extends __BaseException {
2480
2535
  readonly name: "NoSuchOrganizationConfigRuleException";
@@ -2588,7 +2643,7 @@ export declare namespace DeleteRemediationConfigurationResponse {
2588
2643
  * <p>For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
2589
2644
  * </li>
2590
2645
  * <li>
2591
- * <p>For PutOrganizationConfigRule, organization config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service linked role.</p>
2646
+ * <p>For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service linked role.</p>
2592
2647
  * </li>
2593
2648
  * <li>
2594
2649
  * <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have permissions: </p>
@@ -3626,11 +3681,11 @@ export declare namespace DescribeDeliveryChannelStatusResponse {
3626
3681
  }
3627
3682
  export interface DescribeOrganizationConfigRulesRequest {
3628
3683
  /**
3629
- * <p>The names of organization config rules for which you want details. If you do not specify any names, Config returns details for all your organization config rules.</p>
3684
+ * <p>The names of organization Config rules for which you want details. If you do not specify any names, Config returns details for all your organization Config rules.</p>
3630
3685
  */
3631
3686
  OrganizationConfigRuleNames?: string[];
3632
3687
  /**
3633
- * <p>The maximum number of organization config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.</p>
3688
+ * <p>The maximum number of organization Config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.</p>
3634
3689
  */
3635
3690
  Limit?: number;
3636
3691
  /**
@@ -3644,6 +3699,81 @@ export declare namespace DescribeOrganizationConfigRulesRequest {
3644
3699
  */
3645
3700
  const filterSensitiveLog: (obj: DescribeOrganizationConfigRulesRequest) => any;
3646
3701
  }
3702
+ export declare enum OrganizationConfigRuleTriggerTypeNoSN {
3703
+ CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
3704
+ OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification"
3705
+ }
3706
+ /**
3707
+ * <p>An object that specifies metadata for your organization Config Custom Policy rule including the runtime system in use, which accounts have debug logging enabled, and
3708
+ * other custom rule metadata such as resource type, resource ID of Amazon Web Services
3709
+ * resource, and organization trigger types that trigger Config to evaluate
3710
+ * Amazon Web Services resources against a rule.</p>
3711
+ */
3712
+ export interface OrganizationCustomPolicyRuleMetadataNoPolicy {
3713
+ /**
3714
+ * <p>The description that you provide for your organization Config Custom Policy rule.</p>
3715
+ */
3716
+ Description?: string;
3717
+ /**
3718
+ * <p>The type of notification that triggers Config to run an evaluation for a rule.
3719
+ * For Config Custom Policy rules, Config supports change
3720
+ * triggered notification types:</p>
3721
+ *
3722
+ * <ul>
3723
+ * <li>
3724
+ * <p>
3725
+ * <code>ConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers a configuration item as a result of a resource change.</p>
3726
+ * </li>
3727
+ * <li>
3728
+ * <p>
3729
+ * <code>OversizedConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers an oversized configuration item.
3730
+ * Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.</p>
3731
+ * </li>
3732
+ * </ul>
3733
+ */
3734
+ OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
3735
+ /**
3736
+ * <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
3737
+ */
3738
+ InputParameters?: string;
3739
+ /**
3740
+ * <p>The maximum frequency with which Config runs evaluations for a rule. Your
3741
+ * Config Custom Policy rule is triggered when Config delivers
3742
+ * the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
3743
+ */
3744
+ MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
3745
+ /**
3746
+ * <p>The type of the Amazon Web Services resource that was evaluated.</p>
3747
+ */
3748
+ ResourceTypesScope?: string[];
3749
+ /**
3750
+ * <p>The ID of the Amazon Web Services resource that was evaluated.</p>
3751
+ */
3752
+ ResourceIdScope?: string;
3753
+ /**
3754
+ * <p>One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.</p>
3755
+ */
3756
+ TagKeyScope?: string;
3757
+ /**
3758
+ * <p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).</p>
3759
+ */
3760
+ TagValueScope?: string;
3761
+ /**
3762
+ * <p>The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
3763
+ * Repository</a>.</p>
3764
+ */
3765
+ PolicyRuntime?: string;
3766
+ /**
3767
+ * <p>A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.</p>
3768
+ */
3769
+ DebugLogDeliveryAccounts?: string[];
3770
+ }
3771
+ export declare namespace OrganizationCustomPolicyRuleMetadataNoPolicy {
3772
+ /**
3773
+ * @internal
3774
+ */
3775
+ const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadataNoPolicy) => any;
3776
+ }
3647
3777
  export declare enum OrganizationConfigRuleTriggerType {
3648
3778
  CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
3649
3779
  OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification",
@@ -3656,7 +3786,7 @@ export declare enum OrganizationConfigRuleTriggerType {
3656
3786
  */
3657
3787
  export interface OrganizationCustomRuleMetadata {
3658
3788
  /**
3659
- * <p>The description that you provide for organization config rule.</p>
3789
+ * <p>The description that you provide for your organization Config rule.</p>
3660
3790
  */
3661
3791
  Description?: string;
3662
3792
  /**
@@ -3684,7 +3814,7 @@ export interface OrganizationCustomRuleMetadata {
3684
3814
  */
3685
3815
  OrganizationConfigRuleTriggerTypes: (OrganizationConfigRuleTriggerType | string)[] | undefined;
3686
3816
  /**
3687
- * <p>A string, in JSON format, that is passed to organization config rule Lambda function.</p>
3817
+ * <p>A string, in JSON format, that is passed to your organization Config rule Lambda function.</p>
3688
3818
  */
3689
3819
  InputParameters?: string;
3690
3820
  /**
@@ -3727,7 +3857,7 @@ export declare namespace OrganizationCustomRuleMetadata {
3727
3857
  */
3728
3858
  export interface OrganizationManagedRuleMetadata {
3729
3859
  /**
3730
- * <p>The description that you provide for organization config rule.</p>
3860
+ * <p>The description that you provide for your organization Config rule.</p>
3731
3861
  */
3732
3862
  Description?: string;
3733
3863
  /**
@@ -3737,7 +3867,7 @@ export interface OrganizationManagedRuleMetadata {
3737
3867
  */
3738
3868
  RuleIdentifier: string | undefined;
3739
3869
  /**
3740
- * <p>A string, in JSON format, that is passed to organization config rule Lambda function.</p>
3870
+ * <p>A string, in JSON format, that is passed to your organization Config rule Lambda function.</p>
3741
3871
  */
3742
3872
  InputParameters?: string;
3743
3873
  /**
@@ -3774,15 +3904,15 @@ export declare namespace OrganizationManagedRuleMetadata {
3774
3904
  const filterSensitiveLog: (obj: OrganizationManagedRuleMetadata) => any;
3775
3905
  }
3776
3906
  /**
3777
- * <p>An organization config rule that has information about config rules that Config creates in member accounts.</p>
3907
+ * <p>An organization Config rule that has information about Config rules that Config creates in member accounts.</p>
3778
3908
  */
3779
3909
  export interface OrganizationConfigRule {
3780
3910
  /**
3781
- * <p>The name that you assign to organization config rule.</p>
3911
+ * <p>The name that you assign to organization Config rule.</p>
3782
3912
  */
3783
3913
  OrganizationConfigRuleName: string | undefined;
3784
3914
  /**
3785
- * <p>Amazon Resource Name (ARN) of organization config rule.</p>
3915
+ * <p>Amazon Resource Name (ARN) of organization Config rule.</p>
3786
3916
  */
3787
3917
  OrganizationConfigRuleArn: string | undefined;
3788
3918
  /**
@@ -3794,13 +3924,20 @@ export interface OrganizationConfigRule {
3794
3924
  */
3795
3925
  OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
3796
3926
  /**
3797
- * <p>A comma-separated list of accounts excluded from organization config rule.</p>
3927
+ * <p>A comma-separated list of accounts excluded from organization Config rule.</p>
3798
3928
  */
3799
3929
  ExcludedAccounts?: string[];
3800
3930
  /**
3801
3931
  * <p>The timestamp of the last update.</p>
3802
3932
  */
3803
3933
  LastUpdateTime?: Date;
3934
+ /**
3935
+ * <p>An
3936
+ * object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
3937
+ * debug logging enabled, and other custom rule metadata, such as resource type, resource
3938
+ * ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
3939
+ */
3940
+ OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadataNoPolicy;
3804
3941
  }
3805
3942
  export declare namespace OrganizationConfigRule {
3806
3943
  /**
@@ -3826,7 +3963,7 @@ export declare namespace DescribeOrganizationConfigRulesResponse {
3826
3963
  }
3827
3964
  export interface DescribeOrganizationConfigRuleStatusesRequest {
3828
3965
  /**
3829
- * <p>The names of organization config rules for which you want status details. If you do not specify any names, Config returns details for all your organization Config rules.</p>
3966
+ * <p>The names of organization Config rules for which you want status details. If you do not specify any names, Config returns details for all your organization Config rules.</p>
3830
3967
  */
3831
3968
  OrganizationConfigRuleNames?: string[];
3832
3969
  /**
@@ -3856,65 +3993,65 @@ export declare enum OrganizationRuleStatus {
3856
3993
  UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL"
3857
3994
  }
3858
3995
  /**
3859
- * <p>Returns the status for an organization config rule in an organization.</p>
3996
+ * <p>Returns the status for an organization Config rule in an organization.</p>
3860
3997
  */
3861
3998
  export interface OrganizationConfigRuleStatus {
3862
3999
  /**
3863
- * <p>The name that you assign to organization config rule.</p>
4000
+ * <p>The name that you assign to organization Config rule.</p>
3864
4001
  */
3865
4002
  OrganizationConfigRuleName: string | undefined;
3866
4003
  /**
3867
- * <p>Indicates deployment status of an organization config rule.
3868
- * When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts.
3869
- * When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in all the member accounts. Additionally, config rule status is updated when one or more member accounts join or leave an organization.
4004
+ * <p>Indicates deployment status of an organization Config rule.
4005
+ * When master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in all the member accounts.
4006
+ * When master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in all the member accounts. Additionally, Config rule status is updated when one or more member accounts join or leave an organization.
3870
4007
  * Config rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for <code>config-multiaccountsetup.amazonaws.com</code>.</p>
3871
4008
  * <p>Config sets the state of the rule to:</p>
3872
4009
  * <ul>
3873
4010
  * <li>
3874
4011
  * <p>
3875
- * <code>CREATE_SUCCESSFUL</code> when an organization config rule has been successfully created in all the member accounts. </p>
4012
+ * <code>CREATE_SUCCESSFUL</code> when an organization Config rule has been successfully created in all the member accounts. </p>
3876
4013
  * </li>
3877
4014
  * <li>
3878
4015
  * <p>
3879
- * <code>CREATE_IN_PROGRESS</code> when an organization config rule creation is in progress.</p>
4016
+ * <code>CREATE_IN_PROGRESS</code> when an organization Config rule creation is in progress.</p>
3880
4017
  * </li>
3881
4018
  * <li>
3882
4019
  * <p>
3883
- * <code>CREATE_FAILED</code> when an organization config rule creation failed in one or more member accounts within that organization.</p>
4020
+ * <code>CREATE_FAILED</code> when an organization Config rule creation failed in one or more member accounts within that organization.</p>
3884
4021
  * </li>
3885
4022
  * <li>
3886
4023
  * <p>
3887
- * <code>DELETE_FAILED</code> when an organization config rule deletion failed in one or more member accounts within that organization.</p>
4024
+ * <code>DELETE_FAILED</code> when an organization Config rule deletion failed in one or more member accounts within that organization.</p>
3888
4025
  * </li>
3889
4026
  * <li>
3890
4027
  * <p>
3891
- * <code>DELETE_IN_PROGRESS</code> when an organization config rule deletion is in progress.</p>
4028
+ * <code>DELETE_IN_PROGRESS</code> when an organization Config rule deletion is in progress.</p>
3892
4029
  * </li>
3893
4030
  * <li>
3894
4031
  * <p>
3895
- * <code>DELETE_SUCCESSFUL</code> when an organization config rule has been successfully deleted from all the member accounts.</p>
4032
+ * <code>DELETE_SUCCESSFUL</code> when an organization Config rule has been successfully deleted from all the member accounts.</p>
3896
4033
  * </li>
3897
4034
  * <li>
3898
4035
  * <p>
3899
- * <code>UPDATE_SUCCESSFUL</code> when an organization config rule has been successfully updated in all the member accounts.</p>
4036
+ * <code>UPDATE_SUCCESSFUL</code> when an organization Config rule has been successfully updated in all the member accounts.</p>
3900
4037
  * </li>
3901
4038
  * <li>
3902
4039
  * <p>
3903
- * <code>UPDATE_IN_PROGRESS</code> when an organization config rule update is in progress.</p>
4040
+ * <code>UPDATE_IN_PROGRESS</code> when an organization Config rule update is in progress.</p>
3904
4041
  * </li>
3905
4042
  * <li>
3906
4043
  * <p>
3907
- * <code>UPDATE_FAILED</code> when an organization config rule update failed in one or more member accounts within that organization.</p>
4044
+ * <code>UPDATE_FAILED</code> when an organization Config rule update failed in one or more member accounts within that organization.</p>
3908
4045
  * </li>
3909
4046
  * </ul>
3910
4047
  */
3911
4048
  OrganizationRuleStatus: OrganizationRuleStatus | string | undefined;
3912
4049
  /**
3913
- * <p>An error code that is returned when organization config rule creation or deletion has failed.</p>
4050
+ * <p>An error code that is returned when organization Config rule creation or deletion has failed.</p>
3914
4051
  */
3915
4052
  ErrorCode?: string;
3916
4053
  /**
3917
- * <p>An error message indicating that organization config rule creation or deletion failed due to an error.</p>
4054
+ * <p>An error message indicating that organization Config rule creation or deletion failed due to an error.</p>
3918
4055
  */
3919
4056
  ErrorMessage?: string;
3920
4057
  /**
@@ -5389,6 +5526,30 @@ export declare namespace GetConformancePackComplianceSummaryResponse {
5389
5526
  */
5390
5527
  const filterSensitiveLog: (obj: GetConformancePackComplianceSummaryResponse) => any;
5391
5528
  }
5529
+ export interface GetCustomRulePolicyRequest {
5530
+ /**
5531
+ * <p>The name of your Config Custom Policy rule.</p>
5532
+ */
5533
+ ConfigRuleName?: string;
5534
+ }
5535
+ export declare namespace GetCustomRulePolicyRequest {
5536
+ /**
5537
+ * @internal
5538
+ */
5539
+ const filterSensitiveLog: (obj: GetCustomRulePolicyRequest) => any;
5540
+ }
5541
+ export interface GetCustomRulePolicyResponse {
5542
+ /**
5543
+ * <p>The policy definition containing the logic for your Config Custom Policy rule.</p>
5544
+ */
5545
+ PolicyText?: string;
5546
+ }
5547
+ export declare namespace GetCustomRulePolicyResponse {
5548
+ /**
5549
+ * @internal
5550
+ */
5551
+ const filterSensitiveLog: (obj: GetCustomRulePolicyResponse) => any;
5552
+ }
5392
5553
  export interface GetDiscoveredResourceCountsRequest {
5393
5554
  /**
5394
5555
  * <p>The comma-separated list that specifies the resource types that
@@ -5509,7 +5670,7 @@ export declare enum MemberAccountRuleStatus {
5509
5670
  UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL"
5510
5671
  }
5511
5672
  /**
5512
- * <p>Status filter object to filter results based on specific member account ID or status type for an organization config rule. </p>
5673
+ * <p>Status filter object to filter results based on specific member account ID or status type for an organization Config rule. </p>
5513
5674
  */
5514
5675
  export interface StatusDetailFilters {
5515
5676
  /**
@@ -5517,48 +5678,48 @@ export interface StatusDetailFilters {
5517
5678
  */
5518
5679
  AccountId?: string;
5519
5680
  /**
5520
- * <p>Indicates deployment status for config rule in the member account.
5521
- * When master account calls <code>PutOrganizationConfigRule</code> action for the first time, config rule status is created in the member account.
5522
- * When master account calls <code>PutOrganizationConfigRule</code> action for the second time, config rule status is updated in the member account.
5681
+ * <p>Indicates deployment status for Config rule in the member account.
5682
+ * When master account calls <code>PutOrganizationConfigRule</code> action for the first time, Config rule status is created in the member account.
5683
+ * When master account calls <code>PutOrganizationConfigRule</code> action for the second time, Config rule status is updated in the member account.
5523
5684
  * Config rule status is deleted when the master account deletes <code>OrganizationConfigRule</code> and disables service access for <code>config-multiaccountsetup.amazonaws.com</code>.
5524
5685
  * </p>
5525
5686
  * <p>Config sets the state of the rule to:</p>
5526
5687
  * <ul>
5527
5688
  * <li>
5528
5689
  * <p>
5529
- * <code>CREATE_SUCCESSFUL</code> when config rule has been created in the member account.</p>
5690
+ * <code>CREATE_SUCCESSFUL</code> when Config rule has been created in the member account.</p>
5530
5691
  * </li>
5531
5692
  * <li>
5532
5693
  * <p>
5533
- * <code>CREATE_IN_PROGRESS</code> when config rule is being created in the member account.</p>
5694
+ * <code>CREATE_IN_PROGRESS</code> when Config rule is being created in the member account.</p>
5534
5695
  * </li>
5535
5696
  * <li>
5536
5697
  * <p>
5537
- * <code>CREATE_FAILED</code> when config rule creation has failed in the member account.</p>
5698
+ * <code>CREATE_FAILED</code> when Config rule creation has failed in the member account.</p>
5538
5699
  * </li>
5539
5700
  * <li>
5540
5701
  * <p>
5541
- * <code>DELETE_FAILED</code> when config rule deletion has failed in the member account.</p>
5702
+ * <code>DELETE_FAILED</code> when Config rule deletion has failed in the member account.</p>
5542
5703
  * </li>
5543
5704
  * <li>
5544
5705
  * <p>
5545
- * <code>DELETE_IN_PROGRESS</code> when config rule is being deleted in the member account.</p>
5706
+ * <code>DELETE_IN_PROGRESS</code> when Config rule is being deleted in the member account.</p>
5546
5707
  * </li>
5547
5708
  * <li>
5548
5709
  * <p>
5549
- * <code>DELETE_SUCCESSFUL</code> when config rule has been deleted in the member account.</p>
5710
+ * <code>DELETE_SUCCESSFUL</code> when Config rule has been deleted in the member account.</p>
5550
5711
  * </li>
5551
5712
  * <li>
5552
5713
  * <p>
5553
- * <code>UPDATE_SUCCESSFUL</code> when config rule has been updated in the member account.</p>
5714
+ * <code>UPDATE_SUCCESSFUL</code> when Config rule has been updated in the member account.</p>
5554
5715
  * </li>
5555
5716
  * <li>
5556
5717
  * <p>
5557
- * <code>UPDATE_IN_PROGRESS</code> when config rule is being updated in the member account.</p>
5718
+ * <code>UPDATE_IN_PROGRESS</code> when Config rule is being updated in the member account.</p>
5558
5719
  * </li>
5559
5720
  * <li>
5560
5721
  * <p>
5561
- * <code>UPDATE_FAILED</code> when config rule deletion has failed in the member account.</p>
5722
+ * <code>UPDATE_FAILED</code> when Config rule deletion has failed in the member account.</p>
5562
5723
  * </li>
5563
5724
  * </ul>
5564
5725
  */
@@ -5572,7 +5733,7 @@ export declare namespace StatusDetailFilters {
5572
5733
  }
5573
5734
  export interface GetOrganizationConfigRuleDetailedStatusRequest {
5574
5735
  /**
5575
- * <p>The name of organization config rule for which you want status details for member accounts.</p>
5736
+ * <p>The name of your organization Config rule for which you want status details for member accounts.</p>
5576
5737
  */
5577
5738
  OrganizationConfigRuleName: string | undefined;
5578
5739
  /**
@@ -5595,7 +5756,7 @@ export declare namespace GetOrganizationConfigRuleDetailedStatusRequest {
5595
5756
  const filterSensitiveLog: (obj: GetOrganizationConfigRuleDetailedStatusRequest) => any;
5596
5757
  }
5597
5758
  /**
5598
- * <p>Organization config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.</p>
5759
+ * <p>Organization Config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.</p>
5599
5760
  */
5600
5761
  export interface MemberAccountStatus {
5601
5762
  /**
@@ -5603,62 +5764,62 @@ export interface MemberAccountStatus {
5603
5764
  */
5604
5765
  AccountId: string | undefined;
5605
5766
  /**
5606
- * <p>The name of config rule deployed in the member account.</p>
5767
+ * <p>The name of Config rule deployed in the member account.</p>
5607
5768
  */
5608
5769
  ConfigRuleName: string | undefined;
5609
5770
  /**
5610
- * <p>Indicates deployment status for config rule in the member account.
5611
- * When master account calls <code>PutOrganizationConfigRule</code> action for the first time, config rule status is created in the member account.
5612
- * When master account calls <code>PutOrganizationConfigRule</code> action for the second time, config rule status is updated in the member account.
5771
+ * <p>Indicates deployment status for Config rule in the member account.
5772
+ * When master account calls <code>PutOrganizationConfigRule</code> action for the first time, Config rule status is created in the member account.
5773
+ * When master account calls <code>PutOrganizationConfigRule</code> action for the second time, Config rule status is updated in the member account.
5613
5774
  * Config rule status is deleted when the master account deletes <code>OrganizationConfigRule</code> and disables service access for <code>config-multiaccountsetup.amazonaws.com</code>.
5614
5775
  * </p>
5615
5776
  * <p> Config sets the state of the rule to:</p>
5616
5777
  * <ul>
5617
5778
  * <li>
5618
5779
  * <p>
5619
- * <code>CREATE_SUCCESSFUL</code> when config rule has been created in the member account. </p>
5780
+ * <code>CREATE_SUCCESSFUL</code> when Config rule has been created in the member account. </p>
5620
5781
  * </li>
5621
5782
  * <li>
5622
5783
  * <p>
5623
- * <code>CREATE_IN_PROGRESS</code> when config rule is being created in the member account.</p>
5784
+ * <code>CREATE_IN_PROGRESS</code> when Config rule is being created in the member account.</p>
5624
5785
  * </li>
5625
5786
  * <li>
5626
5787
  * <p>
5627
- * <code>CREATE_FAILED</code> when config rule creation has failed in the member account.</p>
5788
+ * <code>CREATE_FAILED</code> when Config rule creation has failed in the member account.</p>
5628
5789
  * </li>
5629
5790
  * <li>
5630
5791
  * <p>
5631
- * <code>DELETE_FAILED</code> when config rule deletion has failed in the member account.</p>
5792
+ * <code>DELETE_FAILED</code> when Config rule deletion has failed in the member account.</p>
5632
5793
  * </li>
5633
5794
  * <li>
5634
5795
  * <p>
5635
- * <code>DELETE_IN_PROGRESS</code> when config rule is being deleted in the member account.</p>
5796
+ * <code>DELETE_IN_PROGRESS</code> when Config rule is being deleted in the member account.</p>
5636
5797
  * </li>
5637
5798
  * <li>
5638
5799
  * <p>
5639
- * <code>DELETE_SUCCESSFUL</code> when config rule has been deleted in the member account. </p>
5800
+ * <code>DELETE_SUCCESSFUL</code> when Config rule has been deleted in the member account. </p>
5640
5801
  * </li>
5641
5802
  * <li>
5642
5803
  * <p>
5643
- * <code>UPDATE_SUCCESSFUL</code> when config rule has been updated in the member account.</p>
5804
+ * <code>UPDATE_SUCCESSFUL</code> when Config rule has been updated in the member account.</p>
5644
5805
  * </li>
5645
5806
  * <li>
5646
5807
  * <p>
5647
- * <code>UPDATE_IN_PROGRESS</code> when config rule is being updated in the member account.</p>
5808
+ * <code>UPDATE_IN_PROGRESS</code> when Config rule is being updated in the member account.</p>
5648
5809
  * </li>
5649
5810
  * <li>
5650
5811
  * <p>
5651
- * <code>UPDATE_FAILED</code> when config rule deletion has failed in the member account.</p>
5812
+ * <code>UPDATE_FAILED</code> when Config rule deletion has failed in the member account.</p>
5652
5813
  * </li>
5653
5814
  * </ul>
5654
5815
  */
5655
5816
  MemberAccountRuleStatus: MemberAccountRuleStatus | string | undefined;
5656
5817
  /**
5657
- * <p>An error code that is returned when config rule creation or deletion failed in the member account.</p>
5818
+ * <p>An error code that is returned when Config rule creation or deletion failed in the member account.</p>
5658
5819
  */
5659
5820
  ErrorCode?: string;
5660
5821
  /**
5661
- * <p>An error message indicating that config rule account creation or deletion has failed due to an error in the member account.</p>
5822
+ * <p>An error message indicating that Config rule account creation or deletion has failed due to an error in the member account.</p>
5662
5823
  */
5663
5824
  ErrorMessage?: string;
5664
5825
  /**
@@ -5884,6 +6045,30 @@ export declare namespace GetOrganizationConformancePackDetailedStatusResponse {
5884
6045
  */
5885
6046
  const filterSensitiveLog: (obj: GetOrganizationConformancePackDetailedStatusResponse) => any;
5886
6047
  }
6048
+ export interface GetOrganizationCustomRulePolicyRequest {
6049
+ /**
6050
+ * <p>The name of your organization Config Custom Policy rule. </p>
6051
+ */
6052
+ OrganizationConfigRuleName: string | undefined;
6053
+ }
6054
+ export declare namespace GetOrganizationCustomRulePolicyRequest {
6055
+ /**
6056
+ * @internal
6057
+ */
6058
+ const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyRequest) => any;
6059
+ }
6060
+ export interface GetOrganizationCustomRulePolicyResponse {
6061
+ /**
6062
+ * <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
6063
+ */
6064
+ PolicyText?: string;
6065
+ }
6066
+ export declare namespace GetOrganizationCustomRulePolicyResponse {
6067
+ /**
6068
+ * @internal
6069
+ */
6070
+ const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyResponse) => any;
6071
+ }
5887
6072
  /**
5888
6073
  * <p>The input for the <a>GetResourceConfigHistory</a>
5889
6074
  * action.</p>
@@ -6504,7 +6689,7 @@ export declare class MaxNumberOfDeliveryChannelsExceededException extends __Base
6504
6689
  constructor(opts: __ExceptionOptionType<MaxNumberOfDeliveryChannelsExceededException, __BaseException>);
6505
6690
  }
6506
6691
  /**
6507
- * <p>You have reached the limit of the number of organization config rules you can create.</p>
6692
+ * <p>You have reached the limit of the number of organization Config rules you can create.</p>
6508
6693
  */
6509
6694
  export declare class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
6510
6695
  readonly name: "MaxNumberOfOrganizationConfigRulesExceededException";
@@ -6592,6 +6777,82 @@ export declare class OrganizationConformancePackTemplateValidationException exte
6592
6777
  */
6593
6778
  constructor(opts: __ExceptionOptionType<OrganizationConformancePackTemplateValidationException, __BaseException>);
6594
6779
  }
6780
+ /**
6781
+ * <p>An
6782
+ * object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
6783
+ * debug logging enabled, and other custom rule metadata, such as resource type, resource
6784
+ * ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
6785
+ */
6786
+ export interface OrganizationCustomPolicyRuleMetadata {
6787
+ /**
6788
+ * <p>The description that you provide for your organization Config Custom Policy rule.</p>
6789
+ */
6790
+ Description?: string;
6791
+ /**
6792
+ * <p>The type of notification that initiates Config to run an evaluation for a rule.
6793
+ * For Config Custom Policy rules, Config supports change-initiated notification types:</p>
6794
+ *
6795
+ * <ul>
6796
+ * <li>
6797
+ * <p>
6798
+ * <code>ConfigurationItemChangeNotification</code> - Initiates an evaluation when Config delivers a configuration item as a result of a resource
6799
+ * change.</p>
6800
+ * </li>
6801
+ * <li>
6802
+ * <p>
6803
+ * <code>OversizedConfigurationItemChangeNotification</code> - Initiates an evaluation when
6804
+ * Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the
6805
+ * notification exceeds the maximum size allowed by Amazon SNS.</p>
6806
+ * </li>
6807
+ * </ul>
6808
+ */
6809
+ OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
6810
+ /**
6811
+ * <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
6812
+ */
6813
+ InputParameters?: string;
6814
+ /**
6815
+ * <p>The maximum frequency with which Config runs evaluations for a rule. Your
6816
+ * Config Custom Policy rule is triggered when Config delivers
6817
+ * the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
6818
+ */
6819
+ MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
6820
+ /**
6821
+ * <p>The type of the Amazon Web Services resource that was evaluated.</p>
6822
+ */
6823
+ ResourceTypesScope?: string[];
6824
+ /**
6825
+ * <p>The ID of the Amazon Web Services resource that was evaluated.</p>
6826
+ */
6827
+ ResourceIdScope?: string;
6828
+ /**
6829
+ * <p>One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.</p>
6830
+ */
6831
+ TagKeyScope?: string;
6832
+ /**
6833
+ * <p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).</p>
6834
+ */
6835
+ TagValueScope?: string;
6836
+ /**
6837
+ * <p>The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
6838
+ * Repository</a>.</p>
6839
+ */
6840
+ PolicyRuntime: string | undefined;
6841
+ /**
6842
+ * <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
6843
+ */
6844
+ PolicyText: string | undefined;
6845
+ /**
6846
+ * <p>A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.</p>
6847
+ */
6848
+ DebugLogDeliveryAccounts?: string[];
6849
+ }
6850
+ export declare namespace OrganizationCustomPolicyRuleMetadata {
6851
+ /**
6852
+ * @internal
6853
+ */
6854
+ const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadata) => any;
6855
+ }
6595
6856
  export interface PutAggregationAuthorizationRequest {
6596
6857
  /**
6597
6858
  * <p>The 12-digit account ID of the account authorized to aggregate data.</p>
@@ -6712,7 +6973,7 @@ export interface PutConformancePackRequest {
6712
6973
  /**
6713
6974
  * <p>A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.</p>
6714
6975
  * <note>
6715
- * <p>You can only use a YAML template with one resource type, that is, config rule and a remediation action. </p>
6976
+ * <p>You can only use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and a remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p>
6716
6977
  * </note>
6717
6978
  */
6718
6979
  TemplateBody?: string;
@@ -6848,158 +7109,3 @@ export declare namespace PutExternalEvaluationResponse {
6848
7109
  */
6849
7110
  const filterSensitiveLog: (obj: PutExternalEvaluationResponse) => any;
6850
7111
  }
6851
- export interface PutOrganizationConfigRuleRequest {
6852
- /**
6853
- * <p>The name that you assign to an organization config rule.</p>
6854
- */
6855
- OrganizationConfigRuleName: string | undefined;
6856
- /**
6857
- * <p>An <code>OrganizationManagedRuleMetadata</code> object. </p>
6858
- */
6859
- OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
6860
- /**
6861
- * <p>An <code>OrganizationCustomRuleMetadata</code> object.</p>
6862
- */
6863
- OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
6864
- /**
6865
- * <p>A comma-separated list of accounts that you want to exclude from an organization config rule.</p>
6866
- */
6867
- ExcludedAccounts?: string[];
6868
- }
6869
- export declare namespace PutOrganizationConfigRuleRequest {
6870
- /**
6871
- * @internal
6872
- */
6873
- const filterSensitiveLog: (obj: PutOrganizationConfigRuleRequest) => any;
6874
- }
6875
- export interface PutOrganizationConfigRuleResponse {
6876
- /**
6877
- * <p>The Amazon Resource Name (ARN) of an organization config rule.</p>
6878
- */
6879
- OrganizationConfigRuleArn?: string;
6880
- }
6881
- export declare namespace PutOrganizationConfigRuleResponse {
6882
- /**
6883
- * @internal
6884
- */
6885
- const filterSensitiveLog: (obj: PutOrganizationConfigRuleResponse) => any;
6886
- }
6887
- export interface PutOrganizationConformancePackRequest {
6888
- /**
6889
- * <p>Name of the organization conformance pack you want to create.</p>
6890
- */
6891
- OrganizationConformancePackName: string | undefined;
6892
- /**
6893
- * <p>Location of file containing the template body. The uri must point to the conformance pack template
6894
- * (max size: 300 KB).</p>
6895
- * <note>
6896
- * <p>You must have access to read Amazon S3 bucket.</p>
6897
- * </note>
6898
- */
6899
- TemplateS3Uri?: string;
6900
- /**
6901
- * <p>A string containing full conformance pack template body. Structure containing the template body
6902
- * with a minimum length of 1 byte and a maximum length of 51,200 bytes.</p>
6903
- */
6904
- TemplateBody?: string;
6905
- /**
6906
- * <p>The name of the Amazon S3 bucket where Config stores conformance pack templates.</p>
6907
- * <note>
6908
- * <p>This field is optional. If used, it must be prefixed with <code>awsconfigconforms</code>.</p>
6909
- * </note>
6910
- */
6911
- DeliveryS3Bucket?: string;
6912
- /**
6913
- * <p>The prefix for the Amazon S3 bucket.</p>
6914
- * <note>
6915
- * <p>This field is optional.</p>
6916
- * </note>
6917
- */
6918
- DeliveryS3KeyPrefix?: string;
6919
- /**
6920
- * <p>A list of <code>ConformancePackInputParameter</code> objects.</p>
6921
- */
6922
- ConformancePackInputParameters?: ConformancePackInputParameter[];
6923
- /**
6924
- * <p>A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.</p>
6925
- */
6926
- ExcludedAccounts?: string[];
6927
- }
6928
- export declare namespace PutOrganizationConformancePackRequest {
6929
- /**
6930
- * @internal
6931
- */
6932
- const filterSensitiveLog: (obj: PutOrganizationConformancePackRequest) => any;
6933
- }
6934
- export interface PutOrganizationConformancePackResponse {
6935
- /**
6936
- * <p>ARN of the organization conformance pack.</p>
6937
- */
6938
- OrganizationConformancePackArn?: string;
6939
- }
6940
- export declare namespace PutOrganizationConformancePackResponse {
6941
- /**
6942
- * @internal
6943
- */
6944
- const filterSensitiveLog: (obj: PutOrganizationConformancePackResponse) => any;
6945
- }
6946
- export interface PutRemediationConfigurationsRequest {
6947
- /**
6948
- * <p>A list of remediation configuration objects.</p>
6949
- */
6950
- RemediationConfigurations: RemediationConfiguration[] | undefined;
6951
- }
6952
- export declare namespace PutRemediationConfigurationsRequest {
6953
- /**
6954
- * @internal
6955
- */
6956
- const filterSensitiveLog: (obj: PutRemediationConfigurationsRequest) => any;
6957
- }
6958
- export interface PutRemediationConfigurationsResponse {
6959
- /**
6960
- * <p>Returns a list of failed remediation batch objects.</p>
6961
- */
6962
- FailedBatches?: FailedRemediationBatch[];
6963
- }
6964
- export declare namespace PutRemediationConfigurationsResponse {
6965
- /**
6966
- * @internal
6967
- */
6968
- const filterSensitiveLog: (obj: PutRemediationConfigurationsResponse) => any;
6969
- }
6970
- export interface PutRemediationExceptionsRequest {
6971
- /**
6972
- * <p>The name of the Config rule for which you want to create remediation exception.</p>
6973
- */
6974
- ConfigRuleName: string | undefined;
6975
- /**
6976
- * <p>An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys. </p>
6977
- */
6978
- ResourceKeys: RemediationExceptionResourceKey[] | undefined;
6979
- /**
6980
- * <p>The message contains an explanation of the exception.</p>
6981
- */
6982
- Message?: string;
6983
- /**
6984
- * <p>The exception is automatically deleted after the expiration date.</p>
6985
- */
6986
- ExpirationTime?: Date;
6987
- }
6988
- export declare namespace PutRemediationExceptionsRequest {
6989
- /**
6990
- * @internal
6991
- */
6992
- const filterSensitiveLog: (obj: PutRemediationExceptionsRequest) => any;
6993
- }
6994
- export interface PutRemediationExceptionsResponse {
6995
- /**
6996
- * <p>Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.</p>
6997
- */
6998
- FailedBatches?: FailedRemediationExceptionBatch[];
6999
- }
7000
- export declare namespace PutRemediationExceptionsResponse {
7001
- /**
7002
- * @internal
7003
- */
7004
- const filterSensitiveLog: (obj: PutRemediationExceptionsResponse) => any;
7005
- }