amazonka-migrationhuborchestrator-2.0: Amazon Migration Hub Orchestrator SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHubOrchestrator.CreateWorkflow

Description

Create a workflow to orchestrate your migrations.

Synopsis

Creating a Request

data CreateWorkflow Source #

See: newCreateWorkflow smart constructor.

Constructors

CreateWorkflow' 

Fields

Instances

Instances details
ToJSON CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

ToHeaders CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

ToPath CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

ToQuery CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

AWSRequest CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

Associated Types

type AWSResponse CreateWorkflow #

Generic CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

Associated Types

type Rep CreateWorkflow :: Type -> Type #

Show CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

NFData CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

Methods

rnf :: CreateWorkflow -> () #

Eq CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

Hashable CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

type AWSResponse CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

type Rep CreateWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

type Rep CreateWorkflow = D1 ('MetaData "CreateWorkflow" "Amazonka.MigrationHubOrchestrator.CreateWorkflow" "amazonka-migrationhuborchestrator-2.0-HQHMI3I3PjN4mnuoVSsX97" 'False) (C1 ('MetaCons "CreateWorkflow'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stepTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "applicationConfigurationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "inputParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (HashMap Text StepInput)))))))

newCreateWorkflow Source #

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_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.

Constructors

CreateWorkflowResponse' 

Fields

Instances

Instances details
Generic CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

Associated Types

type Rep CreateWorkflowResponse :: Type -> Type #

Show CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

NFData CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

Methods

rnf :: CreateWorkflowResponse -> () #

Eq CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

type Rep CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.CreateWorkflow

type Rep CreateWorkflowResponse = D1 ('MetaData "CreateWorkflowResponse" "Amazonka.MigrationHubOrchestrator.CreateWorkflow" "amazonka-migrationhuborchestrator-2.0-HQHMI3I3PjN4mnuoVSsX97" 'False) (C1 ('MetaCons "CreateWorkflowResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "adsApplicationConfigurationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MigrationWorkflowStatusEnum)) :*: (S1 ('MetaSel ('Just "stepTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workflowInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text StepInput)))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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_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.