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 |
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.
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:
StopWorkflowRun
, stopWorkflowRun_name
- The name of the workflow to stop.
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.
StopWorkflowRunResponse' | |
|
Instances
Generic StopWorkflowRunResponse Source # | |
Defined in Amazonka.Glue.StopWorkflowRun type Rep StopWorkflowRunResponse :: Type -> Type # | |
Read StopWorkflowRunResponse Source # | |
Show StopWorkflowRunResponse Source # | |
Defined in Amazonka.Glue.StopWorkflowRun showsPrec :: Int -> StopWorkflowRunResponse -> ShowS # show :: StopWorkflowRunResponse -> String # showList :: [StopWorkflowRunResponse] -> ShowS # | |
NFData StopWorkflowRunResponse Source # | |
Defined in Amazonka.Glue.StopWorkflowRun rnf :: StopWorkflowRunResponse -> () # | |
Eq StopWorkflowRunResponse Source # | |
Defined in Amazonka.Glue.StopWorkflowRun | |
type Rep StopWorkflowRunResponse Source # | |
Defined in Amazonka.Glue.StopWorkflowRun type Rep StopWorkflowRunResponse = D1 ('MetaData "StopWorkflowRunResponse" "Amazonka.Glue.StopWorkflowRun" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "StopWorkflowRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.