import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateProfilingGroupRequest, CreateProfilingGroupResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateProfilingGroupCommand}. */ export interface CreateProfilingGroupCommandInput extends CreateProfilingGroupRequest { } /** * @public * * The output of {@link CreateProfilingGroupCommand}. */ export interface CreateProfilingGroupCommandOutput extends CreateProfilingGroupResponse, __MetadataBearer { } declare const CreateProfilingGroupCommand_base: { new (input: CreateProfilingGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateProfilingGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a profiling group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeGuruProfilerClient, CreateProfilingGroupCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import * // const { CodeGuruProfilerClient, CreateProfilingGroupCommand } = 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 = { // CreateProfilingGroupRequest * profilingGroupName: "STRING_VALUE", // required * computePlatform: "STRING_VALUE", * clientToken: "STRING_VALUE", // required * agentOrchestrationConfig: { // AgentOrchestrationConfig * profilingEnabled: true || false, // required * }, * tags: { // TagsMap * "": "STRING_VALUE", * }, * }; * const command = new CreateProfilingGroupCommand(input); * const response = await client.send(command); * // { // CreateProfilingGroupResponse * // profilingGroup: { // 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", * // }, * // }, * // }; * * ``` * * @param CreateProfilingGroupCommandInput - {@link CreateProfilingGroupCommandInput} * @returns {@link CreateProfilingGroupCommandOutput} * @see {@link CreateProfilingGroupCommandInput} for command's `input` shape. * @see {@link CreateProfilingGroupCommandOutput} for command's `response` shape. * @see {@link CodeGuruProfilerClientResolvedConfig | config} for CodeGuruProfilerClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

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

* * @throws {@link InternalServerException} (server fault) *

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

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

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

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

The request was denied due to request throttling.

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

The parameter is not valid.

* * @throws {@link CodeGuruProfilerServiceException} *

Base exception class for all service exceptions from CodeGuruProfiler service.

* * * @public */ export declare class CreateProfilingGroupCommand extends CreateProfilingGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateProfilingGroupRequest; output: CreateProfilingGroupResponse; }; sdk: { input: CreateProfilingGroupCommandInput; output: CreateProfilingGroupCommandOutput; }; }; }