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 |
Update a step in a migration workflow.
Synopsis
- data UpdateWorkflowStep = UpdateWorkflowStep' {
- description :: Maybe Text
- name :: Maybe Text
- next :: Maybe [Text]
- outputs :: Maybe [WorkflowStepOutput]
- previous :: Maybe [Text]
- status :: Maybe StepStatus
- stepActionType :: Maybe StepActionType
- stepTarget :: Maybe [Text]
- workflowStepAutomationConfiguration :: Maybe WorkflowStepAutomationConfiguration
- id :: Text
- stepGroupId :: Text
- workflowId :: Text
- newUpdateWorkflowStep :: Text -> Text -> Text -> UpdateWorkflowStep
- updateWorkflowStep_description :: Lens' UpdateWorkflowStep (Maybe Text)
- updateWorkflowStep_name :: Lens' UpdateWorkflowStep (Maybe Text)
- updateWorkflowStep_next :: Lens' UpdateWorkflowStep (Maybe [Text])
- updateWorkflowStep_outputs :: Lens' UpdateWorkflowStep (Maybe [WorkflowStepOutput])
- updateWorkflowStep_previous :: Lens' UpdateWorkflowStep (Maybe [Text])
- updateWorkflowStep_status :: Lens' UpdateWorkflowStep (Maybe StepStatus)
- updateWorkflowStep_stepActionType :: Lens' UpdateWorkflowStep (Maybe StepActionType)
- updateWorkflowStep_stepTarget :: Lens' UpdateWorkflowStep (Maybe [Text])
- updateWorkflowStep_workflowStepAutomationConfiguration :: Lens' UpdateWorkflowStep (Maybe WorkflowStepAutomationConfiguration)
- updateWorkflowStep_id :: Lens' UpdateWorkflowStep Text
- updateWorkflowStep_stepGroupId :: Lens' UpdateWorkflowStep Text
- updateWorkflowStep_workflowId :: Lens' UpdateWorkflowStep Text
- data UpdateWorkflowStepResponse = UpdateWorkflowStepResponse' {
- id :: Maybe Text
- name :: Maybe Text
- stepGroupId :: Maybe Text
- workflowId :: Maybe Text
- httpStatus :: Int
- newUpdateWorkflowStepResponse :: Int -> UpdateWorkflowStepResponse
- updateWorkflowStepResponse_id :: Lens' UpdateWorkflowStepResponse (Maybe Text)
- updateWorkflowStepResponse_name :: Lens' UpdateWorkflowStepResponse (Maybe Text)
- updateWorkflowStepResponse_stepGroupId :: Lens' UpdateWorkflowStepResponse (Maybe Text)
- updateWorkflowStepResponse_workflowId :: Lens' UpdateWorkflowStepResponse (Maybe Text)
- updateWorkflowStepResponse_httpStatus :: Lens' UpdateWorkflowStepResponse Int
Creating a Request
data UpdateWorkflowStep Source #
See: newUpdateWorkflowStep
smart constructor.
UpdateWorkflowStep' | |
|
Instances
newUpdateWorkflowStep Source #
Create a value of UpdateWorkflowStep
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:
UpdateWorkflowStep
, updateWorkflowStep_description
- The description of the step.
UpdateWorkflowStep
, updateWorkflowStep_name
- The name of the step.
UpdateWorkflowStep
, updateWorkflowStep_next
- The next step.
$sel:outputs:UpdateWorkflowStep'
, updateWorkflowStep_outputs
- The outputs of a step.
UpdateWorkflowStep
, updateWorkflowStep_previous
- The previous step.
UpdateWorkflowStep
, updateWorkflowStep_status
- The status of the step.
UpdateWorkflowStep
, updateWorkflowStep_stepActionType
- The action type of the step. You must run and update the status of a
manual step for the workflow to continue after the completion of the
step.
$sel:stepTarget:UpdateWorkflowStep'
, updateWorkflowStep_stepTarget
- The servers on which a step will be run.
$sel:workflowStepAutomationConfiguration:UpdateWorkflowStep'
, updateWorkflowStep_workflowStepAutomationConfiguration
- The custom script to run tests on the source and target environments.
UpdateWorkflowStep
, updateWorkflowStep_id
- The ID of the step.
UpdateWorkflowStep
, updateWorkflowStep_stepGroupId
- The ID of the step group.
UpdateWorkflowStep
, updateWorkflowStep_workflowId
- The ID of the migration workflow.
Request Lenses
updateWorkflowStep_description :: Lens' UpdateWorkflowStep (Maybe Text) Source #
The description of the step.
updateWorkflowStep_name :: Lens' UpdateWorkflowStep (Maybe Text) Source #
The name of the step.
updateWorkflowStep_next :: Lens' UpdateWorkflowStep (Maybe [Text]) Source #
The next step.
updateWorkflowStep_outputs :: Lens' UpdateWorkflowStep (Maybe [WorkflowStepOutput]) Source #
The outputs of a step.
updateWorkflowStep_previous :: Lens' UpdateWorkflowStep (Maybe [Text]) Source #
The previous step.
updateWorkflowStep_status :: Lens' UpdateWorkflowStep (Maybe StepStatus) Source #
The status of the step.
updateWorkflowStep_stepActionType :: Lens' UpdateWorkflowStep (Maybe StepActionType) Source #
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
updateWorkflowStep_stepTarget :: Lens' UpdateWorkflowStep (Maybe [Text]) Source #
The servers on which a step will be run.
updateWorkflowStep_workflowStepAutomationConfiguration :: Lens' UpdateWorkflowStep (Maybe WorkflowStepAutomationConfiguration) Source #
The custom script to run tests on the source and target environments.
updateWorkflowStep_id :: Lens' UpdateWorkflowStep Text Source #
The ID of the step.
updateWorkflowStep_stepGroupId :: Lens' UpdateWorkflowStep Text Source #
The ID of the step group.
updateWorkflowStep_workflowId :: Lens' UpdateWorkflowStep Text Source #
The ID of the migration workflow.
Destructuring the Response
data UpdateWorkflowStepResponse Source #
See: newUpdateWorkflowStepResponse
smart constructor.
UpdateWorkflowStepResponse' | |
|
Instances
newUpdateWorkflowStepResponse Source #
Create a value of UpdateWorkflowStepResponse
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:
UpdateWorkflowStep
, updateWorkflowStepResponse_id
- The ID of the step.
UpdateWorkflowStep
, updateWorkflowStepResponse_name
- The name of the step.
UpdateWorkflowStep
, updateWorkflowStepResponse_stepGroupId
- The ID of the step group.
UpdateWorkflowStep
, updateWorkflowStepResponse_workflowId
- The ID of the migration workflow.
$sel:httpStatus:UpdateWorkflowStepResponse'
, updateWorkflowStepResponse_httpStatus
- The response's http status code.
Response Lenses
updateWorkflowStepResponse_id :: Lens' UpdateWorkflowStepResponse (Maybe Text) Source #
The ID of the step.
updateWorkflowStepResponse_name :: Lens' UpdateWorkflowStepResponse (Maybe Text) Source #
The name of the step.
updateWorkflowStepResponse_stepGroupId :: Lens' UpdateWorkflowStepResponse (Maybe Text) Source #
The ID of the step group.
updateWorkflowStepResponse_workflowId :: Lens' UpdateWorkflowStepResponse (Maybe Text) Source #
The ID of the migration workflow.
updateWorkflowStepResponse_httpStatus :: Lens' UpdateWorkflowStepResponse Int Source #
The response's http status code.