CodeGuruProfilerClient

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.

Properties

Link copied to clipboard
abstract override val config: CodeGuruProfilerClient.Config

CodeGuruProfilerClient's configuration

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

Creates a profiling group.

Link copied to clipboard

Deletes a profiling group.

Link copied to clipboard

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

Link copied to clipboard
abstract suspend fun getFindingsReportAccountSummary(input: GetFindingsReportAccountSummaryRequest = GetFindingsReportAccountSummaryRequest { }): GetFindingsReportAccountSummaryResponse

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

Link copied to clipboard

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

Link copied to clipboard
abstract suspend fun getPolicy(input: GetPolicyRequest): GetPolicyResponse

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

Link copied to clipboard
abstract suspend fun getProfile(input: GetProfileRequest): GetProfileResponse

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
abstract suspend fun listProfilingGroups(input: ListProfilingGroupsRequest = ListProfilingGroupsRequest { }): ListProfilingGroupsResponse

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Remove one anomaly notifications channel for a profiling group.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Use to assign one or more tags to a resource.

Link copied to clipboard

Use to remove one or more tags from a resource.

Link copied to clipboard

Updates a profiling group.

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

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.

Link copied to clipboard

Creates a profiling group.

Link copied to clipboard

Deletes a profiling group.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Remove one anomaly notifications channel for a profiling group.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

Use to assign one or more tags to a resource.

Link copied to clipboard

Use to remove one or more tags from a resource.

Link copied to clipboard

Updates a profiling group.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.