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 workflow to orchestrate your migrations.
Synopsis
- data CreateWorkflow = CreateWorkflow' {
- description :: Maybe Text
- stepTargets :: Maybe [Text]
- tags :: Maybe (HashMap Text Text)
- name :: Text
- templateId :: Text
- applicationConfigurationId :: Text
- inputParameters :: Sensitive (HashMap Text StepInput)
- newCreateWorkflow :: Text -> Text -> Text -> CreateWorkflow
- createWorkflow_description :: Lens' CreateWorkflow (Maybe Text)
- createWorkflow_stepTargets :: Lens' CreateWorkflow (Maybe [Text])
- createWorkflow_tags :: Lens' CreateWorkflow (Maybe (HashMap Text Text))
- createWorkflow_name :: Lens' CreateWorkflow Text
- createWorkflow_templateId :: Lens' CreateWorkflow Text
- createWorkflow_applicationConfigurationId :: Lens' CreateWorkflow Text
- createWorkflow_inputParameters :: Lens' CreateWorkflow (HashMap Text StepInput)
- data CreateWorkflowResponse = CreateWorkflowResponse' {
- adsApplicationConfigurationId :: Maybe Text
- arn :: Maybe Text
- creationTime :: Maybe POSIX
- description :: Maybe Text
- id :: Maybe Text
- 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
- newCreateWorkflowResponse :: Int -> CreateWorkflowResponse
- createWorkflowResponse_adsApplicationConfigurationId :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_arn :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_creationTime :: Lens' CreateWorkflowResponse (Maybe UTCTime)
- createWorkflowResponse_description :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_id :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_name :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_status :: Lens' CreateWorkflowResponse (Maybe MigrationWorkflowStatusEnum)
- createWorkflowResponse_stepTargets :: Lens' CreateWorkflowResponse (Maybe [Text])
- createWorkflowResponse_tags :: Lens' CreateWorkflowResponse (Maybe (HashMap Text Text))
- createWorkflowResponse_templateId :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_workflowInputs :: Lens' CreateWorkflowResponse (Maybe (HashMap Text StepInput))
- createWorkflowResponse_httpStatus :: Lens' CreateWorkflowResponse Int
Creating a Request
data CreateWorkflow Source #
See: newCreateWorkflow
smart constructor.
CreateWorkflow' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CreateWorkflow |
Create a value of CreateWorkflow
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:
CreateWorkflow
, createWorkflow_description
- The description of the migration workflow.
CreateWorkflow
, createWorkflow_stepTargets
- The servers on which a step will be run.
CreateWorkflow
, createWorkflow_tags
- The tags to add on a migration workflow.
CreateWorkflow
, createWorkflow_name
- The name of the migration workflow.
CreateWorkflow
, createWorkflow_templateId
- The ID of the template.
$sel:applicationConfigurationId:CreateWorkflow'
, createWorkflow_applicationConfigurationId
- The configuration ID of the application configured in Application
Discovery Service.
$sel:inputParameters:CreateWorkflow'
, createWorkflow_inputParameters
- The input parameters required to create a migration workflow.
Request Lenses
createWorkflow_description :: Lens' CreateWorkflow (Maybe Text) Source #
The description of the migration workflow.
createWorkflow_stepTargets :: Lens' CreateWorkflow (Maybe [Text]) Source #
The servers on which a step will be run.
createWorkflow_tags :: Lens' CreateWorkflow (Maybe (HashMap Text Text)) Source #
The tags to add on a migration workflow.
createWorkflow_name :: Lens' CreateWorkflow Text Source #
The name of the migration workflow.
createWorkflow_templateId :: Lens' CreateWorkflow Text Source #
The ID of the template.
createWorkflow_applicationConfigurationId :: Lens' CreateWorkflow Text Source #
The configuration ID of the application configured in Application Discovery Service.
createWorkflow_inputParameters :: Lens' CreateWorkflow (HashMap Text StepInput) Source #
The input parameters required to create a migration workflow.
Destructuring the Response
data CreateWorkflowResponse Source #
See: newCreateWorkflowResponse
smart constructor.
CreateWorkflowResponse' | |
|
Instances
newCreateWorkflowResponse Source #
Create a value of CreateWorkflowResponse
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:CreateWorkflowResponse'
, createWorkflowResponse_adsApplicationConfigurationId
- The configuration ID of the application configured in Application
Discovery Service.
CreateWorkflowResponse
, createWorkflowResponse_arn
- The Amazon Resource Name (ARN) of the migration workflow.
CreateWorkflowResponse
, createWorkflowResponse_creationTime
- The time at which the migration workflow was created.
CreateWorkflow
, createWorkflowResponse_description
- The description of the migration workflow.
CreateWorkflowResponse
, createWorkflowResponse_id
- The ID of the migration workflow.
CreateWorkflow
, createWorkflowResponse_name
- The name of the migration workflow.
CreateWorkflowResponse
, createWorkflowResponse_status
- The status of the migration workflow.
CreateWorkflow
, createWorkflowResponse_stepTargets
- The servers on which a step will be run.
CreateWorkflow
, createWorkflowResponse_tags
- The tags to add on a migration workflow.
CreateWorkflow
, createWorkflowResponse_templateId
- The ID of the template.
$sel:workflowInputs:CreateWorkflowResponse'
, createWorkflowResponse_workflowInputs
- The inputs for creating a migration workflow.
$sel:httpStatus:CreateWorkflowResponse'
, createWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
createWorkflowResponse_adsApplicationConfigurationId :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The configuration ID of the application configured in Application Discovery Service.
createWorkflowResponse_arn :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the migration workflow.
createWorkflowResponse_creationTime :: Lens' CreateWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was created.
createWorkflowResponse_description :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The description of the migration workflow.
createWorkflowResponse_id :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The ID of the migration workflow.
createWorkflowResponse_name :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The name of the migration workflow.
createWorkflowResponse_status :: Lens' CreateWorkflowResponse (Maybe MigrationWorkflowStatusEnum) Source #
The status of the migration workflow.
createWorkflowResponse_stepTargets :: Lens' CreateWorkflowResponse (Maybe [Text]) Source #
The servers on which a step will be run.
createWorkflowResponse_tags :: Lens' CreateWorkflowResponse (Maybe (HashMap Text Text)) Source #
The tags to add on a migration workflow.
createWorkflowResponse_templateId :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The ID of the template.
createWorkflowResponse_workflowInputs :: Lens' CreateWorkflowResponse (Maybe (HashMap Text StepInput)) Source #
The inputs for creating a migration workflow.
createWorkflowResponse_httpStatus :: Lens' CreateWorkflowResponse Int Source #
The response's http status code.