ListResourceEvaluations
Returns a list of proactive resource evaluations.
Request Syntax
{
"Filters": {
"EvaluationContextIdentifier": "string
",
"EvaluationMode": "string
",
"TimeWindow": {
"EndTime": number
,
"StartTime": number
}
},
"Limit": number
,
"NextToken": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- Filters
-
Returns a
ResourceEvaluationFilters
object.Type: ResourceEvaluationFilters object
Required: No
- Limit
-
The maximum number of evaluations 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.
Type: Integer
Valid Range: Minimum value of 0. Maximum value of 100.
Required: No
- NextToken
-
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.Type: String
Required: No
Response Syntax
{
"NextToken": "string",
"ResourceEvaluations": [
{
"EvaluationMode": "string",
"EvaluationStartTimestamp": number,
"ResourceEvaluationId": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- NextToken
-
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.Type: String
- ResourceEvaluations
-
Returns a
ResourceEvaluations
object.Type: Array of ResourceEvaluation objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- 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.HTTP Status Code: 400
- InvalidParameterValueException
-
One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.
HTTP Status Code: 400
- InvalidTimeRangeException
-
The specified time range is not valid. The earlier time is not chronologically before the later time.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: