UNPKG

191 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class ConfigService extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: ConfigService.Types.ClientConfiguration)
13 config: Config & ConfigService.Types.ClientConfiguration;
14 /**
15 * Returns the current configuration items for resources that are present in your AWS Config aggregator. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers list. The API does not return results for deleted resources. The API does not return tags and relationships.
16 */
17 batchGetAggregateResourceConfig(params: ConfigService.Types.BatchGetAggregateResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.BatchGetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetAggregateResourceConfigResponse, AWSError>;
18 /**
19 * Returns the current configuration items for resources that are present in your AWS Config aggregator. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers list. The API does not return results for deleted resources. The API does not return tags and relationships.
20 */
21 batchGetAggregateResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.BatchGetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetAggregateResourceConfigResponse, AWSError>;
22 /**
23 * Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list. The API does not return results for deleted resources. The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
24 */
25 batchGetResourceConfig(params: ConfigService.Types.BatchGetResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.BatchGetResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetResourceConfigResponse, AWSError>;
26 /**
27 * Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list. The API does not return results for deleted resources. The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
28 */
29 batchGetResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.BatchGetResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetResourceConfigResponse, AWSError>;
30 /**
31 * Deletes the authorization granted to the specified configuration aggregator account in a specified region.
32 */
33 deleteAggregationAuthorization(params: ConfigService.Types.DeleteAggregationAuthorizationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
34 /**
35 * Deletes the authorization granted to the specified configuration aggregator account in a specified region.
36 */
37 deleteAggregationAuthorization(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
38 /**
39 * Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request.
40 */
41 deleteConfigRule(params: ConfigService.Types.DeleteConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
42 /**
43 * Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request.
44 */
45 deleteConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
46 /**
47 * Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
48 */
49 deleteConfigurationAggregator(params: ConfigService.Types.DeleteConfigurationAggregatorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
50 /**
51 * Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
52 */
53 deleteConfigurationAggregator(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
54 /**
55 * Deletes the configuration recorder. After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder. This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder.
56 */
57 deleteConfigurationRecorder(params: ConfigService.Types.DeleteConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
58 /**
59 * Deletes the configuration recorder. After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder. This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder.
60 */
61 deleteConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
62 /**
63 * Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action.
64 */
65 deleteDeliveryChannel(params: ConfigService.Types.DeleteDeliveryChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
66 /**
67 * Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action.
68 */
69 deleteDeliveryChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70 /**
71 * Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule.
72 */
73 deleteEvaluationResults(params: ConfigService.Types.DeleteEvaluationResultsRequest, callback?: (err: AWSError, data: ConfigService.Types.DeleteEvaluationResultsResponse) => void): Request<ConfigService.Types.DeleteEvaluationResultsResponse, AWSError>;
74 /**
75 * Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule.
76 */
77 deleteEvaluationResults(callback?: (err: AWSError, data: ConfigService.Types.DeleteEvaluationResultsResponse) => void): Request<ConfigService.Types.DeleteEvaluationResultsResponse, AWSError>;
78 /**
79 * Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account can delete an organization config rule. AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
80 */
81 deleteOrganizationConfigRule(params: ConfigService.Types.DeleteOrganizationConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
82 /**
83 * Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account can delete an organization config rule. AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
84 */
85 deleteOrganizationConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86 /**
87 * Deletes pending authorization requests for a specified aggregator account in a specified region.
88 */
89 deletePendingAggregationRequest(params: ConfigService.Types.DeletePendingAggregationRequestRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90 /**
91 * Deletes pending authorization requests for a specified aggregator account in a specified region.
92 */
93 deletePendingAggregationRequest(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
94 /**
95 * Deletes the remediation configuration.
96 */
97 deleteRemediationConfiguration(params: ConfigService.Types.DeleteRemediationConfigurationRequest, callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationConfigurationResponse) => void): Request<ConfigService.Types.DeleteRemediationConfigurationResponse, AWSError>;
98 /**
99 * Deletes the remediation configuration.
100 */
101 deleteRemediationConfiguration(callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationConfigurationResponse) => void): Request<ConfigService.Types.DeleteRemediationConfigurationResponse, AWSError>;
102 /**
103 * Deletes one or more remediation exceptions mentioned in the resource keys.
104 */
105 deleteRemediationExceptions(params: ConfigService.Types.DeleteRemediationExceptionsRequest, callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationExceptionsResponse) => void): Request<ConfigService.Types.DeleteRemediationExceptionsResponse, AWSError>;
106 /**
107 * Deletes one or more remediation exceptions mentioned in the resource keys.
108 */
109 deleteRemediationExceptions(callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationExceptionsResponse) => void): Request<ConfigService.Types.DeleteRemediationExceptionsResponse, AWSError>;
110 /**
111 * Deletes the retention configuration.
112 */
113 deleteRetentionConfiguration(params: ConfigService.Types.DeleteRetentionConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
114 /**
115 * Deletes the retention configuration.
116 */
117 deleteRetentionConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
118 /**
119 * Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified. Notification of the start of the delivery. Notification of the completion of the delivery, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed.
120 */
121 deliverConfigSnapshot(params: ConfigService.Types.DeliverConfigSnapshotRequest, callback?: (err: AWSError, data: ConfigService.Types.DeliverConfigSnapshotResponse) => void): Request<ConfigService.Types.DeliverConfigSnapshotResponse, AWSError>;
122 /**
123 * Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified. Notification of the start of the delivery. Notification of the completion of the delivery, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed.
124 */
125 deliverConfigSnapshot(callback?: (err: AWSError, data: ConfigService.Types.DeliverConfigSnapshotResponse) => void): Request<ConfigService.Types.DeliverConfigSnapshotResponse, AWSError>;
126 /**
127 * Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
128 */
129 describeAggregateComplianceByConfigRules(params: ConfigService.Types.DescribeAggregateComplianceByConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse) => void): Request<ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse, AWSError>;
130 /**
131 * Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
132 */
133 describeAggregateComplianceByConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse) => void): Request<ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse, AWSError>;
134 /**
135 * Returns a list of authorizations granted to various aggregator accounts and regions.
136 */
137 describeAggregationAuthorizations(params: ConfigService.Types.DescribeAggregationAuthorizationsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregationAuthorizationsResponse) => void): Request<ConfigService.Types.DescribeAggregationAuthorizationsResponse, AWSError>;
138 /**
139 * Returns a list of authorizations granted to various aggregator accounts and regions.
140 */
141 describeAggregationAuthorizations(callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregationAuthorizationsResponse) => void): Request<ConfigService.Types.DescribeAggregationAuthorizationsResponse, AWSError>;
142 /**
143 * Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule. A rule is compliant if all of the evaluated resources comply with it. It is noncompliant if any of these resources do not comply. If AWS Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
144 */
145 describeComplianceByConfigRule(params: ConfigService.Types.DescribeComplianceByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByConfigRuleResponse) => void): Request<ConfigService.Types.DescribeComplianceByConfigRuleResponse, AWSError>;
146 /**
147 * Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule. A rule is compliant if all of the evaluated resources comply with it. It is noncompliant if any of these resources do not comply. If AWS Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
148 */
149 describeComplianceByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByConfigRuleResponse) => void): Request<ConfigService.Types.DescribeComplianceByConfigRuleResponse, AWSError>;
150 /**
151 * Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with. A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules. If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
152 */
153 describeComplianceByResource(params: ConfigService.Types.DescribeComplianceByResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByResourceResponse) => void): Request<ConfigService.Types.DescribeComplianceByResourceResponse, AWSError>;
154 /**
155 * Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with. A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules. If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
156 */
157 describeComplianceByResource(callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByResourceResponse) => void): Request<ConfigService.Types.DescribeComplianceByResourceResponse, AWSError>;
158 /**
159 * Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.
160 */
161 describeConfigRuleEvaluationStatus(params: ConfigService.Types.DescribeConfigRuleEvaluationStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse) => void): Request<ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse, AWSError>;
162 /**
163 * Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.
164 */
165 describeConfigRuleEvaluationStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse) => void): Request<ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse, AWSError>;
166 /**
167 * Returns details about your AWS Config rules.
168 */
169 describeConfigRules(params: ConfigService.Types.DescribeConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRulesResponse) => void): Request<ConfigService.Types.DescribeConfigRulesResponse, AWSError>;
170 /**
171 * Returns details about your AWS Config rules.
172 */
173 describeConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRulesResponse) => void): Request<ConfigService.Types.DescribeConfigRulesResponse, AWSError>;
174 /**
175 * Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message.
176 */
177 describeConfigurationAggregatorSourcesStatus(params: ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse, AWSError>;
178 /**
179 * Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message.
180 */
181 describeConfigurationAggregatorSourcesStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse, AWSError>;
182 /**
183 * Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
184 */
185 describeConfigurationAggregators(params: ConfigService.Types.DescribeConfigurationAggregatorsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorsResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorsResponse, AWSError>;
186 /**
187 * Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
188 */
189 describeConfigurationAggregators(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorsResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorsResponse, AWSError>;
190 /**
191 * Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
192 */
193 describeConfigurationRecorderStatus(params: ConfigService.Types.DescribeConfigurationRecorderStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecorderStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecorderStatusResponse, AWSError>;
194 /**
195 * Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
196 */
197 describeConfigurationRecorderStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecorderStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecorderStatusResponse, AWSError>;
198 /**
199 * Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
200 */
201 describeConfigurationRecorders(params: ConfigService.Types.DescribeConfigurationRecordersRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecordersResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecordersResponse, AWSError>;
202 /**
203 * Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
204 */
205 describeConfigurationRecorders(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecordersResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecordersResponse, AWSError>;
206 /**
207 * Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
208 */
209 describeDeliveryChannelStatus(params: ConfigService.Types.DescribeDeliveryChannelStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelStatusResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelStatusResponse, AWSError>;
210 /**
211 * Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
212 */
213 describeDeliveryChannelStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelStatusResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelStatusResponse, AWSError>;
214 /**
215 * Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
216 */
217 describeDeliveryChannels(params: ConfigService.Types.DescribeDeliveryChannelsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelsResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelsResponse, AWSError>;
218 /**
219 * Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
220 */
221 describeDeliveryChannels(callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelsResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelsResponse, AWSError>;
222 /**
223 * Provides organization config rule deployment status for an organization. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
224 */
225 describeOrganizationConfigRuleStatuses(params: ConfigService.Types.DescribeOrganizationConfigRuleStatusesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse, AWSError>;
226 /**
227 * Provides organization config rule deployment status for an organization. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
228 */
229 describeOrganizationConfigRuleStatuses(callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse, AWSError>;
230 /**
231 * Returns a list of organization config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
232 */
233 describeOrganizationConfigRules(params: ConfigService.Types.DescribeOrganizationConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRulesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRulesResponse, AWSError>;
234 /**
235 * Returns a list of organization config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
236 */
237 describeOrganizationConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRulesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRulesResponse, AWSError>;
238 /**
239 * Returns a list of all pending aggregation requests.
240 */
241 describePendingAggregationRequests(params: ConfigService.Types.DescribePendingAggregationRequestsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribePendingAggregationRequestsResponse) => void): Request<ConfigService.Types.DescribePendingAggregationRequestsResponse, AWSError>;
242 /**
243 * Returns a list of all pending aggregation requests.
244 */
245 describePendingAggregationRequests(callback?: (err: AWSError, data: ConfigService.Types.DescribePendingAggregationRequestsResponse) => void): Request<ConfigService.Types.DescribePendingAggregationRequestsResponse, AWSError>;
246 /**
247 * Returns the details of one or more remediation configurations.
248 */
249 describeRemediationConfigurations(params: ConfigService.Types.DescribeRemediationConfigurationsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRemediationConfigurationsResponse, AWSError>;
250 /**
251 * Returns the details of one or more remediation configurations.
252 */
253 describeRemediationConfigurations(callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRemediationConfigurationsResponse, AWSError>;
254 /**
255 * Returns the details of one or more remediation exceptions. A detailed view of a remediation exception for a set of resources that includes an explanation of an exception and the time when the exception will be deleted. When you specify the limit and the next token, you receive a paginated response. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you request resources in batch. It is only applicable, when you request all resources.
256 */
257 describeRemediationExceptions(params: ConfigService.Types.DescribeRemediationExceptionsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExceptionsResponse) => void): Request<ConfigService.Types.DescribeRemediationExceptionsResponse, AWSError>;
258 /**
259 * Returns the details of one or more remediation exceptions. A detailed view of a remediation exception for a set of resources that includes an explanation of an exception and the time when the exception will be deleted. When you specify the limit and the next token, you receive a paginated response. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you request resources in batch. It is only applicable, when you request all resources.
260 */
261 describeRemediationExceptions(callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExceptionsResponse) => void): Request<ConfigService.Types.DescribeRemediationExceptionsResponse, AWSError>;
262 /**
263 * Provides a detailed view of a Remediation Execution for a set of resources including state, timestamps for when steps for the remediation execution occur, and any error messages for steps that have failed. When you specify the limit and the next token, you receive a paginated response.
264 */
265 describeRemediationExecutionStatus(params: ConfigService.Types.DescribeRemediationExecutionStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExecutionStatusResponse) => void): Request<ConfigService.Types.DescribeRemediationExecutionStatusResponse, AWSError>;
266 /**
267 * Provides a detailed view of a Remediation Execution for a set of resources including state, timestamps for when steps for the remediation execution occur, and any error messages for steps that have failed. When you specify the limit and the next token, you receive a paginated response.
268 */
269 describeRemediationExecutionStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExecutionStatusResponse) => void): Request<ConfigService.Types.DescribeRemediationExecutionStatusResponse, AWSError>;
270 /**
271 * Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.
272 */
273 describeRetentionConfigurations(params: ConfigService.Types.DescribeRetentionConfigurationsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRetentionConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRetentionConfigurationsResponse, AWSError>;
274 /**
275 * Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.
276 */
277 describeRetentionConfigurations(callback?: (err: AWSError, data: ConfigService.Types.DescribeRetentionConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRetentionConfigurationsResponse, AWSError>;
278 /**
279 * Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule. The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.
280 */
281 getAggregateComplianceDetailsByConfigRule(params: ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse, AWSError>;
282 /**
283 * Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule. The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.
284 */
285 getAggregateComplianceDetailsByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse, AWSError>;
286 /**
287 * Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
288 */
289 getAggregateConfigRuleComplianceSummary(params: ConfigService.Types.GetAggregateConfigRuleComplianceSummaryRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse) => void): Request<ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse, AWSError>;
290 /**
291 * Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
292 */
293 getAggregateConfigRuleComplianceSummary(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse) => void): Request<ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse, AWSError>;
294 /**
295 * Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey. For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.
296 */
297 getAggregateDiscoveredResourceCounts(params: ConfigService.Types.GetAggregateDiscoveredResourceCountsRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse, AWSError>;
298 /**
299 * Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey. For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.
300 */
301 getAggregateDiscoveredResourceCounts(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse, AWSError>;
302 /**
303 * Returns configuration item that is aggregated for your specific resource in a specific source account and region.
304 */
305 getAggregateResourceConfig(params: ConfigService.Types.GetAggregateResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.GetAggregateResourceConfigResponse, AWSError>;
306 /**
307 * Returns configuration item that is aggregated for your specific resource in a specific source account and region.
308 */
309 getAggregateResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.GetAggregateResourceConfigResponse, AWSError>;
310 /**
311 * Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
312 */
313 getComplianceDetailsByConfigRule(params: ConfigService.Types.GetComplianceDetailsByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByConfigRuleResponse, AWSError>;
314 /**
315 * Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
316 */
317 getComplianceDetailsByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByConfigRuleResponse, AWSError>;
318 /**
319 * Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
320 */
321 getComplianceDetailsByResource(params: ConfigService.Types.GetComplianceDetailsByResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByResourceResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByResourceResponse, AWSError>;
322 /**
323 * Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
324 */
325 getComplianceDetailsByResource(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByResourceResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByResourceResponse, AWSError>;
326 /**
327 * Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
328 */
329 getComplianceSummaryByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByConfigRuleResponse) => void): Request<ConfigService.Types.GetComplianceSummaryByConfigRuleResponse, AWSError>;
330 /**
331 * Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
332 */
333 getComplianceSummaryByResourceType(params: ConfigService.Types.GetComplianceSummaryByResourceTypeRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByResourceTypeResponse) => void): Request<ConfigService.Types.GetComplianceSummaryByResourceTypeResponse, AWSError>;
334 /**
335 * Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
336 */
337 getComplianceSummaryByResourceType(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByResourceTypeResponse) => void): Request<ConfigService.Types.GetComplianceSummaryByResourceTypeResponse, AWSError>;
338 /**
339 * Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types. AWS Config returns the following: The resource types (EC2 instances, IAM users, and S3 buckets). The number of each resource type (25, 20, and 15). The total number of all resources (60). The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations: You are a new AWS Config customer. You just enabled resource recording. It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
340 */
341 getDiscoveredResourceCounts(params: ConfigService.Types.GetDiscoveredResourceCountsRequest, callback?: (err: AWSError, data: ConfigService.Types.GetDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetDiscoveredResourceCountsResponse, AWSError>;
342 /**
343 * Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types. AWS Config returns the following: The resource types (EC2 instances, IAM users, and S3 buckets). The number of each resource type (25, 20, and 15). The total number of all resources (60). The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations: You are a new AWS Config customer. You just enabled resource recording. It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
344 */
345 getDiscoveredResourceCounts(callback?: (err: AWSError, data: ConfigService.Types.GetDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetDiscoveredResourceCountsResponse, AWSError>;
346 /**
347 * Returns detailed status for each member account within an organization for a given organization config rule. Only a master account can call this API.
348 */
349 getOrganizationConfigRuleDetailedStatus(params: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse) => void): Request<ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse, AWSError>;
350 /**
351 * Returns detailed status for each member account within an organization for a given organization config rule. Only a master account can call this API.
352 */
353 getOrganizationConfigRuleDetailedStatus(callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse) => void): Request<ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse, AWSError>;
354 /**
355 * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config returns the ConfigurationItems for the specified retention period. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
356 */
357 getResourceConfigHistory(params: ConfigService.Types.GetResourceConfigHistoryRequest, callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request<ConfigService.Types.GetResourceConfigHistoryResponse, AWSError>;
358 /**
359 * Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config returns the ConfigurationItems for the specified retention period. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
360 */
361 getResourceConfigHistory(callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request<ConfigService.Types.GetResourceConfigHistoryResponse, AWSError>;
362 /**
363 * Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region. For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type AWS::EC2::Instance then the API returns all the EC2 instance identifiers of accountID 12345678910 and region us-east-1.
364 */
365 listAggregateDiscoveredResources(params: ConfigService.Types.ListAggregateDiscoveredResourcesRequest, callback?: (err: AWSError, data: ConfigService.Types.ListAggregateDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListAggregateDiscoveredResourcesResponse, AWSError>;
366 /**
367 * Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region. For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type AWS::EC2::Instance then the API returns all the EC2 instance identifiers of accountID 12345678910 and region us-east-1.
368 */
369 listAggregateDiscoveredResources(callback?: (err: AWSError, data: ConfigService.Types.ListAggregateDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListAggregateDiscoveredResourcesResponse, AWSError>;
370 /**
371 * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name, but not both, in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.
372 */
373 listDiscoveredResources(params: ConfigService.Types.ListDiscoveredResourcesRequest, callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListDiscoveredResourcesResponse, AWSError>;
374 /**
375 * Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name, but not both, in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.
376 */
377 listDiscoveredResources(callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListDiscoveredResourcesResponse, AWSError>;
378 /**
379 * List the tags for AWS Config resource.
380 */
381 listTagsForResource(params: ConfigService.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.ListTagsForResourceResponse) => void): Request<ConfigService.Types.ListTagsForResourceResponse, AWSError>;
382 /**
383 * List the tags for AWS Config resource.
384 */
385 listTagsForResource(callback?: (err: AWSError, data: ConfigService.Types.ListTagsForResourceResponse) => void): Request<ConfigService.Types.ListTagsForResourceResponse, AWSError>;
386 /**
387 * Authorizes the aggregator account and region to collect data from the source account and region.
388 */
389 putAggregationAuthorization(params: ConfigService.Types.PutAggregationAuthorizationRequest, callback?: (err: AWSError, data: ConfigService.Types.PutAggregationAuthorizationResponse) => void): Request<ConfigService.Types.PutAggregationAuthorizationResponse, AWSError>;
390 /**
391 * Authorizes the aggregator account and region to collect data from the source account and region.
392 */
393 putAggregationAuthorization(callback?: (err: AWSError, data: ConfigService.Types.PutAggregationAuthorizationResponse) => void): Request<ConfigService.Types.PutAggregationAuthorizationResponse, AWSError>;
394 /**
395 * Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations. You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides. If you are adding a new custom AWS Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules. For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by AWS Config for new rules. If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 150. For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide. For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
396 */
397 putConfigRule(params: ConfigService.Types.PutConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
398 /**
399 * Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations. You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides. If you are adding a new custom AWS Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules. For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by AWS Config for new rules. If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 150. For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide. For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
400 */
401 putConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
402 /**
403 * Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization. AWS Config should be enabled in source accounts and regions you want to aggregate. If your source type is an organization, you must be signed in to the master account and all features must be enabled in your organization. AWS Config calls EnableAwsServiceAccess API to enable integration between AWS Config and AWS Organizations.
404 */
405 putConfigurationAggregator(params: ConfigService.Types.PutConfigurationAggregatorRequest, callback?: (err: AWSError, data: ConfigService.Types.PutConfigurationAggregatorResponse) => void): Request<ConfigService.Types.PutConfigurationAggregatorResponse, AWSError>;
406 /**
407 * Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization. AWS Config should be enabled in source accounts and regions you want to aggregate. If your source type is an organization, you must be signed in to the master account and all features must be enabled in your organization. AWS Config calls EnableAwsServiceAccess API to enable integration between AWS Config and AWS Organizations.
408 */
409 putConfigurationAggregator(callback?: (err: AWSError, data: ConfigService.Types.PutConfigurationAggregatorResponse) => void): Request<ConfigService.Types.PutConfigurationAggregatorResponse, AWSError>;
410 /**
411 * Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.
412 */
413 putConfigurationRecorder(params: ConfigService.Types.PutConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
414 /**
415 * Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.
416 */
417 putConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
418 /**
419 * Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic. Before you can create a delivery channel, you must create a configuration recorder. You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed. You can have only one delivery channel per region in your account.
420 */
421 putDeliveryChannel(params: ConfigService.Types.PutDeliveryChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
422 /**
423 * Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic. Before you can create a delivery channel, you must create a configuration recorder. You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed. You can have only one delivery channel per region in your account.
424 */
425 putDeliveryChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
426 /**
427 * Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
428 */
429 putEvaluations(params: ConfigService.Types.PutEvaluationsRequest, callback?: (err: AWSError, data: ConfigService.Types.PutEvaluationsResponse) => void): Request<ConfigService.Types.PutEvaluationsResponse, AWSError>;
430 /**
431 * Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
432 */
433 putEvaluations(callback?: (err: AWSError, data: ConfigService.Types.PutEvaluationsResponse) => void): Request<ConfigService.Types.PutEvaluationsResponse, AWSError>;
434 /**
435 * Adds or updates organization config rule for your entire organization evaluating whether your AWS resources comply with your desired configurations. Only a master account can create or update an organization config rule. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master account of your organization. The service linked role is created only when the role does not exist in the master account. AWS Config verifies the existence of role with GetRole action. You can use this action to create both custom AWS Config rules and AWS managed Config rules. If you are adding a new custom AWS Config rule, you must first create AWS Lambda function in the master account that the rule invokes to evaluate your resources. When you use the PutOrganizationConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. If you are adding an AWS managed Config rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that AWS Config supports is 150. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
436 */
437 putOrganizationConfigRule(params: ConfigService.Types.PutOrganizationConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.PutOrganizationConfigRuleResponse) => void): Request<ConfigService.Types.PutOrganizationConfigRuleResponse, AWSError>;
438 /**
439 * Adds or updates organization config rule for your entire organization evaluating whether your AWS resources comply with your desired configurations. Only a master account can create or update an organization config rule. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master account of your organization. The service linked role is created only when the role does not exist in the master account. AWS Config verifies the existence of role with GetRole action. You can use this action to create both custom AWS Config rules and AWS managed Config rules. If you are adding a new custom AWS Config rule, you must first create AWS Lambda function in the master account that the rule invokes to evaluate your resources. When you use the PutOrganizationConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. If you are adding an AWS managed Config rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that AWS Config supports is 150. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
440 */
441 putOrganizationConfigRule(callback?: (err: AWSError, data: ConfigService.Types.PutOrganizationConfigRuleResponse) => void): Request<ConfigService.Types.PutOrganizationConfigRuleResponse, AWSError>;
442 /**
443 * Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action. The API creates the RemediationConfiguration object for the AWS Config rule. The AWS Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target.
444 */
445 putRemediationConfigurations(params: ConfigService.Types.PutRemediationConfigurationsRequest, callback?: (err: AWSError, data: ConfigService.Types.PutRemediationConfigurationsResponse) => void): Request<ConfigService.Types.PutRemediationConfigurationsResponse, AWSError>;
446 /**
447 * Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action. The API creates the RemediationConfiguration object for the AWS Config rule. The AWS Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target.
448 */
449 putRemediationConfigurations(callback?: (err: AWSError, data: ConfigService.Types.PutRemediationConfigurationsResponse) => void): Request<ConfigService.Types.PutRemediationConfigurationsResponse, AWSError>;
450 /**
451 * A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an exisiting exception for a specific resource with a specific AWS Config rule.
452 */
453 putRemediationExceptions(params: ConfigService.Types.PutRemediationExceptionsRequest, callback?: (err: AWSError, data: ConfigService.Types.PutRemediationExceptionsResponse) => void): Request<ConfigService.Types.PutRemediationExceptionsResponse, AWSError>;
454 /**
455 * A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an exisiting exception for a specific resource with a specific AWS Config rule.
456 */
457 putRemediationExceptions(callback?: (err: AWSError, data: ConfigService.Types.PutRemediationExceptionsResponse) => void): Request<ConfigService.Types.PutRemediationExceptionsResponse, AWSError>;
458 /**
459 * Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object. Currently, AWS Config supports only one retention configuration per region in your account.
460 */
461 putRetentionConfiguration(params: ConfigService.Types.PutRetentionConfigurationRequest, callback?: (err: AWSError, data: ConfigService.Types.PutRetentionConfigurationResponse) => void): Request<ConfigService.Types.PutRetentionConfigurationResponse, AWSError>;
462 /**
463 * Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object. Currently, AWS Config supports only one retention configuration per region in your account.
464 */
465 putRetentionConfiguration(callback?: (err: AWSError, data: ConfigService.Types.PutRetentionConfigurationResponse) => void): Request<ConfigService.Types.PutRetentionConfigurationResponse, AWSError>;
466 /**
467 * Accepts a structured query language (SQL) SELECT command, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components section in the AWS Config Developer Guide.
468 */
469 selectResourceConfig(params: ConfigService.Types.SelectResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.SelectResourceConfigResponse) => void): Request<ConfigService.Types.SelectResourceConfigResponse, AWSError>;
470 /**
471 * Accepts a structured query language (SQL) SELECT command, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components section in the AWS Config Developer Guide.
472 */
473 selectResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.SelectResourceConfigResponse) => void): Request<ConfigService.Types.SelectResourceConfigResponse, AWSError>;
474 /**
475 * Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. You can specify up to 25 AWS Config rules per request. An existing StartConfigRulesEvaluation call for the specified rules must complete before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted notification when the evaluation starts. You don't need to call the StartConfigRulesEvaluation API to run an evaluation for a new rule. When you create a rule, AWS Config evaluates your resources against the rule automatically. The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example: You have a custom rule that evaluates your IAM resources every 24 hours. You update your Lambda function to add additional conditions to your rule. Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API. AWS Config invokes your Lambda function and evaluates your IAM resources. Your custom rule will still run periodic evaluations every 24 hours.
476 */
477 startConfigRulesEvaluation(params: ConfigService.Types.StartConfigRulesEvaluationRequest, callback?: (err: AWSError, data: ConfigService.Types.StartConfigRulesEvaluationResponse) => void): Request<ConfigService.Types.StartConfigRulesEvaluationResponse, AWSError>;
478 /**
479 * Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. You can specify up to 25 AWS Config rules per request. An existing StartConfigRulesEvaluation call for the specified rules must complete before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted notification when the evaluation starts. You don't need to call the StartConfigRulesEvaluation API to run an evaluation for a new rule. When you create a rule, AWS Config evaluates your resources against the rule automatically. The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example: You have a custom rule that evaluates your IAM resources every 24 hours. You update your Lambda function to add additional conditions to your rule. Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API. AWS Config invokes your Lambda function and evaluates your IAM resources. Your custom rule will still run periodic evaluations every 24 hours.
480 */
481 startConfigRulesEvaluation(callback?: (err: AWSError, data: ConfigService.Types.StartConfigRulesEvaluationResponse) => void): Request<ConfigService.Types.StartConfigRulesEvaluationResponse, AWSError>;
482 /**
483 * Starts recording configurations of the AWS resources you have selected to record in your AWS account. You must have created at least one delivery channel to successfully start the configuration recorder.
484 */
485 startConfigurationRecorder(params: ConfigService.Types.StartConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
486 /**
487 * Starts recording configurations of the AWS resources you have selected to record in your AWS account. You must have created at least one delivery channel to successfully start the configuration recorder.
488 */
489 startConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
490 /**
491 * Runs an on-demand remediation for the specified AWS Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous. You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.
492 */
493 startRemediationExecution(params: ConfigService.Types.StartRemediationExecutionRequest, callback?: (err: AWSError, data: ConfigService.Types.StartRemediationExecutionResponse) => void): Request<ConfigService.Types.StartRemediationExecutionResponse, AWSError>;
494 /**
495 * Runs an on-demand remediation for the specified AWS Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous. You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.
496 */
497 startRemediationExecution(callback?: (err: AWSError, data: ConfigService.Types.StartRemediationExecutionResponse) => void): Request<ConfigService.Types.StartRemediationExecutionResponse, AWSError>;
498 /**
499 * Stops recording configurations of the AWS resources you have selected to record in your AWS account.
500 */
501 stopConfigurationRecorder(params: ConfigService.Types.StopConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
502 /**
503 * Stops recording configurations of the AWS resources you have selected to record in your AWS account.
504 */
505 stopConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
506 /**
507 * Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
508 */
509 tagResource(params: ConfigService.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
510 /**
511 * Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
512 */
513 tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
514 /**
515 * Deletes specified tags from a resource.
516 */
517 untagResource(params: ConfigService.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
518 /**
519 * Deletes specified tags from a resource.
520 */
521 untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
522}
523declare namespace ConfigService {
524 export type ARN = string;
525 export interface AccountAggregationSource {
526 /**
527 * The 12-digit account ID of the account being aggregated.
528 */
529 AccountIds: AccountAggregationSourceAccountList;
530 /**
531 * If true, aggregate existing AWS Config regions and future regions.
532 */
533 AllAwsRegions?: Boolean;
534 /**
535 * The source regions being aggregated.
536 */
537 AwsRegions?: AggregatorRegionList;
538 }
539 export type AccountAggregationSourceAccountList = AccountId[];
540 export type AccountAggregationSourceList = AccountAggregationSource[];
541 export type AccountId = string;
542 export interface AggregateComplianceByConfigRule {
543 /**
544 * The name of the AWS Config rule.
545 */
546 ConfigRuleName?: ConfigRuleName;
547 /**
548 * Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
549 */
550 Compliance?: Compliance;
551 /**
552 * The 12-digit account ID of the source account.
553 */
554 AccountId?: AccountId;
555 /**
556 * The source region from where the data is aggregated.
557 */
558 AwsRegion?: AwsRegion;
559 }
560 export type AggregateComplianceByConfigRuleList = AggregateComplianceByConfigRule[];
561 export interface AggregateComplianceCount {
562 /**
563 * The 12-digit account ID or region based on the GroupByKey value.
564 */
565 GroupName?: StringWithCharLimit256;
566 /**
567 * The number of compliant and noncompliant AWS Config rules.
568 */
569 ComplianceSummary?: ComplianceSummary;
570 }
571 export type AggregateComplianceCountList = AggregateComplianceCount[];
572 export interface AggregateEvaluationResult {
573 /**
574 * Uniquely identifies the evaluation result.
575 */
576 EvaluationResultIdentifier?: EvaluationResultIdentifier;
577 /**
578 * The resource compliance status. For the AggregationEvaluationResult data type, AWS Config supports only the COMPLIANT and NON_COMPLIANT. AWS Config does not support the NOT_APPLICABLE and INSUFFICIENT_DATA value.
579 */
580 ComplianceType?: ComplianceType;
581 /**
582 * The time when AWS Config recorded the aggregate evaluation result.
583 */
584 ResultRecordedTime?: _Date;
585 /**
586 * The time when the AWS Config rule evaluated the AWS resource.
587 */
588 ConfigRuleInvokedTime?: _Date;
589 /**
590 * Supplementary information about how the agrregate evaluation determined the compliance.
591 */
592 Annotation?: StringWithCharLimit256;
593 /**
594 * The 12-digit account ID of the source account.
595 */
596 AccountId?: AccountId;
597 /**
598 * The source region from where the data is aggregated.
599 */
600 AwsRegion?: AwsRegion;
601 }
602 export type AggregateEvaluationResultList = AggregateEvaluationResult[];
603 export interface AggregateResourceIdentifier {
604 /**
605 * The 12-digit account ID of the source account.
606 */
607 SourceAccountId: AccountId;
608 /**
609 * The source region where data is aggregated.
610 */
611 SourceRegion: AwsRegion;
612 /**
613 * The ID of the AWS resource.
614 */
615 ResourceId: ResourceId;
616 /**
617 * The type of the AWS resource.
618 */
619 ResourceType: ResourceType;
620 /**
621 * The name of the AWS resource.
622 */
623 ResourceName?: ResourceName;
624 }
625 export interface AggregatedSourceStatus {
626 /**
627 * The source account ID or an organization.
628 */
629 SourceId?: String;
630 /**
631 * The source account or an organization.
632 */
633 SourceType?: AggregatedSourceType;
634 /**
635 * The region authorized to collect aggregated data.
636 */
637 AwsRegion?: AwsRegion;
638 /**
639 * Filters the last updated status type. Valid value FAILED indicates errors while moving data. Valid value SUCCEEDED indicates the data was successfully moved. Valid value OUTDATED indicates the data is not the most recent.
640 */
641 LastUpdateStatus?: AggregatedSourceStatusType;
642 /**
643 * The time of the last update.
644 */
645 LastUpdateTime?: _Date;
646 /**
647 * The error code that AWS Config returned when the source account aggregation last failed.
648 */
649 LastErrorCode?: String;
650 /**
651 * The message indicating that the source account aggregation failed due to an error.
652 */
653 LastErrorMessage?: String;
654 }
655 export type AggregatedSourceStatusList = AggregatedSourceStatus[];
656 export type AggregatedSourceStatusType = "FAILED"|"SUCCEEDED"|"OUTDATED"|string;
657 export type AggregatedSourceStatusTypeList = AggregatedSourceStatusType[];
658 export type AggregatedSourceType = "ACCOUNT"|"ORGANIZATION"|string;
659 export interface AggregationAuthorization {
660 /**
661 * The Amazon Resource Name (ARN) of the aggregation object.
662 */
663 AggregationAuthorizationArn?: String;
664 /**
665 * The 12-digit account ID of the account authorized to aggregate data.
666 */
667 AuthorizedAccountId?: AccountId;
668 /**
669 * The region authorized to collect aggregated data.
670 */
671 AuthorizedAwsRegion?: AwsRegion;
672 /**
673 * The time stamp when the aggregation authorization was created.
674 */
675 CreationTime?: _Date;
676 }
677 export type AggregationAuthorizationList = AggregationAuthorization[];
678 export type AggregatorRegionList = String[];
679 export type AllSupported = boolean;
680 export type AmazonResourceName = string;
681 export type AutoRemediationAttemptSeconds = number;
682 export type AutoRemediationAttempts = number;
683 export type AvailabilityZone = string;
684 export type AwsRegion = string;
685 export interface BaseConfigurationItem {
686 /**
687 * The version number of the resource configuration.
688 */
689 version?: Version;
690 /**
691 * The 12-digit AWS account ID associated with the resource.
692 */
693 accountId?: AccountId;
694 /**
695 * The time when the configuration recording was initiated.
696 */
697 configurationItemCaptureTime?: ConfigurationItemCaptureTime;
698 /**
699 * The configuration item status.
700 */
701 configurationItemStatus?: ConfigurationItemStatus;
702 /**
703 * An identifier that indicates the ordering of the configuration items of a resource.
704 */
705 configurationStateId?: ConfigurationStateId;
706 /**
707 * The Amazon Resource Name (ARN) of the resource.
708 */
709 arn?: ARN;
710 /**
711 * The type of AWS resource.
712 */
713 resourceType?: ResourceType;
714 /**
715 * The ID of the resource (for example., sg-xxxxxx).
716 */
717 resourceId?: ResourceId;
718 /**
719 * The custom name of the resource, if available.
720 */
721 resourceName?: ResourceName;
722 /**
723 * The region where the resource resides.
724 */
725 awsRegion?: AwsRegion;
726 /**
727 * The Availability Zone associated with the resource.
728 */
729 availabilityZone?: AvailabilityZone;
730 /**
731 * The time stamp when the resource was created.
732 */
733 resourceCreationTime?: ResourceCreationTime;
734 /**
735 * The description of the resource configuration.
736 */
737 configuration?: Configuration;
738 /**
739 * Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter.
740 */
741 supplementaryConfiguration?: SupplementaryConfiguration;
742 }
743 export type BaseConfigurationItems = BaseConfigurationItem[];
744 export type BaseResourceId = string;
745 export interface BatchGetAggregateResourceConfigRequest {
746 /**
747 * The name of the configuration aggregator.
748 */
749 ConfigurationAggregatorName: ConfigurationAggregatorName;
750 /**
751 * A list of aggregate ResourceIdentifiers objects.
752 */
753 ResourceIdentifiers: ResourceIdentifiersList;
754 }
755 export interface BatchGetAggregateResourceConfigResponse {
756 /**
757 * A list that contains the current configuration of one or more resources.
758 */
759 BaseConfigurationItems?: BaseConfigurationItems;
760 /**
761 * A list of resource identifiers that were not processed with current scope. The list is empty if all the resources are processed.
762 */
763 UnprocessedResourceIdentifiers?: UnprocessedResourceIdentifierList;
764 }
765 export interface BatchGetResourceConfigRequest {
766 /**
767 * A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
768 */
769 resourceKeys: ResourceKeys;
770 }
771 export interface BatchGetResourceConfigResponse {
772 /**
773 * A list that contains the current configuration of one or more resources.
774 */
775 baseConfigurationItems?: BaseConfigurationItems;
776 /**
777 * A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.
778 */
779 unprocessedResourceKeys?: ResourceKeys;
780 }
781 export type Boolean = boolean;
782 export type ChannelName = string;
783 export type ChronologicalOrder = "Reverse"|"Forward"|string;
784 export interface Compliance {
785 /**
786 * Indicates whether an AWS resource or AWS Config rule is compliant. A resource is compliant if it complies with all of the AWS Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules. A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply. AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS resource or AWS Config rule. For the Compliance data type, AWS Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the NOT_APPLICABLE value for the Compliance data type.
787 */
788 ComplianceType?: ComplianceType;
789 /**
790 * The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a maximum number.
791 */
792 ComplianceContributorCount?: ComplianceContributorCount;
793 }
794 export interface ComplianceByConfigRule {
795 /**
796 * The name of the AWS Config rule.
797 */
798 ConfigRuleName?: StringWithCharLimit64;
799 /**
800 * Indicates whether the AWS Config rule is compliant.
801 */
802 Compliance?: Compliance;
803 }
804 export type ComplianceByConfigRules = ComplianceByConfigRule[];
805 export interface ComplianceByResource {
806 /**
807 * The type of the AWS resource that was evaluated.
808 */
809 ResourceType?: StringWithCharLimit256;
810 /**
811 * The ID of the AWS resource that was evaluated.
812 */
813 ResourceId?: BaseResourceId;
814 /**
815 * Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
816 */
817 Compliance?: Compliance;
818 }
819 export type ComplianceByResources = ComplianceByResource[];
820 export interface ComplianceContributorCount {
821 /**
822 * The number of AWS resources or AWS Config rules responsible for the current compliance of the item.
823 */
824 CappedCount?: Integer;
825 /**
826 * Indicates whether the maximum count is reached.
827 */
828 CapExceeded?: Boolean;
829 }
830 export type ComplianceResourceTypes = StringWithCharLimit256[];
831 export type ComplianceSummariesByResourceType = ComplianceSummaryByResourceType[];
832 export interface ComplianceSummary {
833 /**
834 * The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
835 */
836 CompliantResourceCount?: ComplianceContributorCount;
837 /**
838 * The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
839 */
840 NonCompliantResourceCount?: ComplianceContributorCount;
841 /**
842 * The time that AWS Config created the compliance summary.
843 */
844 ComplianceSummaryTimestamp?: _Date;
845 }
846 export interface ComplianceSummaryByResourceType {
847 /**
848 * The type of AWS resource.
849 */
850 ResourceType?: StringWithCharLimit256;
851 /**
852 * The number of AWS resources that are compliant or noncompliant, up to a maximum of 100 for each.
853 */
854 ComplianceSummary?: ComplianceSummary;
855 }
856 export type ComplianceType = "COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA"|string;
857 export type ComplianceTypes = ComplianceType[];
858 export interface ConfigExportDeliveryInfo {
859 /**
860 * Status of the last attempted delivery.
861 */
862 lastStatus?: DeliveryStatus;
863 /**
864 * The error code from the last attempted delivery.
865 */
866 lastErrorCode?: String;
867 /**
868 * The error message from the last attempted delivery.
869 */
870 lastErrorMessage?: String;
871 /**
872 * The time of the last attempted delivery.
873 */
874 lastAttemptTime?: _Date;
875 /**
876 * The time of the last successful delivery.
877 */
878 lastSuccessfulTime?: _Date;
879 /**
880 * The time that the next delivery occurs.
881 */
882 nextDeliveryTime?: _Date;
883 }
884 export interface ConfigRule {
885 /**
886 * The name that you assign to the AWS Config rule. The name is required if you are adding a new rule.
887 */
888 ConfigRuleName?: StringWithCharLimit64;
889 /**
890 * The Amazon Resource Name (ARN) of the AWS Config rule.
891 */
892 ConfigRuleArn?: String;
893 /**
894 * The ID of the AWS Config rule.
895 */
896 ConfigRuleId?: String;
897 /**
898 * The description that you provide for the AWS Config rule.
899 */
900 Description?: EmptiableStringWithCharLimit256;
901 /**
902 * Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
903 */
904 Scope?: Scope;
905 /**
906 * Provides the rule owner (AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.
907 */
908 Source: Source;
909 /**
910 * A string, in JSON format, that is passed to the AWS Config rule Lambda function.
911 */
912 InputParameters?: StringWithCharLimit1024;
913 /**
914 * The maximum frequency with which AWS Config runs evaluations for a rule. You can specify a value for MaximumExecutionFrequency when: You are using an AWS managed rule that is triggered at a periodic frequency. Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.
915 */
916 MaximumExecutionFrequency?: MaximumExecutionFrequency;
917 /**
918 * Indicates whether the AWS Config rule is active or is currently being deleted by AWS Config. It can also indicate the evaluation status for the AWS Config rule. AWS Config sets the state of the rule to EVALUATING temporarily after you use the StartConfigRulesEvaluation request to evaluate your resources against the AWS Config rule. AWS Config sets the state of the rule to DELETING_RESULTS temporarily after you use the DeleteEvaluationResults request to delete the current evaluation results for the AWS Config rule. AWS Config temporarily sets the state of a rule to DELETING after you use the DeleteConfigRule request to delete the rule. After AWS Config deletes the rule, the rule and all of its evaluations are erased and are no longer available.
919 */
920 ConfigRuleState?: ConfigRuleState;
921 /**
922 * Service principal name of the service that created the rule. The field is populated only if the service linked rule is created by a service. The field is empty if you create your own rule.
923 */
924 CreatedBy?: StringWithCharLimit256;
925 }
926 export interface ConfigRuleComplianceFilters {
927 /**
928 * The name of the AWS Config rule.
929 */
930 ConfigRuleName?: ConfigRuleName;
931 /**
932 * The rule compliance status. For the ConfigRuleComplianceFilters data type, AWS Config supports only COMPLIANT and NON_COMPLIANT. AWS Config does not support the NOT_APPLICABLE and the INSUFFICIENT_DATA values.
933 */
934 ComplianceType?: ComplianceType;
935 /**
936 * The 12-digit account ID of the source account.
937 */
938 AccountId?: AccountId;
939 /**
940 * The source region where the data is aggregated.
941 */
942 AwsRegion?: AwsRegion;
943 }
944 export interface ConfigRuleComplianceSummaryFilters {
945 /**
946 * The 12-digit account ID of the source account.
947 */
948 AccountId?: AccountId;
949 /**
950 * The source region where the data is aggregated.
951 */
952 AwsRegion?: AwsRegion;
953 }
954 export type ConfigRuleComplianceSummaryGroupKey = "ACCOUNT_ID"|"AWS_REGION"|string;
955 export interface ConfigRuleEvaluationStatus {
956 /**
957 * The name of the AWS Config rule.
958 */
959 ConfigRuleName?: StringWithCharLimit64;
960 /**
961 * The Amazon Resource Name (ARN) of the AWS Config rule.
962 */
963 ConfigRuleArn?: String;
964 /**
965 * The ID of the AWS Config rule.
966 */
967 ConfigRuleId?: String;
968 /**
969 * The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.
970 */
971 LastSuccessfulInvocationTime?: _Date;
972 /**
973 * The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.
974 */
975 LastFailedInvocationTime?: _Date;
976 /**
977 * The time that AWS Config last successfully evaluated your AWS resources against the rule.
978 */
979 LastSuccessfulEvaluationTime?: _Date;
980 /**
981 * The time that AWS Config last failed to evaluate your AWS resources against the rule.
982 */
983 LastFailedEvaluationTime?: _Date;
984 /**
985 * The time that you first activated the AWS Config rule.
986 */
987 FirstActivatedTime?: _Date;
988 /**
989 * The error code that AWS Config returned when the rule last failed.
990 */
991 LastErrorCode?: String;
992 /**
993 * The error message that AWS Config returned when the rule last failed.
994 */
995 LastErrorMessage?: String;
996 /**
997 * Indicates whether AWS Config has evaluated your resources against the rule at least once. true - AWS Config has evaluated your AWS resources against the rule at least once. false - AWS Config has not once finished evaluating your AWS resources against the rule.
998 */
999 FirstEvaluationStarted?: Boolean;
1000 }
1001 export type ConfigRuleEvaluationStatusList = ConfigRuleEvaluationStatus[];
1002 export type ConfigRuleName = string;
1003 export type ConfigRuleNames = ConfigRuleName[];
1004 export type ConfigRuleState = "ACTIVE"|"DELETING"|"DELETING_RESULTS"|"EVALUATING"|string;
1005 export type ConfigRules = ConfigRule[];
1006 export interface ConfigSnapshotDeliveryProperties {
1007 /**
1008 * The frequency with which AWS Config delivers configuration snapshots.
1009 */
1010 deliveryFrequency?: MaximumExecutionFrequency;
1011 }
1012 export interface ConfigStreamDeliveryInfo {
1013 /**
1014 * Status of the last attempted delivery. Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
1015 */
1016 lastStatus?: DeliveryStatus;
1017 /**
1018 * The error code from the last attempted delivery.
1019 */
1020 lastErrorCode?: String;
1021 /**
1022 * The error message from the last attempted delivery.
1023 */
1024 lastErrorMessage?: String;
1025 /**
1026 * The time from the last status change.
1027 */
1028 lastStatusChangeTime?: _Date;
1029 }
1030 export type Configuration = string;
1031 export interface ConfigurationAggregator {
1032 /**
1033 * The name of the aggregator.
1034 */
1035 ConfigurationAggregatorName?: ConfigurationAggregatorName;
1036 /**
1037 * The Amazon Resource Name (ARN) of the aggregator.
1038 */
1039 ConfigurationAggregatorArn?: ConfigurationAggregatorArn;
1040 /**
1041 * Provides a list of source accounts and regions to be aggregated.
1042 */
1043 AccountAggregationSources?: AccountAggregationSourceList;
1044 /**
1045 * Provides an organization and list of regions to be aggregated.
1046 */
1047 OrganizationAggregationSource?: OrganizationAggregationSource;
1048 /**
1049 * The time stamp when the configuration aggregator was created.
1050 */
1051 CreationTime?: _Date;
1052 /**
1053 * The time of the last update.
1054 */
1055 LastUpdatedTime?: _Date;
1056 }
1057 export type ConfigurationAggregatorArn = string;
1058 export type ConfigurationAggregatorList = ConfigurationAggregator[];
1059 export type ConfigurationAggregatorName = string;
1060 export type ConfigurationAggregatorNameList = ConfigurationAggregatorName[];
1061 export interface ConfigurationItem {
1062 /**
1063 * The version number of the resource configuration.
1064 */
1065 version?: Version;
1066 /**
1067 * The 12-digit AWS account ID associated with the resource.
1068 */
1069 accountId?: AccountId;
1070 /**
1071 * The time when the configuration recording was initiated.
1072 */
1073 configurationItemCaptureTime?: ConfigurationItemCaptureTime;
1074 /**
1075 * The configuration item status.
1076 */
1077 configurationItemStatus?: ConfigurationItemStatus;
1078 /**
1079 * An identifier that indicates the ordering of the configuration items of a resource.
1080 */
1081 configurationStateId?: ConfigurationStateId;
1082 /**
1083 * Unique MD5 hash that represents the configuration item's state. You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
1084 */
1085 configurationItemMD5Hash?: ConfigurationItemMD5Hash;
1086 /**
1087 * accoun
1088 */
1089 arn?: ARN;
1090 /**
1091 * The type of AWS resource.
1092 */
1093 resourceType?: ResourceType;
1094 /**
1095 * The ID of the resource (for example, sg-xxxxxx).
1096 */
1097 resourceId?: ResourceId;
1098 /**
1099 * The custom name of the resource, if available.
1100 */
1101 resourceName?: ResourceName;
1102 /**
1103 * The region where the resource resides.
1104 */
1105 awsRegion?: AwsRegion;
1106 /**
1107 * The Availability Zone associated with the resource.
1108 */
1109 availabilityZone?: AvailabilityZone;
1110 /**
1111 * The time stamp when the resource was created.
1112 */
1113 resourceCreationTime?: ResourceCreationTime;
1114 /**
1115 * A mapping of key value tags associated with the resource.
1116 */
1117 tags?: Tags;
1118 /**
1119 * A list of CloudTrail event IDs. A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What Is AWS CloudTrail. An empty field indicates that the current configuration was not initiated by any event.
1120 */
1121 relatedEvents?: RelatedEventList;
1122 /**
1123 * A list of related AWS resources.
1124 */
1125 relationships?: RelationshipList;
1126 /**
1127 * The description of the resource configuration.
1128 */
1129 configuration?: Configuration;
1130 /**
1131 * Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter.
1132 */
1133 supplementaryConfiguration?: SupplementaryConfiguration;
1134 }
1135 export type ConfigurationItemCaptureTime = Date;
1136 export type ConfigurationItemList = ConfigurationItem[];
1137 export type ConfigurationItemMD5Hash = string;
1138 export type ConfigurationItemStatus = "OK"|"ResourceDiscovered"|"ResourceNotRecorded"|"ResourceDeleted"|"ResourceDeletedNotRecorded"|string;
1139 export interface ConfigurationRecorder {
1140 /**
1141 * The name of the recorder. By default, AWS Config automatically assigns the name "default" when creating the configuration recorder. You cannot change the assigned name.
1142 */
1143 name?: RecorderName;
1144 /**
1145 * Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
1146 */
1147 roleARN?: String;
1148 /**
1149 * Specifies the types of AWS resources for which AWS Config records configuration changes.
1150 */
1151 recordingGroup?: RecordingGroup;
1152 }
1153 export type ConfigurationRecorderList = ConfigurationRecorder[];
1154 export type ConfigurationRecorderNameList = RecorderName[];
1155 export interface ConfigurationRecorderStatus {
1156 /**
1157 * The name of the configuration recorder.
1158 */
1159 name?: String;
1160 /**
1161 * The time the recorder was last started.
1162 */
1163 lastStartTime?: _Date;
1164 /**
1165 * The time the recorder was last stopped.
1166 */
1167 lastStopTime?: _Date;
1168 /**
1169 * Specifies whether or not the recorder is currently recording.
1170 */
1171 recording?: Boolean;
1172 /**
1173 * The last (previous) status of the recorder.
1174 */
1175 lastStatus?: RecorderStatus;
1176 /**
1177 * The error code indicating that the recording failed.
1178 */
1179 lastErrorCode?: String;
1180 /**
1181 * The message indicating that the recording failed due to an error.
1182 */
1183 lastErrorMessage?: String;
1184 /**
1185 * The time when the status was last changed.
1186 */
1187 lastStatusChangeTime?: _Date;
1188 }
1189 export type ConfigurationRecorderStatusList = ConfigurationRecorderStatus[];
1190 export type ConfigurationStateId = string;
1191 export type CosmosPageLimit = number;
1192 export type _Date = Date;
1193 export interface DeleteAggregationAuthorizationRequest {
1194 /**
1195 * The 12-digit account ID of the account authorized to aggregate data.
1196 */
1197 AuthorizedAccountId: AccountId;
1198 /**
1199 * The region authorized to collect aggregated data.
1200 */
1201 AuthorizedAwsRegion: AwsRegion;
1202 }
1203 export interface DeleteConfigRuleRequest {
1204 /**
1205 * The name of the AWS Config rule that you want to delete.
1206 */
1207 ConfigRuleName: StringWithCharLimit64;
1208 }
1209 export interface DeleteConfigurationAggregatorRequest {
1210 /**
1211 * The name of the configuration aggregator.
1212 */
1213 ConfigurationAggregatorName: ConfigurationAggregatorName;
1214 }
1215 export interface DeleteConfigurationRecorderRequest {
1216 /**
1217 * The name of the configuration recorder to be deleted. You can retrieve the name of your configuration recorder by using the DescribeConfigurationRecorders action.
1218 */
1219 ConfigurationRecorderName: RecorderName;
1220 }
1221 export interface DeleteDeliveryChannelRequest {
1222 /**
1223 * The name of the delivery channel to delete.
1224 */
1225 DeliveryChannelName: ChannelName;
1226 }
1227 export interface DeleteEvaluationResultsRequest {
1228 /**
1229 * The name of the AWS Config rule for which you want to delete the evaluation results.
1230 */
1231 ConfigRuleName: StringWithCharLimit64;
1232 }
1233 export interface DeleteEvaluationResultsResponse {
1234 }
1235 export interface DeleteOrganizationConfigRuleRequest {
1236 /**
1237 * The name of organization config rule that you want to delete.
1238 */
1239 OrganizationConfigRuleName: OrganizationConfigRuleName;
1240 }
1241 export interface DeletePendingAggregationRequestRequest {
1242 /**
1243 * The 12-digit account ID of the account requesting to aggregate data.
1244 */
1245 RequesterAccountId: AccountId;
1246 /**
1247 * The region requesting to aggregate data.
1248 */
1249 RequesterAwsRegion: AwsRegion;
1250 }
1251 export interface DeleteRemediationConfigurationRequest {
1252 /**
1253 * The name of the AWS Config rule for which you want to delete remediation configuration.
1254 */
1255 ConfigRuleName: ConfigRuleName;
1256 /**
1257 * The type of a resource.
1258 */
1259 ResourceType?: String;
1260 }
1261 export interface DeleteRemediationConfigurationResponse {
1262 }
1263 export interface DeleteRemediationExceptionsRequest {
1264 /**
1265 * The name of the AWS Config rule for which you want to delete remediation exception configuration.
1266 */
1267 ConfigRuleName: ConfigRuleName;
1268 /**
1269 * An exception list of resource exception keys to be processed with the current request. AWS Config adds exception for each resource key. For example, AWS Config adds 3 exceptions for 3 resource keys.
1270 */
1271 ResourceKeys: RemediationExceptionResourceKeys;
1272 }
1273 export interface DeleteRemediationExceptionsResponse {
1274 /**
1275 * Returns a list of failed delete remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
1276 */
1277 FailedBatches?: FailedDeleteRemediationExceptionsBatches;
1278 }
1279 export interface DeleteRetentionConfigurationRequest {
1280 /**
1281 * The name of the retention configuration to delete.
1282 */
1283 RetentionConfigurationName: RetentionConfigurationName;
1284 }
1285 export interface DeliverConfigSnapshotRequest {
1286 /**
1287 * The name of the delivery channel through which the snapshot is delivered.
1288 */
1289 deliveryChannelName: ChannelName;
1290 }
1291 export interface DeliverConfigSnapshotResponse {
1292 /**
1293 * The ID of the snapshot that is being created.
1294 */
1295 configSnapshotId?: String;
1296 }
1297 export interface DeliveryChannel {
1298 /**
1299 * The name of the delivery channel. By default, AWS Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.
1300 */
1301 name?: ChannelName;
1302 /**
1303 * The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files. If you specify a bucket that belongs to another AWS account, that bucket must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon S3 Bucket in the AWS Config Developer Guide.
1304 */
1305 s3BucketName?: String;
1306 /**
1307 * The prefix for the specified Amazon S3 bucket.
1308 */
1309 s3KeyPrefix?: String;
1310 /**
1311 * The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes. If you choose a topic from another account, the topic must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon SNS Topic in the AWS Config Developer Guide.
1312 */
1313 snsTopicARN?: String;
1314 /**
1315 * The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
1316 */
1317 configSnapshotDeliveryProperties?: ConfigSnapshotDeliveryProperties;
1318 }
1319 export type DeliveryChannelList = DeliveryChannel[];
1320 export type DeliveryChannelNameList = ChannelName[];
1321 export interface DeliveryChannelStatus {
1322 /**
1323 * The name of the delivery channel.
1324 */
1325 name?: String;
1326 /**
1327 * A list containing the status of the delivery of the snapshot to the specified Amazon S3 bucket.
1328 */
1329 configSnapshotDeliveryInfo?: ConfigExportDeliveryInfo;
1330 /**
1331 * A list that contains the status of the delivery of the configuration history to the specified Amazon S3 bucket.
1332 */
1333 configHistoryDeliveryInfo?: ConfigExportDeliveryInfo;
1334 /**
1335 * A list containing the status of the delivery of the configuration stream notification to the specified Amazon SNS topic.
1336 */
1337 configStreamDeliveryInfo?: ConfigStreamDeliveryInfo;
1338 }
1339 export type DeliveryChannelStatusList = DeliveryChannelStatus[];
1340 export type DeliveryStatus = "Success"|"Failure"|"Not_Applicable"|string;
1341 export interface DescribeAggregateComplianceByConfigRulesRequest {
1342 /**
1343 * The name of the configuration aggregator.
1344 */
1345 ConfigurationAggregatorName: ConfigurationAggregatorName;
1346 /**
1347 * Filters the results by ConfigRuleComplianceFilters object.
1348 */
1349 Filters?: ConfigRuleComplianceFilters;
1350 /**
1351 * The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
1352 */
1353 Limit?: GroupByAPILimit;
1354 /**
1355 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1356 */
1357 NextToken?: NextToken;
1358 }
1359 export interface DescribeAggregateComplianceByConfigRulesResponse {
1360 /**
1361 * Returns a list of AggregateComplianceByConfigRule object.
1362 */
1363 AggregateComplianceByConfigRules?: AggregateComplianceByConfigRuleList;
1364 /**
1365 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1366 */
1367 NextToken?: NextToken;
1368 }
1369 export interface DescribeAggregationAuthorizationsRequest {
1370 /**
1371 * The maximum number of AggregationAuthorizations returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
1372 */
1373 Limit?: Limit;
1374 /**
1375 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1376 */
1377 NextToken?: String;
1378 }
1379 export interface DescribeAggregationAuthorizationsResponse {
1380 /**
1381 * Returns a list of authorizations granted to various aggregator accounts and regions.
1382 */
1383 AggregationAuthorizations?: AggregationAuthorizationList;
1384 /**
1385 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1386 */
1387 NextToken?: String;
1388 }
1389 export interface DescribeComplianceByConfigRuleRequest {
1390 /**
1391 * Specify one or more AWS Config rule names to filter the results by rule.
1392 */
1393 ConfigRuleNames?: ConfigRuleNames;
1394 /**
1395 * Filters the results by compliance. The allowed values are COMPLIANT and NON_COMPLIANT.
1396 */
1397 ComplianceTypes?: ComplianceTypes;
1398 /**
1399 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1400 */
1401 NextToken?: String;
1402 }
1403 export interface DescribeComplianceByConfigRuleResponse {
1404 /**
1405 * Indicates whether each of the specified AWS Config rules is compliant.
1406 */
1407 ComplianceByConfigRules?: ComplianceByConfigRules;
1408 /**
1409 * The string that you use in a subsequent request to get the next page of results in a paginated response.
1410 */
1411 NextToken?: String;
1412 }
1413 export interface DescribeComplianceByResourceRequest {
1414 /**
1415 * The types of AWS resources for which you want compliance information (for example, AWS::EC2::Instance). For this action, you can specify that the resource type is an AWS account by specifying AWS::::Account.
1416 */
1417 ResourceType?: StringWithCharLimit256;
1418 /**
1419 * The ID of the AWS resource for which you want compliance information. You can specify only one resource ID. If you specify a resource ID, you must also specify a type for ResourceType.
1420 */
1421 ResourceId?: BaseResourceId;
1422 /**
1423 * Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
1424 */
1425 ComplianceTypes?: ComplianceTypes;
1426 /**
1427 * The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
1428 */
1429 Limit?: Limit;
1430 /**
1431 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1432 */
1433 NextToken?: NextToken;
1434 }
1435 export interface DescribeComplianceByResourceResponse {
1436 /**
1437 * Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
1438 */
1439 ComplianceByResources?: ComplianceByResources;
1440 /**
1441 * The string that you use in a subsequent request to get the next page of results in a paginated response.
1442 */
1443 NextToken?: NextToken;
1444 }
1445 export interface DescribeConfigRuleEvaluationStatusRequest {
1446 /**
1447 * The name of the AWS managed Config rules for which you want status information. If you do not specify any names, AWS Config returns status information for all AWS managed Config rules that you use.
1448 */
1449 ConfigRuleNames?: ConfigRuleNames;
1450 /**
1451 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1452 */
1453 NextToken?: String;
1454 /**
1455 * The number of rule evaluation results that you want returned. This parameter is required if the rule limit for your account is more than the default of 150 rules. For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide.
1456 */
1457 Limit?: RuleLimit;
1458 }
1459 export interface DescribeConfigRuleEvaluationStatusResponse {
1460 /**
1461 * Status information about your AWS managed Config rules.
1462 */
1463 ConfigRulesEvaluationStatus?: ConfigRuleEvaluationStatusList;
1464 /**
1465 * The string that you use in a subsequent request to get the next page of results in a paginated response.
1466 */
1467 NextToken?: String;
1468 }
1469 export interface DescribeConfigRulesRequest {
1470 /**
1471 * The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
1472 */
1473 ConfigRuleNames?: ConfigRuleNames;
1474 /**
1475 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1476 */
1477 NextToken?: String;
1478 }
1479 export interface DescribeConfigRulesResponse {
1480 /**
1481 * The details about your AWS Config rules.
1482 */
1483 ConfigRules?: ConfigRules;
1484 /**
1485 * The string that you use in a subsequent request to get the next page of results in a paginated response.
1486 */
1487 NextToken?: String;
1488 }
1489 export interface DescribeConfigurationAggregatorSourcesStatusRequest {
1490 /**
1491 * The name of the configuration aggregator.
1492 */
1493 ConfigurationAggregatorName: ConfigurationAggregatorName;
1494 /**
1495 * Filters the status type. Valid value FAILED indicates errors while moving data. Valid value SUCCEEDED indicates the data was successfully moved. Valid value OUTDATED indicates the data is not the most recent.
1496 */
1497 UpdateStatus?: AggregatedSourceStatusTypeList;
1498 /**
1499 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1500 */
1501 NextToken?: String;
1502 /**
1503 * The maximum number of AggregatorSourceStatus returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
1504 */
1505 Limit?: Limit;
1506 }
1507 export interface DescribeConfigurationAggregatorSourcesStatusResponse {
1508 /**
1509 * Returns an AggregatedSourceStatus object.
1510 */
1511 AggregatedSourceStatusList?: AggregatedSourceStatusList;
1512 /**
1513 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1514 */
1515 NextToken?: String;
1516 }
1517 export interface DescribeConfigurationAggregatorsRequest {
1518 /**
1519 * The name of the configuration aggregators.
1520 */
1521 ConfigurationAggregatorNames?: ConfigurationAggregatorNameList;
1522 /**
1523 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1524 */
1525 NextToken?: String;
1526 /**
1527 * The maximum number of configuration aggregators returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
1528 */
1529 Limit?: Limit;
1530 }
1531 export interface DescribeConfigurationAggregatorsResponse {
1532 /**
1533 * Returns a ConfigurationAggregators object.
1534 */
1535 ConfigurationAggregators?: ConfigurationAggregatorList;
1536 /**
1537 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1538 */
1539 NextToken?: String;
1540 }
1541 export interface DescribeConfigurationRecorderStatusRequest {
1542 /**
1543 * The name(s) of the configuration recorder. If the name is not specified, the action returns the current status of all the configuration recorders associated with the account.
1544 */
1545 ConfigurationRecorderNames?: ConfigurationRecorderNameList;
1546 }
1547 export interface DescribeConfigurationRecorderStatusResponse {
1548 /**
1549 * A list that contains status of the specified recorders.
1550 */
1551 ConfigurationRecordersStatus?: ConfigurationRecorderStatusList;
1552 }
1553 export interface DescribeConfigurationRecordersRequest {
1554 /**
1555 * A list of configuration recorder names.
1556 */
1557 ConfigurationRecorderNames?: ConfigurationRecorderNameList;
1558 }
1559 export interface DescribeConfigurationRecordersResponse {
1560 /**
1561 * A list that contains the descriptions of the specified configuration recorders.
1562 */
1563 ConfigurationRecorders?: ConfigurationRecorderList;
1564 }
1565 export interface DescribeDeliveryChannelStatusRequest {
1566 /**
1567 * A list of delivery channel names.
1568 */
1569 DeliveryChannelNames?: DeliveryChannelNameList;
1570 }
1571 export interface DescribeDeliveryChannelStatusResponse {
1572 /**
1573 * A list that contains the status of a specified delivery channel.
1574 */
1575 DeliveryChannelsStatus?: DeliveryChannelStatusList;
1576 }
1577 export interface DescribeDeliveryChannelsRequest {
1578 /**
1579 * A list of delivery channel names.
1580 */
1581 DeliveryChannelNames?: DeliveryChannelNameList;
1582 }
1583 export interface DescribeDeliveryChannelsResponse {
1584 /**
1585 * A list that contains the descriptions of the specified delivery channel.
1586 */
1587 DeliveryChannels?: DeliveryChannelList;
1588 }
1589 export interface DescribeOrganizationConfigRuleStatusesRequest {
1590 /**
1591 * The names of organization config rules for which you want status details. If you do not specify any names, AWS Config returns details for all your organization AWS Confg rules.
1592 */
1593 OrganizationConfigRuleNames?: OrganizationConfigRuleNames;
1594 /**
1595 * The maximum number of OrganizationConfigRuleStatuses returned on each page. If you do no specify a number, AWS Config uses the default. The default is 100.
1596 */
1597 Limit?: CosmosPageLimit;
1598 /**
1599 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1600 */
1601 NextToken?: String;
1602 }
1603 export interface DescribeOrganizationConfigRuleStatusesResponse {
1604 /**
1605 * A list of OrganizationConfigRuleStatus objects.
1606 */
1607 OrganizationConfigRuleStatuses?: OrganizationConfigRuleStatuses;
1608 /**
1609 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1610 */
1611 NextToken?: String;
1612 }
1613 export interface DescribeOrganizationConfigRulesRequest {
1614 /**
1615 * The names of organization config rules for which you want details. If you do not specify any names, AWS Config returns details for all your organization config rules.
1616 */
1617 OrganizationConfigRuleNames?: OrganizationConfigRuleNames;
1618 /**
1619 * The maximum number of organization config rules returned on each page. If you do no specify a number, AWS Config uses the default. The default is 100.
1620 */
1621 Limit?: CosmosPageLimit;
1622 /**
1623 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1624 */
1625 NextToken?: String;
1626 }
1627 export interface DescribeOrganizationConfigRulesResponse {
1628 /**
1629 * Retuns a list OrganizationConfigRule objects.
1630 */
1631 OrganizationConfigRules?: OrganizationConfigRules;
1632 /**
1633 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1634 */
1635 NextToken?: String;
1636 }
1637 export type DescribePendingAggregationRequestsLimit = number;
1638 export interface DescribePendingAggregationRequestsRequest {
1639 /**
1640 * The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
1641 */
1642 Limit?: DescribePendingAggregationRequestsLimit;
1643 /**
1644 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1645 */
1646 NextToken?: String;
1647 }
1648 export interface DescribePendingAggregationRequestsResponse {
1649 /**
1650 * Returns a PendingAggregationRequests object.
1651 */
1652 PendingAggregationRequests?: PendingAggregationRequestList;
1653 /**
1654 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1655 */
1656 NextToken?: String;
1657 }
1658 export interface DescribeRemediationConfigurationsRequest {
1659 /**
1660 * A list of AWS Config rule names of remediation configurations for which you want details.
1661 */
1662 ConfigRuleNames: ConfigRuleNames;
1663 }
1664 export interface DescribeRemediationConfigurationsResponse {
1665 /**
1666 * Returns a remediation configuration object.
1667 */
1668 RemediationConfigurations?: RemediationConfigurations;
1669 }
1670 export interface DescribeRemediationExceptionsRequest {
1671 /**
1672 * The name of the AWS Config rule.
1673 */
1674 ConfigRuleName: ConfigRuleName;
1675 /**
1676 * An exception list of resource exception keys to be processed with the current request. AWS Config adds exception for each resource key. For example, AWS Config adds 3 exceptions for 3 resource keys.
1677 */
1678 ResourceKeys?: RemediationExceptionResourceKeys;
1679 /**
1680 * The maximum number of RemediationExceptionResourceKey returned on each page. The default is 25. If you specify 0, AWS Config uses the default.
1681 */
1682 Limit?: Limit;
1683 /**
1684 * The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
1685 */
1686 NextToken?: String;
1687 }
1688 export interface DescribeRemediationExceptionsResponse {
1689 /**
1690 * Returns a list of remediation exception objects.
1691 */
1692 RemediationExceptions?: RemediationExceptions;
1693 /**
1694 * The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
1695 */
1696 NextToken?: String;
1697 }
1698 export interface DescribeRemediationExecutionStatusRequest {
1699 /**
1700 * A list of AWS Config rule names.
1701 */
1702 ConfigRuleName: ConfigRuleName;
1703 /**
1704 * A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
1705 */
1706 ResourceKeys?: ResourceKeys;
1707 /**
1708 * The maximum number of RemediationExecutionStatuses returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
1709 */
1710 Limit?: Limit;
1711 /**
1712 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1713 */
1714 NextToken?: String;
1715 }
1716 export interface DescribeRemediationExecutionStatusResponse {
1717 /**
1718 * Returns a list of remediation execution statuses objects.
1719 */
1720 RemediationExecutionStatuses?: RemediationExecutionStatuses;
1721 /**
1722 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1723 */
1724 NextToken?: String;
1725 }
1726 export interface DescribeRetentionConfigurationsRequest {
1727 /**
1728 * A list of names of retention configurations for which you want details. If you do not specify a name, AWS Config returns details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.
1729 */
1730 RetentionConfigurationNames?: RetentionConfigurationNameList;
1731 /**
1732 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1733 */
1734 NextToken?: NextToken;
1735 }
1736 export interface DescribeRetentionConfigurationsResponse {
1737 /**
1738 * Returns a retention configuration object.
1739 */
1740 RetentionConfigurations?: RetentionConfigurationList;
1741 /**
1742 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1743 */
1744 NextToken?: NextToken;
1745 }
1746 export type DiscoveredResourceIdentifierList = AggregateResourceIdentifier[];
1747 export type EarlierTime = Date;
1748 export type EmptiableStringWithCharLimit256 = string;
1749 export interface Evaluation {
1750 /**
1751 * The type of AWS resource that was evaluated.
1752 */
1753 ComplianceResourceType: StringWithCharLimit256;
1754 /**
1755 * The ID of the AWS resource that was evaluated.
1756 */
1757 ComplianceResourceId: BaseResourceId;
1758 /**
1759 * Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against. For the Evaluation data type, AWS Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for this data type. Similarly, AWS Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations request. For example, an AWS Lambda function for a custom AWS Config rule cannot pass an INSUFFICIENT_DATA value to AWS Config.
1760 */
1761 ComplianceType: ComplianceType;
1762 /**
1763 * Supplementary information about how the evaluation determined the compliance.
1764 */
1765 Annotation?: StringWithCharLimit256;
1766 /**
1767 * The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).
1768 */
1769 OrderingTimestamp: OrderingTimestamp;
1770 }
1771 export interface EvaluationResult {
1772 /**
1773 * Uniquely identifies the evaluation result.
1774 */
1775 EvaluationResultIdentifier?: EvaluationResultIdentifier;
1776 /**
1777 * Indicates whether the AWS resource complies with the AWS Config rule that evaluated it. For the EvaluationResult data type, AWS Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.
1778 */
1779 ComplianceType?: ComplianceType;
1780 /**
1781 * The time when AWS Config recorded the evaluation result.
1782 */
1783 ResultRecordedTime?: _Date;
1784 /**
1785 * The time when the AWS Config rule evaluated the AWS resource.
1786 */
1787 ConfigRuleInvokedTime?: _Date;
1788 /**
1789 * Supplementary information about how the evaluation determined the compliance.
1790 */
1791 Annotation?: StringWithCharLimit256;
1792 /**
1793 * An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.
1794 */
1795 ResultToken?: String;
1796 }
1797 export interface EvaluationResultIdentifier {
1798 /**
1799 * Identifies an AWS Config rule used to evaluate an AWS resource, and provides the type and ID of the evaluated resource.
1800 */
1801 EvaluationResultQualifier?: EvaluationResultQualifier;
1802 /**
1803 * The time of the event that triggered the evaluation of your AWS resources. The time can indicate when AWS Config delivered a configuration item change notification, or it can indicate when AWS Config delivered the configuration snapshot, depending on which event triggered the evaluation.
1804 */
1805 OrderingTimestamp?: _Date;
1806 }
1807 export interface EvaluationResultQualifier {
1808 /**
1809 * The name of the AWS Config rule that was used in the evaluation.
1810 */
1811 ConfigRuleName?: StringWithCharLimit64;
1812 /**
1813 * The type of AWS resource that was evaluated.
1814 */
1815 ResourceType?: StringWithCharLimit256;
1816 /**
1817 * The ID of the evaluated AWS resource.
1818 */
1819 ResourceId?: BaseResourceId;
1820 }
1821 export type EvaluationResults = EvaluationResult[];
1822 export type Evaluations = Evaluation[];
1823 export type EventSource = "aws.config"|string;
1824 export type ExcludedAccounts = AccountId[];
1825 export interface ExecutionControls {
1826 /**
1827 * A SsmControls object.
1828 */
1829 SsmControls?: SsmControls;
1830 }
1831 export type Expression = string;
1832 export interface FailedDeleteRemediationExceptionsBatch {
1833 /**
1834 * Returns a failure message for delete remediation exception. For example, AWS Config creates an exception due to an internal error.
1835 */
1836 FailureMessage?: String;
1837 /**
1838 * Returns remediation exception resource key object of the failed items.
1839 */
1840 FailedItems?: RemediationExceptionResourceKeys;
1841 }
1842 export type FailedDeleteRemediationExceptionsBatches = FailedDeleteRemediationExceptionsBatch[];
1843 export interface FailedRemediationBatch {
1844 /**
1845 * Returns a failure message. For example, the resource is already compliant.
1846 */
1847 FailureMessage?: String;
1848 /**
1849 * Returns remediation configurations of the failed items.
1850 */
1851 FailedItems?: RemediationConfigurations;
1852 }
1853 export type FailedRemediationBatches = FailedRemediationBatch[];
1854 export interface FailedRemediationExceptionBatch {
1855 /**
1856 * Returns a failure message. For example, the auto-remediation has failed.
1857 */
1858 FailureMessage?: String;
1859 /**
1860 * Returns remediation exception resource key object of the failed items.
1861 */
1862 FailedItems?: RemediationExceptions;
1863 }
1864 export type FailedRemediationExceptionBatches = FailedRemediationExceptionBatch[];
1865 export interface FieldInfo {
1866 /**
1867 * Name of the field.
1868 */
1869 Name?: FieldName;
1870 }
1871 export type FieldInfoList = FieldInfo[];
1872 export type FieldName = string;
1873 export interface GetAggregateComplianceDetailsByConfigRuleRequest {
1874 /**
1875 * The name of the configuration aggregator.
1876 */
1877 ConfigurationAggregatorName: ConfigurationAggregatorName;
1878 /**
1879 * The name of the AWS Config rule for which you want compliance information.
1880 */
1881 ConfigRuleName: ConfigRuleName;
1882 /**
1883 * The 12-digit account ID of the source account.
1884 */
1885 AccountId: AccountId;
1886 /**
1887 * The source region from where the data is aggregated.
1888 */
1889 AwsRegion: AwsRegion;
1890 /**
1891 * The resource compliance status. For the GetAggregateComplianceDetailsByConfigRuleRequest data type, AWS Config supports only the COMPLIANT and NON_COMPLIANT. AWS Config does not support the NOT_APPLICABLE and INSUFFICIENT_DATA values.
1892 */
1893 ComplianceType?: ComplianceType;
1894 /**
1895 * The maximum number of evaluation results returned on each page. The default is 50. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
1896 */
1897 Limit?: Limit;
1898 /**
1899 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1900 */
1901 NextToken?: NextToken;
1902 }
1903 export interface GetAggregateComplianceDetailsByConfigRuleResponse {
1904 /**
1905 * Returns an AggregateEvaluationResults object.
1906 */
1907 AggregateEvaluationResults?: AggregateEvaluationResultList;
1908 /**
1909 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1910 */
1911 NextToken?: NextToken;
1912 }
1913 export interface GetAggregateConfigRuleComplianceSummaryRequest {
1914 /**
1915 * The name of the configuration aggregator.
1916 */
1917 ConfigurationAggregatorName: ConfigurationAggregatorName;
1918 /**
1919 * Filters the results based on the ConfigRuleComplianceSummaryFilters object.
1920 */
1921 Filters?: ConfigRuleComplianceSummaryFilters;
1922 /**
1923 * Groups the result based on ACCOUNT_ID or AWS_REGION.
1924 */
1925 GroupByKey?: ConfigRuleComplianceSummaryGroupKey;
1926 /**
1927 * The maximum number of evaluation results returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, AWS Config uses the default.
1928 */
1929 Limit?: GroupByAPILimit;
1930 /**
1931 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1932 */
1933 NextToken?: NextToken;
1934 }
1935 export interface GetAggregateConfigRuleComplianceSummaryResponse {
1936 /**
1937 * Groups the result based on ACCOUNT_ID or AWS_REGION.
1938 */
1939 GroupByKey?: StringWithCharLimit256;
1940 /**
1941 * Returns a list of AggregateComplianceCounts object.
1942 */
1943 AggregateComplianceCounts?: AggregateComplianceCountList;
1944 /**
1945 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1946 */
1947 NextToken?: NextToken;
1948 }
1949 export interface GetAggregateDiscoveredResourceCountsRequest {
1950 /**
1951 * The name of the configuration aggregator.
1952 */
1953 ConfigurationAggregatorName: ConfigurationAggregatorName;
1954 /**
1955 * Filters the results based on the ResourceCountFilters object.
1956 */
1957 Filters?: ResourceCountFilters;
1958 /**
1959 * The key to group the resource counts.
1960 */
1961 GroupByKey?: ResourceCountGroupKey;
1962 /**
1963 * The maximum number of GroupedResourceCount objects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, AWS Config uses the default.
1964 */
1965 Limit?: GroupByAPILimit;
1966 /**
1967 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1968 */
1969 NextToken?: NextToken;
1970 }
1971 export interface GetAggregateDiscoveredResourceCountsResponse {
1972 /**
1973 * The total number of resources that are present in an aggregator with the filters that you provide.
1974 */
1975 TotalDiscoveredResources: Long;
1976 /**
1977 * The key passed into the request object. If GroupByKey is not provided, the result will be empty.
1978 */
1979 GroupByKey?: StringWithCharLimit256;
1980 /**
1981 * Returns a list of GroupedResourceCount objects.
1982 */
1983 GroupedResourceCounts?: GroupedResourceCountList;
1984 /**
1985 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
1986 */
1987 NextToken?: NextToken;
1988 }
1989 export interface GetAggregateResourceConfigRequest {
1990 /**
1991 * The name of the configuration aggregator.
1992 */
1993 ConfigurationAggregatorName: ConfigurationAggregatorName;
1994 /**
1995 * An object that identifies aggregate resource.
1996 */
1997 ResourceIdentifier: AggregateResourceIdentifier;
1998 }
1999 export interface GetAggregateResourceConfigResponse {
2000 /**
2001 * Returns a ConfigurationItem object.
2002 */
2003 ConfigurationItem?: ConfigurationItem;
2004 }
2005 export interface GetComplianceDetailsByConfigRuleRequest {
2006 /**
2007 * The name of the AWS Config rule for which you want compliance information.
2008 */
2009 ConfigRuleName: StringWithCharLimit64;
2010 /**
2011 * Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
2012 */
2013 ComplianceTypes?: ComplianceTypes;
2014 /**
2015 * The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
2016 */
2017 Limit?: Limit;
2018 /**
2019 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2020 */
2021 NextToken?: NextToken;
2022 }
2023 export interface GetComplianceDetailsByConfigRuleResponse {
2024 /**
2025 * Indicates whether the AWS resource complies with the specified AWS Config rule.
2026 */
2027 EvaluationResults?: EvaluationResults;
2028 /**
2029 * The string that you use in a subsequent request to get the next page of results in a paginated response.
2030 */
2031 NextToken?: NextToken;
2032 }
2033 export interface GetComplianceDetailsByResourceRequest {
2034 /**
2035 * The type of the AWS resource for which you want compliance information.
2036 */
2037 ResourceType: StringWithCharLimit256;
2038 /**
2039 * The ID of the AWS resource for which you want compliance information.
2040 */
2041 ResourceId: BaseResourceId;
2042 /**
2043 * Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
2044 */
2045 ComplianceTypes?: ComplianceTypes;
2046 /**
2047 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2048 */
2049 NextToken?: String;
2050 }
2051 export interface GetComplianceDetailsByResourceResponse {
2052 /**
2053 * Indicates whether the specified AWS resource complies each AWS Config rule.
2054 */
2055 EvaluationResults?: EvaluationResults;
2056 /**
2057 * The string that you use in a subsequent request to get the next page of results in a paginated response.
2058 */
2059 NextToken?: String;
2060 }
2061 export interface GetComplianceSummaryByConfigRuleResponse {
2062 /**
2063 * The number of AWS Config rules that are compliant and the number that are noncompliant, up to a maximum of 25 for each.
2064 */
2065 ComplianceSummary?: ComplianceSummary;
2066 }
2067 export interface GetComplianceSummaryByResourceTypeRequest {
2068 /**
2069 * Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type. For this request, you can specify an AWS resource type such as AWS::EC2::Instance. You can specify that the resource type is an AWS account by specifying AWS::::Account.
2070 */
2071 ResourceTypes?: ResourceTypes;
2072 }
2073 export interface GetComplianceSummaryByResourceTypeResponse {
2074 /**
2075 * The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100.
2076 */
2077 ComplianceSummariesByResourceType?: ComplianceSummariesByResourceType;
2078 }
2079 export interface GetDiscoveredResourceCountsRequest {
2080 /**
2081 * The comma-separated list that specifies the resource types that you want AWS Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User"). If a value for resourceTypes is not specified, AWS Config returns all resource types that AWS Config is recording in the region for your account. If the configuration recorder is turned off, AWS Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
2082 */
2083 resourceTypes?: ResourceTypes;
2084 /**
2085 * The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
2086 */
2087 limit?: Limit;
2088 /**
2089 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2090 */
2091 nextToken?: NextToken;
2092 }
2093 export interface GetDiscoveredResourceCountsResponse {
2094 /**
2095 * The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources. You make a call to the GetDiscoveredResourceCounts action and specify the resource type, "AWS::EC2::Instances", in the request. AWS Config returns 25 for totalDiscoveredResources.
2096 */
2097 totalDiscoveredResources?: Long;
2098 /**
2099 * The list of ResourceCount objects. Each object is listed in descending order by the number of resources.
2100 */
2101 resourceCounts?: ResourceCounts;
2102 /**
2103 * The string that you use in a subsequent request to get the next page of results in a paginated response.
2104 */
2105 nextToken?: NextToken;
2106 }
2107 export interface GetOrganizationConfigRuleDetailedStatusRequest {
2108 /**
2109 * The name of organization config rule for which you want status details for member accounts.
2110 */
2111 OrganizationConfigRuleName: OrganizationConfigRuleName;
2112 /**
2113 * A StatusDetailFilters object.
2114 */
2115 Filters?: StatusDetailFilters;
2116 /**
2117 * The maximum number of OrganizationConfigRuleDetailedStatus returned on each page. If you do not specify a number, AWS Config uses the default. The default is 100.
2118 */
2119 Limit?: CosmosPageLimit;
2120 /**
2121 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2122 */
2123 NextToken?: String;
2124 }
2125 export interface GetOrganizationConfigRuleDetailedStatusResponse {
2126 /**
2127 * A list of MemberAccountStatus objects.
2128 */
2129 OrganizationConfigRuleDetailedStatus?: OrganizationConfigRuleDetailedStatus;
2130 /**
2131 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2132 */
2133 NextToken?: String;
2134 }
2135 export interface GetResourceConfigHistoryRequest {
2136 /**
2137 * The resource type.
2138 */
2139 resourceType: ResourceType;
2140 /**
2141 * The ID of the resource (for example., sg-xxxxxx).
2142 */
2143 resourceId: ResourceId;
2144 /**
2145 * The time stamp that indicates a later time. If not specified, current time is taken.
2146 */
2147 laterTime?: LaterTime;
2148 /**
2149 * The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.
2150 */
2151 earlierTime?: EarlierTime;
2152 /**
2153 * The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
2154 */
2155 chronologicalOrder?: ChronologicalOrder;
2156 /**
2157 * The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
2158 */
2159 limit?: Limit;
2160 /**
2161 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2162 */
2163 nextToken?: NextToken;
2164 }
2165 export interface GetResourceConfigHistoryResponse {
2166 /**
2167 * A list that contains the configuration history of one or more resources.
2168 */
2169 configurationItems?: ConfigurationItemList;
2170 /**
2171 * The string that you use in a subsequent request to get the next page of results in a paginated response.
2172 */
2173 nextToken?: NextToken;
2174 }
2175 export type GroupByAPILimit = number;
2176 export interface GroupedResourceCount {
2177 /**
2178 * The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the region was chosen as GroupByKey.
2179 */
2180 GroupName: StringWithCharLimit256;
2181 /**
2182 * The number of resources in the group.
2183 */
2184 ResourceCount: Long;
2185 }
2186 export type GroupedResourceCountList = GroupedResourceCount[];
2187 export type IncludeGlobalResourceTypes = boolean;
2188 export type Integer = number;
2189 export type LaterTime = Date;
2190 export type Limit = number;
2191 export interface ListAggregateDiscoveredResourcesRequest {
2192 /**
2193 * The name of the configuration aggregator.
2194 */
2195 ConfigurationAggregatorName: ConfigurationAggregatorName;
2196 /**
2197 * The type of resources that you want AWS Config to list in the response.
2198 */
2199 ResourceType: ResourceType;
2200 /**
2201 * Filters the results based on the ResourceFilters object.
2202 */
2203 Filters?: ResourceFilters;
2204 /**
2205 * The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
2206 */
2207 Limit?: Limit;
2208 /**
2209 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2210 */
2211 NextToken?: NextToken;
2212 }
2213 export interface ListAggregateDiscoveredResourcesResponse {
2214 /**
2215 * Returns a list of ResourceIdentifiers objects.
2216 */
2217 ResourceIdentifiers?: DiscoveredResourceIdentifierList;
2218 /**
2219 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2220 */
2221 NextToken?: NextToken;
2222 }
2223 export interface ListDiscoveredResourcesRequest {
2224 /**
2225 * The type of resources that you want AWS Config to list in the response.
2226 */
2227 resourceType: ResourceType;
2228 /**
2229 * The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
2230 */
2231 resourceIds?: ResourceIdList;
2232 /**
2233 * The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
2234 */
2235 resourceName?: ResourceName;
2236 /**
2237 * The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
2238 */
2239 limit?: Limit;
2240 /**
2241 * Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
2242 */
2243 includeDeletedResources?: Boolean;
2244 /**
2245 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2246 */
2247 nextToken?: NextToken;
2248 }
2249 export interface ListDiscoveredResourcesResponse {
2250 /**
2251 * The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name.
2252 */
2253 resourceIdentifiers?: ResourceIdentifierList;
2254 /**
2255 * The string that you use in a subsequent request to get the next page of results in a paginated response.
2256 */
2257 nextToken?: NextToken;
2258 }
2259 export interface ListTagsForResourceRequest {
2260 /**
2261 * The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.
2262 */
2263 ResourceArn: AmazonResourceName;
2264 /**
2265 * The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, AWS Config uses the default.
2266 */
2267 Limit?: Limit;
2268 /**
2269 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2270 */
2271 NextToken?: NextToken;
2272 }
2273 export interface ListTagsForResourceResponse {
2274 /**
2275 * The tags for the resource.
2276 */
2277 Tags?: TagList;
2278 /**
2279 * The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
2280 */
2281 NextToken?: NextToken;
2282 }
2283 export type Long = number;
2284 export type MaximumExecutionFrequency = "One_Hour"|"Three_Hours"|"Six_Hours"|"Twelve_Hours"|"TwentyFour_Hours"|string;
2285 export type MemberAccountRuleStatus = "CREATE_SUCCESSFUL"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_SUCCESSFUL"|"UPDATE_FAILED"|"UPDATE_IN_PROGRESS"|"DELETE_SUCCESSFUL"|"DELETE_FAILED"|"DELETE_IN_PROGRESS"|string;
2286 export interface MemberAccountStatus {
2287 /**
2288 * The 12-digit account ID of a member account.
2289 */
2290 AccountId: AccountId;
2291 /**
2292 * The name of config rule deployed in the member account.
2293 */
2294 ConfigRuleName: StringWithCharLimit64;
2295 /**
2296 * Indicates deployment status for config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. AWS Config sets the state of the rule to: CREATE_SUCCESSFUL when config rule has been created in the member account. CREATE_IN_PROGRESS when config rule is being created in the member account. CREATE_FAILED when config rule creation has failed in the member account. DELETE_FAILED when config rule deletion has failed in the member account. DELETE_IN_PROGRESS when config rule is being deleted in the member account. DELETE_SUCCESSFUL when config rule has been deleted in the member account. UPDATE_SUCCESSFUL when config rule has been updated in the member account. UPDATE_IN_PROGRESS when config rule is being updated in the member account. UPDATE_FAILED when config rule deletion has failed in the member account.
2297 */
2298 MemberAccountRuleStatus: MemberAccountRuleStatus;
2299 /**
2300 * An error code that is returned when config rule creation or deletion failed in the member account.
2301 */
2302 ErrorCode?: String;
2303 /**
2304 * An error message indicating that config rule account creation or deletion has failed due to an error in the member account.
2305 */
2306 ErrorMessage?: String;
2307 /**
2308 * The timestamp of the last status update.
2309 */
2310 LastUpdateTime?: _Date;
2311 }
2312 export type MessageType = "ConfigurationItemChangeNotification"|"ConfigurationSnapshotDeliveryCompleted"|"ScheduledNotification"|"OversizedConfigurationItemChangeNotification"|string;
2313 export type Name = string;
2314 export type NextToken = string;
2315 export type OrderingTimestamp = Date;
2316 export interface OrganizationAggregationSource {
2317 /**
2318 * ARN of the IAM role used to retrieve AWS Organization details associated with the aggregator account.
2319 */
2320 RoleArn: String;
2321 /**
2322 * The source regions being aggregated.
2323 */
2324 AwsRegions?: AggregatorRegionList;
2325 /**
2326 * If true, aggregate existing AWS Config regions and future regions.
2327 */
2328 AllAwsRegions?: Boolean;
2329 }
2330 export interface OrganizationConfigRule {
2331 /**
2332 * The name that you assign to organization config rule.
2333 */
2334 OrganizationConfigRuleName: OrganizationConfigRuleName;
2335 /**
2336 * The Amazon Resource Name (ARN) of organization config rule.
2337 */
2338 OrganizationConfigRuleArn: StringWithCharLimit256;
2339 /**
2340 * An OrganizationManagedRuleMetadata object.
2341 */
2342 OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
2343 /**
2344 * An OrganizationCustomRuleMetadata object.
2345 */
2346 OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
2347 /**
2348 * A comma-separated list of accounts excluded from organization config rule.
2349 */
2350 ExcludedAccounts?: ExcludedAccounts;
2351 /**
2352 * The timestamp of the last update.
2353 */
2354 LastUpdateTime?: _Date;
2355 }
2356 export type OrganizationConfigRuleDetailedStatus = MemberAccountStatus[];
2357 export type OrganizationConfigRuleName = string;
2358 export type OrganizationConfigRuleNames = StringWithCharLimit64[];
2359 export interface OrganizationConfigRuleStatus {
2360 /**
2361 * The name that you assign to organization config rule.
2362 */
2363 OrganizationConfigRuleName: OrganizationConfigRuleName;
2364 /**
2365 * Indicates deployment status of an organization config rule. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts. 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. Config rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com. AWS Config sets the state of the rule to: CREATE_SUCCESSFUL when an organization config rule has been successfully created in all the member accounts. CREATE_IN_PROGRESS when an organization config rule creation is in progress. CREATE_FAILED when an organization config rule creation failed in one or more member accounts within that organization. DELETE_FAILED when an organization config rule deletion failed in one or more member accounts within that organization. DELETE_IN_PROGRESS when an organization config rule deletion is in progress. DELETE_SUCCESSFUL when an organization config rule has been successfully deleted from all the member accounts. UPDATE_SUCCESSFUL when an organization config rule has been successfully updated in all the member accounts. UPDATE_IN_PROGRESS when an organization config rule update is in progress. UPDATE_FAILED when an organization config rule update failed in one or more member accounts within that organization.
2366 */
2367 OrganizationRuleStatus: OrganizationRuleStatus;
2368 /**
2369 * An error code that is returned when organization config rule creation or deletion has failed.
2370 */
2371 ErrorCode?: String;
2372 /**
2373 * An error message indicating that organization config rule creation or deletion failed due to an error.
2374 */
2375 ErrorMessage?: String;
2376 /**
2377 * The timestamp of the last update.
2378 */
2379 LastUpdateTime?: _Date;
2380 }
2381 export type OrganizationConfigRuleStatuses = OrganizationConfigRuleStatus[];
2382 export type OrganizationConfigRuleTriggerType = "ConfigurationItemChangeNotification"|"OversizedConfigurationItemChangeNotification"|"ScheduledNotification"|string;
2383 export type OrganizationConfigRuleTriggerTypes = OrganizationConfigRuleTriggerType[];
2384 export type OrganizationConfigRules = OrganizationConfigRule[];
2385 export interface OrganizationCustomRuleMetadata {
2386 /**
2387 * The description that you provide for organization config rule.
2388 */
2389 Description?: StringWithCharLimit256Min0;
2390 /**
2391 * The lambda function ARN.
2392 */
2393 LambdaFunctionArn: StringWithCharLimit256;
2394 /**
2395 * The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types: ConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers a configuration item as a result of a resource change. OversizedConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers an oversized configuration item. AWS Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. ScheduledNotification - Triggers a periodic evaluation at the frequency specified for MaximumExecutionFrequency.
2396 */
2397 OrganizationConfigRuleTriggerTypes: OrganizationConfigRuleTriggerTypes;
2398 /**
2399 * A string, in JSON format, that is passed to organization config rule Lambda function.
2400 */
2401 InputParameters?: StringWithCharLimit2048;
2402 /**
2403 * The maximum frequency with which AWS Config runs evaluations for a rule. Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.
2404 */
2405 MaximumExecutionFrequency?: MaximumExecutionFrequency;
2406 /**
2407 * The type of the AWS resource that was evaluated.
2408 */
2409 ResourceTypesScope?: ResourceTypesScope;
2410 /**
2411 * The ID of the AWS resource that was evaluated.
2412 */
2413 ResourceIdScope?: StringWithCharLimit768;
2414 /**
2415 * 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.
2416 */
2417 TagKeyScope?: StringWithCharLimit128;
2418 /**
2419 * The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
2420 */
2421 TagValueScope?: StringWithCharLimit256;
2422 }
2423 export interface OrganizationManagedRuleMetadata {
2424 /**
2425 * The description that you provide for organization config rule.
2426 */
2427 Description?: StringWithCharLimit256Min0;
2428 /**
2429 * For organization config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules.
2430 */
2431 RuleIdentifier: StringWithCharLimit256;
2432 /**
2433 * A string, in JSON format, that is passed to organization config rule Lambda function.
2434 */
2435 InputParameters?: StringWithCharLimit2048;
2436 /**
2437 * The maximum frequency with which AWS Config runs evaluations for a rule. You are using an AWS managed rule that is triggered at a periodic frequency. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.
2438 */
2439 MaximumExecutionFrequency?: MaximumExecutionFrequency;
2440 /**
2441 * The type of the AWS resource that was evaluated.
2442 */
2443 ResourceTypesScope?: ResourceTypesScope;
2444 /**
2445 * The ID of the AWS resource that was evaluated.
2446 */
2447 ResourceIdScope?: StringWithCharLimit768;
2448 /**
2449 * 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.
2450 */
2451 TagKeyScope?: StringWithCharLimit128;
2452 /**
2453 * The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
2454 */
2455 TagValueScope?: StringWithCharLimit256;
2456 }
2457 export type OrganizationRuleStatus = "CREATE_SUCCESSFUL"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_SUCCESSFUL"|"UPDATE_FAILED"|"UPDATE_IN_PROGRESS"|"DELETE_SUCCESSFUL"|"DELETE_FAILED"|"DELETE_IN_PROGRESS"|string;
2458 export type Owner = "CUSTOM_LAMBDA"|"AWS"|string;
2459 export interface PendingAggregationRequest {
2460 /**
2461 * The 12-digit account ID of the account requesting to aggregate data.
2462 */
2463 RequesterAccountId?: AccountId;
2464 /**
2465 * The region requesting to aggregate data.
2466 */
2467 RequesterAwsRegion?: AwsRegion;
2468 }
2469 export type PendingAggregationRequestList = PendingAggregationRequest[];
2470 export type Percentage = number;
2471 export interface PutAggregationAuthorizationRequest {
2472 /**
2473 * The 12-digit account ID of the account authorized to aggregate data.
2474 */
2475 AuthorizedAccountId: AccountId;
2476 /**
2477 * The region authorized to collect aggregated data.
2478 */
2479 AuthorizedAwsRegion: AwsRegion;
2480 /**
2481 * An array of tag object.
2482 */
2483 Tags?: TagsList;
2484 }
2485 export interface PutAggregationAuthorizationResponse {
2486 /**
2487 * Returns an AggregationAuthorization object.
2488 */
2489 AggregationAuthorization?: AggregationAuthorization;
2490 }
2491 export interface PutConfigRuleRequest {
2492 /**
2493 * The rule that you want to add to your account.
2494 */
2495 ConfigRule: ConfigRule;
2496 /**
2497 * An array of tag object.
2498 */
2499 Tags?: TagsList;
2500 }
2501 export interface PutConfigurationAggregatorRequest {
2502 /**
2503 * The name of the configuration aggregator.
2504 */
2505 ConfigurationAggregatorName: ConfigurationAggregatorName;
2506 /**
2507 * A list of AccountAggregationSource object.
2508 */
2509 AccountAggregationSources?: AccountAggregationSourceList;
2510 /**
2511 * An OrganizationAggregationSource object.
2512 */
2513 OrganizationAggregationSource?: OrganizationAggregationSource;
2514 /**
2515 * An array of tag object.
2516 */
2517 Tags?: TagsList;
2518 }
2519 export interface PutConfigurationAggregatorResponse {
2520 /**
2521 * Returns a ConfigurationAggregator object.
2522 */
2523 ConfigurationAggregator?: ConfigurationAggregator;
2524 }
2525 export interface PutConfigurationRecorderRequest {
2526 /**
2527 * The configuration recorder object that records each configuration change made to the resources.
2528 */
2529 ConfigurationRecorder: ConfigurationRecorder;
2530 }
2531 export interface PutDeliveryChannelRequest {
2532 /**
2533 * The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
2534 */
2535 DeliveryChannel: DeliveryChannel;
2536 }
2537 export interface PutEvaluationsRequest {
2538 /**
2539 * The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
2540 */
2541 Evaluations?: Evaluations;
2542 /**
2543 * An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.
2544 */
2545 ResultToken: String;
2546 /**
2547 * Use this parameter to specify a test run for PutEvaluations. You can verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config. When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.
2548 */
2549 TestMode?: Boolean;
2550 }
2551 export interface PutEvaluationsResponse {
2552 /**
2553 * Requests that failed because of a client or server error.
2554 */
2555 FailedEvaluations?: Evaluations;
2556 }
2557 export interface PutOrganizationConfigRuleRequest {
2558 /**
2559 * The name that you assign to an organization config rule.
2560 */
2561 OrganizationConfigRuleName: OrganizationConfigRuleName;
2562 /**
2563 * An OrganizationManagedRuleMetadata object.
2564 */
2565 OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
2566 /**
2567 * An OrganizationCustomRuleMetadata object.
2568 */
2569 OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
2570 /**
2571 * A comma-separated list of accounts that you want to exclude from an organization config rule.
2572 */
2573 ExcludedAccounts?: ExcludedAccounts;
2574 }
2575 export interface PutOrganizationConfigRuleResponse {
2576 /**
2577 * The Amazon Resource Name (ARN) of an organization config rule.
2578 */
2579 OrganizationConfigRuleArn?: StringWithCharLimit256;
2580 }
2581 export interface PutRemediationConfigurationsRequest {
2582 /**
2583 * A list of remediation configuration objects.
2584 */
2585 RemediationConfigurations: RemediationConfigurations;
2586 }
2587 export interface PutRemediationConfigurationsResponse {
2588 /**
2589 * Returns a list of failed remediation batch objects.
2590 */
2591 FailedBatches?: FailedRemediationBatches;
2592 }
2593 export interface PutRemediationExceptionsRequest {
2594 /**
2595 * The name of the AWS Config rule for which you want to create remediation exception.
2596 */
2597 ConfigRuleName: ConfigRuleName;
2598 /**
2599 * An exception list of resource exception keys to be processed with the current request. AWS Config adds exception for each resource key. For example, AWS Config adds 3 exceptions for 3 resource keys.
2600 */
2601 ResourceKeys: RemediationExceptionResourceKeys;
2602 /**
2603 * The message contains an explanation of the exception.
2604 */
2605 Message?: StringWithCharLimit1024;
2606 /**
2607 * The exception is automatically deleted after the expiration date.
2608 */
2609 ExpirationTime?: _Date;
2610 }
2611 export interface PutRemediationExceptionsResponse {
2612 /**
2613 * Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
2614 */
2615 FailedBatches?: FailedRemediationExceptionBatches;
2616 }
2617 export interface PutRetentionConfigurationRequest {
2618 /**
2619 * Number of days AWS Config stores your historical information. Currently, only applicable to the configuration item history.
2620 */
2621 RetentionPeriodInDays: RetentionPeriodInDays;
2622 }
2623 export interface PutRetentionConfigurationResponse {
2624 /**
2625 * Returns a retention configuration object.
2626 */
2627 RetentionConfiguration?: RetentionConfiguration;
2628 }
2629 export interface QueryInfo {
2630 /**
2631 * Returns a FieldInfo object.
2632 */
2633 SelectFields?: FieldInfoList;
2634 }
2635 export type RecorderName = string;
2636 export type RecorderStatus = "Pending"|"Success"|"Failure"|string;
2637 export interface RecordingGroup {
2638 /**
2639 * Specifies whether AWS Config records configuration changes for every supported type of regional resource. If you set this option to true, when AWS Config adds support for a new type of regional resource, it starts recording resources of that type automatically. If you set this option to true, you cannot enumerate a list of resourceTypes.
2640 */
2641 allSupported?: AllSupported;
2642 /**
2643 * Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records. Before you can set this option to true, you must set the allSupported option to true. If you set this option to true, when AWS Config adds support for a new type of global resource, it starts recording resources of that type automatically. The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources.
2644 */
2645 includeGlobalResourceTypes?: IncludeGlobalResourceTypes;
2646 /**
2647 * A comma-separated list that specifies the types of AWS resources for which AWS Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail). Before you can set this option to true, you must set the allSupported option to false. If you set this option to true, when AWS Config adds support for a new type of resource, it will not record resources of that type unless you manually add that type to your recording group. For a list of valid resourceTypes values, see the resourceType Value column in Supported AWS Resource Types.
2648 */
2649 resourceTypes?: ResourceTypeList;
2650 }
2651 export type ReevaluateConfigRuleNames = StringWithCharLimit64[];
2652 export type RelatedEvent = string;
2653 export type RelatedEventList = RelatedEvent[];
2654 export interface Relationship {
2655 /**
2656 * The resource type of the related resource.
2657 */
2658 resourceType?: ResourceType;
2659 /**
2660 * The ID of the related resource (for example, sg-xxxxxx).
2661 */
2662 resourceId?: ResourceId;
2663 /**
2664 * The custom name of the related resource, if available.
2665 */
2666 resourceName?: ResourceName;
2667 /**
2668 * The type of relationship with the related resource.
2669 */
2670 relationshipName?: RelationshipName;
2671 }
2672 export type RelationshipList = Relationship[];
2673 export type RelationshipName = string;
2674 export interface RemediationConfiguration {
2675 /**
2676 * The name of the AWS Config rule.
2677 */
2678 ConfigRuleName: ConfigRuleName;
2679 /**
2680 * The type of the target. Target executes remediation. For example, SSM document.
2681 */
2682 TargetType: RemediationTargetType;
2683 /**
2684 * Target ID is the name of the public document.
2685 */
2686 TargetId: StringWithCharLimit256;
2687 /**
2688 * Version of the target. For example, version of the SSM document.
2689 */
2690 TargetVersion?: String;
2691 /**
2692 * An object of the RemediationParameterValue.
2693 */
2694 Parameters?: RemediationParameters;
2695 /**
2696 * The type of a resource.
2697 */
2698 ResourceType?: String;
2699 /**
2700 * The remediation is triggered automatically.
2701 */
2702 Automatic?: Boolean;
2703 /**
2704 * An ExecutionControls object.
2705 */
2706 ExecutionControls?: ExecutionControls;
2707 /**
2708 * The maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5. For example, if you specify MaximumAutomaticAttempts as 5 with RetryAttemptsSeconds as 50 seconds, AWS Config throws an exception after the 5th failed attempt within 50 seconds.
2709 */
2710 MaximumAutomaticAttempts?: AutoRemediationAttempts;
2711 /**
2712 * Maximum time in seconds that AWS Config runs auto-remediation. If you do not select a number, the default is 60 seconds. For example, if you specify RetryAttemptsSeconds as 50 seconds and MaximumAutomaticAttempts as 5, AWS Config will run auto-remediations 5 times within 50 seconds before throwing an exception.
2713 */
2714 RetryAttemptSeconds?: AutoRemediationAttemptSeconds;
2715 /**
2716 * Amazon Resource Name (ARN) of remediation configuration.
2717 */
2718 Arn?: StringWithCharLimit1024;
2719 /**
2720 * Name of the service that owns the service linked rule, if applicable.
2721 */
2722 CreatedByService?: StringWithCharLimit1024;
2723 }
2724 export type RemediationConfigurations = RemediationConfiguration[];
2725 export interface RemediationException {
2726 /**
2727 * The name of the AWS Config rule.
2728 */
2729 ConfigRuleName: ConfigRuleName;
2730 /**
2731 * The type of a resource.
2732 */
2733 ResourceType: StringWithCharLimit256;
2734 /**
2735 * The ID of the resource (for example., sg-xxxxxx).
2736 */
2737 ResourceId: StringWithCharLimit1024;
2738 /**
2739 * An explanation of an remediation exception.
2740 */
2741 Message?: StringWithCharLimit1024;
2742 /**
2743 * The time when the remediation exception will be deleted.
2744 */
2745 ExpirationTime?: _Date;
2746 }
2747 export interface RemediationExceptionResourceKey {
2748 /**
2749 * The type of a resource.
2750 */
2751 ResourceType?: StringWithCharLimit256;
2752 /**
2753 * The ID of the resource (for example., sg-xxxxxx).
2754 */
2755 ResourceId?: StringWithCharLimit1024;
2756 }
2757 export type RemediationExceptionResourceKeys = RemediationExceptionResourceKey[];
2758 export type RemediationExceptions = RemediationException[];
2759 export type RemediationExecutionState = "QUEUED"|"IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
2760 export interface RemediationExecutionStatus {
2761 ResourceKey?: ResourceKey;
2762 /**
2763 * ENUM of the values.
2764 */
2765 State?: RemediationExecutionState;
2766 /**
2767 * Details of every step.
2768 */
2769 StepDetails?: RemediationExecutionSteps;
2770 /**
2771 * Start time when the remediation was executed.
2772 */
2773 InvocationTime?: _Date;
2774 /**
2775 * The time when the remediation execution was last updated.
2776 */
2777 LastUpdatedTime?: _Date;
2778 }
2779 export type RemediationExecutionStatuses = RemediationExecutionStatus[];
2780 export interface RemediationExecutionStep {
2781 /**
2782 * The details of the step.
2783 */
2784 Name?: String;
2785 /**
2786 * The valid status of the step.
2787 */
2788 State?: RemediationExecutionStepState;
2789 /**
2790 * An error message if the step was interrupted during execution.
2791 */
2792 ErrorMessage?: String;
2793 /**
2794 * The time when the step started.
2795 */
2796 StartTime?: _Date;
2797 /**
2798 * The time when the step stopped.
2799 */
2800 StopTime?: _Date;
2801 }
2802 export type RemediationExecutionStepState = "SUCCEEDED"|"PENDING"|"FAILED"|string;
2803 export type RemediationExecutionSteps = RemediationExecutionStep[];
2804 export interface RemediationParameterValue {
2805 /**
2806 * The value is dynamic and changes at run-time.
2807 */
2808 ResourceValue?: ResourceValue;
2809 /**
2810 * The value is static and does not change at run-time.
2811 */
2812 StaticValue?: StaticValue;
2813 }
2814 export type RemediationParameters = {[key: string]: RemediationParameterValue};
2815 export type RemediationTargetType = "SSM_DOCUMENT"|string;
2816 export interface ResourceCount {
2817 /**
2818 * The resource type (for example, "AWS::EC2::Instance").
2819 */
2820 resourceType?: ResourceType;
2821 /**
2822 * The number of resources.
2823 */
2824 count?: Long;
2825 }
2826 export interface ResourceCountFilters {
2827 /**
2828 * The type of the AWS resource.
2829 */
2830 ResourceType?: ResourceType;
2831 /**
2832 * The 12-digit ID of the account.
2833 */
2834 AccountId?: AccountId;
2835 /**
2836 * The region where the account is located.
2837 */
2838 Region?: AwsRegion;
2839 }
2840 export type ResourceCountGroupKey = "RESOURCE_TYPE"|"ACCOUNT_ID"|"AWS_REGION"|string;
2841 export type ResourceCounts = ResourceCount[];
2842 export type ResourceCreationTime = Date;
2843 export type ResourceDeletionTime = Date;
2844 export interface ResourceFilters {
2845 /**
2846 * The 12-digit source account ID.
2847 */
2848 AccountId?: AccountId;
2849 /**
2850 * The ID of the resource.
2851 */
2852 ResourceId?: ResourceId;
2853 /**
2854 * The name of the resource.
2855 */
2856 ResourceName?: ResourceName;
2857 /**
2858 * The source region.
2859 */
2860 Region?: AwsRegion;
2861 }
2862 export type ResourceId = string;
2863 export type ResourceIdList = ResourceId[];
2864 export interface ResourceIdentifier {
2865 /**
2866 * The type of resource.
2867 */
2868 resourceType?: ResourceType;
2869 /**
2870 * The ID of the resource (for example, sg-xxxxxx).
2871 */
2872 resourceId?: ResourceId;
2873 /**
2874 * The custom name of the resource (if available).
2875 */
2876 resourceName?: ResourceName;
2877 /**
2878 * The time that the resource was deleted.
2879 */
2880 resourceDeletionTime?: ResourceDeletionTime;
2881 }
2882 export type ResourceIdentifierList = ResourceIdentifier[];
2883 export type ResourceIdentifiersList = AggregateResourceIdentifier[];
2884 export interface ResourceKey {
2885 /**
2886 * The resource type.
2887 */
2888 resourceType: ResourceType;
2889 /**
2890 * The ID of the resource (for example., sg-xxxxxx).
2891 */
2892 resourceId: ResourceId;
2893 }
2894 export type ResourceKeys = ResourceKey[];
2895 export type ResourceName = string;
2896 export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::EC2::RegisteredHAInstance"|"AWS::EC2::NatGateway"|"AWS::EC2::EgressOnlyInternetGateway"|"AWS::EC2::VPCEndpoint"|"AWS::EC2::VPCEndpointService"|"AWS::EC2::FlowLog"|"AWS::EC2::VPCPeeringConnection"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBParameterGroup"|"AWS::RDS::DBOptionGroup"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBCluster"|"AWS::RDS::DBClusterParameterGroup"|"AWS::RDS::DBClusterSnapshot"|"AWS::RDS::EventSubscription"|"AWS::S3::Bucket"|"AWS::S3::AccountPublicAccessBlock"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::SSM::ManagedInstanceInventory"|"AWS::CloudWatch::Alarm"|"AWS::CloudFormation::Stack"|"AWS::ElasticLoadBalancing::LoadBalancer"|"AWS::AutoScaling::AutoScalingGroup"|"AWS::AutoScaling::LaunchConfiguration"|"AWS::AutoScaling::ScalingPolicy"|"AWS::AutoScaling::ScheduledAction"|"AWS::DynamoDB::Table"|"AWS::CodeBuild::Project"|"AWS::WAF::RateBasedRule"|"AWS::WAF::Rule"|"AWS::WAF::RuleGroup"|"AWS::WAF::WebACL"|"AWS::WAFRegional::RateBasedRule"|"AWS::WAFRegional::Rule"|"AWS::WAFRegional::RuleGroup"|"AWS::WAFRegional::WebACL"|"AWS::CloudFront::Distribution"|"AWS::CloudFront::StreamingDistribution"|"AWS::Lambda::Alias"|"AWS::Lambda::Function"|"AWS::ElasticBeanstalk::Application"|"AWS::ElasticBeanstalk::ApplicationVersion"|"AWS::ElasticBeanstalk::Environment"|"AWS::MobileHub::Project"|"AWS::XRay::EncryptionConfig"|"AWS::SSM::AssociationCompliance"|"AWS::SSM::PatchCompliance"|"AWS::Shield::Protection"|"AWS::ShieldRegional::Protection"|"AWS::Config::ResourceCompliance"|"AWS::LicenseManager::LicenseConfiguration"|"AWS::ApiGateway::DomainName"|"AWS::ApiGateway::Method"|"AWS::ApiGateway::Stage"|"AWS::ApiGateway::RestApi"|"AWS::ApiGatewayV2::DomainName"|"AWS::ApiGatewayV2::Stage"|"AWS::ApiGatewayV2::Api"|"AWS::CodePipeline::Pipeline"|"AWS::ServiceCatalog::CloudFormationProvisionedProduct"|"AWS::ServiceCatalog::CloudFormationProduct"|"AWS::ServiceCatalog::Portfolio"|string;
2897 export type ResourceTypeList = ResourceType[];
2898 export type ResourceTypes = StringWithCharLimit256[];
2899 export type ResourceTypesScope = StringWithCharLimit256[];
2900 export interface ResourceValue {
2901 /**
2902 * The value is a resource ID.
2903 */
2904 Value: ResourceValueType;
2905 }
2906 export type ResourceValueType = "RESOURCE_ID"|string;
2907 export type Results = String[];
2908 export interface RetentionConfiguration {
2909 /**
2910 * The name of the retention configuration object.
2911 */
2912 Name: RetentionConfigurationName;
2913 /**
2914 * Number of days AWS Config stores your historical information. Currently, only applicable to the configuration item history.
2915 */
2916 RetentionPeriodInDays: RetentionPeriodInDays;
2917 }
2918 export type RetentionConfigurationList = RetentionConfiguration[];
2919 export type RetentionConfigurationName = string;
2920 export type RetentionConfigurationNameList = RetentionConfigurationName[];
2921 export type RetentionPeriodInDays = number;
2922 export type RuleLimit = number;
2923 export interface Scope {
2924 /**
2925 * The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.
2926 */
2927 ComplianceResourceTypes?: ComplianceResourceTypes;
2928 /**
2929 * The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.
2930 */
2931 TagKey?: StringWithCharLimit128;
2932 /**
2933 * The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey.
2934 */
2935 TagValue?: StringWithCharLimit256;
2936 /**
2937 * The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.
2938 */
2939 ComplianceResourceId?: BaseResourceId;
2940 }
2941 export interface SelectResourceConfigRequest {
2942 /**
2943 * The SQL query SELECT command.
2944 */
2945 Expression: Expression;
2946 /**
2947 * The maximum number of query results returned on each page.
2948 */
2949 Limit?: Limit;
2950 /**
2951 * The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
2952 */
2953 NextToken?: NextToken;
2954 }
2955 export interface SelectResourceConfigResponse {
2956 /**
2957 * Returns the results for the SQL query.
2958 */
2959 Results?: Results;
2960 /**
2961 * Returns the QueryInfo object.
2962 */
2963 QueryInfo?: QueryInfo;
2964 /**
2965 * The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
2966 */
2967 NextToken?: NextToken;
2968 }
2969 export interface Source {
2970 /**
2971 * Indicates whether AWS or the customer owns and manages the AWS Config rule.
2972 */
2973 Owner: Owner;
2974 /**
2975 * For AWS Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules. For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
2976 */
2977 SourceIdentifier: StringWithCharLimit256;
2978 /**
2979 * Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
2980 */
2981 SourceDetails?: SourceDetails;
2982 }
2983 export interface SourceDetail {
2984 /**
2985 * The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
2986 */
2987 EventSource?: EventSource;
2988 /**
2989 * The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types: ConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers a configuration item as a result of a resource change. OversizedConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers an oversized configuration item. AWS Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. ScheduledNotification - Triggers a periodic evaluation at the frequency specified for MaximumExecutionFrequency. ConfigurationSnapshotDeliveryCompleted - Triggers a periodic evaluation when AWS Config delivers a configuration snapshot. If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for ConfigurationItemChangeNotification and one for OversizedConfigurationItemChangeNotification.
2990 */
2991 MessageType?: MessageType;
2992 /**
2993 * The frequency at which you want AWS Config to run evaluations for a custom rule with a periodic trigger. If you specify a value for MaximumExecutionFrequency, then MessageType must use the ScheduledNotification value. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter. Based on the valid value you choose, AWS Config runs evaluations once for each valid value. For example, if you choose Three_Hours, AWS Config runs evaluations once every three hours. In this case, Three_Hours is the frequency of this rule.
2994 */
2995 MaximumExecutionFrequency?: MaximumExecutionFrequency;
2996 }
2997 export type SourceDetails = SourceDetail[];
2998 export interface SsmControls {
2999 /**
3000 * The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.
3001 */
3002 ConcurrentExecutionRatePercentage?: Percentage;
3003 /**
3004 * The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
3005 */
3006 ErrorPercentage?: Percentage;
3007 }
3008 export interface StartConfigRulesEvaluationRequest {
3009 /**
3010 * The list of names of AWS Config rules that you want to run evaluations for.
3011 */
3012 ConfigRuleNames?: ReevaluateConfigRuleNames;
3013 }
3014 export interface StartConfigRulesEvaluationResponse {
3015 }
3016 export interface StartConfigurationRecorderRequest {
3017 /**
3018 * The name of the recorder object that records each configuration change made to the resources.
3019 */
3020 ConfigurationRecorderName: RecorderName;
3021 }
3022 export interface StartRemediationExecutionRequest {
3023 /**
3024 * The list of names of AWS Config rules that you want to run remediation execution for.
3025 */
3026 ConfigRuleName: ConfigRuleName;
3027 /**
3028 * A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
3029 */
3030 ResourceKeys: ResourceKeys;
3031 }
3032 export interface StartRemediationExecutionResponse {
3033 /**
3034 * Returns a failure message. For example, the resource is already compliant.
3035 */
3036 FailureMessage?: String;
3037 /**
3038 * For resources that have failed to start execution, the API returns a resource key object.
3039 */
3040 FailedItems?: ResourceKeys;
3041 }
3042 export type StaticParameterValues = StringWithCharLimit256[];
3043 export interface StaticValue {
3044 /**
3045 * A list of values. For example, the ARN of the assumed role.
3046 */
3047 Values: StaticParameterValues;
3048 }
3049 export interface StatusDetailFilters {
3050 /**
3051 * The 12-digit account ID of the member account within an organization.
3052 */
3053 AccountId?: AccountId;
3054 /**
3055 * Indicates deployment status for config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. AWS Config sets the state of the rule to: CREATE_SUCCESSFUL when config rule has been created in the member account. CREATE_IN_PROGRESS when config rule is being created in the member account. CREATE_FAILED when config rule creation has failed in the member account. DELETE_FAILED when config rule deletion has failed in the member account. DELETE_IN_PROGRESS when config rule is being deleted in the member account. DELETE_SUCCESSFUL when config rule has been deleted in the member account. UPDATE_SUCCESSFUL when config rule has been updated in the member account. UPDATE_IN_PROGRESS when config rule is being updated in the member account. UPDATE_FAILED when config rule deletion has failed in the member account.
3056 */
3057 MemberAccountRuleStatus?: MemberAccountRuleStatus;
3058 }
3059 export interface StopConfigurationRecorderRequest {
3060 /**
3061 * The name of the recorder object that records each configuration change made to the resources.
3062 */
3063 ConfigurationRecorderName: RecorderName;
3064 }
3065 export type String = string;
3066 export type StringWithCharLimit1024 = string;
3067 export type StringWithCharLimit128 = string;
3068 export type StringWithCharLimit2048 = string;
3069 export type StringWithCharLimit256 = string;
3070 export type StringWithCharLimit256Min0 = string;
3071 export type StringWithCharLimit64 = string;
3072 export type StringWithCharLimit768 = string;
3073 export type SupplementaryConfiguration = {[key: string]: SupplementaryConfigurationValue};
3074 export type SupplementaryConfigurationName = string;
3075 export type SupplementaryConfigurationValue = string;
3076 export interface Tag {
3077 /**
3078 * 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.
3079 */
3080 Key?: TagKey;
3081 /**
3082 * The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
3083 */
3084 Value?: TagValue;
3085 }
3086 export type TagKey = string;
3087 export type TagKeyList = TagKey[];
3088 export type TagList = Tag[];
3089 export interface TagResourceRequest {
3090 /**
3091 * The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.
3092 */
3093 ResourceArn: AmazonResourceName;
3094 /**
3095 * An array of tag object.
3096 */
3097 Tags: TagList;
3098 }
3099 export type TagValue = string;
3100 export type Tags = {[key: string]: Value};
3101 export type TagsList = Tag[];
3102 export type UnprocessedResourceIdentifierList = AggregateResourceIdentifier[];
3103 export interface UntagResourceRequest {
3104 /**
3105 * The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.
3106 */
3107 ResourceArn: AmazonResourceName;
3108 /**
3109 * The keys of the tags to be removed.
3110 */
3111 TagKeys: TagKeyList;
3112 }
3113 export type Value = string;
3114 export type Version = string;
3115 /**
3116 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3117 */
3118 export type apiVersion = "2014-11-12"|"latest"|string;
3119 export interface ClientApiVersions {
3120 /**
3121 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3122 */
3123 apiVersion?: apiVersion;
3124 }
3125 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
3126 /**
3127 * Contains interfaces for use with the ConfigService client.
3128 */
3129 export import Types = ConfigService;
3130}
3131export = ConfigService;