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 Session = Session' {
- command :: Maybe SessionCommand
- connections :: Maybe ConnectionsList
- createdOn :: Maybe POSIX
- defaultArguments :: Maybe (HashMap Text Text)
- description :: Maybe Text
- errorMessage :: Maybe Text
- glueVersion :: Maybe Text
- id :: Maybe Text
- maxCapacity :: Maybe Double
- progress :: Maybe Double
- role' :: Maybe Text
- securityConfiguration :: Maybe Text
- status :: Maybe SessionStatus
- newSession :: Session
- session_command :: Lens' Session (Maybe SessionCommand)
- session_connections :: Lens' Session (Maybe ConnectionsList)
- session_createdOn :: Lens' Session (Maybe UTCTime)
- session_defaultArguments :: Lens' Session (Maybe (HashMap Text Text))
- session_description :: Lens' Session (Maybe Text)
- session_errorMessage :: Lens' Session (Maybe Text)
- session_glueVersion :: Lens' Session (Maybe Text)
- session_id :: Lens' Session (Maybe Text)
- session_maxCapacity :: Lens' Session (Maybe Double)
- session_progress :: Lens' Session (Maybe Double)
- session_role :: Lens' Session (Maybe Text)
- session_securityConfiguration :: Lens' Session (Maybe Text)
- session_status :: Lens' Session (Maybe SessionStatus)
Documentation
The period in which a remote Spark runtime environment is running.
See: newSession
smart constructor.
Session' | |
|
Instances
newSession :: Session Source #
Create a value of Session
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:command:Session'
, session_command
- The command object.See SessionCommand.
Session
, session_connections
- The number of connections used for the session.
$sel:createdOn:Session'
, session_createdOn
- The time and date when the session was created.
$sel:defaultArguments:Session'
, session_defaultArguments
- A map array of key-value pairs. Max is 75 pairs.
$sel:description:Session'
, session_description
- The description of the session.
$sel:errorMessage:Session'
, session_errorMessage
- The error message displayed during the session.
$sel:glueVersion:Session'
, session_glueVersion
- The Glue version determines the versions of Apache Spark and Python that
Glue supports. The GlueVersion must be greater than 2.0.
$sel:id:Session'
, session_id
- The ID of the session.
$sel:maxCapacity:Session'
, session_maxCapacity
- The number of Glue data processing units (DPUs) that can be allocated
when the job runs. A DPU is a relative measure of processing power that
consists of 4 vCPUs of compute capacity and 16 GB memory.
$sel:progress:Session'
, session_progress
- The code execution progress of the session.
$sel:role':Session'
, session_role
- The name or Amazon Resource Name (ARN) of the IAM role associated with
the Session.
$sel:securityConfiguration:Session'
, session_securityConfiguration
- The name of the SecurityConfiguration structure to be used with the
session.
$sel:status:Session'
, session_status
- The session status.
session_command :: Lens' Session (Maybe SessionCommand) Source #
The command object.See SessionCommand.
session_connections :: Lens' Session (Maybe ConnectionsList) Source #
The number of connections used for the session.
session_createdOn :: Lens' Session (Maybe UTCTime) Source #
The time and date when the session was created.
session_defaultArguments :: Lens' Session (Maybe (HashMap Text Text)) Source #
A map array of key-value pairs. Max is 75 pairs.
session_errorMessage :: Lens' Session (Maybe Text) Source #
The error message displayed during the session.
session_glueVersion :: Lens' Session (Maybe Text) Source #
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.
session_maxCapacity :: Lens' Session (Maybe Double) Source #
The number of Glue data processing units (DPUs) that can be allocated when the job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB memory.
session_progress :: Lens' Session (Maybe Double) Source #
The code execution progress of the session.
session_role :: Lens' Session (Maybe Text) Source #
The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
session_securityConfiguration :: Lens' Session (Maybe Text) Source #
The name of the SecurityConfiguration structure to be used with the session.
session_status :: Lens' Session (Maybe SessionStatus) Source #
The session status.