{ "version":"2.0", "metadata":{ "apiVersion":"2019-07-18", "endpointPrefix":"codeguru-profiler", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"Amazon CodeGuru Profiler", "serviceId":"CodeGuruProfiler", "signatureVersion":"v4", "signingName":"codeguru-profiler", "uid":"codeguruprofiler-2019-07-18" }, "operations":{ "AddNotificationChannels":{ "name":"AddNotificationChannels", "http":{ "method":"POST", "requestUri":"/profilingGroups/{profilingGroupName}/notificationConfiguration", "responseCode":200 }, "input":{"shape":"AddNotificationChannelsRequest"}, "output":{"shape":"AddNotificationChannelsResponse"}, "errors":[ {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Add up to 2 anomaly notifications channels for a profiling group.

" }, "BatchGetFrameMetricData":{ "name":"BatchGetFrameMetricData", "http":{ "method":"POST", "requestUri":"/profilingGroups/{profilingGroupName}/frames/-/metrics", "responseCode":200 }, "input":{"shape":"BatchGetFrameMetricDataRequest"}, "output":{"shape":"BatchGetFrameMetricDataResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Returns the time series of values for a requested list of frame metrics from a time period.

" }, "ConfigureAgent":{ "name":"ConfigureAgent", "http":{ "method":"POST", "requestUri":"/profilingGroups/{profilingGroupName}/configureAgent", "responseCode":200 }, "input":{"shape":"ConfigureAgentRequest"}, "output":{"shape":"ConfigureAgentResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Used by profiler agents to report their current state and to receive remote configuration updates. For example, `ConfigureAgent` can be used to tell an agent whether to profile or not and for how long to return profiling data.

" }, "CreateProfilingGroup":{ "name":"CreateProfilingGroup", "http":{ "method":"POST", "requestUri":"/profilingGroups", "responseCode":201 }, "input":{"shape":"CreateProfilingGroupRequest"}, "output":{"shape":"CreateProfilingGroupResponse"}, "errors":[ {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"} ], "documentation":"

Creates a profiling group.

", "idempotent":true }, "DeleteProfilingGroup":{ "name":"DeleteProfilingGroup", "http":{ "method":"DELETE", "requestUri":"/profilingGroups/{profilingGroupName}", "responseCode":204 }, "input":{"shape":"DeleteProfilingGroupRequest"}, "output":{"shape":"DeleteProfilingGroupResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes a profiling group.

", "idempotent":true }, "DescribeProfilingGroup":{ "name":"DescribeProfilingGroup", "http":{ "method":"GET", "requestUri":"/profilingGroups/{profilingGroupName}", "responseCode":200 }, "input":{"shape":"DescribeProfilingGroupRequest"}, "output":{"shape":"DescribeProfilingGroupResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Returns a `ProfilingGroupDescription` object that contains information about the requested profiling group.

" }, "GetFindingsReportAccountSummary":{ "name":"GetFindingsReportAccountSummary", "http":{ "method":"GET", "requestUri":"/internal/findingsReports", "responseCode":200 }, "input":{"shape":"GetFindingsReportAccountSummaryRequest"}, "output":{"shape":"GetFindingsReportAccountSummaryResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"} ], "documentation":"

Returns a list of `FindingsReportSummary` objects that contain analysis results for all profiling groups in your AWS account.

" }, "GetNotificationConfiguration":{ "name":"GetNotificationConfiguration", "http":{ "method":"GET", "requestUri":"/profilingGroups/{profilingGroupName}/notificationConfiguration", "responseCode":200 }, "input":{"shape":"GetNotificationConfigurationRequest"}, "output":{"shape":"GetNotificationConfigurationResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Get the current configuration for anomaly notifications for a profiling group.

" }, "GetPolicy":{ "name":"GetPolicy", "http":{ "method":"GET", "requestUri":"/profilingGroups/{profilingGroupName}/policy", "responseCode":200 }, "input":{"shape":"GetPolicyRequest"}, "output":{"shape":"GetPolicyResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Returns the JSON-formatted resource-based policy on a profiling group.

" }, "GetProfile":{ "name":"GetProfile", "http":{ "method":"GET", "requestUri":"/profilingGroups/{profilingGroupName}/profile", "responseCode":200 }, "input":{"shape":"GetProfileRequest"}, "output":{"shape":"GetProfileResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Gets the aggregated profile of a profiling group for a specified time range. Amazon CodeGuru Profiler collects posted agent profiles for a profiling group into aggregated profiles.

     <note> <p> Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent. </p> </note> <p> Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>, <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters, an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned. </p> <p> Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to UTC. The aggregation period of an aggregated profile determines how long it is retained. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html"> <code>AggregatedProfileTime</code> </a>. The aggregated profile's aggregation period determines how long it is retained by CodeGuru Profiler. </p> <ul> <li> <p> If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days. </p> </li> <li> <p> If the aggregation period is 1 hour, the aggregated profile is retained for 60 days. </p> </li> <li> <p> If the aggregation period is 1 day, the aggregated profile is retained for 3 years. </p> </li> </ul> <p>There are two use cases for calling <code>GetProfile</code>.</p> <ol> <li> <p> If you want to return an aggregated profile that already exists, use <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html"> <code>ListProfileTimes</code> </a> to view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific, existing aggregated profile. </p> </li> <li> <p> If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile, then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time range and return them as one aggregated profile. </p> <p> If aggregated profiles do not exist for the full time range requested, then aggregated profiles for a smaller time range are returned. For example, if the requested time range is from 00:00 to 00:20, and the existing aggregated profiles are from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p> </li> </ol>

" }, "GetRecommendations":{ "name":"GetRecommendations", "http":{ "method":"GET", "requestUri":"/internal/profilingGroups/{profilingGroupName}/recommendations", "responseCode":200 }, "input":{"shape":"GetRecommendationsRequest"}, "output":{"shape":"GetRecommendationsResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

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.

" }, "ListFindingsReports":{ "name":"ListFindingsReports", "http":{ "method":"GET", "requestUri":"/internal/profilingGroups/{profilingGroupName}/findingsReports", "responseCode":200 }, "input":{"shape":"ListFindingsReportsRequest"}, "output":{"shape":"ListFindingsReportsResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

List the available reports for a given profiling group and time range.

" }, "ListProfileTimes":{ "name":"ListProfileTimes", "http":{ "method":"GET", "requestUri":"/profilingGroups/{profilingGroupName}/profileTimes", "responseCode":200 }, "input":{"shape":"ListProfileTimesRequest"}, "output":{"shape":"ListProfileTimesResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Lists the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.

" }, "ListProfilingGroups":{ "name":"ListProfilingGroups", "http":{ "method":"GET", "requestUri":"/profilingGroups", "responseCode":200 }, "input":{"shape":"ListProfilingGroupsRequest"}, "output":{"shape":"ListProfilingGroupsResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ThrottlingException"} ], "documentation":"

Returns a list of profiling groups. The profiling groups are returned as `ProfilingGroupDescription` objects.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Returns a list of the tags that are assigned to a specified resource.

" }, "PostAgentProfile":{ "name":"PostAgentProfile", "http":{ "method":"POST", "requestUri":"/profilingGroups/{profilingGroupName}/agentProfile", "responseCode":204 }, "input":{"shape":"PostAgentProfileRequest"}, "output":{"shape":"PostAgentProfileResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use `GetProfile` .

" }, "PutPermission":{ "name":"PutPermission", "http":{ "method":"PUT", "requestUri":"/profilingGroups/{profilingGroupName}/policy/{actionGroup}", "responseCode":200 }, "input":{"shape":"PutPermissionRequest"}, "output":{"shape":"PutPermissionResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Adds permissions to a profiling group's resource-based policy that are provided using an action group. If a profiling group doesn't have a resource-based policy, one is created for it using the permissions in the action group and the roles and users in the `principals` parameter.

     <p> The one supported action group that can be added is <code>agentPermission</code> which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html"> <code>ConfigureAgent</code> </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html"> <code>PostAgentProfile</code> </a>. </p> <p> The first time you call <code>PutPermission</code> on a profiling group, do not specify a <code>revisionId</code> because it doesn't have a resource-based policy. Subsequent calls must provide a <code>revisionId</code> to specify which revision of the resource-based policy to add the permissions to. </p> <p> The response contains the profiling group's JSON-formatted resource policy. </p>

", "idempotent":true }, "RemoveNotificationChannel":{ "name":"RemoveNotificationChannel", "http":{ "method":"DELETE", "requestUri":"/profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}", "responseCode":200 }, "input":{"shape":"RemoveNotificationChannelRequest"}, "output":{"shape":"RemoveNotificationChannelResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Remove one anomaly notifications channel for a profiling group.

", "idempotent":true }, "RemovePermission":{ "name":"RemovePermission", "http":{ "method":"DELETE", "requestUri":"/profilingGroups/{profilingGroupName}/policy/{actionGroup}", "responseCode":200 }, "input":{"shape":"RemovePermissionRequest"}, "output":{"shape":"RemovePermissionResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Removes permissions from a profiling group's resource-based policy that are provided using an action group. The one supported action group that can be removed is `agentPermission` which grants `ConfigureAgent` and `PostAgent` permissions. For more information, see Resource-based policies in CodeGuru Profiler in the Amazon CodeGuru Profiler User Guide, `ConfigureAgent` , and `PostAgentProfile` .

" }, "SubmitFeedback":{ "name":"SubmitFeedback", "http":{ "method":"POST", "requestUri":"/internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback", "responseCode":204 }, "input":{"shape":"SubmitFeedbackRequest"}, "output":{"shape":"SubmitFeedbackResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{resourceArn}", "responseCode":204 }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Use to assign one or more tags to a resource.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}", "responseCode":204 }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Use to remove one or more tags from a resource.

", "idempotent":true }, "UpdateProfilingGroup":{ "name":"UpdateProfilingGroup", "http":{ "method":"PUT", "requestUri":"/profilingGroups/{profilingGroupName}", "responseCode":200 }, "input":{"shape":"UpdateProfilingGroupRequest"}, "output":{"shape":"UpdateProfilingGroupResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Updates a profiling group.

", "idempotent":true } }, "shapes":{ "ActionGroup":{ "type":"string", "enum":["agentPermissions"] }, "AddNotificationChannelsRequest":{ "type":"structure", "required":[ "channels", "profilingGroupName" ], "members":{ "channels":{ "shape":"Channels", "documentation":"

One or 2 channels to report to when anomalies are detected.

" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group that we are setting up notifications for.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the AddNotificationChannelsRequest.

" }, "AddNotificationChannelsResponse":{ "type":"structure", "members":{ "notificationConfiguration":{ "shape":"NotificationConfiguration", "documentation":"

The new notification configuration for this profiling group.

" } }, "documentation":"

The structure representing the AddNotificationChannelsResponse.

" }, "AgentConfiguration":{ "type":"structure", "required":[ "periodInSeconds", "shouldProfile" ], "members":{ "agentParameters":{ "shape":"AgentParameters", "documentation":"

Parameters used by the profiler. The valid parameters are:

- `MaxStackDepth` - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method `A`, which calls method `B`, which calls method `C`, which calls method `D`, then the depth is 4. If the `maxDepth` is set to 2, then the profiler evaluates `A` and `B`.

- `MemoryUsageLimitPercent` - The percentage of memory that is used by the profiler.

- `MinimumTimeForReportingInMilliseconds` - The minimum time in milliseconds between sending reports.

- `ReportingIntervalInMilliseconds` - The reporting interval in milliseconds used to report profiles.

- `SamplingIntervalInMilliseconds` - The sampling interval in milliseconds that is used to profile samples.

" }, "periodInSeconds":{ "shape":"Integer", "documentation":"

How long a profiling agent should send profiling data using `ConfigureAgent` . For example, if this is set to 300, the profiling agent calls `ConfigureAgent` every 5 minutes to submit the profiled data collected during that period.

" }, "shouldProfile":{ "shape":"Boolean", "documentation":"

A `Boolean` that specifies whether the profiling agent collects profiling data or not. Set to `true` to enable profiling.

" } }, "documentation":"

The response of `ConfigureAgent` that specifies if an agent profiles or not and for how long to return profiling data.

" }, "AgentOrchestrationConfig":{ "type":"structure", "required":["profilingEnabled"], "members":{ "profilingEnabled":{ "shape":"Boolean", "documentation":"

A `Boolean` that specifies whether the profiling agent collects profiling data or not. Set to `true` to enable profiling.

" } }, "documentation":"

Specifies whether profiling is enabled or disabled for a profiling group. It is used by `ConfigureAgent` to enable or disable profiling for a profiling group.

" }, "AgentParameterField":{ "type":"string", "enum":[ "SamplingIntervalInMilliseconds", "ReportingIntervalInMilliseconds", "MinimumTimeForReportingInMilliseconds", "MemoryUsageLimitPercent", "MaxStackDepth" ] }, "AgentParameters":{ "type":"map", "key":{"shape":"AgentParameterField"}, "value":{"shape":"String"} }, "AgentProfile":{"type":"blob"}, "AggregatedProfile":{"type":"blob"}, "AggregatedProfileTime":{ "type":"structure", "members":{ "period":{ "shape":"AggregationPeriod", "documentation":"

The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

- `P1D` — 1 day

- `PT1H` — 1 hour

- `PT5M` — 5 minutes

" }, "start":{ "shape":"Timestamp", "documentation":"

The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the `period` property of the `AggregatedProfileTime` object.

Specify `start` 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.

" } }, "documentation":"

Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 hour, or 5 minutes).

" }, "AggregationPeriod":{ "type":"string", "enum":[ "PT5M", "PT1H", "P1D" ] }, "Anomalies":{ "type":"list", "member":{"shape":"Anomaly"} }, "Anomaly":{ "type":"structure", "required":[ "instances", "metric", "reason" ], "members":{ "instances":{ "shape":"AnomalyInstances", "documentation":"

A list of the instances of the detected anomalies during the requested period.

" }, "metric":{ "shape":"Metric", "documentation":"

Details about the metric that the analysis used when it detected the anomaly. The metric includes the name of the frame that was analyzed with the type and thread states used to derive the metric value for that frame.

" }, "reason":{ "shape":"String", "documentation":"

The reason for which metric was flagged as anomalous.

" } }, "documentation":"

Details about an anomaly in a specific metric of application profile. The anomaly is detected using analysis of the metric data over a period of time.

" }, "AnomalyInstance":{ "type":"structure", "required":[ "id", "startTime" ], "members":{ "endTime":{ "shape":"Timestamp", "documentation":"

The end time of the period during which the metric is flagged as anomalous. 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.

" }, "id":{ "shape":"String", "documentation":"

The universally unique identifier (UUID) of an instance of an anomaly in a metric.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start time of the period during which the metric is flagged as anomalous. 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.

" }, "userFeedback":{ "shape":"UserFeedback", "documentation":"

Feedback type on a specific instance of anomaly submitted by the user.

" } }, "documentation":"

The specific duration in which the metric is flagged as anomalous.

" }, "AnomalyInstanceId":{ "type":"string", "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" }, "AnomalyInstances":{ "type":"list", "member":{"shape":"AnomalyInstance"} }, "BatchGetFrameMetricDataRequest":{ "type":"structure", "required":["profilingGroupName"], "members":{ "endTime":{ "shape":"Timestamp", "documentation":"

The end time of the time period for the returned time series values. 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.

", "location":"querystring", "locationName":"endTime" }, "frameMetrics":{ "shape":"FrameMetrics", "documentation":"

The details of the metrics that are used to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.

" }, "period":{ "shape":"Period", "documentation":"

The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The maximum period duration is one day (`PT24H` or `P1D`).

", "location":"querystring", "locationName":"period" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group associated with the the frame metrics used to return the time series values.

", "location":"uri", "locationName":"profilingGroupName" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start time of the time period for the frame metrics used to return the time series values. 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.

", "location":"querystring", "locationName":"startTime" }, "targetResolution":{ "shape":"AggregationPeriod", "documentation":"

The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.

- `P1D` — 1 day

- `PT1H` — 1 hour

- `PT5M` — 5 minutes

", "location":"querystring", "locationName":"targetResolution" } }, "documentation":"

The structure representing the BatchGetFrameMetricDataRequest.

" }, "BatchGetFrameMetricDataResponse":{ "type":"structure", "required":[ "endTime", "endTimes", "frameMetricData", "resolution", "startTime", "unprocessedEndTimes" ], "members":{ "endTime":{ "shape":"Timestamp", "documentation":"

The end time of the time period for the returned time series values. 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.

" }, "endTimes":{ "shape":"ListOfTimestamps", "documentation":"

List of instances, or time steps, in the time series. For example, if the `period` is one day (`PT24H)`), and the `resolution` is five minutes (`PT5M`), then there are 288 `endTimes` in the list that are each five minutes appart.

" }, "frameMetricData":{ "shape":"FrameMetricData", "documentation":"

Details of the metrics to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.

" }, "resolution":{ "shape":"AggregationPeriod", "documentation":"

Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values.

- `P1D` — 1 day

- `PT1H` — 1 hour

- `PT5M` — 5 minutes

" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start time of the time period for the returned time series values. 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.

" }, "unprocessedEndTimes":{ "shape":"UnprocessedEndTimeMap", "documentation":"

List of instances which remained unprocessed. This will create a missing time step in the list of end times.

" } }, "documentation":"

The structure representing the BatchGetFrameMetricDataResponse.

" }, "Boolean":{ "type":"boolean", "box":true }, "Channel":{ "type":"structure", "required":[ "eventPublishers", "uri" ], "members":{ "eventPublishers":{ "shape":"EventPublishers", "documentation":"

List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.

" }, "id":{ "shape":"ChannelId", "documentation":"

Unique identifier for each `Channel` in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.

" }, "uri":{ "shape":"ChannelUri", "documentation":"

Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.

" } }, "documentation":"

Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.

" }, "ChannelId":{ "type":"string", "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" }, "ChannelUri":{ "type":"string", "documentation":"

Channel URI uniquely identifies a Notification Channel. TopicArn is the uri for an SNS channel, emailId is uri for an email channel etc. Currently we only support SNS channels and thus required to be an ARN

" }, "Channels":{ "type":"list", "member":{"shape":"Channel"}, "max":2, "min":1 }, "ClientToken":{ "type":"string", "max":64, "min":1, "pattern":"^[\\w-]+$" }, "ComputePlatform":{ "type":"string", "enum":[ "Default", "AWSLambda" ] }, "ConfigureAgentRequest":{ "type":"structure", "required":["profilingGroupName"], "members":{ "fleetInstanceId":{ "shape":"FleetInstanceId", "documentation":"

A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is an Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's task ID.

" }, "metadata":{ "shape":"Metadata", "documentation":"

Metadata captured about the compute platform the agent is running on. It includes information about sampling and reporting. The valid fields are:

- `COMPUTE_PLATFORM` - The compute platform on which the agent is running

- `AGENT_ID` - The ID for an agent instance.

- `AWS_REQUEST_ID` - The AWS request ID of a Lambda invocation.

- `EXECUTION_ENVIRONMENT` - The execution environment a Lambda function is running on.

- `LAMBDA_FUNCTION_ARN` - The Amazon Resource Name (ARN) that is used to invoke a Lambda function.

- `LAMBDA_MEMORY_LIMIT_IN_MB` - The memory allocated to a Lambda function.

- `LAMBDA_REMAINING_TIME_IN_MILLISECONDS` - The time in milliseconds before execution of a Lambda function times out.

- `LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS` - The time in milliseconds between two invocations of a Lambda function.

- `LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS` - The time in milliseconds for the previous Lambda invocation.

" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group for which the configured agent is collecting profiling data.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the configureAgentRequest.

" }, "ConfigureAgentResponse":{ "type":"structure", "required":["configuration"], "members":{ "configuration":{ "shape":"AgentConfiguration", "documentation":"

An `AgentConfiguration` object that specifies if an agent profiles or not and for how long to return profiling data.

" } }, "documentation":"

The structure representing the configureAgentResponse.

", "payload":"configuration" }, "ConflictException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.

", "error":{ "httpStatusCode":409, "senderFault":true }, "exception":true }, "CreateProfilingGroupRequest":{ "type":"structure", "required":[ "clientToken", "profilingGroupName" ], "members":{ "agentOrchestrationConfig":{ "shape":"AgentOrchestrationConfig", "documentation":"

Specifies whether profiling is enabled or disabled for the created profiling group.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.

", "idempotencyToken":true, "location":"querystring", "locationName":"clientToken" }, "computePlatform":{ "shape":"ComputePlatform", "documentation":"

The compute platform of the profiling group. Use `AWSLambda` if your application runs on AWS Lambda. Use `Default` if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, `Default` is used.

" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group to create.

" }, "tags":{ "shape":"TagsMap", "documentation":"

A list of tags to add to the created profiling group.

" } }, "documentation":"

The structure representing the createProfiliingGroupRequest.

" }, "CreateProfilingGroupResponse":{ "type":"structure", "required":["profilingGroup"], "members":{ "profilingGroup":{ "shape":"ProfilingGroupDescription", "documentation":"

The returned `ProfilingGroupDescription` object that contains information about the created profiling group.

" } }, "documentation":"

The structure representing the createProfilingGroupResponse.

", "payload":"profilingGroup" }, "DeleteProfilingGroupRequest":{ "type":"structure", "required":["profilingGroupName"], "members":{ "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group to delete.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the deleteProfilingGroupRequest.

" }, "DeleteProfilingGroupResponse":{ "type":"structure", "members":{ }, "documentation":"

The structure representing the deleteProfilingGroupResponse.

" }, "DescribeProfilingGroupRequest":{ "type":"structure", "required":["profilingGroupName"], "members":{ "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group to get information about.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the describeProfilingGroupRequest.

" }, "DescribeProfilingGroupResponse":{ "type":"structure", "required":["profilingGroup"], "members":{ "profilingGroup":{ "shape":"ProfilingGroupDescription", "documentation":"

The returned `ProfilingGroupDescription` object that contains information about the requested profiling group.

" } }, "documentation":"

The structure representing the describeProfilingGroupResponse.

", "payload":"profilingGroup" }, "Double":{ "type":"double", "box":true }, "EventPublisher":{ "type":"string", "enum":["AnomalyDetection"] }, "EventPublishers":{ "type":"list", "member":{"shape":"EventPublisher"}, "max":1, "min":1 }, "FeedbackType":{ "type":"string", "enum":[ "Positive", "Negative" ] }, "FindingsReportId":{ "type":"string", "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" }, "FindingsReportSummaries":{ "type":"list", "member":{"shape":"FindingsReportSummary"} }, "FindingsReportSummary":{ "type":"structure", "members":{ "id":{ "shape":"FindingsReportId", "documentation":"

The universally unique identifier (UUID) of the recommendation report.

" }, "profileEndTime":{ "shape":"Timestamp", "documentation":"

The end time of the period during which the metric is flagged as anomalous. 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.

" }, "profileStartTime":{ "shape":"Timestamp", "documentation":"

The start time of the profile the analysis data is about. 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.

" }, "profilingGroupName":{ "shape":"String", "documentation":"

The name of the profiling group that is associated with the analysis data.

" }, "totalNumberOfFindings":{ "shape":"Integer", "documentation":"

The total number of different recommendations that were found by the analysis.

" } }, "documentation":"

Information about potential recommendations that might be created from the analysis of profiling data.

" }, "FleetInstanceId":{ "type":"string", "max":255, "min":1 }, "FrameMetric":{ "type":"structure", "required":[ "frameName", "threadStates", "type" ], "members":{ "frameName":{ "shape":"String", "documentation":"

Name of the method common across the multiple occurrences of a frame in an application profile.

" }, "threadStates":{ "shape":"ThreadStates", "documentation":"

List of application runtime thread states used to get the counts for a frame a derive a metric value.

" }, "type":{ "shape":"MetricType", "documentation":"

A type of aggregation that specifies how a metric for a frame is analyzed. The supported value `AggregatedRelativeTotalTime` is an aggregation of the metric value for one frame that is calculated across the occurrences of all frames in a profile.

" } }, "documentation":"

The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.

" }, "FrameMetricData":{ "type":"list", "member":{"shape":"FrameMetricDatum"} }, "FrameMetricDatum":{ "type":"structure", "required":[ "frameMetric", "values" ], "members":{ "frameMetric":{"shape":"FrameMetric"}, "values":{ "shape":"FrameMetricValues", "documentation":"

A list of values that are associated with a frame metric.

" } }, "documentation":"

Information about a frame metric and its values.

" }, "FrameMetricValue":{ "type":"double", "box":true }, "FrameMetricValues":{ "type":"list", "member":{"shape":"FrameMetricValue"} }, "FrameMetrics":{ "type":"list", "member":{"shape":"FrameMetric"} }, "GetFindingsReportAccountSummaryRequest":{ "type":"structure", "members":{ "dailyReportsOnly":{ "shape":"Boolean", "documentation":"

A `Boolean` value indicating whether to only return reports from daily profiles. If set to `True`, only analysis data from daily profiles is returned. If set to `False`, analysis data is returned from smaller time windows (for example, one hour).

", "location":"querystring", "locationName":"dailyReportsOnly" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of results returned by `GetFindingsReportAccountSummary` in paginated output. When this parameter is used, `GetFindingsReportAccountSummary` only returns `maxResults` results in a single page along with a `nextToken` response element. The remaining results of the initial request can be seen by sending another `GetFindingsReportAccountSummary` request with the returned `nextToken` value.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value returned from a previous paginated `GetFindingsReportAccountSummary` request where `maxResults` was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the `nextToken` value.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

", "location":"querystring", "locationName":"nextToken" } }, "documentation":"

The structure representing the GetFindingsReportAccountSummaryRequest.

" }, "GetFindingsReportAccountSummaryResponse":{ "type":"structure", "required":["reportSummaries"], "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value to include in a future `GetFindingsReportAccountSummary` request. When the results of a `GetFindingsReportAccountSummary` request exceed `maxResults`, this value can be used to retrieve the next page of results. This value is `null` when there are no more results to return.

" }, "reportSummaries":{ "shape":"FindingsReportSummaries", "documentation":"

The return list of `FindingsReportSummary` objects taht contain summaries of analysis results for all profiling groups in your AWS account.

" } }, "documentation":"

The structure representing the GetFindingsReportAccountSummaryResponse.

" }, "GetNotificationConfigurationRequest":{ "type":"structure", "required":["profilingGroupName"], "members":{ "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group we want to get the notification configuration for.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the GetNotificationConfigurationRequest.

" }, "GetNotificationConfigurationResponse":{ "type":"structure", "required":["notificationConfiguration"], "members":{ "notificationConfiguration":{ "shape":"NotificationConfiguration", "documentation":"

The current notification configuration for this profiling group.

" } }, "documentation":"

The structure representing the GetNotificationConfigurationResponse.

" }, "GetPolicyRequest":{ "type":"structure", "required":["profilingGroupName"], "members":{ "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the `getPolicyRequest`.

" }, "GetPolicyResponse":{ "type":"structure", "required":[ "policy", "revisionId" ], "members":{ "policy":{ "shape":"String", "documentation":"

The JSON-formatted resource-based policy attached to the `ProfilingGroup`.

" }, "revisionId":{ "shape":"RevisionId", "documentation":"

A unique identifier for the current revision of the returned policy.

" } }, "documentation":"

The structure representing the `getPolicyResponse`.

" }, "GetProfileRequest":{ "type":"structure", "required":["profilingGroupName"], "members":{ "accept":{ "shape":"String", "documentation":"

The format of the returned profiling data. The format maps to the `Accept` and `Content-Type` headers of the HTTP request. You can specify one of the following: or the default .

     <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>

", "location":"header", "locationName":"Accept" }, "endTime":{ "shape":"Timestamp", "documentation":"

The end time of the requested profile. Specify 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.

If you specify `endTime`, then you must also specify `period` or `startTime`, but not both.

", "location":"querystring", "locationName":"endTime" }, "maxDepth":{ "shape":"MaxDepth", "documentation":"

The maximum depth of the stacks in the code that is represented in the aggregated profile. For example, if CodeGuru Profiler finds a method `A`, which calls method `B`, which calls method `C`, which calls method `D`, then the depth is 4. If the `maxDepth` is set to 2, then the aggregated profile contains representations of methods `A` and `B`.

", "location":"querystring", "locationName":"maxDepth" }, "period":{ "shape":"Period", "documentation":"

Used with `startTime` or `endTime` to specify the time range for the returned aggregated profile. Specify using the ISO 8601 format. For example, `P1DT1H1M1S`.

     <p> To get the latest aggregated profile, specify only <code>period</code>. </p>

", "location":"querystring", "locationName":"period" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group to get.

", "location":"uri", "locationName":"profilingGroupName" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start time of the profile to get. Specify 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.

     <p> If you specify <code>startTime</code>, then you must also specify <code>period</code> or <code>endTime</code>, but not both. </p>

", "location":"querystring", "locationName":"startTime" } }, "documentation":"

The structure representing the getProfileRequest.

" }, "GetProfileResponse":{ "type":"structure", "required":[ "contentType", "profile" ], "members":{ "contentEncoding":{ "shape":"String", "documentation":"

The content encoding of the profile.

", "location":"header", "locationName":"Content-Encoding" }, "contentType":{ "shape":"String", "documentation":"

The content type of the profile in the payload. It is either `application/json` or the default `application/x-amzn-ion`.

", "location":"header", "locationName":"Content-Type" }, "profile":{ "shape":"AggregatedProfile", "documentation":"

Information about the profile.

" } }, "documentation":"

The structure representing the getProfileResponse.

", "payload":"profile" }, "GetRecommendationsRequest":{ "type":"structure", "required":[ "endTime", "profilingGroupName", "startTime" ], "members":{ "endTime":{ "shape":"Timestamp", "documentation":"

The start time of the profile to get analysis data about. You must specify `startTime` and `endTime`. 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.

", "location":"querystring", "locationName":"endTime" }, "locale":{ "shape":"Locale", "documentation":"

The language used to provide analysis. Specify using a string that is one of the following `BCP 47` language 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

", "location":"querystring", "locationName":"locale" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group to get analysis data about.

", "location":"uri", "locationName":"profilingGroupName" }, "startTime":{ "shape":"Timestamp", "documentation":"

The end time of the profile to get analysis data about. You must specify `startTime` and `endTime`. 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.

", "location":"querystring", "locationName":"startTime" } }, "documentation":"

The structure representing the GetRecommendationsRequest.

" }, "GetRecommendationsResponse":{ "type":"structure", "required":[ "anomalies", "profileEndTime", "profileStartTime", "profilingGroupName", "recommendations" ], "members":{ "anomalies":{ "shape":"Anomalies", "documentation":"

The list of anomalies that the analysis has found for this profile.

" }, "profileEndTime":{ "shape":"Timestamp", "documentation":"

The end time of the profile the analysis data is about. 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.

" }, "profileStartTime":{ "shape":"Timestamp", "documentation":"

The start time of the profile the analysis data is about. 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.

" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group the analysis data is about.

" }, "recommendations":{ "shape":"Recommendations", "documentation":"

The list of recommendations that the analysis found for this profile.

" } }, "documentation":"

The structure representing the GetRecommendationsResponse.

" }, "Integer":{ "type":"integer", "box":true }, "InternalServerException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The server encountered an internal error and is unable to complete the request.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true, "retryable":{"throttling":false} }, "ListFindingsReportsRequest":{ "type":"structure", "required":[ "endTime", "profilingGroupName", "startTime" ], "members":{ "dailyReportsOnly":{ "shape":"Boolean", "documentation":"

A `Boolean` value indicating whether to only return reports from daily profiles. If set to `True`, only analysis data from daily profiles is returned. If set to `False`, analysis data is returned from smaller time windows (for example, one hour).

", "location":"querystring", "locationName":"dailyReportsOnly" }, "endTime":{ "shape":"Timestamp", "documentation":"

The end time of the profile to get analysis data about. You must specify `startTime` and `endTime`. 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.

", "location":"querystring", "locationName":"endTime" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of report results returned by `ListFindingsReports` in paginated output. When this parameter is used, `ListFindingsReports` only returns `maxResults` results in a single page along with a `nextToken` response element. The remaining results of the initial request can be seen by sending another `ListFindingsReports` request with the returned `nextToken` value.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value returned from a previous paginated `ListFindingsReportsRequest` request where `maxResults` was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the `nextToken` value.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

", "location":"querystring", "locationName":"nextToken" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group from which to search for analysis data.

", "location":"uri", "locationName":"profilingGroupName" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start time of the profile to get analysis data about. You must specify `startTime` and `endTime`. 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.

", "location":"querystring", "locationName":"startTime" } }, "documentation":"

The structure representing the ListFindingsReportsRequest.

" }, "ListFindingsReportsResponse":{ "type":"structure", "required":["findingsReportSummaries"], "members":{ "findingsReportSummaries":{ "shape":"FindingsReportSummaries", "documentation":"

The list of analysis results summaries.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value to include in a future `ListFindingsReports` request. When the results of a `ListFindingsReports` request exceed `maxResults`, this value can be used to retrieve the next page of results. This value is `null` when there are no more results to return.

" } }, "documentation":"

The structure representing the ListFindingsReportsResponse.

" }, "ListOfTimestamps":{ "type":"list", "member":{"shape":"TimestampStructure"} }, "ListProfileTimesRequest":{ "type":"structure", "required":[ "endTime", "period", "profilingGroupName", "startTime" ], "members":{ "endTime":{ "shape":"Timestamp", "documentation":"

The end time of the time range from which to list the profiles.

", "location":"querystring", "locationName":"endTime" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of profile time results returned by `ListProfileTimes` in paginated output. When this parameter is used, `ListProfileTimes` only returns `maxResults` results in a single page with a `nextToken` response element. The remaining results of the initial request can be seen by sending another `ListProfileTimes` request with the returned `nextToken` value.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value returned from a previous paginated `ListProfileTimes` request where `maxResults` was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the `nextToken` value.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

", "location":"querystring", "locationName":"nextToken" }, "orderBy":{ "shape":"OrderBy", "documentation":"

The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to `TIMESTAMP_DESCENDING`.

", "location":"querystring", "locationName":"orderBy" }, "period":{ "shape":"AggregationPeriod", "documentation":"

The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.

- `P1D` — 1 day

- `PT1H` — 1 hour

- `PT5M` — 5 minutes

", "location":"querystring", "locationName":"period" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group.

", "location":"uri", "locationName":"profilingGroupName" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start time of the time range from which to list the profiles.

", "location":"querystring", "locationName":"startTime" } }, "documentation":"

The structure representing the listProfileTimesRequest.

" }, "ListProfileTimesResponse":{ "type":"structure", "required":["profileTimes"], "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value to include in a future `ListProfileTimes` request. When the results of a `ListProfileTimes` request exceed `maxResults`, this value can be used to retrieve the next page of results. This value is `null` when there are no more results to return.

" }, "profileTimes":{ "shape":"ProfileTimes", "documentation":"

The list of start times of the available profiles for the aggregation period in the specified time range.

" } }, "documentation":"

The structure representing the listProfileTimesResponse.

" }, "ListProfilingGroupsRequest":{ "type":"structure", "members":{ "includeDescription":{ "shape":"Boolean", "documentation":"

A `Boolean` value indicating whether to include a description. If `true`, then a list of `ProfilingGroupDescription` objects that contain detailed information about profiling groups is returned. If `false`, then a list of profiling group names is returned.

", "location":"querystring", "locationName":"includeDescription" }, "maxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of profiling groups results returned by `ListProfilingGroups` in paginated output. When this parameter is used, `ListProfilingGroups` only returns `maxResults` results in a single page along with a `nextToken` response element. The remaining results of the initial request can be seen by sending another `ListProfilingGroups` request with the returned `nextToken` value.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value returned from a previous paginated `ListProfilingGroups` request where `maxResults` was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the `nextToken` value.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

", "location":"querystring", "locationName":"nextToken" } }, "documentation":"

The structure representing the listProfilingGroupsRequest.

" }, "ListProfilingGroupsResponse":{ "type":"structure", "required":["profilingGroupNames"], "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

The `nextToken` value to include in a future `ListProfilingGroups` request. When the results of a `ListProfilingGroups` request exceed `maxResults`, this value can be used to retrieve the next page of results. This value is `null` when there are no more results to return.

" }, "profilingGroupNames":{ "shape":"ProfilingGroupNames", "documentation":"

A returned list of profiling group names. A list of the names is returned only if `includeDescription` is `false`, otherwise a list of `ProfilingGroupDescription` objects is returned.

" }, "profilingGroups":{ "shape":"ProfilingGroupDescriptions", "documentation":"

A returned list `ProfilingGroupDescription` objects. A list of `ProfilingGroupDescription` objects is returned only if `includeDescription` is `true`, otherwise a list of profiling group names is returned.

" } }, "documentation":"

The structure representing the listProfilingGroupsResponse.

" }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ProfilingGroupArn", "documentation":"

The Amazon Resource Name (ARN) of the resource that contains the tags to return.

", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"TagsMap", "documentation":"

The list of tags assigned to the specified resource. This is the list of tags returned in the response.

" } } }, "Locale":{ "type":"string", "documentation":"

BCP47 language code. Supported locales: de-DE, en-GB, en-US, es-ES, fr-FR, it-IT, ja-JP, ko-KR, pt-BR, zh-CN, zh-TW

" }, "Match":{ "type":"structure", "members":{ "frameAddress":{ "shape":"String", "documentation":"

The location in the profiling graph that contains a recommendation found during analysis.

" }, "targetFramesIndex":{ "shape":"Integer", "documentation":"

The target frame that triggered a match.

" }, "thresholdBreachValue":{ "shape":"Double", "documentation":"

The value in the profile data that exceeded the recommendation threshold.

" } }, "documentation":"

The part of a profile that contains a recommendation found during analysis.

" }, "Matches":{ "type":"list", "member":{"shape":"Match"} }, "MaxDepth":{ "type":"integer", "box":true, "max":10000, "min":1 }, "MaxResults":{ "type":"integer", "box":true, "max":1000, "min":1 }, "Metadata":{ "type":"map", "key":{"shape":"MetadataField"}, "value":{"shape":"String"} }, "MetadataField":{ "type":"string", "enum":[ "ComputePlatform", "AgentId", "AwsRequestId", "ExecutionEnvironment", "LambdaFunctionArn", "LambdaMemoryLimitInMB", "LambdaRemainingTimeInMilliseconds", "LambdaTimeGapBetweenInvokesInMilliseconds", "LambdaPreviousExecutionTimeInMilliseconds" ] }, "Metric":{ "type":"structure", "required":[ "frameName", "threadStates", "type" ], "members":{ "frameName":{ "shape":"String", "documentation":"

The name of the method that appears as a frame in any stack in a profile.

" }, "threadStates":{ "shape":"Strings", "documentation":"

The list of application runtime thread states that is used to calculate the metric value for the frame.

" }, "type":{ "shape":"MetricType", "documentation":"

A type that specifies how a metric for a frame is analyzed. The supported value `AggregatedRelativeTotalTime` is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.

" } }, "documentation":"

Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame.

" }, "MetricType":{ "type":"string", "enum":["AggregatedRelativeTotalTime"] }, "NotificationConfiguration":{ "type":"structure", "members":{ "channels":{ "shape":"Channels", "documentation":"

List of up to two channels to be used for sending notifications for events detected from the application profile.

" } }, "documentation":"

The configuration for notifications stored for each profiling group. This includes up to to two channels and a list of event publishers associated with each channel.

" }, "OrderBy":{ "type":"string", "enum":[ "TimestampDescending", "TimestampAscending" ] }, "PaginationToken":{ "type":"string", "max":64, "min":1, "pattern":"^[\\w-]+$" }, "Pattern":{ "type":"structure", "members":{ "countersToAggregate":{ "shape":"Strings", "documentation":"

A list of the different counters used to determine if there is a match.

" }, "description":{ "shape":"String", "documentation":"

The description of the recommendation. This explains a potential inefficiency in a profiled application.

" }, "id":{ "shape":"String", "documentation":"

The universally unique identifier (UUID) of this pattern.

" }, "name":{ "shape":"String", "documentation":"

The name for this pattern.

" }, "resolutionSteps":{ "shape":"String", "documentation":"

A string that contains the steps recommended to address the potential inefficiency.

" }, "targetFrames":{ "shape":"TargetFrames", "documentation":"

A list of frame names that were searched during the analysis that generated a recommendation.

" }, "thresholdPercent":{ "shape":"Percentage", "documentation":"

The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.

" } }, "documentation":"

A set of rules used to make a recommendation during an analysis.

" }, "Percentage":{ "type":"double", "max":100, "min":0 }, "Period":{ "type":"string", "max":64, "min":1 }, "PostAgentProfileRequest":{ "type":"structure", "required":[ "agentProfile", "contentType", "profilingGroupName" ], "members":{ "agentProfile":{ "shape":"AgentProfile", "documentation":"

The submitted profiling data.

" }, "contentType":{ "shape":"String", "documentation":"

The format of the submitted profiling data. The format maps to the `Accept` and `Content-Type` headers of the HTTP request. You can specify one of the following: or the default .

     <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>

", "location":"header", "locationName":"Content-Type" }, "profileToken":{ "shape":"ClientToken", "documentation":"

Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.

", "idempotencyToken":true, "location":"querystring", "locationName":"profileToken" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group with the aggregated profile that receives the submitted profiling data.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the postAgentProfileRequest.

", "payload":"agentProfile" }, "PostAgentProfileResponse":{ "type":"structure", "members":{ }, "documentation":"

The structure representing the postAgentProfileResponse.

" }, "Principal":{"type":"string"}, "Principals":{ "type":"list", "member":{"shape":"Principal"}, "max":50, "min":1 }, "ProfileTime":{ "type":"structure", "members":{ "start":{ "shape":"Timestamp", "documentation":"

The start time of a profile. It 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.

" } }, "documentation":"

Contains the start time of a profile.

" }, "ProfileTimes":{ "type":"list", "member":{"shape":"ProfileTime"} }, "ProfilingGroupArn":{"type":"string"}, "ProfilingGroupDescription":{ "type":"structure", "members":{ "agentOrchestrationConfig":{ "shape":"AgentOrchestrationConfig", "documentation":"

An `AgentOrchestrationConfig` object that indicates if the profiling group is enabled for profiled or not.

" }, "arn":{ "shape":"ProfilingGroupArn", "documentation":"

The Amazon Resource Name (ARN) identifying the profiling group resource.

" }, "computePlatform":{ "shape":"ComputePlatform", "documentation":"

The compute platform of the profiling group. If it is set to `AWSLambda`, then the profiled application runs on AWS Lambda. If it is set to `Default`, then the profiled application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. The default is `Default`.

" }, "createdAt":{ "shape":"Timestamp", "documentation":"

The time when the profiling group was created. Specify 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.

" }, "name":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group.

" }, "profilingStatus":{ "shape":"ProfilingStatus", "documentation":"

A `ProfilingStatus` object that includes information about the last time a profile agent pinged back, the last time a profile was received, and the aggregation period and start time for the most recent aggregated profile.

" }, "tags":{ "shape":"TagsMap", "documentation":"

A list of the tags that belong to this profiling group.

" }, "updatedAt":{ "shape":"Timestamp", "documentation":"

The date and time when the profiling group was last updated. Specify 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.

" } }, "documentation":"

Contains information about a profiling group.

" }, "ProfilingGroupDescriptions":{ "type":"list", "member":{"shape":"ProfilingGroupDescription"} }, "ProfilingGroupName":{ "type":"string", "max":255, "min":1, "pattern":"^[\\w-]+$" }, "ProfilingGroupNames":{ "type":"list", "member":{"shape":"ProfilingGroupName"} }, "ProfilingStatus":{ "type":"structure", "members":{ "latestAgentOrchestratedAt":{ "shape":"Timestamp", "documentation":"

The date and time when the profiling agent most recently pinged back. Specify 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.

" }, "latestAgentProfileReportedAt":{ "shape":"Timestamp", "documentation":"

The date and time when the most recent profile was received. Specify 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.

" }, "latestAggregatedProfile":{ "shape":"AggregatedProfileTime", "documentation":"

An `AggregatedProfileTime` object that contains the aggregation period and start time for an aggregated profile.

" } }, "documentation":"

Profiling status includes information about the last time a profile agent pinged back, the last time a profile was received, and the aggregation period and start time for the most recent aggregated profile.

" }, "PutPermissionRequest":{ "type":"structure", "required":[ "actionGroup", "principals", "profilingGroupName" ], "members":{ "actionGroup":{ "shape":"ActionGroup", "documentation":"

Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported, `agentPermissions`, which grants permission to perform actions required by the profiling agent, `ConfigureAgent` and `PostAgentProfile` permissions.

", "location":"uri", "locationName":"actionGroup" }, "principals":{ "shape":"Principals", "documentation":"

A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.

" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group to grant access to.

", "location":"uri", "locationName":"profilingGroupName" }, "revisionId":{ "shape":"RevisionId", "documentation":"

A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the `revisionId`.

" } }, "documentation":"

The structure representing the `putPermissionRequest`.

" }, "PutPermissionResponse":{ "type":"structure", "required":[ "policy", "revisionId" ], "members":{ "policy":{ "shape":"String", "documentation":"

The JSON-formatted resource-based policy on the profiling group that includes the added permissions.

" }, "revisionId":{ "shape":"RevisionId", "documentation":"

A universally unique identifier (UUID) for the revision of the resource-based policy that includes the added permissions. The JSON-formatted policy is in the `policy` element of the response.

" } }, "documentation":"

The structure representing the `putPermissionResponse`.

" }, "Recommendation":{ "type":"structure", "required":[ "allMatchesCount", "allMatchesSum", "endTime", "pattern", "startTime", "topMatches" ], "members":{ "allMatchesCount":{ "shape":"Integer", "documentation":"

How many different places in the profile graph triggered a match.

" }, "allMatchesSum":{ "shape":"Double", "documentation":"

How much of the total sample count is potentially affected.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

End time of the profile that was used by this analysis. 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.

" }, "pattern":{ "shape":"Pattern", "documentation":"

The pattern that analysis recognized in the profile to make this recommendation.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start time of the profile that was used by this analysis. 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.

" }, "topMatches":{ "shape":"Matches", "documentation":"

List of the matches with most impact.

" } }, "documentation":"

A potential improvement that was found from analyzing the profiling data.

" }, "Recommendations":{ "type":"list", "member":{"shape":"Recommendation"} }, "RemoveNotificationChannelRequest":{ "type":"structure", "required":[ "channelId", "profilingGroupName" ], "members":{ "channelId":{ "shape":"ChannelId", "documentation":"

The id of the channel that we want to stop receiving notifications.

", "location":"uri", "locationName":"channelId" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group we want to change notification configuration for.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the RemoveNotificationChannelRequest.

" }, "RemoveNotificationChannelResponse":{ "type":"structure", "members":{ "notificationConfiguration":{ "shape":"NotificationConfiguration", "documentation":"

The new notification configuration for this profiling group.

" } }, "documentation":"

The structure representing the RemoveNotificationChannelResponse.

" }, "RemovePermissionRequest":{ "type":"structure", "required":[ "actionGroup", "profilingGroupName", "revisionId" ], "members":{ "actionGroup":{ "shape":"ActionGroup", "documentation":"

Specifies an action group that contains the permissions to remove from a profiling group's resource-based policy. One action group is supported, `agentPermissions`, which grants `ConfigureAgent` and `PostAgentProfile` permissions.

", "location":"uri", "locationName":"actionGroup" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group.

", "location":"uri", "locationName":"profilingGroupName" }, "revisionId":{ "shape":"RevisionId", "documentation":"

A universally unique identifier (UUID) for the revision of the resource-based policy from which you want to remove permissions.

", "location":"querystring", "locationName":"revisionId" } }, "documentation":"

     The structure representing the <code>removePermissionRequest</code>.</p>

" }, "RemovePermissionResponse":{ "type":"structure", "required":[ "policy", "revisionId" ], "members":{ "policy":{ "shape":"String", "documentation":"

The JSON-formatted resource-based policy on the profiling group after the specified permissions were removed.

" }, "revisionId":{ "shape":"RevisionId", "documentation":"

A universally unique identifier (UUID) for the revision of the resource-based policy after the specified permissions were removed. The updated JSON-formatted policy is in the `policy` element of the response.

" } }, "documentation":"

The structure representing the `removePermissionResponse`.

" }, "ResourceNotFoundException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The resource specified in the request does not exist.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "RevisionId":{ "type":"string", "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" }, "ServiceQuotaExceededException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

", "error":{ "httpStatusCode":402, "senderFault":true }, "exception":true, "retryable":{"throttling":false} }, "String":{"type":"string"}, "Strings":{ "type":"list", "member":{"shape":"String"} }, "SubmitFeedbackRequest":{ "type":"structure", "required":[ "anomalyInstanceId", "profilingGroupName", "type" ], "members":{ "anomalyInstanceId":{ "shape":"AnomalyInstanceId", "documentation":"

The universally unique identifier (UUID) of the `AnomalyInstance` object that is included in the analysis data.

", "location":"uri", "locationName":"anomalyInstanceId" }, "comment":{ "shape":"String", "documentation":"

Optional feedback about this anomaly.

" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group that is associated with the analysis data.

", "location":"uri", "locationName":"profilingGroupName" }, "type":{ "shape":"FeedbackType", "documentation":"

The feedback tpye. Thee are two valid values, `Positive` and `Negative`.

" } }, "documentation":"

The structure representing the SubmitFeedbackRequest.

" }, "SubmitFeedbackResponse":{ "type":"structure", "members":{ }, "documentation":"

The structure representing the SubmitFeedbackResponse.

" }, "TagKeys":{ "type":"list", "member":{"shape":"String"} }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"ProfilingGroupArn", "documentation":"

The Amazon Resource Name (ARN) of the resource that the tags are added to.

", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"TagsMap", "documentation":"

The list of tags that are added to the specified resource.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagsMap":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, "TargetFrame":{ "type":"list", "member":{"shape":"String"} }, "TargetFrames":{ "type":"list", "member":{"shape":"TargetFrame"} }, "ThreadStates":{ "type":"list", "member":{"shape":"String"} }, "ThrottlingException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The request was denied due to request throttling.

", "error":{ "httpStatusCode":429, "senderFault":true }, "exception":true, "retryable":{"throttling":false} }, "Timestamp":{ "type":"timestamp", "timestampFormat":"iso8601" }, "TimestampStructure":{ "type":"structure", "required":["value"], "members":{ "value":{ "shape":"Timestamp", "documentation":"

A `Timestamp`. 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.

" } }, "documentation":"

A data type that contains a `Timestamp` object. 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.

" }, "UnprocessedEndTimeMap":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"ListOfTimestamps"} }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"ProfilingGroupArn", "documentation":"

The Amazon Resource Name (ARN) of the resource that contains the tags to remove.

", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeys", "documentation":"

A list of tag keys. Existing tags of resources with keys in this list are removed from the specified resource.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateProfilingGroupRequest":{ "type":"structure", "required":[ "agentOrchestrationConfig", "profilingGroupName" ], "members":{ "agentOrchestrationConfig":{ "shape":"AgentOrchestrationConfig", "documentation":"

Specifies whether profiling is enabled or disabled for a profiling group.

" }, "profilingGroupName":{ "shape":"ProfilingGroupName", "documentation":"

The name of the profiling group to update.

", "location":"uri", "locationName":"profilingGroupName" } }, "documentation":"

The structure representing the updateProfilingGroupRequest.

" }, "UpdateProfilingGroupResponse":{ "type":"structure", "required":["profilingGroup"], "members":{ "profilingGroup":{ "shape":"ProfilingGroupDescription", "documentation":"

A `ProfilingGroupDescription` that contains information about the returned updated profiling group.

" } }, "documentation":"

The structure representing the updateProfilingGroupResponse.

", "payload":"profilingGroup" }, "UserFeedback":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"FeedbackType", "documentation":"

Optional `Positive` or `Negative` feedback submitted by the user about whether the recommendation is useful or not.

" } }, "documentation":"

Feedback that can be submitted for each instance of an anomaly by the user. Feedback is be used for improvements in generating recommendations for the application.

" }, "ValidationException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The parameter is not valid.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true } }, "documentation":"

This section provides documentation for the Amazon CodeGuru Profiler API operations.

Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides recommendations that can help you fine-tune your application performance. Using machine learning algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can improve efficiency and remove CPU bottlenecks.

Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.

Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM) languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications written in Java, it can also generate visualizations and a subset of recommendations for applications written in other JVM languages and Python.

For more information, see What is Amazon CodeGuru Profiler in the Amazon CodeGuru Profiler User Guide.

" }