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 Source #

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

data CreateStorageLocation Source #

See: createStorageLocation smart constructor.

Instances

Eq CreateStorageLocation Source # 
Data CreateStorageLocation Source # 

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 Source # 
Show CreateStorageLocation Source # 
Generic CreateStorageLocation Source # 
Hashable CreateStorageLocation Source # 
NFData CreateStorageLocation Source # 

Methods

rnf :: CreateStorageLocation -> () #

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

Destructuring the Response

createStorageLocationResponse Source #

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 Source #

Results of a CreateStorageLocationResult call.

See: createStorageLocationResponse smart constructor.

Instances

Eq CreateStorageLocationResponse Source # 
Data CreateStorageLocationResponse Source # 

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 Source # 
Show CreateStorageLocationResponse Source # 
Generic CreateStorageLocationResponse Source # 
NFData CreateStorageLocationResponse Source # 
type Rep CreateStorageLocationResponse Source # 
type Rep CreateStorageLocationResponse = D1 * (MetaData "CreateStorageLocationResponse" "Network.AWS.ElasticBeanstalk.CreateStorageLocation" "amazonka-elasticbeanstalk-1.6.0-4Kt4TpxAtj66tluiSbk4fC" 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) Source #

The name of the Amazon S3 bucket created.