| 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 |
Amazonka.MigrationHubOrchestrator.GetWorkflowStep
Description
Get a step in the migration workflow.
Synopsis
- data GetWorkflowStep = GetWorkflowStep' {
- workflowId :: Text
- stepGroupId :: Text
- id :: Text
- newGetWorkflowStep :: Text -> Text -> Text -> GetWorkflowStep
- getWorkflowStep_workflowId :: Lens' GetWorkflowStep Text
- getWorkflowStep_stepGroupId :: Lens' GetWorkflowStep Text
- getWorkflowStep_id :: Lens' GetWorkflowStep Text
- data GetWorkflowStepResponse = GetWorkflowStepResponse' {
- creationTime :: Maybe POSIX
- description :: Maybe Text
- endTime :: Maybe POSIX
- lastStartTime :: Maybe POSIX
- name :: Maybe Text
- next :: Maybe [Text]
- noOfSrvCompleted :: Maybe Int
- noOfSrvFailed :: Maybe Int
- outputs :: Maybe [WorkflowStepOutput]
- owner :: Maybe Owner
- previous :: Maybe [Text]
- scriptOutputLocation :: Maybe Text
- status :: Maybe StepStatus
- statusMessage :: Maybe Text
- stepActionType :: Maybe StepActionType
- stepGroupId :: Maybe Text
- stepId :: Maybe Text
- stepTarget :: Maybe [Text]
- totalNoOfSrv :: Maybe Int
- workflowId :: Maybe Text
- workflowStepAutomationConfiguration :: Maybe WorkflowStepAutomationConfiguration
- httpStatus :: Int
- newGetWorkflowStepResponse :: Int -> GetWorkflowStepResponse
- getWorkflowStepResponse_creationTime :: Lens' GetWorkflowStepResponse (Maybe UTCTime)
- getWorkflowStepResponse_description :: Lens' GetWorkflowStepResponse (Maybe Text)
- getWorkflowStepResponse_endTime :: Lens' GetWorkflowStepResponse (Maybe UTCTime)
- getWorkflowStepResponse_lastStartTime :: Lens' GetWorkflowStepResponse (Maybe UTCTime)
- getWorkflowStepResponse_name :: Lens' GetWorkflowStepResponse (Maybe Text)
- getWorkflowStepResponse_next :: Lens' GetWorkflowStepResponse (Maybe [Text])
- getWorkflowStepResponse_noOfSrvCompleted :: Lens' GetWorkflowStepResponse (Maybe Int)
- getWorkflowStepResponse_noOfSrvFailed :: Lens' GetWorkflowStepResponse (Maybe Int)
- getWorkflowStepResponse_outputs :: Lens' GetWorkflowStepResponse (Maybe [WorkflowStepOutput])
- getWorkflowStepResponse_owner :: Lens' GetWorkflowStepResponse (Maybe Owner)
- getWorkflowStepResponse_previous :: Lens' GetWorkflowStepResponse (Maybe [Text])
- getWorkflowStepResponse_scriptOutputLocation :: Lens' GetWorkflowStepResponse (Maybe Text)
- getWorkflowStepResponse_status :: Lens' GetWorkflowStepResponse (Maybe StepStatus)
- getWorkflowStepResponse_statusMessage :: Lens' GetWorkflowStepResponse (Maybe Text)
- getWorkflowStepResponse_stepActionType :: Lens' GetWorkflowStepResponse (Maybe StepActionType)
- getWorkflowStepResponse_stepGroupId :: Lens' GetWorkflowStepResponse (Maybe Text)
- getWorkflowStepResponse_stepId :: Lens' GetWorkflowStepResponse (Maybe Text)
- getWorkflowStepResponse_stepTarget :: Lens' GetWorkflowStepResponse (Maybe [Text])
- getWorkflowStepResponse_totalNoOfSrv :: Lens' GetWorkflowStepResponse (Maybe Int)
- getWorkflowStepResponse_workflowId :: Lens' GetWorkflowStepResponse (Maybe Text)
- getWorkflowStepResponse_workflowStepAutomationConfiguration :: Lens' GetWorkflowStepResponse (Maybe WorkflowStepAutomationConfiguration)
- getWorkflowStepResponse_httpStatus :: Lens' GetWorkflowStepResponse Int
Creating a Request
data GetWorkflowStep Source #
See: newGetWorkflowStep smart constructor.
Constructors
| GetWorkflowStep' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> GetWorkflowStep |
Create a value of GetWorkflowStep 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:
GetWorkflowStep, getWorkflowStep_workflowId - The ID of the migration workflow.
GetWorkflowStep, getWorkflowStep_stepGroupId - desThe ID of the step group.
GetWorkflowStep, getWorkflowStep_id - The ID of the step.
Request Lenses
getWorkflowStep_workflowId :: Lens' GetWorkflowStep Text Source #
The ID of the migration workflow.
getWorkflowStep_stepGroupId :: Lens' GetWorkflowStep Text Source #
desThe ID of the step group.
getWorkflowStep_id :: Lens' GetWorkflowStep Text Source #
The ID of the step.
Destructuring the Response
data GetWorkflowStepResponse Source #
See: newGetWorkflowStepResponse smart constructor.
Constructors
| GetWorkflowStepResponse' | |
Fields
| |
Instances
newGetWorkflowStepResponse Source #
Create a value of GetWorkflowStepResponse 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:
GetWorkflowStepResponse, getWorkflowStepResponse_creationTime - The time at which the step was created.
GetWorkflowStepResponse, getWorkflowStepResponse_description - The description of the step.
GetWorkflowStepResponse, getWorkflowStepResponse_endTime - The time at which the step ended.
$sel:lastStartTime:GetWorkflowStepResponse', getWorkflowStepResponse_lastStartTime - The time at which the workflow was last started.
GetWorkflowStepResponse, getWorkflowStepResponse_name - The name of the step.
GetWorkflowStepResponse, getWorkflowStepResponse_next - The next step.
GetWorkflowStepResponse, getWorkflowStepResponse_noOfSrvCompleted - The number of servers that have been migrated.
GetWorkflowStepResponse, getWorkflowStepResponse_noOfSrvFailed - The number of servers that have failed to migrate.
$sel:outputs:GetWorkflowStepResponse', getWorkflowStepResponse_outputs - The outputs of the step.
GetWorkflowStepResponse, getWorkflowStepResponse_owner - The owner of the step.
GetWorkflowStepResponse, getWorkflowStepResponse_previous - The previous step.
$sel:scriptOutputLocation:GetWorkflowStepResponse', getWorkflowStepResponse_scriptOutputLocation - The output location of the script.
GetWorkflowStepResponse, getWorkflowStepResponse_status - The status of the step.
GetWorkflowStepResponse, getWorkflowStepResponse_statusMessage - The status message of the migration workflow.
GetWorkflowStepResponse, getWorkflowStepResponse_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.
GetWorkflowStep, getWorkflowStepResponse_stepGroupId - The ID of the step group.
GetWorkflowStepResponse, getWorkflowStepResponse_stepId - The ID of the step.
$sel:stepTarget:GetWorkflowStepResponse', getWorkflowStepResponse_stepTarget - The servers on which a step will be run.
GetWorkflowStepResponse, getWorkflowStepResponse_totalNoOfSrv - The total number of servers that have been migrated.
GetWorkflowStep, getWorkflowStepResponse_workflowId - The ID of the migration workflow.
$sel:workflowStepAutomationConfiguration:GetWorkflowStepResponse', getWorkflowStepResponse_workflowStepAutomationConfiguration - The custom script to run tests on source or target environments.
$sel:httpStatus:GetWorkflowStepResponse', getWorkflowStepResponse_httpStatus - The response's http status code.
Response Lenses
getWorkflowStepResponse_creationTime :: Lens' GetWorkflowStepResponse (Maybe UTCTime) Source #
The time at which the step was created.
getWorkflowStepResponse_description :: Lens' GetWorkflowStepResponse (Maybe Text) Source #
The description of the step.
getWorkflowStepResponse_endTime :: Lens' GetWorkflowStepResponse (Maybe UTCTime) Source #
The time at which the step ended.
getWorkflowStepResponse_lastStartTime :: Lens' GetWorkflowStepResponse (Maybe UTCTime) Source #
The time at which the workflow was last started.
getWorkflowStepResponse_name :: Lens' GetWorkflowStepResponse (Maybe Text) Source #
The name of the step.
getWorkflowStepResponse_next :: Lens' GetWorkflowStepResponse (Maybe [Text]) Source #
The next step.
getWorkflowStepResponse_noOfSrvCompleted :: Lens' GetWorkflowStepResponse (Maybe Int) Source #
The number of servers that have been migrated.
getWorkflowStepResponse_noOfSrvFailed :: Lens' GetWorkflowStepResponse (Maybe Int) Source #
The number of servers that have failed to migrate.
getWorkflowStepResponse_outputs :: Lens' GetWorkflowStepResponse (Maybe [WorkflowStepOutput]) Source #
The outputs of the step.
getWorkflowStepResponse_owner :: Lens' GetWorkflowStepResponse (Maybe Owner) Source #
The owner of the step.
getWorkflowStepResponse_previous :: Lens' GetWorkflowStepResponse (Maybe [Text]) Source #
The previous step.
getWorkflowStepResponse_scriptOutputLocation :: Lens' GetWorkflowStepResponse (Maybe Text) Source #
The output location of the script.
getWorkflowStepResponse_status :: Lens' GetWorkflowStepResponse (Maybe StepStatus) Source #
The status of the step.
getWorkflowStepResponse_statusMessage :: Lens' GetWorkflowStepResponse (Maybe Text) Source #
The status message of the migration workflow.
getWorkflowStepResponse_stepActionType :: Lens' GetWorkflowStepResponse (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.
getWorkflowStepResponse_stepGroupId :: Lens' GetWorkflowStepResponse (Maybe Text) Source #
The ID of the step group.
getWorkflowStepResponse_stepId :: Lens' GetWorkflowStepResponse (Maybe Text) Source #
The ID of the step.
getWorkflowStepResponse_stepTarget :: Lens' GetWorkflowStepResponse (Maybe [Text]) Source #
The servers on which a step will be run.
getWorkflowStepResponse_totalNoOfSrv :: Lens' GetWorkflowStepResponse (Maybe Int) Source #
The total number of servers that have been migrated.
getWorkflowStepResponse_workflowId :: Lens' GetWorkflowStepResponse (Maybe Text) Source #
The ID of the migration workflow.
getWorkflowStepResponse_workflowStepAutomationConfiguration :: Lens' GetWorkflowStepResponse (Maybe WorkflowStepAutomationConfiguration) Source #
The custom script to run tests on source or target environments.
getWorkflowStepResponse_httpStatus :: Lens' GetWorkflowStepResponse Int Source #
The response's http status code.