Smaws_Client_ElasticBeanstalk.CreateStorageLocationCreates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InsufficientPrivilegesException of Types.insufficient_privileges_exception
| `S3SubscriptionRequiredException of
Types.s3_subscription_required_exception
| `TooManyBucketsException of Types.too_many_buckets_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Types.create_storage_location_result_message,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InsufficientPrivilegesException of
Types.insufficient_privileges_exception
| `S3SubscriptionRequiredException of
Types.s3_subscription_required_exception
| `TooManyBucketsException of Types.too_many_buckets_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Types.create_storage_location_result_message Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InsufficientPrivilegesException of
Types.insufficient_privileges_exception
| `S3SubscriptionRequiredException of
Types.s3_subscription_required_exception
| `TooManyBucketsException of Types.too_many_buckets_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result