amazonka-codedeploy-1.6.1: 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 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:

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

Represents the input of a CreateApplication operation.

See: createApplication smart constructor.

Instances
Eq CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Data CreateApplication Source # 
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 Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Show CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Generic CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

Hashable CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

ToJSON CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Associated Types

type Rs CreateApplication :: Type #

ToHeaders CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

ToPath CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

ToQuery CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

NFData CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Methods

rnf :: CreateApplication -> () #

type Rep CreateApplication Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

type Rep CreateApplication = D1 (MetaData "CreateApplication" "Network.AWS.CodeDeploy.CreateApplication" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" 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 Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Request Lenses

caComputePlatform :: Lens' CreateApplication (Maybe ComputePlatform) Source #

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

caApplicationName :: Lens' CreateApplication Text Source #

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

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 #

Represents the output of a CreateApplication operation.

See: createApplicationResponse smart constructor.

Instances
Eq CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Data CreateApplicationResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Show CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Generic CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

NFData CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

type Rep CreateApplicationResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.CreateApplication

type Rep CreateApplicationResponse = D1 (MetaData "CreateApplicationResponse" "Network.AWS.CodeDeploy.CreateApplication" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" 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