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 |
This operation starts a job.
Synopsis
- data StartJob = StartJob' {}
- newStartJob :: Text -> StartJob
- startJob_jobId :: Lens' StartJob Text
- data StartJobResponse = StartJobResponse' {
- httpStatus :: Int
- newStartJobResponse :: Int -> StartJobResponse
- startJobResponse_httpStatus :: Lens' StartJobResponse Int
Creating a Request
See: newStartJob
smart constructor.
Instances
Create a value of StartJob
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:StartJob'
, startJob_jobId
- The unique identifier for a job.
Request Lenses
Destructuring the Response
data StartJobResponse Source #
See: newStartJobResponse
smart constructor.
StartJobResponse' | |
|
Instances
Create a value of StartJobResponse
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:StartJobResponse'
, startJobResponse_httpStatus
- The response's http status code.
Response Lenses
startJobResponse_httpStatus :: Lens' StartJobResponse Int Source #
The response's http status code.