import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { CreateUsageProfileRequest, CreateUsageProfileResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateUsageProfileCommand}. */ export interface CreateUsageProfileCommandInput extends CreateUsageProfileRequest { } /** * @public * * The output of {@link CreateUsageProfileCommand}. */ export interface CreateUsageProfileCommandOutput extends CreateUsageProfileResponse, __MetadataBearer { } declare const CreateUsageProfileCommand_base: { new (input: CreateUsageProfileCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateUsageProfileCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Creates an Glue usage profile.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, CreateUsageProfileCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, CreateUsageProfileCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // CreateUsageProfileRequest * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", * Configuration: { // ProfileConfiguration * SessionConfiguration: { // ConfigurationMap * "": { // ConfigurationObject * DefaultValue: "STRING_VALUE", * AllowedValues: [ // AllowedValuesStringList * "STRING_VALUE", * ], * MinValue: "STRING_VALUE", * MaxValue: "STRING_VALUE", * }, * }, * JobConfiguration: { * "": { * DefaultValue: "STRING_VALUE", * AllowedValues: [ * "STRING_VALUE", * ], * MinValue: "STRING_VALUE", * MaxValue: "STRING_VALUE", * }, * }, * }, * Tags: { // TagsMap * "": "STRING_VALUE", * }, * }; * const command = new CreateUsageProfileCommand(input); * const response = await client.send(command); * // { // CreateUsageProfileResponse * // Name: "STRING_VALUE", * // }; * * ``` * * @param CreateUsageProfileCommandInput - {@link CreateUsageProfileCommandInput} * @returns {@link CreateUsageProfileCommandOutput} * @see {@link CreateUsageProfileCommandInput} for command's `input` shape. * @see {@link CreateUsageProfileCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link AlreadyExistsException} (client fault) *

A resource to be created or added already exists.

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

An internal service error occurred.

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

The input provided was not valid.

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

The operation is not available in the region.

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

The operation timed out.

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

A resource numerical limit was exceeded.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class CreateUsageProfileCommand extends CreateUsageProfileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateUsageProfileRequest; output: CreateUsageProfileResponse; }; sdk: { input: CreateUsageProfileCommandInput; output: CreateUsageProfileCommandOutput; }; }; }