AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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
.
For .NET Core this operation is only available in asynchronous form. Please refer to GetResourceConfigHistoryAsync.
Namespace: Amazon.ConfigService
Assembly: AWSSDK.ConfigService.dll
Version: 3.x.y.z
public abstract GetResourceConfigHistoryResponse GetResourceConfigHistory( GetResourceConfigHistoryRequest request )
Container for the necessary parameters to execute the GetResourceConfigHistory service method.
Exception | Condition |
---|---|
InvalidLimitException | The specified limit is outside the allowable range. |
InvalidNextTokenException | The specified next token is not valid. Specify the nextToken string that was returned in the previous response to get the next page of results. |
InvalidTimeRangeException | The specified time range is not valid. The earlier time is not chronologically before the later time. |
NoAvailableConfigurationRecorderException | There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder. |
ResourceNotDiscoveredException | You have specified a resource that is either unknown or has not been discovered. |
ValidationException | The requested action is not valid. For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries. For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5