ConfigService.Client.
list_resource_evaluations
(**kwargs)¶Returns a list of proactive resource evaluations.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_evaluations(
Filters={
'EvaluationMode': 'DETECTIVE'|'PROACTIVE',
'TimeWindow': {
'StartTime': datetime(2015, 1, 1),
'EndTime': datetime(2015, 1, 1)
},
'EvaluationContextIdentifier': 'string'
},
Limit=123,
NextToken='string'
)
Returns a ResourceEvaluationFilters
object.
Filters all resource evaluations results based on an evaluation mode. the valid value for this API is Proactive
.
Returns a TimeWindow
object.
The start time of an execution.
The end time of an execution. The end time must be after the start date.
Filters evaluations for a given infrastructure deployment. For example: CFN Stack.
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.dict
Response Syntax
{
'ResourceEvaluations': [
{
'ResourceEvaluationId': 'string',
'EvaluationMode': 'DETECTIVE'|'PROACTIVE',
'EvaluationStartTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ResourceEvaluations (list) --
Returns a ResourceEvaluations
object.
(dict) --
Returns details of a resource evaluation.
ResourceEvaluationId (string) --
The ResourceEvaluationId of a evaluation.
EvaluationMode (string) --
The mode of an evaluation. The valid values are Detective or Proactive.
EvaluationStartTimestamp (datetime) --
The starting time of an execution.
NextToken (string) --
The nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
Exceptions
ConfigService.Client.exceptions.InvalidNextTokenException
ConfigService.Client.exceptions.InvalidParameterValueException
ConfigService.Client.exceptions.InvalidTimeRangeException