| 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.UpdateWorkflow
Description
Update a migration workflow.
Synopsis
- data UpdateWorkflow = UpdateWorkflow' {}
- newUpdateWorkflow :: Text -> UpdateWorkflow
- updateWorkflow_description :: Lens' UpdateWorkflow (Maybe Text)
- updateWorkflow_inputParameters :: Lens' UpdateWorkflow (Maybe (HashMap Text StepInput))
- updateWorkflow_name :: Lens' UpdateWorkflow (Maybe Text)
- updateWorkflow_stepTargets :: Lens' UpdateWorkflow (Maybe [Text])
- updateWorkflow_id :: Lens' UpdateWorkflow Text
- data UpdateWorkflowResponse = UpdateWorkflowResponse' {
- adsApplicationConfigurationId :: Maybe Text
- arn :: Maybe Text
- creationTime :: Maybe POSIX
- description :: Maybe Text
- id :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- name :: Maybe Text
- status :: Maybe MigrationWorkflowStatusEnum
- stepTargets :: Maybe [Text]
- tags :: Maybe (HashMap Text Text)
- templateId :: Maybe Text
- workflowInputs :: Maybe (Sensitive (HashMap Text StepInput))
- httpStatus :: Int
- newUpdateWorkflowResponse :: Int -> UpdateWorkflowResponse
- updateWorkflowResponse_adsApplicationConfigurationId :: Lens' UpdateWorkflowResponse (Maybe Text)
- updateWorkflowResponse_arn :: Lens' UpdateWorkflowResponse (Maybe Text)
- updateWorkflowResponse_creationTime :: Lens' UpdateWorkflowResponse (Maybe UTCTime)
- updateWorkflowResponse_description :: Lens' UpdateWorkflowResponse (Maybe Text)
- updateWorkflowResponse_id :: Lens' UpdateWorkflowResponse (Maybe Text)
- updateWorkflowResponse_lastModifiedTime :: Lens' UpdateWorkflowResponse (Maybe UTCTime)
- updateWorkflowResponse_name :: Lens' UpdateWorkflowResponse (Maybe Text)
- updateWorkflowResponse_status :: Lens' UpdateWorkflowResponse (Maybe MigrationWorkflowStatusEnum)
- updateWorkflowResponse_stepTargets :: Lens' UpdateWorkflowResponse (Maybe [Text])
- updateWorkflowResponse_tags :: Lens' UpdateWorkflowResponse (Maybe (HashMap Text Text))
- updateWorkflowResponse_templateId :: Lens' UpdateWorkflowResponse (Maybe Text)
- updateWorkflowResponse_workflowInputs :: Lens' UpdateWorkflowResponse (Maybe (HashMap Text StepInput))
- updateWorkflowResponse_httpStatus :: Lens' UpdateWorkflowResponse Int
Creating a Request
data UpdateWorkflow Source #
See: newUpdateWorkflow smart constructor.
Constructors
| UpdateWorkflow' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateWorkflow |
Create a value of UpdateWorkflow 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:
UpdateWorkflow, updateWorkflow_description - The description of the migration workflow.
$sel:inputParameters:UpdateWorkflow', updateWorkflow_inputParameters - The input parameters required to update a migration workflow.
UpdateWorkflow, updateWorkflow_name - The name of the migration workflow.
UpdateWorkflow, updateWorkflow_stepTargets - The servers on which a step will be run.
UpdateWorkflow, updateWorkflow_id - The ID of the migration workflow.
Request Lenses
updateWorkflow_description :: Lens' UpdateWorkflow (Maybe Text) Source #
The description of the migration workflow.
updateWorkflow_inputParameters :: Lens' UpdateWorkflow (Maybe (HashMap Text StepInput)) Source #
The input parameters required to update a migration workflow.
updateWorkflow_name :: Lens' UpdateWorkflow (Maybe Text) Source #
The name of the migration workflow.
updateWorkflow_stepTargets :: Lens' UpdateWorkflow (Maybe [Text]) Source #
The servers on which a step will be run.
updateWorkflow_id :: Lens' UpdateWorkflow Text Source #
The ID of the migration workflow.
Destructuring the Response
data UpdateWorkflowResponse Source #
See: newUpdateWorkflowResponse smart constructor.
Constructors
| UpdateWorkflowResponse' | |
Fields
| |
Instances
newUpdateWorkflowResponse Source #
Create a value of UpdateWorkflowResponse 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:adsApplicationConfigurationId:UpdateWorkflowResponse', updateWorkflowResponse_adsApplicationConfigurationId - The ID of the application configured in Application Discovery Service.
UpdateWorkflowResponse, updateWorkflowResponse_arn - The Amazon Resource Name (ARN) of the migration workflow.
UpdateWorkflowResponse, updateWorkflowResponse_creationTime - The time at which the migration workflow was created.
UpdateWorkflow, updateWorkflowResponse_description - The description of the migration workflow.
UpdateWorkflow, updateWorkflowResponse_id - The ID of the migration workflow.
$sel:lastModifiedTime:UpdateWorkflowResponse', updateWorkflowResponse_lastModifiedTime - The time at which the migration workflow was last modified.
UpdateWorkflow, updateWorkflowResponse_name - The name of the migration workflow.
UpdateWorkflowResponse, updateWorkflowResponse_status - The status of the migration workflow.
UpdateWorkflow, updateWorkflowResponse_stepTargets - The servers on which a step will be run.
$sel:tags:UpdateWorkflowResponse', updateWorkflowResponse_tags - The tags added to the migration workflow.
UpdateWorkflowResponse, updateWorkflowResponse_templateId - The ID of the template.
$sel:workflowInputs:UpdateWorkflowResponse', updateWorkflowResponse_workflowInputs - The inputs required to update a migration workflow.
$sel:httpStatus:UpdateWorkflowResponse', updateWorkflowResponse_httpStatus - The response's http status code.
Response Lenses
updateWorkflowResponse_adsApplicationConfigurationId :: Lens' UpdateWorkflowResponse (Maybe Text) Source #
The ID of the application configured in Application Discovery Service.
updateWorkflowResponse_arn :: Lens' UpdateWorkflowResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the migration workflow.
updateWorkflowResponse_creationTime :: Lens' UpdateWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was created.
updateWorkflowResponse_description :: Lens' UpdateWorkflowResponse (Maybe Text) Source #
The description of the migration workflow.
updateWorkflowResponse_id :: Lens' UpdateWorkflowResponse (Maybe Text) Source #
The ID of the migration workflow.
updateWorkflowResponse_lastModifiedTime :: Lens' UpdateWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was last modified.
updateWorkflowResponse_name :: Lens' UpdateWorkflowResponse (Maybe Text) Source #
The name of the migration workflow.
updateWorkflowResponse_status :: Lens' UpdateWorkflowResponse (Maybe MigrationWorkflowStatusEnum) Source #
The status of the migration workflow.
updateWorkflowResponse_stepTargets :: Lens' UpdateWorkflowResponse (Maybe [Text]) Source #
The servers on which a step will be run.
updateWorkflowResponse_tags :: Lens' UpdateWorkflowResponse (Maybe (HashMap Text Text)) Source #
The tags added to the migration workflow.
updateWorkflowResponse_templateId :: Lens' UpdateWorkflowResponse (Maybe Text) Source #
The ID of the template.
updateWorkflowResponse_workflowInputs :: Lens' UpdateWorkflowResponse (Maybe (HashMap Text StepInput)) Source #
The inputs required to update a migration workflow.
updateWorkflowResponse_httpStatus :: Lens' UpdateWorkflowResponse Int Source #
The response's http status code.