| Copyright | (c) 2013-2017 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.Discovery.CreateApplication
Description
Creates an application with the given name and description.
- createApplication :: Text -> CreateApplication
- data CreateApplication
- caDescription :: Lens' CreateApplication (Maybe Text)
- caName :: Lens' CreateApplication Text
- createApplicationResponse :: Int -> CreateApplicationResponse
- data CreateApplicationResponse
- carsConfigurationId :: Lens' CreateApplicationResponse (Maybe Text)
- carsResponseStatus :: Lens' CreateApplicationResponse Int
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:
caDescription- Description of the application to be created.caName- Name of the application to be created.
data CreateApplication Source #
See: createApplication smart constructor.
Instances
Request Lenses
caDescription :: Lens' CreateApplication (Maybe Text) Source #
Description of the application to be created.
Destructuring the Response
createApplicationResponse Source #
Arguments
| :: Int | |
| -> CreateApplicationResponse |
Creates a value of CreateApplicationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
carsConfigurationId- Configuration ID of an application to be created.carsResponseStatus- -- | The response status code.
data CreateApplicationResponse Source #
See: createApplicationResponse smart constructor.
Response Lenses
carsConfigurationId :: Lens' CreateApplicationResponse (Maybe Text) Source #
Configuration ID of an application to be created.
carsResponseStatus :: Lens' CreateApplicationResponse Int Source #
- - | The response status code.