get_recommendations
async
¶
get_recommendations(
profiling_group_name: ProfilingGroupName,
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[AsyncCodeGuruProfilerClientConfig] = None,
locale: Optional[Locale] = None,
) -> GetRecommendationsResponse
Returns a list of Recommendation objects that contain recommendations for a profiling group for a given time period. A list of Anomaly objects that contains details about anomalies detected in the profiling group for the same time period is also returned.
Parameters:
-
profiling_group_name(ProfilingGroupName) –The name of the profiling group to get analysis data about.
-
start_time(Timestamp) –The end time of the profile to get analysis data about. You must specify
startTimeandendTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. -
end_time(Timestamp) –The start time of the profile to get analysis data about. You must specify
startTimeandendTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. -
locale(Optional[Locale], default:None) –The language used to provide analysis. Specify using a string that is one of the following
BCP 47language codes.-
de-DE- German, Germany -
en-GB- English, United Kingdom -
en-US- English, United States -
es-ES- Spanish, Spain -
fr-FR- French, France -
it-IT- Italian, Italy -
ja-JP- Japanese, Japan -
ko-KR- Korean, Republic of Korea -
pt-BR- Portugese, Brazil -
zh-CN- Chinese, China -
zh-TW- Chinese, Taiwan
-
Raises:
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.