State
public struct State : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
When entering this state, perform these actions if the condition is TRUE.
Declaration
Swift
public let onEnter: OnEnterLifecycle? -
When exiting this state, perform these actions if the specified condition is TRUE.
Declaration
Swift
public let onExit: OnExitLifecycle? -
When an input is received and the condition is TRUE, perform the specified actions.
Declaration
Swift
public let onInput: OnInputLifecycle? -
The name of the state.
Declaration
Swift
public let stateName: String -
Undocumented
Declaration
Swift
public init(onEnter: OnEnterLifecycle? = nil, onExit: OnExitLifecycle? = nil, onInput: OnInputLifecycle? = nil, stateName: String) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
State Structure Reference