| 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.Pinpoint.CreateApp
Description
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.
Constructors
| CreateApp' | |
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.
Constructors
| CreateAppResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ApplicationResponse | |
| -> CreateAppResponse |
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.