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 |
Gets a job document.
Requires permission to access the GetJobDocument action.
Synopsis
- data GetJobDocument = GetJobDocument' {}
- newGetJobDocument :: Text -> GetJobDocument
- getJobDocument_jobId :: Lens' GetJobDocument Text
- data GetJobDocumentResponse = GetJobDocumentResponse' {
- document :: Maybe Text
- httpStatus :: Int
- newGetJobDocumentResponse :: Int -> GetJobDocumentResponse
- getJobDocumentResponse_document :: Lens' GetJobDocumentResponse (Maybe Text)
- getJobDocumentResponse_httpStatus :: Lens' GetJobDocumentResponse Int
Creating a Request
data GetJobDocument Source #
See: newGetJobDocument
smart constructor.
Instances
Create a value of GetJobDocument
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:jobId:GetJobDocument'
, getJobDocument_jobId
- The unique identifier you assigned to this job when it was created.
Request Lenses
getJobDocument_jobId :: Lens' GetJobDocument Text Source #
The unique identifier you assigned to this job when it was created.
Destructuring the Response
data GetJobDocumentResponse Source #
See: newGetJobDocumentResponse
smart constructor.
GetJobDocumentResponse' | |
|
Instances
newGetJobDocumentResponse Source #
Create a value of GetJobDocumentResponse
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:document:GetJobDocumentResponse'
, getJobDocumentResponse_document
- The job document content.
$sel:httpStatus:GetJobDocumentResponse'
, getJobDocumentResponse_httpStatus
- The response's http status code.
Response Lenses
getJobDocumentResponse_document :: Lens' GetJobDocumentResponse (Maybe Text) Source #
The job document content.
getJobDocumentResponse_httpStatus :: Lens' GetJobDocumentResponse Int Source #
The response's http status code.