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

Description

Stop an ongoing migration workflow.

Synopsis

Creating a Request

data StopWorkflow Source #

See: newStopWorkflow smart constructor.

Constructors

StopWorkflow' 

Fields

  • id :: Text

    The ID of the migration workflow.

Instances

Instances details
ToJSON StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

ToHeaders StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

ToPath StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

ToQuery StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

AWSRequest StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Associated Types

type AWSResponse StopWorkflow #

Generic StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Associated Types

type Rep StopWorkflow :: Type -> Type #

Read StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Show StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

NFData StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Methods

rnf :: StopWorkflow -> () #

Eq StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Hashable StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

type AWSResponse StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

type Rep StopWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

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

newStopWorkflow Source #

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

StopWorkflow, stopWorkflow_id - The ID of the migration workflow.

Request Lenses

stopWorkflow_id :: Lens' StopWorkflow Text Source #

The ID of the migration workflow.

Destructuring the Response

data StopWorkflowResponse Source #

See: newStopWorkflowResponse smart constructor.

Constructors

StopWorkflowResponse' 

Fields

Instances

Instances details
Generic StopWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Associated Types

type Rep StopWorkflowResponse :: Type -> Type #

Read StopWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Show StopWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

NFData StopWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

Methods

rnf :: StopWorkflowResponse -> () #

Eq StopWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

type Rep StopWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.StopWorkflow

type Rep StopWorkflowResponse = D1 ('MetaData "StopWorkflowResponse" "Amazonka.MigrationHubOrchestrator.StopWorkflow" "amazonka-migrationhuborchestrator-2.0-HQHMI3I3PjN4mnuoVSsX97" 'False) (C1 ('MetaCons "StopWorkflowResponse'" '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 "lastStopTime") '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)))))

newStopWorkflowResponse Source #

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

StopWorkflowResponse, stopWorkflowResponse_arn - The Amazon Resource Name (ARN) of the migration workflow.

StopWorkflow, stopWorkflowResponse_id - The ID of the migration workflow.

$sel:lastStopTime:StopWorkflowResponse', stopWorkflowResponse_lastStopTime - The time at which the migration workflow was stopped.

StopWorkflowResponse, stopWorkflowResponse_status - The status of the migration workflow.

StopWorkflowResponse, stopWorkflowResponse_statusMessage - The status message of the migration workflow.

$sel:httpStatus:StopWorkflowResponse', stopWorkflowResponse_httpStatus - The response's http status code.

Response Lenses

stopWorkflowResponse_arn :: Lens' StopWorkflowResponse (Maybe Text) Source #

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

stopWorkflowResponse_id :: Lens' StopWorkflowResponse (Maybe Text) Source #

The ID of the migration workflow.

stopWorkflowResponse_lastStopTime :: Lens' StopWorkflowResponse (Maybe UTCTime) Source #

The time at which the migration workflow was stopped.

stopWorkflowResponse_statusMessage :: Lens' StopWorkflowResponse (Maybe Text) Source #

The status message of the migration workflow.