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 flow.
Synopsis
- data UpdateFlow = UpdateFlow' {}
- newUpdateFlow :: Text -> TriggerConfig -> SourceFlowConfig -> UpdateFlow
- updateFlow_description :: Lens' UpdateFlow (Maybe Text)
- updateFlow_flowName :: Lens' UpdateFlow Text
- updateFlow_triggerConfig :: Lens' UpdateFlow TriggerConfig
- updateFlow_sourceFlowConfig :: Lens' UpdateFlow SourceFlowConfig
- updateFlow_destinationFlowConfigList :: Lens' UpdateFlow [DestinationFlowConfig]
- updateFlow_tasks :: Lens' UpdateFlow [Task]
- data UpdateFlowResponse = UpdateFlowResponse' {}
- newUpdateFlowResponse :: Int -> UpdateFlowResponse
- updateFlowResponse_flowStatus :: Lens' UpdateFlowResponse (Maybe FlowStatus)
- updateFlowResponse_httpStatus :: Lens' UpdateFlowResponse Int
Creating a Request
data UpdateFlow Source #
See: newUpdateFlow
smart constructor.
UpdateFlow' | |
|
Instances
:: Text | |
-> TriggerConfig | |
-> SourceFlowConfig | |
-> UpdateFlow |
Create a value of UpdateFlow
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:description:UpdateFlow'
, updateFlow_description
- A description of the flow.
$sel:flowName:UpdateFlow'
, updateFlow_flowName
- The specified name of the flow. Spaces are not allowed. Use underscores
(_) or hyphens (-) only.
$sel:triggerConfig:UpdateFlow'
, updateFlow_triggerConfig
- The trigger settings that determine how and when the flow runs.
$sel:sourceFlowConfig:UpdateFlow'
, updateFlow_sourceFlowConfig
- Undocumented member.
$sel:destinationFlowConfigList:UpdateFlow'
, updateFlow_destinationFlowConfigList
- The configuration that controls how Amazon AppFlow transfers data to the
destination connector.
$sel:tasks:UpdateFlow'
, updateFlow_tasks
- A list of tasks that Amazon AppFlow performs while transferring the data
in the flow run.
Request Lenses
updateFlow_description :: Lens' UpdateFlow (Maybe Text) Source #
A description of the flow.
updateFlow_flowName :: Lens' UpdateFlow Text Source #
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
updateFlow_triggerConfig :: Lens' UpdateFlow TriggerConfig Source #
The trigger settings that determine how and when the flow runs.
updateFlow_sourceFlowConfig :: Lens' UpdateFlow SourceFlowConfig Source #
Undocumented member.
updateFlow_destinationFlowConfigList :: Lens' UpdateFlow [DestinationFlowConfig] Source #
The configuration that controls how Amazon AppFlow transfers data to the destination connector.
updateFlow_tasks :: Lens' UpdateFlow [Task] Source #
A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
Destructuring the Response
data UpdateFlowResponse Source #
See: newUpdateFlowResponse
smart constructor.
UpdateFlowResponse' | |
|
Instances
newUpdateFlowResponse Source #
Create a value of UpdateFlowResponse
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:flowStatus:UpdateFlowResponse'
, updateFlowResponse_flowStatus
- Indicates the current status of the flow.
$sel:httpStatus:UpdateFlowResponse'
, updateFlowResponse_httpStatus
- The response's http status code.
Response Lenses
updateFlowResponse_flowStatus :: Lens' UpdateFlowResponse (Maybe FlowStatus) Source #
Indicates the current status of the flow.
updateFlowResponse_httpStatus :: Lens' UpdateFlowResponse Int Source #
The response's http status code.