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

Description

Provides information about a state machine's definition, its IAM role Amazon Resource Name (ARN), and configuration. If the state machine ARN is a qualified state machine ARN, the response returned includes the Map state's label.

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.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

Synopsis

Creating a Request

data DescribeStateMachine Source #

See: newDescribeStateMachine smart constructor.

Constructors

DescribeStateMachine' 

Fields

Instances

Instances details
ToJSON DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

ToHeaders DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

ToPath DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

ToQuery DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

AWSRequest DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

Associated Types

type AWSResponse DescribeStateMachine #

Generic DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

Associated Types

type Rep DescribeStateMachine :: Type -> Type #

Read DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

Show DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

NFData DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

Methods

rnf :: DescribeStateMachine -> () #

Eq DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

Hashable DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

type AWSResponse DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

type Rep DescribeStateMachine Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

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

newDescribeStateMachine Source #

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

DescribeStateMachine, describeStateMachine_stateMachineArn - The Amazon Resource Name (ARN) of the state machine to describe.

Request Lenses

describeStateMachine_stateMachineArn :: Lens' DescribeStateMachine Text Source #

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

Destructuring the Response

data DescribeStateMachineResponse Source #

See: newDescribeStateMachineResponse smart constructor.

Constructors

DescribeStateMachineResponse' 

Fields

Instances

Instances details
Generic DescribeStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

Associated Types

type Rep DescribeStateMachineResponse :: Type -> Type #

Show DescribeStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

NFData DescribeStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

Eq DescribeStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

type Rep DescribeStateMachineResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.DescribeStateMachine

type Rep DescribeStateMachineResponse = D1 ('MetaData "DescribeStateMachineResponse" "Amazonka.StepFunctions.DescribeStateMachine" "amazonka-stepfunctions-2.0-K6z2kqboJVbL1MZX8DUt0f" 'False) (C1 ('MetaCons "DescribeStateMachineResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loggingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfiguration))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateMachineStatus)) :*: (S1 ('MetaSel ('Just "tracingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TracingConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) :*: ((S1 ('MetaSel ('Just "stateMachineArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StateMachineType) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newDescribeStateMachineResponse Source #

Create a value of DescribeStateMachineResponse 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:label:DescribeStateMachineResponse', describeStateMachineResponse_label - A user-defined or an auto-generated string that identifies a Map state. This parameter is present only if the stateMachineArn specified in input is a qualified state machine ARN.

$sel:loggingConfiguration:DescribeStateMachineResponse', describeStateMachineResponse_loggingConfiguration - Undocumented member.

DescribeStateMachineResponse, describeStateMachineResponse_status - The current status of the state machine.

$sel:tracingConfiguration:DescribeStateMachineResponse', describeStateMachineResponse_tracingConfiguration - Selects whether X-Ray tracing is enabled.

$sel:httpStatus:DescribeStateMachineResponse', describeStateMachineResponse_httpStatus - The response's http status code.

DescribeStateMachine, describeStateMachineResponse_stateMachineArn - The Amazon Resource Name (ARN) that identifies the state machine.

DescribeStateMachineResponse, describeStateMachineResponse_name - The name of the state machine.

A name must not contain:

  • white space
  • brackets < > { } [ ]
  • wildcard characters ? *
  • special characters " # % \ ^ | ~ ` $ & , ; : /
  • control characters (U+0000-001F, U+007F-009F)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

$sel:definition:DescribeStateMachineResponse', describeStateMachineResponse_definition - The Amazon States Language definition of the state machine. See Amazon States Language.

DescribeStateMachineResponse, describeStateMachineResponse_roleArn - The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role maintains security by granting Step Functions access to Amazon Web Services resources.)

DescribeStateMachineResponse, describeStateMachineResponse_type - The type of the state machine (STANDARD or EXPRESS).

DescribeStateMachineResponse, describeStateMachineResponse_creationDate - The date the state machine is created.

Response Lenses

describeStateMachineResponse_label :: Lens' DescribeStateMachineResponse (Maybe Text) Source #

A user-defined or an auto-generated string that identifies a Map state. This parameter is present only if the stateMachineArn specified in input is a qualified state machine ARN.

describeStateMachineResponse_stateMachineArn :: Lens' DescribeStateMachineResponse Text Source #

The Amazon Resource Name (ARN) that identifies the state machine.

describeStateMachineResponse_name :: Lens' DescribeStateMachineResponse Text Source #

The name of the state machine.

A name must not contain:

  • white space
  • brackets < > { } [ ]
  • wildcard characters ? *
  • special characters " # % \ ^ | ~ ` $ & , ; : /
  • control characters (U+0000-001F, U+007F-009F)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

describeStateMachineResponse_definition :: Lens' DescribeStateMachineResponse Text Source #

The Amazon States Language definition of the state machine. See Amazon States Language.

describeStateMachineResponse_roleArn :: Lens' DescribeStateMachineResponse Text Source #

The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role maintains security by granting Step Functions access to Amazon Web Services resources.)

describeStateMachineResponse_type :: Lens' DescribeStateMachineResponse StateMachineType Source #

The type of the state machine (STANDARD or EXPRESS).