Get Recommendations
| codeguruprofiler_get_recommendations | R Documentation |
Returns a list of Recommendation objects that contain recommendations for a profiling group for a given time period¶
Description¶
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.
Usage¶
Arguments¶
endTime[required] 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.localeThe language used to provide analysis. Specify using a string that is one of the following
BCP 47language codes.de-DE- German, Germanyen-GB- English, United Kingdomen-US- English, United Stateses-ES- Spanish, Spainfr-FR- French, Franceit-IT- Italian, Italyja-JP- Japanese, Japanko-KR- Korean, Republic of Koreapt-BR- Portugese, Brazilzh-CN- Chinese, Chinazh-TW- Chinese, Taiwan
profilingGroupName[required] The name of the profiling group to get analysis data about.
startTime[required] 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.
Value¶
A list with the following syntax:
list(
anomalies = list(
list(
instances = list(
list(
endTime = as.POSIXct(
"2015-01-01"
),
id = "string",
startTime = as.POSIXct(
"2015-01-01"
),
userFeedback = list(
type = "Positive"|"Negative"
)
)
),
metric = list(
frameName = "string",
threadStates = list(
"string"
),
type = "AggregatedRelativeTotalTime"
),
reason = "string"
)
),
profileEndTime = as.POSIXct(
"2015-01-01"
),
profileStartTime = as.POSIXct(
"2015-01-01"
),
profilingGroupName = "string",
recommendations = list(
list(
allMatchesCount = 123,
allMatchesSum = 123.0,
endTime = as.POSIXct(
"2015-01-01"
),
pattern = list(
countersToAggregate = list(
"string"
),
description = "string",
id = "string",
name = "string",
resolutionSteps = "string",
targetFrames = list(
list(
"string"
)
),
thresholdPercent = 123.0
),
startTime = as.POSIXct(
"2015-01-01"
),
topMatches = list(
list(
frameAddress = "string",
targetFramesIndex = 123,
thresholdBreachValue = 123.0
)
)
)
)
)