| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElasticBeanstalk.CreateStorageLocation
Description
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.
Synopsis
- createStorageLocation :: CreateStorageLocation
- data CreateStorageLocation
- createStorageLocationResponse :: Int -> CreateStorageLocationResponse
- data CreateStorageLocationResponse
- cslrsS3Bucket :: Lens' CreateStorageLocationResponse (Maybe Text)
- cslrsResponseStatus :: Lens' CreateStorageLocationResponse Int
Creating a Request
createStorageLocation :: CreateStorageLocation Source #
Creates a value of CreateStorageLocation with the minimum fields required to make a request.
data CreateStorageLocation Source #
See: createStorageLocation smart constructor.
Instances
Destructuring the Response
createStorageLocationResponse Source #
Arguments
| :: Int | |
| -> CreateStorageLocationResponse |
Creates a value of CreateStorageLocationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cslrsS3Bucket- The name of the Amazon S3 bucket created.cslrsResponseStatus- -- | The response status code.
data CreateStorageLocationResponse Source #
Results of a CreateStorageLocationResult call.
See: createStorageLocationResponse smart constructor.
Instances
Response Lenses
cslrsS3Bucket :: Lens' CreateStorageLocationResponse (Maybe Text) Source #
The name of the Amazon S3 bucket created.
cslrsResponseStatus :: Lens' CreateStorageLocationResponse Int Source #
- - | The response status code.