amazonka-stepfunctions-1.6.1: Amazon Step Functions SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StepFunctions.DescribeStateMachine

Contents

Description

Describes a state machine.

Synopsis

Creating a Request

describeStateMachine Source #

Creates a value of DescribeStateMachine with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeStateMachine Source #

See: describeStateMachine smart constructor.

Instances
Eq DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Data DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeStateMachine -> c DescribeStateMachine #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeStateMachine #

toConstr :: DescribeStateMachine -> Constr #

dataTypeOf :: DescribeStateMachine -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeStateMachine) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeStateMachine) #

gmapT :: (forall b. Data b => b -> b) -> DescribeStateMachine -> DescribeStateMachine #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeStateMachine -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeStateMachine -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeStateMachine -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeStateMachine -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeStateMachine -> m DescribeStateMachine #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeStateMachine -> m DescribeStateMachine #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeStateMachine -> m DescribeStateMachine #

Read DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Show DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Generic DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Associated Types

type Rep DescribeStateMachine :: Type -> Type #

Hashable DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

ToJSON DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

AWSRequest DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Associated Types

type Rs DescribeStateMachine :: Type #

ToHeaders DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

ToPath DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

ToQuery DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

NFData DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Methods

rnf :: DescribeStateMachine -> () #

type Rep DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

type Rep DescribeStateMachine = D1 (MetaData "DescribeStateMachine" "Network.AWS.StepFunctions.DescribeStateMachine" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" True) (C1 (MetaCons "DescribeStateMachine'" PrefixI True) (S1 (MetaSel (Just "_dsmStateMachineARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Request Lenses

dsmStateMachineARN :: Lens' DescribeStateMachine Text Source #

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

Destructuring the Response

describeStateMachineResponse Source #

Creates a value of DescribeStateMachineResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dsmrsStatus - The current status of the state machine.
  • dsmrsResponseStatus - -- | The response status code.
  • dsmrsStateMachineARN - The Amazon Resource Name (ARN) that identifies the state machine.
  • dsmrsName - The name of the state machine. A name must not contain: * whitespace * brackets { } [ ] * wildcard characters ? * * special characters " # % ^ | ~ ` $ & , ; : / * control characters (U+0000-001F , U+007F-009F )
  • dsmrsDefinition - The Amazon States Language definition of the state machine.
  • dsmrsRoleARN - 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 AWS resources.)
  • dsmrsCreationDate - The date the state machine is created.

data DescribeStateMachineResponse Source #

See: describeStateMachineResponse smart constructor.

Instances
Eq DescribeStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Data DescribeStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeStateMachineResponse -> c DescribeStateMachineResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeStateMachineResponse #

toConstr :: DescribeStateMachineResponse -> Constr #

dataTypeOf :: DescribeStateMachineResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeStateMachineResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeStateMachineResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeStateMachineResponse -> DescribeStateMachineResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeStateMachineResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeStateMachineResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeStateMachineResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeStateMachineResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeStateMachineResponse -> m DescribeStateMachineResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeStateMachineResponse -> m DescribeStateMachineResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeStateMachineResponse -> m DescribeStateMachineResponse #

Read DescribeStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Show DescribeStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Generic DescribeStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

Associated Types

type Rep DescribeStateMachineResponse :: Type -> Type #

NFData DescribeStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

type Rep DescribeStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.DescribeStateMachine

type Rep DescribeStateMachineResponse = D1 (MetaData "DescribeStateMachineResponse" "Network.AWS.StepFunctions.DescribeStateMachine" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" False) (C1 (MetaCons "DescribeStateMachineResponse'" PrefixI True) ((S1 (MetaSel (Just "_dsmrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StateMachineStatus)) :*: (S1 (MetaSel (Just "_dsmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_dsmrsStateMachineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_dsmrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dsmrsDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_dsmrsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dsmrsCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX)))))

Response Lenses

dsmrsStatus :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus) Source #

The current status of the state machine.

dsmrsStateMachineARN :: Lens' DescribeStateMachineResponse Text Source #

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

dsmrsName :: Lens' DescribeStateMachineResponse Text Source #

The name of the state machine. A name must not contain: * whitespace * brackets { } [ ] * wildcard characters ? * * special characters " # % ^ | ~ ` $ & , ; : / * control characters (U+0000-001F , U+007F-009F )

dsmrsDefinition :: Lens' DescribeStateMachineResponse Text Source #

The Amazon States Language definition of the state machine.

dsmrsRoleARN :: 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 AWS resources.)

dsmrsCreationDate :: Lens' DescribeStateMachineResponse UTCTime Source #

The date the state machine is created.