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.SessionCommand

Description

 
Synopsis

Documentation

data SessionCommand Source #

The SessionCommand that runs the job.

See: newSessionCommand smart constructor.

Constructors

SessionCommand' 

Fields

  • name :: Maybe Text

    Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.

  • pythonVersion :: Maybe Text

    Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.

Instances

Instances details
FromJSON SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

ToJSON SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

Generic SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

Associated Types

type Rep SessionCommand :: Type -> Type #

Read SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

Show SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

NFData SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

Methods

rnf :: SessionCommand -> () #

Eq SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

Hashable SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

type Rep SessionCommand Source # 
Instance details

Defined in Amazonka.Glue.Types.SessionCommand

type Rep SessionCommand = D1 ('MetaData "SessionCommand" "Amazonka.Glue.Types.SessionCommand" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "SessionCommand'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pythonVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSessionCommand :: SessionCommand Source #

Create a value of SessionCommand 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:name:SessionCommand', sessionCommand_name - Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.

$sel:pythonVersion:SessionCommand', sessionCommand_pythonVersion - Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.

sessionCommand_name :: Lens' SessionCommand (Maybe Text) Source #

Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.

sessionCommand_pythonVersion :: Lens' SessionCommand (Maybe Text) Source #

Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.