Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Statement = Statement' {}
- newStatement :: Statement
- statement_code :: Lens' Statement (Maybe Text)
- statement_completedOn :: Lens' Statement (Maybe Integer)
- statement_id :: Lens' Statement (Maybe Int)
- statement_output :: Lens' Statement (Maybe StatementOutput)
- statement_progress :: Lens' Statement (Maybe Double)
- statement_startedOn :: Lens' Statement (Maybe Integer)
- statement_state :: Lens' Statement (Maybe StatementState)
Documentation
The statement or request for a particular action to occur in a session.
See: newStatement
smart constructor.
Statement' | |
|
Instances
newStatement :: Statement Source #
Create a value of Statement
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:code:Statement'
, statement_code
- The execution code of the statement.
$sel:completedOn:Statement'
, statement_completedOn
- The unix time and date that the job definition was completed.
$sel:id:Statement'
, statement_id
- The ID of the statement.
$sel:output:Statement'
, statement_output
- The output in JSON.
$sel:progress:Statement'
, statement_progress
- The code execution progress.
$sel:startedOn:Statement'
, statement_startedOn
- The unix time and date that the job definition was started.
$sel:state:Statement'
, statement_state
- The state while request is actioned.
statement_completedOn :: Lens' Statement (Maybe Integer) Source #
The unix time and date that the job definition was completed.
statement_output :: Lens' Statement (Maybe StatementOutput) Source #
The output in JSON.
statement_startedOn :: Lens' Statement (Maybe Integer) Source #
The unix time and date that the job definition was started.
statement_state :: Lens' Statement (Maybe StatementState) Source #
The state while request is actioned.