| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Discovery.CreateApplication
Description
Creates an application with the given name and description.
Synopsis
- data CreateApplication = CreateApplication' {
- description :: Maybe Text
- name :: Text
- newCreateApplication :: Text -> CreateApplication
- createApplication_description :: Lens' CreateApplication (Maybe Text)
- createApplication_name :: Lens' CreateApplication Text
- data CreateApplicationResponse = CreateApplicationResponse' {}
- newCreateApplicationResponse :: Int -> CreateApplicationResponse
- createApplicationResponse_configurationId :: Lens' CreateApplicationResponse (Maybe Text)
- createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
Creating a Request
data CreateApplication Source #
See: newCreateApplication smart constructor.
Constructors
| CreateApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreateApplication |
Create a value of CreateApplication with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateApplication, createApplication_description - Description of the application to be created.
CreateApplication, createApplication_name - Name of the application to be created.
Request Lenses
createApplication_description :: Lens' CreateApplication (Maybe Text) Source #
Description of the application to be created.
createApplication_name :: Lens' CreateApplication Text Source #
Name of the application to be created.
Destructuring the Response
data CreateApplicationResponse Source #
See: newCreateApplicationResponse smart constructor.
Constructors
| CreateApplicationResponse' | |
Fields
| |
Instances
newCreateApplicationResponse Source #
Create a value of CreateApplicationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateApplicationResponse, createApplicationResponse_configurationId - Configuration ID of an application to be created.
$sel:httpStatus:CreateApplicationResponse', createApplicationResponse_httpStatus - The response's http status code.
Response Lenses
createApplicationResponse_configurationId :: Lens' CreateApplicationResponse (Maybe Text) Source #
Configuration ID of an application to be created.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int Source #
The response's http status code.