| 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 |
Amazonka.Glue.StopWorkflowRun
Description
Stops the execution of the specified workflow run.
Synopsis
- data StopWorkflowRun = StopWorkflowRun' {}
- newStopWorkflowRun :: Text -> Text -> StopWorkflowRun
- stopWorkflowRun_name :: Lens' StopWorkflowRun Text
- stopWorkflowRun_runId :: Lens' StopWorkflowRun Text
- data StopWorkflowRunResponse = StopWorkflowRunResponse' {
- httpStatus :: Int
- newStopWorkflowRunResponse :: Int -> StopWorkflowRunResponse
- stopWorkflowRunResponse_httpStatus :: Lens' StopWorkflowRunResponse Int
Creating a Request
data StopWorkflowRun Source #
See: newStopWorkflowRun smart constructor.
Constructors
| StopWorkflowRun' | |
Instances
Create a value of StopWorkflowRun 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:name:StopWorkflowRun', stopWorkflowRun_name - The name of the workflow to stop.
$sel:runId:StopWorkflowRun', stopWorkflowRun_runId - The ID of the workflow run to stop.
Request Lenses
stopWorkflowRun_name :: Lens' StopWorkflowRun Text Source #
The name of the workflow to stop.
stopWorkflowRun_runId :: Lens' StopWorkflowRun Text Source #
The ID of the workflow run to stop.
Destructuring the Response
data StopWorkflowRunResponse Source #
See: newStopWorkflowRunResponse smart constructor.
Constructors
| StopWorkflowRunResponse' | |
Fields
| |
Instances
newStopWorkflowRunResponse Source #
Create a value of StopWorkflowRunResponse 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:StopWorkflowRunResponse', stopWorkflowRunResponse_httpStatus - The response's http status code.
Response Lenses
stopWorkflowRunResponse_httpStatus :: Lens' StopWorkflowRunResponse Int Source #
The response's http status code.