amazonka-stepfunctions-2.0: Amazon Step Functions 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.StepFunctions.DeleteStateMachine

Description

Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING and begins the deletion process.

If the given state machine Amazon Resource Name (ARN) is a qualified state machine ARN, it will fail with ValidationException.

A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName.

For EXPRESS state machines, the deletion will happen eventually (usually less than a minute). Running executions may emit logs after DeleteStateMachine API is called.

Synopsis

Creating a Request

data DeleteStateMachine Source #

See: newDeleteStateMachine smart constructor.

Constructors

DeleteStateMachine' 

Fields

Instances

Instances details
ToJSON DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

ToHeaders DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

ToPath DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

ToQuery DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

AWSRequest DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Associated Types

type AWSResponse DeleteStateMachine #

Generic DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Associated Types

type Rep DeleteStateMachine :: Type -> Type #

Read DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Show DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

NFData DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Methods

rnf :: DeleteStateMachine -> () #

Eq DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Hashable DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

type AWSResponse DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

type Rep DeleteStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

type Rep DeleteStateMachine = D1 ('MetaData "DeleteStateMachine" "Amazonka.StepFunctions.DeleteStateMachine" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "DeleteStateMachine'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stateMachineArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteStateMachine Source #

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

DeleteStateMachine, deleteStateMachine_stateMachineArn - The Amazon Resource Name (ARN) of the state machine to delete.

Request Lenses

deleteStateMachine_stateMachineArn :: Lens' DeleteStateMachine Text Source #

The Amazon Resource Name (ARN) of the state machine to delete.

Destructuring the Response

data DeleteStateMachineResponse Source #

See: newDeleteStateMachineResponse smart constructor.

Constructors

DeleteStateMachineResponse' 

Fields

Instances

Instances details
Generic DeleteStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Associated Types

type Rep DeleteStateMachineResponse :: Type -> Type #

Read DeleteStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Show DeleteStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

NFData DeleteStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

Eq DeleteStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

type Rep DeleteStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DeleteStateMachine

type Rep DeleteStateMachineResponse = D1 ('MetaData "DeleteStateMachineResponse" "Amazonka.StepFunctions.DeleteStateMachine" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "DeleteStateMachineResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteStateMachineResponse Source #

Create a value of DeleteStateMachineResponse 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:httpStatus:DeleteStateMachineResponse', deleteStateMachineResponse_httpStatus - The response's http status code.

Response Lenses