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

Description

Start a migration workflow.

Synopsis

Creating a Request

data StartWorkflow Source #

See: newStartWorkflow smart constructor.

Constructors

StartWorkflow' 

Fields

  • id :: Text

    The ID of the migration workflow.

Instances

Instances details
ToJSON StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

ToHeaders StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

ToPath StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

ToQuery StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

AWSRequest StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Associated Types

type AWSResponse StartWorkflow #

Generic StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Associated Types

type Rep StartWorkflow :: Type -> Type #

Read StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Show StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

NFData StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Methods

rnf :: StartWorkflow -> () #

Eq StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Hashable StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

type AWSResponse StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

type Rep StartWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

type Rep StartWorkflow = D1 ('MetaData "StartWorkflow" "Amazonka.MigrationHubOrchestrator.StartWorkflow" "amazonka-migrationhuborchestrator-2.0-HQHMI3I3PjN4mnuoVSsX97" 'False) (C1 ('MetaCons "StartWorkflow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartWorkflow Source #

Create a value of StartWorkflow 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:

StartWorkflow, startWorkflow_id - The ID of the migration workflow.

Request Lenses

startWorkflow_id :: Lens' StartWorkflow Text Source #

The ID of the migration workflow.

Destructuring the Response

data StartWorkflowResponse Source #

See: newStartWorkflowResponse smart constructor.

Constructors

StartWorkflowResponse' 

Fields

Instances

Instances details
Generic StartWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Associated Types

type Rep StartWorkflowResponse :: Type -> Type #

Read StartWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Show StartWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

NFData StartWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

Methods

rnf :: StartWorkflowResponse -> () #

Eq StartWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

type Rep StartWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StartWorkflow

type Rep StartWorkflowResponse = D1 ('MetaData "StartWorkflowResponse" "Amazonka.MigrationHubOrchestrator.StartWorkflow" "amazonka-migrationhuborchestrator-2.0-HQHMI3I3PjN4mnuoVSsX97" 'False) (C1 ('MetaCons "StartWorkflowResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MigrationWorkflowStatusEnum)) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newStartWorkflowResponse Source #

Create a value of StartWorkflowResponse 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:

StartWorkflowResponse, startWorkflowResponse_arn - The Amazon Resource Name (ARN) of the migration workflow.

StartWorkflow, startWorkflowResponse_id - The ID of the migration workflow.

$sel:lastStartTime:StartWorkflowResponse', startWorkflowResponse_lastStartTime - The time at which the migration workflow was last started.

StartWorkflowResponse, startWorkflowResponse_status - The status of the migration workflow.

StartWorkflowResponse, startWorkflowResponse_statusMessage - The status message of the migration workflow.

$sel:httpStatus:StartWorkflowResponse', startWorkflowResponse_httpStatus - The response's http status code.

Response Lenses

startWorkflowResponse_arn :: Lens' StartWorkflowResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the migration workflow.

startWorkflowResponse_id :: Lens' StartWorkflowResponse (Maybe Text) Source #

The ID of the migration workflow.

startWorkflowResponse_lastStartTime :: Lens' StartWorkflowResponse (Maybe UTCTime) Source #

The time at which the migration workflow was last started.

startWorkflowResponse_statusMessage :: Lens' StartWorkflowResponse (Maybe Text) Source #

The status message of the migration workflow.