Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates an application version for the specified application.
- createApplicationVersion :: Text -> Text -> CreateApplicationVersion
- data CreateApplicationVersion
- cavProcess :: Lens' CreateApplicationVersion (Maybe Bool)
- cavSourceBundle :: Lens' CreateApplicationVersion (Maybe S3Location)
- cavAutoCreateApplication :: Lens' CreateApplicationVersion (Maybe Bool)
- cavSourceBuildInformation :: Lens' CreateApplicationVersion (Maybe SourceBuildInformation)
- cavDescription :: Lens' CreateApplicationVersion (Maybe Text)
- cavBuildConfiguration :: Lens' CreateApplicationVersion (Maybe BuildConfiguration)
- cavApplicationName :: Lens' CreateApplicationVersion Text
- cavVersionLabel :: Lens' CreateApplicationVersion Text
- applicationVersionDescriptionMessage :: ApplicationVersionDescriptionMessage
- data ApplicationVersionDescriptionMessage
- avdmApplicationVersion :: Lens' ApplicationVersionDescriptionMessage (Maybe ApplicationVersionDescription)
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 and configuration files 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 (withSourceBuildInformation
), but not both. If neitherSourceBundle
norSourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.cavAutoCreateApplication
- Set totrue
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. Specify a commit in an AWS CodeCommit repository or a source bundle in S3 (withSourceBundle
), but not both. If neitherSourceBundle
norSourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.cavDescription
- Describes this version.cavBuildConfiguration
- Undocumented member.cavApplicationName
- The name of the application. If no application is found with this name, andAutoCreateApplication
isfalse
, returns anInvalidParameterValue
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 anInvalidParameterValue
error.
data CreateApplicationVersion Source #
See: createApplicationVersion
smart constructor.
Request Lenses
cavProcess :: Lens' CreateApplicationVersion (Maybe Bool) Source #
Preprocesses and validates the environment manifest and configuration files 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. Specify a commit in an AWS CodeCommit repository or a source bundle in S3 (with SourceBundle
), but not both. If neither SourceBundle
nor SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
cavDescription :: Lens' CreateApplicationVersion (Maybe Text) Source #
Describes this version.
cavBuildConfiguration :: Lens' CreateApplicationVersion (Maybe BuildConfiguration) Source #
Undocumented member.
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:
avdmApplicationVersion
- TheApplicationVersionDescription
of the application version.
data ApplicationVersionDescriptionMessage Source #
Result message wrapping a single description of an application version.
See: applicationVersionDescriptionMessage
smart constructor.
Response Lenses
avdmApplicationVersion :: Lens' ApplicationVersionDescriptionMessage (Maybe ApplicationVersionDescription) Source #
The ApplicationVersionDescription
of the application version.