import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateLogPatternRequest, CreateLogPatternResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateLogPatternCommand}. */ export interface CreateLogPatternCommandInput extends CreateLogPatternRequest { } /** * @public * * The output of {@link CreateLogPatternCommand}. */ export interface CreateLogPatternCommandOutput extends CreateLogPatternResponse, __MetadataBearer { } declare const CreateLogPatternCommand_base: { new (input: CreateLogPatternCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateLogPatternCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Adds an log pattern to a LogPatternSet.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationInsightsClient, CreateLogPatternCommand } from "@aws-sdk/client-application-insights"; // ES Modules import * // const { ApplicationInsightsClient, CreateLogPatternCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import * // import type { ApplicationInsightsClientConfig } from "@aws-sdk/client-application-insights"; * const config = {}; // type is ApplicationInsightsClientConfig * const client = new ApplicationInsightsClient(config); * const input = { // CreateLogPatternRequest * ResourceGroupName: "STRING_VALUE", // required * PatternSetName: "STRING_VALUE", // required * PatternName: "STRING_VALUE", // required * Pattern: "STRING_VALUE", // required * Rank: Number("int"), // required * }; * const command = new CreateLogPatternCommand(input); * const response = await client.send(command); * // { // CreateLogPatternResponse * // LogPattern: { // LogPattern * // PatternSetName: "STRING_VALUE", * // PatternName: "STRING_VALUE", * // Pattern: "STRING_VALUE", * // Rank: Number("int"), * // }, * // ResourceGroupName: "STRING_VALUE", * // }; * * ``` * * @param CreateLogPatternCommandInput - {@link CreateLogPatternCommandInput} * @returns {@link CreateLogPatternCommandOutput} * @see {@link CreateLogPatternCommandInput} for command's `input` shape. * @see {@link CreateLogPatternCommandOutput} for command's `response` shape. * @see {@link ApplicationInsightsClientResolvedConfig | config} for ApplicationInsightsClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

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

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

The resource is already created or in use.

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

The resource does not exist in the customer account.

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

The parameter is not valid.

* * @throws {@link ApplicationInsightsServiceException} *

Base exception class for all service exceptions from ApplicationInsights service.

* * * @public */ export declare class CreateLogPatternCommand extends CreateLogPatternCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateLogPatternRequest; output: CreateLogPatternResponse; }; sdk: { input: CreateLogPatternCommandInput; output: CreateLogPatternCommandOutput; }; }; }