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 |
Retrieves information about the status and settings of a specific import job for an application.
Synopsis
- data GetImportJob = GetImportJob' {
- applicationId :: Text
- jobId :: Text
- newGetImportJob :: Text -> Text -> GetImportJob
- getImportJob_applicationId :: Lens' GetImportJob Text
- getImportJob_jobId :: Lens' GetImportJob Text
- data GetImportJobResponse = GetImportJobResponse' {}
- newGetImportJobResponse :: Int -> ImportJobResponse -> GetImportJobResponse
- getImportJobResponse_httpStatus :: Lens' GetImportJobResponse Int
- getImportJobResponse_importJobResponse :: Lens' GetImportJobResponse ImportJobResponse
Creating a Request
data GetImportJob Source #
See: newGetImportJob
smart constructor.
GetImportJob' | |
|
Instances
Create a value of GetImportJob
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:GetImportJob'
, getImportJob_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:jobId:GetImportJob'
, getImportJob_jobId
- The unique identifier for the job.
Request Lenses
getImportJob_applicationId :: Lens' GetImportJob Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getImportJob_jobId :: Lens' GetImportJob Text Source #
The unique identifier for the job.
Destructuring the Response
data GetImportJobResponse Source #
See: newGetImportJobResponse
smart constructor.
GetImportJobResponse' | |
|
Instances
newGetImportJobResponse Source #
Create a value of GetImportJobResponse
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:GetImportJobResponse'
, getImportJobResponse_httpStatus
- The response's http status code.
$sel:importJobResponse:GetImportJobResponse'
, getImportJobResponse_importJobResponse
- Undocumented member.
Response Lenses
getImportJobResponse_httpStatus :: Lens' GetImportJobResponse Int Source #
The response's http status code.
getImportJobResponse_importJobResponse :: Lens' GetImportJobResponse ImportJobResponse Source #
Undocumented member.