amazonka-elasticbeanstalk-1.6.0: Amazon Elastic Beanstalk 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.ElasticBeanstalk.CreateApplicationVersion

Contents

Description

Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:

Specify a commit in an AWS CodeCommit repository with SourceBuildInformation .

Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration .

Specify a source bundle in S3 with SourceBundle

Omit both SourceBuildInformation and SourceBundle to use the default sample application.

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:

  • cavProcess - Preprocesses and validates the environment manifest (env.yaml ) and configuration files (*.config files in the .ebextensions folder) in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
  • cavSourceBundle - The Amazon S3 bucket and key that identify the location of the source bundle for this version. Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with SourceBuildInformation ), but not both. If neither SourceBundle nor SourceBuildInformation are provided, Elastic Beanstalk uses a sample application.
  • cavAutoCreateApplication - Set to true to create an application with the specified name if it doesn't already exist.
  • cavSourceBuildInformation - Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
  • cavDescription - Describes this version.
  • cavBuildConfiguration - Settings for an AWS CodeBuild build.
  • cavApplicationName - The name of the application. If no application is found with this name, and AutoCreateApplication is false , returns an InvalidParameterValue error.
  • cavVersionLabel - A label identifying this version. Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an InvalidParameterValue error.

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 # 
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.ElasticBeanstalk.CreateApplicationVersion" "amazonka-elasticbeanstalk-1.6.0-4Kt4TpxAtj66tluiSbk4fC" False) (C1 * (MetaCons "CreateApplicationVersion'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cavProcess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_cavSourceBundle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe S3Location)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cavAutoCreateApplication") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_cavSourceBuildInformation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe SourceBuildInformation))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cavDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cavBuildConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe BuildConfiguration)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cavApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cavVersionLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs CreateApplicationVersion Source # 

Request Lenses

cavProcess :: Lens' CreateApplicationVersion (Maybe Bool) Source #

Preprocesses and validates the environment manifest (env.yaml ) and configuration files (*.config files in the .ebextensions folder) in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.

cavSourceBundle :: Lens' CreateApplicationVersion (Maybe S3Location) Source #

The Amazon S3 bucket and key that identify the location of the source bundle for this version. Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with SourceBuildInformation ), but not both. If neither SourceBundle nor SourceBuildInformation are provided, Elastic Beanstalk uses a sample application.

cavAutoCreateApplication :: Lens' CreateApplicationVersion (Maybe Bool) Source #

Set to true to create an application with the specified name if it doesn't already exist.

cavSourceBuildInformation :: Lens' CreateApplicationVersion (Maybe SourceBuildInformation) Source #

Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.

cavApplicationName :: Lens' CreateApplicationVersion Text Source #

The name of the application. If no application is found with this name, and AutoCreateApplication is false , returns an InvalidParameterValue error.

cavVersionLabel :: Lens' CreateApplicationVersion Text Source #

A label identifying this version. Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an InvalidParameterValue error.

Destructuring the Response

applicationVersionDescriptionMessage :: ApplicationVersionDescriptionMessage Source #

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

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

data ApplicationVersionDescriptionMessage Source #

Result message wrapping a single description of an application version.

See: applicationVersionDescriptionMessage smart constructor.

Instances

Eq ApplicationVersionDescriptionMessage Source # 
Data ApplicationVersionDescriptionMessage Source # 

Methods

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

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

toConstr :: ApplicationVersionDescriptionMessage -> Constr #

dataTypeOf :: ApplicationVersionDescriptionMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ApplicationVersionDescriptionMessage Source # 
Show ApplicationVersionDescriptionMessage Source # 
Generic ApplicationVersionDescriptionMessage Source # 
Hashable ApplicationVersionDescriptionMessage Source # 
NFData ApplicationVersionDescriptionMessage Source # 
FromXML ApplicationVersionDescriptionMessage Source # 
type Rep ApplicationVersionDescriptionMessage Source # 
type Rep ApplicationVersionDescriptionMessage = D1 * (MetaData "ApplicationVersionDescriptionMessage" "Network.AWS.ElasticBeanstalk.Types.Product" "amazonka-elasticbeanstalk-1.6.0-4Kt4TpxAtj66tluiSbk4fC" True) (C1 * (MetaCons "ApplicationVersionDescriptionMessage'" PrefixI True) (S1 * (MetaSel (Just Symbol "_avdmApplicationVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe ApplicationVersionDescription))))

Response Lenses