import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types"; import { CodeGuruProfilerClient } from "./CodeGuruProfilerClient"; import { type AddNotificationChannelsCommandInput, type AddNotificationChannelsCommandOutput } from "./commands/AddNotificationChannelsCommand"; import { type BatchGetFrameMetricDataCommandInput, type BatchGetFrameMetricDataCommandOutput } from "./commands/BatchGetFrameMetricDataCommand"; import { type ConfigureAgentCommandInput, type ConfigureAgentCommandOutput } from "./commands/ConfigureAgentCommand"; import { type CreateProfilingGroupCommandInput, type CreateProfilingGroupCommandOutput } from "./commands/CreateProfilingGroupCommand"; import { type DeleteProfilingGroupCommandInput, type DeleteProfilingGroupCommandOutput } from "./commands/DeleteProfilingGroupCommand"; import { type DescribeProfilingGroupCommandInput, type DescribeProfilingGroupCommandOutput } from "./commands/DescribeProfilingGroupCommand"; import { type GetFindingsReportAccountSummaryCommandInput, type GetFindingsReportAccountSummaryCommandOutput } from "./commands/GetFindingsReportAccountSummaryCommand"; import { type GetNotificationConfigurationCommandInput, type GetNotificationConfigurationCommandOutput } from "./commands/GetNotificationConfigurationCommand"; import { type GetPolicyCommandInput, type GetPolicyCommandOutput } from "./commands/GetPolicyCommand"; import { type GetProfileCommandInput, type GetProfileCommandOutput } from "./commands/GetProfileCommand"; import { type GetRecommendationsCommandInput, type GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand"; import { type ListFindingsReportsCommandInput, type ListFindingsReportsCommandOutput } from "./commands/ListFindingsReportsCommand"; import { type ListProfileTimesCommandInput, type ListProfileTimesCommandOutput } from "./commands/ListProfileTimesCommand"; import { type ListProfilingGroupsCommandInput, type ListProfilingGroupsCommandOutput } from "./commands/ListProfilingGroupsCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type PostAgentProfileCommandInput, type PostAgentProfileCommandOutput } from "./commands/PostAgentProfileCommand"; import { type PutPermissionCommandInput, type PutPermissionCommandOutput } from "./commands/PutPermissionCommand"; import { type RemoveNotificationChannelCommandInput, type RemoveNotificationChannelCommandOutput } from "./commands/RemoveNotificationChannelCommand"; import { type RemovePermissionCommandInput, type RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand"; import { type SubmitFeedbackCommandInput, type SubmitFeedbackCommandOutput } from "./commands/SubmitFeedbackCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateProfilingGroupCommandInput, type UpdateProfilingGroupCommandOutput } from "./commands/UpdateProfilingGroupCommand"; export interface CodeGuruProfiler { /** * @see {@link AddNotificationChannelsCommand} */ addNotificationChannels(args: AddNotificationChannelsCommandInput, options?: __HttpHandlerOptions): Promise; addNotificationChannels(args: AddNotificationChannelsCommandInput, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void; addNotificationChannels(args: AddNotificationChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void; /** * @see {@link BatchGetFrameMetricDataCommand} */ batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options?: __HttpHandlerOptions): Promise; batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void; batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void; /** * @see {@link ConfigureAgentCommand} */ configureAgent(args: ConfigureAgentCommandInput, options?: __HttpHandlerOptions): Promise; configureAgent(args: ConfigureAgentCommandInput, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void; configureAgent(args: ConfigureAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void; /** * @see {@link CreateProfilingGroupCommand} */ createProfilingGroup(args: CreateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise; createProfilingGroup(args: CreateProfilingGroupCommandInput, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void; createProfilingGroup(args: CreateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void; /** * @see {@link DeleteProfilingGroupCommand} */ deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise; deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void; deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void; /** * @see {@link DescribeProfilingGroupCommand} */ describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise; describeProfilingGroup(args: DescribeProfilingGroupCommandInput, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void; describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void; /** * @see {@link GetFindingsReportAccountSummaryCommand} */ getFindingsReportAccountSummary(): Promise; getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options?: __HttpHandlerOptions): Promise; getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void; getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void; /** * @see {@link GetNotificationConfigurationCommand} */ getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void; getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void; /** * @see {@link GetPolicyCommand} */ getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise; getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void; getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void; /** * @see {@link GetProfileCommand} */ getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise; getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void; getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void; /** * @see {@link GetRecommendationsCommand} */ getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise; getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void; getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void; /** * @see {@link ListFindingsReportsCommand} */ listFindingsReports(args: ListFindingsReportsCommandInput, options?: __HttpHandlerOptions): Promise; listFindingsReports(args: ListFindingsReportsCommandInput, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void; listFindingsReports(args: ListFindingsReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void; /** * @see {@link ListProfileTimesCommand} */ listProfileTimes(args: ListProfileTimesCommandInput, options?: __HttpHandlerOptions): Promise; listProfileTimes(args: ListProfileTimesCommandInput, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void; listProfileTimes(args: ListProfileTimesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void; /** * @see {@link ListProfilingGroupsCommand} */ listProfilingGroups(): Promise; listProfilingGroups(args: ListProfilingGroupsCommandInput, options?: __HttpHandlerOptions): Promise; listProfilingGroups(args: ListProfilingGroupsCommandInput, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void; listProfilingGroups(args: ListProfilingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link PostAgentProfileCommand} */ postAgentProfile(args: PostAgentProfileCommandInput, options?: __HttpHandlerOptions): Promise; postAgentProfile(args: PostAgentProfileCommandInput, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void; postAgentProfile(args: PostAgentProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void; /** * @see {@link PutPermissionCommand} */ putPermission(args: PutPermissionCommandInput, options?: __HttpHandlerOptions): Promise; putPermission(args: PutPermissionCommandInput, cb: (err: any, data?: PutPermissionCommandOutput) => void): void; putPermission(args: PutPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void; /** * @see {@link RemoveNotificationChannelCommand} */ removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options?: __HttpHandlerOptions): Promise; removeNotificationChannel(args: RemoveNotificationChannelCommandInput, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void; removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void; /** * @see {@link RemovePermissionCommand} */ removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise; removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; /** * @see {@link SubmitFeedbackCommand} */ submitFeedback(args: SubmitFeedbackCommandInput, options?: __HttpHandlerOptions): Promise; submitFeedback(args: SubmitFeedbackCommandInput, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void; submitFeedback(args: SubmitFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateProfilingGroupCommand} */ updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise; updateProfilingGroup(args: UpdateProfilingGroupCommandInput, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void; updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void; /** * @see {@link GetFindingsReportAccountSummaryCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link GetFindingsReportAccountSummaryCommandOutput}. */ paginateGetFindingsReportAccountSummary(args?: GetFindingsReportAccountSummaryCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListFindingsReportsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListFindingsReportsCommandOutput}. */ paginateListFindingsReports(args: ListFindingsReportsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListProfileTimesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListProfileTimesCommandOutput}. */ paginateListProfileTimes(args: ListProfileTimesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListProfilingGroupsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListProfilingGroupsCommandOutput}. */ paginateListProfilingGroups(args?: ListProfilingGroupsCommandInput, paginationConfig?: Omit): Paginator; } /** *

* 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. *

* @public */ export declare class CodeGuruProfiler extends CodeGuruProfilerClient implements CodeGuruProfiler { }