amazonka-athena-2.0: Amazon Athena 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.Athena.Types.EngineVersion

Description

 
Synopsis

Documentation

data EngineVersion Source #

The Athena engine version for running queries, or the PySpark engine version for running sessions.

See: newEngineVersion smart constructor.

Constructors

EngineVersion' 

Fields

  • effectiveEngineVersion :: Maybe Text

    Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.

  • selectedEngineVersion :: Maybe Text

    The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including Auto. The default is Auto.

Instances

Instances details
FromJSON EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

ToJSON EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Generic EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Associated Types

type Rep EngineVersion :: Type -> Type #

Read EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Show EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

NFData EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Methods

rnf :: EngineVersion -> () #

Eq EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Hashable EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

type Rep EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

type Rep EngineVersion = D1 ('MetaData "EngineVersion" "Amazonka.Athena.Types.EngineVersion" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "EngineVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "effectiveEngineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "selectedEngineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEngineVersion :: EngineVersion Source #

Create a value of EngineVersion 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:effectiveEngineVersion:EngineVersion', engineVersion_effectiveEngineVersion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.

$sel:selectedEngineVersion:EngineVersion', engineVersion_selectedEngineVersion - The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including Auto. The default is Auto.

engineVersion_effectiveEngineVersion :: Lens' EngineVersion (Maybe Text) Source #

Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.

engineVersion_selectedEngineVersion :: Lens' EngineVersion (Maybe Text) Source #

The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including Auto. The default is Auto.