Module Smaws_Client_ConfigService.GetResourceConfigHistory

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.

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