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 |
Stops a job that is in progress for a branch of an Amplify app.
Synopsis
- data StopJob = StopJob' {}
- newStopJob :: Text -> Text -> Text -> StopJob
- stopJob_appId :: Lens' StopJob Text
- stopJob_branchName :: Lens' StopJob Text
- stopJob_jobId :: Lens' StopJob Text
- data StopJobResponse = StopJobResponse' {}
- newStopJobResponse :: Int -> JobSummary -> StopJobResponse
- stopJobResponse_httpStatus :: Lens' StopJobResponse Int
- stopJobResponse_jobSummary :: Lens' StopJobResponse JobSummary
Creating a Request
The request structure for the stop job request.
See: newStopJob
smart constructor.
Instances
Create a value of StopJob
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:appId:StopJob'
, stopJob_appId
- The unique ID for an Amplify app.
$sel:branchName:StopJob'
, stopJob_branchName
- The name for the branch, for the job.
$sel:jobId:StopJob'
, stopJob_jobId
- The unique id for the job.
Request Lenses
Destructuring the Response
data StopJobResponse Source #
The result structure for the stop job request.
See: newStopJobResponse
smart constructor.
StopJobResponse' | |
|
Instances
:: Int | |
-> JobSummary | |
-> StopJobResponse |
Create a value of StopJobResponse
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:StopJobResponse'
, stopJobResponse_httpStatus
- The response's http status code.
$sel:jobSummary:StopJobResponse'
, stopJobResponse_jobSummary
- The summary for the job.
Response Lenses
stopJobResponse_httpStatus :: Lens' StopJobResponse Int Source #
The response's http status code.
stopJobResponse_jobSummary :: Lens' StopJobResponse JobSummary Source #
The summary for the job.