| 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.CreateImportJob
Description
Creates an import job for an application.
Synopsis
- data CreateImportJob = CreateImportJob' {}
- newCreateImportJob :: Text -> ImportJobRequest -> CreateImportJob
- createImportJob_applicationId :: Lens' CreateImportJob Text
- createImportJob_importJobRequest :: Lens' CreateImportJob ImportJobRequest
- data CreateImportJobResponse = CreateImportJobResponse' {}
- newCreateImportJobResponse :: Int -> ImportJobResponse -> CreateImportJobResponse
- createImportJobResponse_httpStatus :: Lens' CreateImportJobResponse Int
- createImportJobResponse_importJobResponse :: Lens' CreateImportJobResponse ImportJobResponse
Creating a Request
data CreateImportJob Source #
See: newCreateImportJob smart constructor.
Constructors
| CreateImportJob' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ImportJobRequest | |
| -> CreateImportJob |
Create a value of CreateImportJob 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:
CreateImportJob, createImportJob_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:importJobRequest:CreateImportJob', createImportJob_importJobRequest - Undocumented member.
Request Lenses
createImportJob_applicationId :: Lens' CreateImportJob Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
createImportJob_importJobRequest :: Lens' CreateImportJob ImportJobRequest Source #
Undocumented member.
Destructuring the Response
data CreateImportJobResponse Source #
See: newCreateImportJobResponse smart constructor.
Constructors
| CreateImportJobResponse' | |
Fields
| |
Instances
newCreateImportJobResponse Source #
Arguments
| :: Int | |
| -> ImportJobResponse | |
| -> CreateImportJobResponse |
Create a value of CreateImportJobResponse 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:CreateImportJobResponse', createImportJobResponse_httpStatus - The response's http status code.
$sel:importJobResponse:CreateImportJobResponse', createImportJobResponse_importJobResponse - Undocumented member.
Response Lenses
createImportJobResponse_httpStatus :: Lens' CreateImportJobResponse Int Source #
The response's http status code.
createImportJobResponse_importJobResponse :: Lens' CreateImportJobResponse ImportJobResponse Source #
Undocumented member.