amazonka-codedeploy-1.6.0: Amazon CodeDeploy 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.CodeDeploy.CreateApplication

Contents

Description

Creates an application.

Synopsis

Creating a Request

createApplication #

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:

  • caComputePlatform - The destination platform type for the deployment (Lambda or Server ).
  • caApplicationName - The name of the application. This name must be unique with the applicable IAM user or AWS account.

data CreateApplication #

Represents the input of a CreateApplication operation.

See: createApplication smart constructor.

Instances
Eq CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Data CreateApplication # 
Instance details

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

Defined in Network.AWS.CodeDeploy.CreateApplication

Show CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Generic CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Associated Types

type Rep CreateApplication :: * -> * #

Hashable CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

ToJSON CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

AWSRequest CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Associated Types

type Rs CreateApplication :: * #

ToHeaders CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

ToPath CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

ToQuery CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

NFData CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Methods

rnf :: CreateApplication -> () #

type Rep CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

type Rep CreateApplication = D1 (MetaData "CreateApplication" "Network.AWS.CodeDeploy.CreateApplication" "amazonka-codedeploy-1.6.0-DNTgLFwCGiHpT5vX886Zc" False) (C1 (MetaCons "CreateApplication'" PrefixI True) (S1 (MetaSel (Just "_caComputePlatform") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ComputePlatform)) :*: S1 (MetaSel (Just "_caApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CreateApplication # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Request Lenses

caComputePlatform :: Lens' CreateApplication (Maybe ComputePlatform) #

The destination platform type for the deployment (Lambda or Server ).

caApplicationName :: Lens' CreateApplication Text #

The name of the application. This name must be unique with the applicable IAM user or AWS account.

Destructuring the Response

createApplicationResponse #

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 #

Represents the output of a CreateApplication operation.

See: createApplicationResponse smart constructor.

Instances
Eq CreateApplicationResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Data CreateApplicationResponse # 
Instance details

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

Defined in Network.AWS.CodeDeploy.CreateApplication

Show CreateApplicationResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Generic CreateApplicationResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: * -> * #

NFData CreateApplicationResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

type Rep CreateApplicationResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

type Rep CreateApplicationResponse = D1 (MetaData "CreateApplicationResponse" "Network.AWS.CodeDeploy.CreateApplication" "amazonka-codedeploy-1.6.0-DNTgLFwCGiHpT5vX886Zc" False) (C1 (MetaCons "CreateApplicationResponse'" PrefixI True) (S1 (MetaSel (Just "_carsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_carsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

carsResponseStatus :: Lens' CreateApplicationResponse Int #

  • - | The response status code.