list_automation_event_summaries
async
¶
list_automation_event_summaries(
*,
config_overrides: Optional[AsyncComputeOptimizerAutomationClientConfig] = None,
filters: Optional[AutomationEventFilterList] = None,
start_date_inclusive: Optional[str] = None,
end_date_exclusive: Optional[str] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListAutomationEventSummariesResponse
Provides a summary of automation events based on specified filters. Only events created within the past year will be included in the summary.
Parameters:
-
filters(Optional[AutomationEventFilterList], default:None) –The filters to apply to the list of automation event summaries.
-
start_date_inclusive(Optional[str], default:None) –The start date for filtering automation event summaries, inclusive. Events created on or after this date will be included.
-
end_date_exclusive(Optional[str], default:None) –The end date for filtering automation event summaries, exclusive. Events created before this date will be included.
-
max_results(Optional[int], default:None) –The maximum number of automation event summaries to return in a single response. Valid range is 1-1000.
-
next_token(Optional[NextToken], default:None) –A token used for pagination to retrieve the next set of results when the response is truncated.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ForbiddenException–You are not authorized to perform this action.
-
InternalServerException–An internal error occurred while processing the request.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
OptInRequiredException–The account must be opted in to Compute Optimizer Automation before performing this action.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.