Copyright | (c) 2013-2021 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 |
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.
CreateApplication' | |
|
Instances
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:
$sel:description:CreateApplication'
, createApplication_description
- Description of the application to be created.
$sel:name: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.
CreateApplicationResponse' | |
|
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:
$sel:configurationId: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.