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 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.
CreateImportJob' | |
|
Instances
:: 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:
$sel:applicationId: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.
CreateImportJobResponse' | |
|
Instances
newCreateImportJobResponse Source #
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.