amazonka-discovery-1.5.0: Amazon Application Discovery Service SDK.

Copyright(c) 2013-2017 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.Discovery.CreateApplication

Contents

Description

Creates an application with the given name and description.

Synopsis

Creating a Request

createApplication Source #

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

Use one of the following lenses to modify other fields as desired:

  • caDescription - Description of the application to be created.
  • caName - Name of the application to be created.

data CreateApplication Source #

See: createApplication smart constructor.

Instances

Eq CreateApplication Source # 
Data CreateApplication Source # 

Methods

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

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

toConstr :: CreateApplication -> Constr #

dataTypeOf :: CreateApplication -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateApplication Source # 
Show CreateApplication Source # 
Generic CreateApplication Source # 
Hashable CreateApplication Source # 
ToJSON CreateApplication Source # 
NFData CreateApplication Source # 

Methods

rnf :: CreateApplication -> () #

AWSRequest CreateApplication Source # 
ToQuery CreateApplication Source # 
ToPath CreateApplication Source # 
ToHeaders CreateApplication Source # 
type Rep CreateApplication Source # 
type Rep CreateApplication = D1 (MetaData "CreateApplication" "Network.AWS.Discovery.CreateApplication" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" False) (C1 (MetaCons "CreateApplication'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_caDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_caName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateApplication Source # 

Request Lenses

caDescription :: Lens' CreateApplication (Maybe Text) Source #

Description of the application to be created.

caName :: Lens' CreateApplication Text Source #

Name of the application to be created.

Destructuring the Response

createApplicationResponse Source #

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

Use one of the following lenses to modify other fields as desired:

data CreateApplicationResponse Source #

See: createApplicationResponse smart constructor.

Instances

Eq CreateApplicationResponse Source # 
Data CreateApplicationResponse Source # 

Methods

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

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

toConstr :: CreateApplicationResponse -> Constr #

dataTypeOf :: CreateApplicationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateApplicationResponse Source # 
Show CreateApplicationResponse Source # 
Generic CreateApplicationResponse Source # 
NFData CreateApplicationResponse Source # 
type Rep CreateApplicationResponse Source # 
type Rep CreateApplicationResponse = D1 (MetaData "CreateApplicationResponse" "Network.AWS.Discovery.CreateApplication" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" False) (C1 (MetaCons "CreateApplicationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_carsConfigurationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_carsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

carsConfigurationId :: Lens' CreateApplicationResponse (Maybe Text) Source #

Configuration ID of an application to be created.