import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateGroupRequest, CreateGroupResult } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateGroupCommand}. */ export interface CreateGroupCommandInput extends CreateGroupRequest { } /** * @public * * The output of {@link CreateGroupCommand}. */ export interface CreateGroupCommandOutput extends CreateGroupResult, __MetadataBearer { } declare const CreateGroupCommand_base: { new (input: CreateGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Creates a group resource with a name and a filter expression.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { XRayClient, CreateGroupCommand } from "@aws-sdk/client-xray"; // ES Modules import * // const { XRayClient, CreateGroupCommand } = require("@aws-sdk/client-xray"); // CommonJS import * // import type { XRayClientConfig } from "@aws-sdk/client-xray"; * const config = {}; // type is XRayClientConfig * const client = new XRayClient(config); * const input = { // CreateGroupRequest * GroupName: "STRING_VALUE", // required * FilterExpression: "STRING_VALUE", * InsightsConfiguration: { // InsightsConfiguration * InsightsEnabled: true || false, * NotificationsEnabled: true || false, * }, * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateGroupCommand(input); * const response = await client.send(command); * // { // CreateGroupResult * // Group: { // Group * // GroupName: "STRING_VALUE", * // GroupARN: "STRING_VALUE", * // FilterExpression: "STRING_VALUE", * // InsightsConfiguration: { // InsightsConfiguration * // InsightsEnabled: true || false, * // NotificationsEnabled: true || false, * // }, * // }, * // }; * * ``` * * @param CreateGroupCommandInput - {@link CreateGroupCommandInput} * @returns {@link CreateGroupCommandOutput} * @see {@link CreateGroupCommandInput} for command's `input` shape. * @see {@link CreateGroupCommandOutput} for command's `response` shape. * @see {@link XRayClientResolvedConfig | config} for XRayClient's `config` shape. * * @throws {@link InvalidRequestException} (client fault) *

The request is missing required parameters or has invalid parameters.

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

The request exceeds the maximum number of requests per second.

* * @throws {@link XRayServiceException} *

Base exception class for all service exceptions from XRay service.

* * * @public */ export declare class CreateGroupCommand extends CreateGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateGroupRequest; output: CreateGroupResult; }; sdk: { input: CreateGroupCommandInput; output: CreateGroupCommandOutput; }; }; }