Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates an application version for the specified application.
http://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateApplicationVersion.html
- data CreateApplicationVersion
- createApplicationVersion :: Text -> Text -> CreateApplicationVersion
- cavApplicationName :: Lens' CreateApplicationVersion Text
- cavAutoCreateApplication :: Lens' CreateApplicationVersion (Maybe Bool)
- cavDescription :: Lens' CreateApplicationVersion (Maybe Text)
- cavSourceBundle :: Lens' CreateApplicationVersion (Maybe S3Location)
- cavVersionLabel :: Lens' CreateApplicationVersion Text
- data CreateApplicationVersionResponse
- createApplicationVersionResponse :: CreateApplicationVersionResponse
- cavrApplicationVersion :: Lens' CreateApplicationVersionResponse (Maybe ApplicationVersionDescription)
Request
data CreateApplicationVersion Source
Request constructor
createApplicationVersion Source
CreateApplicationVersion
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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.
cavAutoCreateApplication :: Lens' CreateApplicationVersion (Maybe Bool) Source
Determines how the system behaves if the specified application for this version does not already exist: true: Automatically creates the specified application for this version if it does not already exist. false: Returns an InvalidParameterValue if the specified application for this version does not already exist. true : Automatically creates the specified application for this release if it does not already exist. false : Throws an InvalidParameterValue if the specified application for this release does not already exist. Default: false Valid Values: true | false.
cavDescription :: Lens' CreateApplicationVersion (Maybe Text) Source
Describes this version.
cavSourceBundle :: Lens' CreateApplicationVersion (Maybe S3Location) Source
The Amazon S3 bucket and key that identify the location of the source bundle for this version. If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an InvalidParameterValue error. The maximum size allowed is 512 MB. Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an InvalidParameterCombination 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.
Response
Response constructor
createApplicationVersionResponse :: CreateApplicationVersionResponse Source
CreateApplicationVersionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cavrApplicationVersion :: Lens' CreateApplicationVersionResponse (Maybe ApplicationVersionDescription) Source
The ApplicationVersionDescription of the application version.