| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElasticBeanstalk.CreateApplication
Description
Creates an application that has one configuration template named default and no application versions.
Synopsis
- createApplication :: Text -> CreateApplication
- data CreateApplication
- caResourceLifecycleConfig :: Lens' CreateApplication (Maybe ApplicationResourceLifecycleConfig)
- caDescription :: Lens' CreateApplication (Maybe Text)
- caApplicationName :: Lens' CreateApplication Text
- applicationDescriptionMessage :: ApplicationDescriptionMessage
- data ApplicationDescriptionMessage
- admApplication :: Lens' ApplicationDescriptionMessage (Maybe ApplicationDescription)
Creating a Request
Arguments
| :: Text | |
| -> CreateApplication |
Creates a value of CreateApplication with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
caResourceLifecycleConfig- Specify an application resource lifecycle configuration to prevent your application from accumulating too many versions.caDescription- Describes the application.caApplicationName- The name of the application. Constraint: This name must be unique within your account. If the specified name already exists, the action returns anInvalidParameterValueerror.
data CreateApplication Source #
Request to create an application.
See: createApplication smart constructor.
Instances
Request Lenses
caResourceLifecycleConfig :: Lens' CreateApplication (Maybe ApplicationResourceLifecycleConfig) Source #
Specify an application resource lifecycle configuration to prevent your application from accumulating too many versions.
caDescription :: Lens' CreateApplication (Maybe Text) Source #
Describes the application.
caApplicationName :: Lens' CreateApplication Text Source #
The name of the application. Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.
Destructuring the Response
applicationDescriptionMessage :: ApplicationDescriptionMessage Source #
Creates a value of ApplicationDescriptionMessage with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
admApplication- TheApplicationDescriptionof the application.
data ApplicationDescriptionMessage Source #
Result message containing a single description of an application.
See: applicationDescriptionMessage smart constructor.
Instances
Response Lenses
admApplication :: Lens' ApplicationDescriptionMessage (Maybe ApplicationDescription) Source #
The ApplicationDescription of the application.