amazonka-elasticbeanstalk-1.6.1: 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 # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Data CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.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 Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Show CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Generic CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Associated Types

type Rep CreateStorageLocation :: Type -> Type #

Hashable CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

AWSRequest CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Associated Types

type Rs CreateStorageLocation :: Type #

ToHeaders CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

ToPath CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

ToQuery CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

NFData CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Methods

rnf :: CreateStorageLocation -> () #

type Rep CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

type Rep CreateStorageLocation = D1 (MetaData "CreateStorageLocation" "Network.AWS.ElasticBeanstalk.CreateStorageLocation" "amazonka-elasticbeanstalk-1.6.1-3CoYM4SK8sc46jAbvlY69V" False) (C1 (MetaCons "CreateStorageLocation'" PrefixI False) (U1 :: Type -> Type))
type Rs CreateStorageLocation Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

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 # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Data CreateStorageLocationResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

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 # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Show CreateStorageLocationResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Generic CreateStorageLocationResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

Associated Types

type Rep CreateStorageLocationResponse :: Type -> Type #

NFData CreateStorageLocationResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

type Rep CreateStorageLocationResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.CreateStorageLocation

type Rep CreateStorageLocationResponse = D1 (MetaData "CreateStorageLocationResponse" "Network.AWS.ElasticBeanstalk.CreateStorageLocation" "amazonka-elasticbeanstalk-1.6.1-3CoYM4SK8sc46jAbvlY69V" False) (C1 (MetaCons "CreateStorageLocationResponse'" PrefixI True) (S1 (MetaSel (Just "_cslrsS3Bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cslrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

cslrsS3Bucket :: Lens' CreateStorageLocationResponse (Maybe Text) Source #

The name of the Amazon S3 bucket created.