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 |
Creates a new workflow.
Synopsis
- data CreateWorkflow = CreateWorkflow' {}
- newCreateWorkflow :: Text -> CreateWorkflow
- createWorkflow_maxConcurrentRuns :: Lens' CreateWorkflow (Maybe Int)
- createWorkflow_defaultRunProperties :: Lens' CreateWorkflow (Maybe (HashMap Text Text))
- createWorkflow_description :: Lens' CreateWorkflow (Maybe Text)
- createWorkflow_tags :: Lens' CreateWorkflow (Maybe (HashMap Text Text))
- createWorkflow_name :: Lens' CreateWorkflow Text
- data CreateWorkflowResponse = CreateWorkflowResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newCreateWorkflowResponse :: Int -> CreateWorkflowResponse
- createWorkflowResponse_name :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_httpStatus :: Lens' CreateWorkflowResponse Int
Creating a Request
data CreateWorkflow Source #
See: newCreateWorkflow
smart constructor.
CreateWorkflow' | |
|
Instances
Create a value of CreateWorkflow
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:CreateWorkflow'
, createWorkflow_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:CreateWorkflow'
, createWorkflow_defaultRunProperties
- A collection of properties to be used as part of each execution of the
workflow.
$sel:description:CreateWorkflow'
, createWorkflow_description
- A description of the workflow.
$sel:tags:CreateWorkflow'
, createWorkflow_tags
- The tags to be used with this workflow.
$sel:name:CreateWorkflow'
, createWorkflow_name
- The name to be assigned to the workflow. It should be unique within your
account.
Request Lenses
createWorkflow_maxConcurrentRuns :: Lens' CreateWorkflow (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.
createWorkflow_defaultRunProperties :: Lens' CreateWorkflow (Maybe (HashMap Text Text)) Source #
A collection of properties to be used as part of each execution of the workflow.
createWorkflow_description :: Lens' CreateWorkflow (Maybe Text) Source #
A description of the workflow.
createWorkflow_tags :: Lens' CreateWorkflow (Maybe (HashMap Text Text)) Source #
The tags to be used with this workflow.
createWorkflow_name :: Lens' CreateWorkflow Text Source #
The name to be assigned to the workflow. It should be unique within your account.
Destructuring the Response
data CreateWorkflowResponse Source #
See: newCreateWorkflowResponse
smart constructor.
CreateWorkflowResponse' | |
|
Instances
newCreateWorkflowResponse Source #
Create a value of CreateWorkflowResponse
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:CreateWorkflow'
, createWorkflowResponse_name
- The name of the workflow which was provided as part of the request.
$sel:httpStatus:CreateWorkflowResponse'
, createWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
createWorkflowResponse_name :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The name of the workflow which was provided as part of the request.
createWorkflowResponse_httpStatus :: Lens' CreateWorkflowResponse Int Source #
The response's http status code.