Module Smaws_Client_ConfigService.GetResourceConfigHistory

val request : Smaws_Lib.Context.t -> get_resource_config_history_request -> (get_resource_config_history_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidLimitException of invalid_limit_exception | `InvalidNextTokenException of invalid_next_token_exception | `InvalidTimeRangeException of invalid_time_range_exception | `NoAvailableConfigurationRecorderException of no_available_configuration_recorder_exception | `ResourceNotDiscoveredException of resource_not_discovered_exception | `ValidationException of validation_exception ]) Stdlib.result

For accurate reporting on the compliance status, you must record the AWS::Config::ResourceCompliance resource type. For more information, see Selecting Which Resources Config Records.

Returns a list of ConfigurationItems 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), Config returns the ConfigurationItems for the specified retention period.

The response is paginated. By default, 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.