import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateLoggingConfigurationCommand}. */ export interface CreateLoggingConfigurationCommandInput extends CreateLoggingConfigurationRequest { } /** * @public * * The output of {@link CreateLoggingConfigurationCommand}. */ export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingConfigurationResponse, __MetadataBearer { } declare const CreateLoggingConfigurationCommand_base: { new (input: CreateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

The CreateLoggingConfiguration operation creates rules and alerting logging configuration for the workspace. Use this operation to set the CloudWatch log group to which the logs will be published to.

These logging configurations are only for rules and alerting logs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AmpClient, CreateLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import * // const { AmpClient, CreateLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import * // import type { AmpClientConfig } from "@aws-sdk/client-amp"; * const config = {}; // type is AmpClientConfig * const client = new AmpClient(config); * const input = { // CreateLoggingConfigurationRequest * workspaceId: "STRING_VALUE", // required * logGroupArn: "STRING_VALUE", // required * clientToken: "STRING_VALUE", * }; * const command = new CreateLoggingConfigurationCommand(input); * const response = await client.send(command); * // { // CreateLoggingConfigurationResponse * // status: { // LoggingConfigurationStatus * // statusCode: "STRING_VALUE", // required * // statusReason: "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateLoggingConfigurationCommandInput - {@link CreateLoggingConfigurationCommandInput} * @returns {@link CreateLoggingConfigurationCommandOutput} * @see {@link CreateLoggingConfigurationCommandInput} for command's `input` shape. * @see {@link CreateLoggingConfigurationCommandOutput} for command's `response` shape. * @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

An unexpected error occurred during the processing of the request.

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

The request references a resources that doesn't exist.

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

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link AmpServiceException} *

Base exception class for all service exceptions from Amp service.

* * * @public */ export declare class CreateLoggingConfigurationCommand extends CreateLoggingConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateLoggingConfigurationRequest; output: CreateLoggingConfigurationResponse; }; sdk: { input: CreateLoggingConfigurationCommandInput; output: CreateLoggingConfigurationCommandOutput; }; }; }