import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListProfilingGroupsRequest, ListProfilingGroupsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListProfilingGroupsCommand}. */ export interface ListProfilingGroupsCommandInput extends ListProfilingGroupsRequest { } /** * @public * * The output of {@link ListProfilingGroupsCommand}. */ export interface ListProfilingGroupsCommandOutput extends ListProfilingGroupsResponse, __MetadataBearer { } declare const ListProfilingGroupsCommand_base: { new (input: ListProfilingGroupsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListProfilingGroupsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeGuruProfilerClient, ListProfilingGroupsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import * // const { CodeGuruProfilerClient, ListProfilingGroupsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import * // import type { CodeGuruProfilerClientConfig } from "@aws-sdk/client-codeguruprofiler"; * const config = {}; // type is CodeGuruProfilerClientConfig * const client = new CodeGuruProfilerClient(config); * const input = { // ListProfilingGroupsRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * includeDescription: true || false, * }; * const command = new ListProfilingGroupsCommand(input); * const response = await client.send(command); * // { // ListProfilingGroupsResponse * // profilingGroupNames: [ // ProfilingGroupNames // required * // "STRING_VALUE", * // ], * // profilingGroups: [ // ProfilingGroupDescriptions * // { // ProfilingGroupDescription * // name: "STRING_VALUE", * // agentOrchestrationConfig: { // AgentOrchestrationConfig * // profilingEnabled: true || false, // required * // }, * // arn: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // profilingStatus: { // ProfilingStatus * // latestAgentProfileReportedAt: new Date("TIMESTAMP"), * // latestAggregatedProfile: { // AggregatedProfileTime * // start: new Date("TIMESTAMP"), * // period: "STRING_VALUE", * // }, * // latestAgentOrchestratedAt: new Date("TIMESTAMP"), * // }, * // computePlatform: "STRING_VALUE", * // tags: { // TagsMap * // "": "STRING_VALUE", * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListProfilingGroupsCommandInput - {@link ListProfilingGroupsCommandInput} * @returns {@link ListProfilingGroupsCommandOutput} * @see {@link ListProfilingGroupsCommandInput} for command's `input` shape. * @see {@link ListProfilingGroupsCommandOutput} for command's `response` shape. * @see {@link CodeGuruProfilerClientResolvedConfig | config} for CodeGuruProfilerClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

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

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link CodeGuruProfilerServiceException} *

Base exception class for all service exceptions from CodeGuruProfiler service.

* * * @public */ export declare class ListProfilingGroupsCommand extends ListProfilingGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListProfilingGroupsRequest; output: ListProfilingGroupsResponse; }; sdk: { input: ListProfilingGroupsCommandInput; output: ListProfilingGroupsCommandOutput; }; }; }