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

Description

Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to delete it.

Synopsis

Creating a Request

data DeleteWorkflow Source #

See: newDeleteWorkflow smart constructor.

Constructors

DeleteWorkflow' 

Fields

  • id :: Text

    The ID of the migration workflow you want to delete.

Instances

Instances details
ToHeaders DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

ToPath DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

ToQuery DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

AWSRequest DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Associated Types

type AWSResponse DeleteWorkflow #

Generic DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Associated Types

type Rep DeleteWorkflow :: Type -> Type #

Read DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Show DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

NFData DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Methods

rnf :: DeleteWorkflow -> () #

Eq DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Hashable DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

type AWSResponse DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

type Rep DeleteWorkflow Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

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

newDeleteWorkflow Source #

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

DeleteWorkflow, deleteWorkflow_id - The ID of the migration workflow you want to delete.

Request Lenses

deleteWorkflow_id :: Lens' DeleteWorkflow Text Source #

The ID of the migration workflow you want to delete.

Destructuring the Response

data DeleteWorkflowResponse Source #

See: newDeleteWorkflowResponse smart constructor.

Constructors

DeleteWorkflowResponse' 

Fields

Instances

Instances details
Generic DeleteWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Associated Types

type Rep DeleteWorkflowResponse :: Type -> Type #

Read DeleteWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Show DeleteWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

NFData DeleteWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

Methods

rnf :: DeleteWorkflowResponse -> () #

Eq DeleteWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

type Rep DeleteWorkflowResponse Source # 
Instance details

Defined in Amazonka.MigrationHubOrchestrator.DeleteWorkflow

type Rep DeleteWorkflowResponse = D1 ('MetaData "DeleteWorkflowResponse" "Amazonka.MigrationHubOrchestrator.DeleteWorkflow" "amazonka-migrationhuborchestrator-2.0-HQHMI3I3PjN4mnuoVSsX97" 'False) (C1 ('MetaCons "DeleteWorkflowResponse'" '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 "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MigrationWorkflowStatusEnum)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteWorkflowResponse Source #

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

DeleteWorkflowResponse, deleteWorkflowResponse_arn - The Amazon Resource Name (ARN) of the migration workflow.

DeleteWorkflow, deleteWorkflowResponse_id - The ID of the migration workflow.

DeleteWorkflowResponse, deleteWorkflowResponse_status - The status of the migration workflow.

$sel:httpStatus:DeleteWorkflowResponse', deleteWorkflowResponse_httpStatus - The response's http status code.

Response Lenses

deleteWorkflowResponse_arn :: Lens' DeleteWorkflowResponse (Maybe Text) Source #

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