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 |
Updates an existing workflow.
Synopsis
- data UpdateWorkflow = UpdateWorkflow' {}
- newUpdateWorkflow :: Text -> UpdateWorkflow
- updateWorkflow_maxConcurrentRuns :: Lens' UpdateWorkflow (Maybe Int)
- updateWorkflow_defaultRunProperties :: Lens' UpdateWorkflow (Maybe (HashMap Text Text))
- updateWorkflow_description :: Lens' UpdateWorkflow (Maybe Text)
- updateWorkflow_name :: Lens' UpdateWorkflow Text
- data UpdateWorkflowResponse = UpdateWorkflowResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newUpdateWorkflowResponse :: Int -> UpdateWorkflowResponse
- updateWorkflowResponse_name :: Lens' UpdateWorkflowResponse (Maybe Text)
- updateWorkflowResponse_httpStatus :: Lens' UpdateWorkflowResponse Int
Creating a Request
data UpdateWorkflow Source #
See: newUpdateWorkflow
smart constructor.
UpdateWorkflow' | |
|
Instances
Create a value of UpdateWorkflow
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:maxConcurrentRuns:UpdateWorkflow'
, updateWorkflow_maxConcurrentRuns
- You can use this parameter to prevent unwanted multiple updates to data,
to control costs, or in some cases, to prevent exceeding the maximum
number of concurrent runs of any of the component jobs. If you leave
this parameter blank, there is no limit to the number of concurrent
workflow runs.
$sel:defaultRunProperties:UpdateWorkflow'
, updateWorkflow_defaultRunProperties
- A collection of properties to be used as part of each execution of the
workflow.
$sel:description:UpdateWorkflow'
, updateWorkflow_description
- The description of the workflow.
$sel:name:UpdateWorkflow'
, updateWorkflow_name
- Name of the workflow to be updated.
Request Lenses
updateWorkflow_maxConcurrentRuns :: Lens' UpdateWorkflow (Maybe Int) Source #
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
updateWorkflow_defaultRunProperties :: Lens' UpdateWorkflow (Maybe (HashMap Text Text)) Source #
A collection of properties to be used as part of each execution of the workflow.
updateWorkflow_description :: Lens' UpdateWorkflow (Maybe Text) Source #
The description of the workflow.
updateWorkflow_name :: Lens' UpdateWorkflow Text Source #
Name of the workflow to be updated.
Destructuring the Response
data UpdateWorkflowResponse Source #
See: newUpdateWorkflowResponse
smart constructor.
UpdateWorkflowResponse' | |
|
Instances
newUpdateWorkflowResponse Source #
Create a value of UpdateWorkflowResponse
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:UpdateWorkflow'
, updateWorkflowResponse_name
- The name of the workflow which was specified in input.
$sel:httpStatus:UpdateWorkflowResponse'
, updateWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
updateWorkflowResponse_name :: Lens' UpdateWorkflowResponse (Maybe Text) Source #
The name of the workflow which was specified in input.
updateWorkflowResponse_httpStatus :: Lens' UpdateWorkflowResponse Int Source #
The response's http status code.