amazonka-serverlessrepo-1.6.0: 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 # 
Data CreateApplicationVersion Source # 

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 # 
Show CreateApplicationVersion Source # 
Generic CreateApplicationVersion Source # 
Hashable CreateApplicationVersion Source # 
ToJSON CreateApplicationVersion Source # 
NFData CreateApplicationVersion Source # 
AWSRequest CreateApplicationVersion Source # 
ToHeaders CreateApplicationVersion Source # 
ToPath CreateApplicationVersion Source # 
ToQuery CreateApplicationVersion Source # 
type Rep CreateApplicationVersion Source # 
type Rep CreateApplicationVersion = D1 * (MetaData "CreateApplicationVersion" "Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "CreateApplicationVersion'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cavSourceCodeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cavTemplateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cavTemplateURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cavApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cavSemanticVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs CreateApplicationVersion Source # 

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 # 
Data CreateApplicationVersionResponse Source # 

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 # 
Show CreateApplicationVersionResponse Source # 
Generic CreateApplicationVersionResponse Source # 
NFData CreateApplicationVersionResponse Source # 
type Rep CreateApplicationVersionResponse Source # 
type Rep CreateApplicationVersionResponse = D1 * (MetaData "CreateApplicationVersionResponse" "Network.AWS.ServerlessApplicationRepository.CreateApplicationVersion" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "CreateApplicationVersionResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cavrsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cavrsParameterDefinitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ParameterDefinition]))) (S1 * (MetaSel (Just Symbol "_cavrsSemanticVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cavrsSourceCodeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cavrsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cavrsTemplateURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.