amazonka-glue-2.0: Amazon Glue 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.Glue.Types.Session

Description

 
Synopsis

Documentation

data Session Source #

The period in which a remote Spark runtime environment is running.

See: newSession smart constructor.

Constructors

Session' 

Fields

Instances

Instances details
FromJSON Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

Generic Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

Associated Types

type Rep Session :: Type -> Type #

Methods

from :: Session -> Rep Session x #

to :: Rep Session x -> Session #

Read Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

Show Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

NFData Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

Methods

rnf :: Session -> () #

Eq Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

Methods

(==) :: Session -> Session -> Bool #

(/=) :: Session -> Session -> Bool #

Hashable Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

Methods

hashWithSalt :: Int -> Session -> Int #

hash :: Session -> Int #

type Rep Session Source # 
Instance details

Defined in Amazonka.Glue.Types.Session

type Rep Session = D1 ('MetaData "Session" "Amazonka.Glue.Types.Session" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "Session'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SessionCommand)) :*: (S1 ('MetaSel ('Just "connections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionsList)) :*: S1 ('MetaSel ('Just "createdOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "defaultArguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "glueVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "progress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "securityConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SessionStatus)))))))

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_description :: Lens' Session (Maybe Text) Source #

The description of the session.

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_id :: Lens' Session (Maybe Text) Source #

The ID of the session.

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.