Copyright | (c) 2013-2021 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 |
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
- data CreateStorageLocation = CreateStorageLocation' {
- newCreateStorageLocation :: CreateStorageLocation
- data CreateStorageLocationResponse = CreateStorageLocationResponse' {
- s3Bucket :: Maybe Text
- httpStatus :: Int
- newCreateStorageLocationResponse :: Int -> CreateStorageLocationResponse
- createStorageLocationResponse_s3Bucket :: Lens' CreateStorageLocationResponse (Maybe Text)
- createStorageLocationResponse_httpStatus :: Lens' CreateStorageLocationResponse Int
Creating a Request
data CreateStorageLocation Source #
See: newCreateStorageLocation
smart constructor.
Instances
newCreateStorageLocation :: CreateStorageLocation Source #
Create a value of CreateStorageLocation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data CreateStorageLocationResponse Source #
Results of a CreateStorageLocationResult call.
See: newCreateStorageLocationResponse
smart constructor.
CreateStorageLocationResponse' | |
|
Instances
newCreateStorageLocationResponse Source #
Create a value of CreateStorageLocationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3Bucket:CreateStorageLocationResponse'
, createStorageLocationResponse_s3Bucket
- The name of the Amazon S3 bucket created.
$sel:httpStatus:CreateStorageLocationResponse'
, createStorageLocationResponse_httpStatus
- The response's http status code.
Response Lenses
createStorageLocationResponse_s3Bucket :: Lens' CreateStorageLocationResponse (Maybe Text) Source #
The name of the Amazon S3 bucket created.
createStorageLocationResponse_httpStatus :: Lens' CreateStorageLocationResponse Int Source #
The response's http status code.