| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Amplify.StopJob
Description
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.
Constructors
| StopJob' | |
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:
StopJob, stopJob_appId - The unique ID for an Amplify app.
StopJob, stopJob_branchName - The name for the branch, for the job.
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.
Constructors
| StopJobResponse' | |
Fields
| |
Instances
Arguments
| :: 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.