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.
Synopsis
- data CreateApp = CreateApp' {}
- newCreateApp :: CreateApplicationRequest -> CreateApp
- createApp_createApplicationRequest :: Lens' CreateApp CreateApplicationRequest
- data CreateAppResponse = CreateAppResponse' {}
- newCreateAppResponse :: Int -> ApplicationResponse -> CreateAppResponse
- createAppResponse_httpStatus :: Lens' CreateAppResponse Int
- createAppResponse_applicationResponse :: Lens' CreateAppResponse ApplicationResponse
Creating a Request
See: newCreateApp
smart constructor.
Instances
Create a value of CreateApp
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:createApplicationRequest:CreateApp'
, createApp_createApplicationRequest
- Undocumented member.
Request Lenses
createApp_createApplicationRequest :: Lens' CreateApp CreateApplicationRequest Source #
Undocumented member.
Destructuring the Response
data CreateAppResponse Source #
See: newCreateAppResponse
smart constructor.
CreateAppResponse' | |
|
Instances
Create a value of CreateAppResponse
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:httpStatus:CreateAppResponse'
, createAppResponse_httpStatus
- The response's http status code.
$sel:applicationResponse:CreateAppResponse'
, createAppResponse_applicationResponse
- Undocumented member.
Response Lenses
createAppResponse_httpStatus :: Lens' CreateAppResponse Int Source #
The response's http status code.
createAppResponse_applicationResponse :: Lens' CreateAppResponse ApplicationResponse Source #
Undocumented member.