amazonka-serverlessrepo-1.6.1: Amazon ServerlessApplicationRepository 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.ServerlessApplicationRepository.CreateApplicationVersion

Contents

Description

Creates an application version.

Synopsis

Creating a Request

createApplicationVersion Source #

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

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

data CreateApplicationVersion Source #

See: createApplicationVersion smart constructor.

Instances
Eq CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Data CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Methods

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

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

toConstr :: CreateApplicationVersion -> Constr #

dataTypeOf :: CreateApplicationVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Show CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Generic CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Associated Types

type Rep CreateApplicationVersion :: Type -> Type #

Hashable CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

ToJSON CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

AWSRequest CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Associated Types

type Rs CreateApplicationVersion :: Type #

ToHeaders CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

ToPath CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

ToQuery CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

NFData CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersion = D1 (MetaData "CreateApplicationVersion" "Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion" "amazonka-serverlessrepo-1.6.1-BrNuDK74DeNKvSny4fhIJ2" False) (C1 (MetaCons "CreateApplicationVersion'" PrefixI True) ((S1 (MetaSel (Just "_cavSourceCodeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cavTemplateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cavTemplateURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cavApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cavSemanticVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateApplicationVersion Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Request Lenses

cavSourceCodeURL :: Lens' CreateApplicationVersion (Maybe Text) Source #

A link to a public repository for the source code of your application.

cavTemplateBody :: Lens' CreateApplicationVersion (Maybe Text) Source #

The raw packaged AWS SAM template of your application.

cavTemplateURL :: Lens' CreateApplicationVersion (Maybe Text) Source #

A link to the packaged AWS SAM template of your application.

cavApplicationId :: Lens' CreateApplicationVersion Text Source #

The ID of the application to get.

cavSemanticVersion :: Lens' CreateApplicationVersion Text Source #

The semantic version of the new version.

Destructuring the Response

createApplicationVersionResponse Source #

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

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

data CreateApplicationVersionResponse Source #

See: createApplicationVersionResponse smart constructor.

Instances
Eq CreateApplicationVersionResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Data CreateApplicationVersionResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Methods

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

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

toConstr :: CreateApplicationVersionResponse -> Constr #

dataTypeOf :: CreateApplicationVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateApplicationVersionResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Show CreateApplicationVersionResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Generic CreateApplicationVersionResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

Associated Types

type Rep CreateApplicationVersionResponse :: Type -> Type #

NFData CreateApplicationVersionResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersionResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersionResponse = D1 (MetaData "CreateApplicationVersionResponse" "Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion" "amazonka-serverlessrepo-1.6.1-BrNuDK74DeNKvSny4fhIJ2" False) (C1 (MetaCons "CreateApplicationVersionResponse'" PrefixI True) ((S1 (MetaSel (Just "_cavrsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cavrsParameterDefinitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParameterDefinition])) :*: S1 (MetaSel (Just "_cavrsSemanticVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cavrsSourceCodeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cavrsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cavrsTemplateURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cavrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

cavrsCreationTime :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #

The date/time this resource was created.

cavrsParameterDefinitions :: Lens' CreateApplicationVersionResponse [ParameterDefinition] Source #

Array of parameter types supported by the application.

cavrsSourceCodeURL :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #

A link to a public repository for the source code of your application.

cavrsApplicationId :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #

The application Amazon Resource Name (ARN).

cavrsTemplateURL :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #

A link to the packaged AWS SAM template of your application.