amazonka-discovery-1.6.1: Amazon Application Discovery Service 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.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 # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

Data CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

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

Defined in Network.AWS.Discovery.CreateApplication

Show CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

Generic CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

Hashable CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

ToJSON CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

Associated Types

type Rs CreateApplication :: Type #

ToHeaders CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

ToPath CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

ToQuery CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

NFData CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

Methods

rnf :: CreateApplication -> () #

type Rep CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

type Rep CreateApplication = D1 (MetaData "CreateApplication" "Network.AWS.Discovery.CreateApplication" "amazonka-discovery-1.6.1-BCKU0SsQ5St9AKTJSgbzOA" False) (C1 (MetaCons "CreateApplication'" PrefixI True) (S1 (MetaSel (Just "_caDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_caName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CreateApplication Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

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

Defined in Network.AWS.Discovery.CreateApplication

Data CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

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

Defined in Network.AWS.Discovery.CreateApplication

Show CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

Generic CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

NFData CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

type Rep CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.Discovery.CreateApplication

type Rep CreateApplicationResponse = D1 (MetaData "CreateApplicationResponse" "Network.AWS.Discovery.CreateApplication" "amazonka-discovery-1.6.1-BCKU0SsQ5St9AKTJSgbzOA" False) (C1 (MetaCons "CreateApplicationResponse'" PrefixI True) (S1 (MetaSel (Just "_carsConfigurationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_carsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

Configuration ID of an application to be created.