Menu
AWS Elastic Beanstalk
API Reference (API Version 2010-12-01)

CreateStorageLocation

Creates the Amazon S3 storage location for the account.

This location is used to store user log files.

Response Elements

The following element is returned by the service.

S3Bucket

The name of the Amazon S3 bucket created.

Type: String

Length Constraints: Maximum length of 255.

Errors

For information about the errors that are common to all actions, see Common Errors.

InsufficientPrivileges

The specified account does not have sufficient privileges for one of more AWS services.

HTTP Status Code: 403

S3SubscriptionRequired

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

HTTP Status Code: 400

TooManyBuckets

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

HTTP Status Code: 400

Example

Sample Request

Copy
https://elasticbeanstalk.us-west-2.amazonaws.com/?Operation=CreateStorageLocation &AuthParams

Sample Response

Copy
<CreateStorageLocationResponse xmlns="https://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"> <CreateStorageLocationResult> <S3Bucket>elasticbeanstalk-us-east-1-780612358023</S3Bucket> </CreateStorageLocationResult> <ResponseMetadata> <RequestId>ef51b94a-f1d6-11df-8a78-9f77047e0d0c</RequestId> </ResponseMetadata> </CreateStorageLocationResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: