import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateStorageLocationResultMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateStorageLocationCommand}. */ export interface CreateStorageLocationCommandInput { } /** * @public * * The output of {@link CreateStorageLocationCommand}. */ export interface CreateStorageLocationCommandOutput extends CreateStorageLocationResultMessage, __MetadataBearer { } declare const CreateStorageLocationCommand_base: { new (input: CreateStorageLocationCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [CreateStorageLocationCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments. The Elastic Beanstalk * console and EB CLI call this API the first time you create an environment in a region. If the storage location already exists, * CreateStorageLocation still returns the bucket name but does not create a new bucket.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, CreateStorageLocationCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, CreateStorageLocationCommand } = require("@aws-sdk/client-elastic-beanstalk"); // CommonJS import * // import type { ElasticBeanstalkClientConfig } from "@aws-sdk/client-elastic-beanstalk"; * const config = {}; // type is ElasticBeanstalkClientConfig * const client = new ElasticBeanstalkClient(config); * const input = {}; * const command = new CreateStorageLocationCommand(input); * const response = await client.send(command); * // { // CreateStorageLocationResultMessage * // S3Bucket: "STRING_VALUE", * // }; * * ``` * * @param CreateStorageLocationCommandInput - {@link CreateStorageLocationCommandInput} * @returns {@link CreateStorageLocationCommandOutput} * @see {@link CreateStorageLocationCommandInput} for command's `input` shape. * @see {@link CreateStorageLocationCommandOutput} for command's `response` shape. * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape. * * @throws {@link InsufficientPrivilegesException} (client fault) *

The specified account does not have sufficient privileges for one or more Amazon Web Services services.

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

The specified account does not have a subscription to Amazon S3.

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

The specified account has reached its limit of Amazon S3 buckets.

* * @throws {@link ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @example To create a new environment for an application * ```javascript * // The following operation creates a new environment for version v1 of a java application named my-app: * const input = { /* empty *\/ }; * const command = new CreateStorageLocationCommand(input); * const response = await client.send(command); * /* response is * { * S3Bucket: "elasticbeanstalk-us-west-2-0123456789012" * } * *\/ * ``` * * @public */ export declare class CreateStorageLocationCommand extends CreateStorageLocationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: CreateStorageLocationResultMessage; }; sdk: { input: CreateStorageLocationCommandInput; output: CreateStorageLocationCommandOutput; }; }; }