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 |
Create a step in the migration workflow.
Synopsis
- data CreateWorkflowStep = CreateWorkflowStep' {}
- newCreateWorkflowStep :: Text -> Text -> Text -> StepActionType -> CreateWorkflowStep
- createWorkflowStep_description :: Lens' CreateWorkflowStep (Maybe Text)
- createWorkflowStep_next :: Lens' CreateWorkflowStep (Maybe [Text])
- createWorkflowStep_outputs :: Lens' CreateWorkflowStep (Maybe [WorkflowStepOutput])
- createWorkflowStep_previous :: Lens' CreateWorkflowStep (Maybe [Text])
- createWorkflowStep_stepTarget :: Lens' CreateWorkflowStep (Maybe [Text])
- createWorkflowStep_workflowStepAutomationConfiguration :: Lens' CreateWorkflowStep (Maybe WorkflowStepAutomationConfiguration)
- createWorkflowStep_name :: Lens' CreateWorkflowStep Text
- createWorkflowStep_stepGroupId :: Lens' CreateWorkflowStep Text
- createWorkflowStep_workflowId :: Lens' CreateWorkflowStep Text
- createWorkflowStep_stepActionType :: Lens' CreateWorkflowStep StepActionType
- data CreateWorkflowStepResponse = CreateWorkflowStepResponse' {
- id :: Maybe Text
- name :: Maybe Text
- stepGroupId :: Maybe Text
- workflowId :: Maybe Text
- httpStatus :: Int
- newCreateWorkflowStepResponse :: Int -> CreateWorkflowStepResponse
- createWorkflowStepResponse_id :: Lens' CreateWorkflowStepResponse (Maybe Text)
- createWorkflowStepResponse_name :: Lens' CreateWorkflowStepResponse (Maybe Text)
- createWorkflowStepResponse_stepGroupId :: Lens' CreateWorkflowStepResponse (Maybe Text)
- createWorkflowStepResponse_workflowId :: Lens' CreateWorkflowStepResponse (Maybe Text)
- createWorkflowStepResponse_httpStatus :: Lens' CreateWorkflowStepResponse Int
Creating a Request
data CreateWorkflowStep Source #
See: newCreateWorkflowStep
smart constructor.
CreateWorkflowStep' | |
|
Instances
newCreateWorkflowStep Source #
:: Text | |
-> Text | |
-> Text | |
-> StepActionType | |
-> CreateWorkflowStep |
Create a value of CreateWorkflowStep
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:
CreateWorkflowStep
, createWorkflowStep_description
- The description of the step.
CreateWorkflowStep
, createWorkflowStep_next
- The next step.
$sel:outputs:CreateWorkflowStep'
, createWorkflowStep_outputs
- The key value pairs added for the expected output.
CreateWorkflowStep
, createWorkflowStep_previous
- The previous step.
$sel:stepTarget:CreateWorkflowStep'
, createWorkflowStep_stepTarget
- The servers on which a step will be run.
$sel:workflowStepAutomationConfiguration:CreateWorkflowStep'
, createWorkflowStep_workflowStepAutomationConfiguration
- The custom script to run tests on source or target environments.
CreateWorkflowStep
, createWorkflowStep_name
- The name of the step.
CreateWorkflowStep
, createWorkflowStep_stepGroupId
- The ID of the step group.
CreateWorkflowStep
, createWorkflowStep_workflowId
- The ID of the migration workflow.
CreateWorkflowStep
, createWorkflowStep_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.
Request Lenses
createWorkflowStep_description :: Lens' CreateWorkflowStep (Maybe Text) Source #
The description of the step.
createWorkflowStep_next :: Lens' CreateWorkflowStep (Maybe [Text]) Source #
The next step.
createWorkflowStep_outputs :: Lens' CreateWorkflowStep (Maybe [WorkflowStepOutput]) Source #
The key value pairs added for the expected output.
createWorkflowStep_previous :: Lens' CreateWorkflowStep (Maybe [Text]) Source #
The previous step.
createWorkflowStep_stepTarget :: Lens' CreateWorkflowStep (Maybe [Text]) Source #
The servers on which a step will be run.
createWorkflowStep_workflowStepAutomationConfiguration :: Lens' CreateWorkflowStep (Maybe WorkflowStepAutomationConfiguration) Source #
The custom script to run tests on source or target environments.
createWorkflowStep_name :: Lens' CreateWorkflowStep Text Source #
The name of the step.
createWorkflowStep_stepGroupId :: Lens' CreateWorkflowStep Text Source #
The ID of the step group.
createWorkflowStep_workflowId :: Lens' CreateWorkflowStep Text Source #
The ID of the migration workflow.
createWorkflowStep_stepActionType :: Lens' CreateWorkflowStep 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.
Destructuring the Response
data CreateWorkflowStepResponse Source #
See: newCreateWorkflowStepResponse
smart constructor.
CreateWorkflowStepResponse' | |
|
Instances
newCreateWorkflowStepResponse Source #
Create a value of CreateWorkflowStepResponse
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:
CreateWorkflowStepResponse
, createWorkflowStepResponse_id
- The ID of the step.
CreateWorkflowStep
, createWorkflowStepResponse_name
- The name of the step.
CreateWorkflowStep
, createWorkflowStepResponse_stepGroupId
- The ID of the step group.
CreateWorkflowStep
, createWorkflowStepResponse_workflowId
- The ID of the migration workflow.
$sel:httpStatus:CreateWorkflowStepResponse'
, createWorkflowStepResponse_httpStatus
- The response's http status code.
Response Lenses
createWorkflowStepResponse_id :: Lens' CreateWorkflowStepResponse (Maybe Text) Source #
The ID of the step.
createWorkflowStepResponse_name :: Lens' CreateWorkflowStepResponse (Maybe Text) Source #
The name of the step.
createWorkflowStepResponse_stepGroupId :: Lens' CreateWorkflowStepResponse (Maybe Text) Source #
The ID of the step group.
createWorkflowStepResponse_workflowId :: Lens' CreateWorkflowStepResponse (Maybe Text) Source #
The ID of the migration workflow.
createWorkflowStepResponse_httpStatus :: Lens' CreateWorkflowStepResponse Int Source #
The response's http status code.