amazonka-elasticbeanstalk-1.6.0: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticBeanstalk.CreateStorageLocation

Contents

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

Creating a Request

createStorageLocation :: CreateStorageLocation #

Creates a value of CreateStorageLocation with the minimum fields required to make a request.

data CreateStorageLocation #

See: createStorageLocation smart constructor.

Instances

Eq CreateStorageLocation # 
Data CreateStorageLocation # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateStorageLocation -> c CreateStorageLocation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateStorageLocation #

toConstr :: CreateStorageLocation -> Constr #

dataTypeOf :: CreateStorageLocation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateStorageLocation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateStorageLocation) #

gmapT :: (forall b. Data b => b -> b) -> CreateStorageLocation -> CreateStorageLocation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateStorageLocation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateStorageLocation -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateStorageLocation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateStorageLocation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateStorageLocation -> m CreateStorageLocation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStorageLocation -> m CreateStorageLocation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStorageLocation -> m CreateStorageLocation #

Read CreateStorageLocation # 
Show CreateStorageLocation # 
Generic CreateStorageLocation # 
Hashable CreateStorageLocation # 
NFData CreateStorageLocation # 

Methods

rnf :: CreateStorageLocation -> () #

AWSRequest CreateStorageLocation # 
ToHeaders CreateStorageLocation # 
ToPath CreateStorageLocation # 
ToQuery CreateStorageLocation # 
type Rep CreateStorageLocation # 
type Rep CreateStorageLocation = D1 * (MetaData "CreateStorageLocation" "Network.AWS.ElasticBeanstalk.CreateStorageLocation" "amazonka-elasticbeanstalk-1.6.0-BcDOEGLccBPFNigll9q29v" False) (C1 * (MetaCons "CreateStorageLocation'" PrefixI False) (U1 *))
type Rs CreateStorageLocation # 

Destructuring the Response

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:

data CreateStorageLocationResponse #

Results of a CreateStorageLocationResult call.

See: createStorageLocationResponse smart constructor.

Instances

Eq CreateStorageLocationResponse # 
Data CreateStorageLocationResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateStorageLocationResponse -> c CreateStorageLocationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateStorageLocationResponse #

toConstr :: CreateStorageLocationResponse -> Constr #

dataTypeOf :: CreateStorageLocationResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateStorageLocationResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateStorageLocationResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateStorageLocationResponse -> CreateStorageLocationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateStorageLocationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateStorageLocationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateStorageLocationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateStorageLocationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateStorageLocationResponse -> m CreateStorageLocationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStorageLocationResponse -> m CreateStorageLocationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStorageLocationResponse -> m CreateStorageLocationResponse #

Read CreateStorageLocationResponse # 
Show CreateStorageLocationResponse # 
Generic CreateStorageLocationResponse # 
NFData CreateStorageLocationResponse # 
type Rep CreateStorageLocationResponse # 
type Rep CreateStorageLocationResponse = D1 * (MetaData "CreateStorageLocationResponse" "Network.AWS.ElasticBeanstalk.CreateStorageLocation" "amazonka-elasticbeanstalk-1.6.0-BcDOEGLccBPFNigll9q29v" False) (C1 * (MetaCons "CreateStorageLocationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cslrsS3Bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cslrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

cslrsS3Bucket :: Lens' CreateStorageLocationResponse (Maybe Text) #

The name of the Amazon S3 bucket created.