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

Description

 
Synopsis

Documentation

data ResultReuseByAgeConfiguration Source #

Specifies whether previous query results are reused, and if so, their maximum age.

See: newResultReuseByAgeConfiguration smart constructor.

Constructors

ResultReuseByAgeConfiguration' 

Fields

  • maxAgeInMinutes :: Maybe Natural

    Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.

  • enabled :: Bool

    True if previous query results can be reused when the query is run; otherwise, false. The default is false.

Instances

Instances details
FromJSON ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

ToJSON ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

Generic ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

Associated Types

type Rep ResultReuseByAgeConfiguration :: Type -> Type #

Read ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

Show ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

NFData ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

Eq ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

Hashable ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

type Rep ResultReuseByAgeConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseByAgeConfiguration

type Rep ResultReuseByAgeConfiguration = D1 ('MetaData "ResultReuseByAgeConfiguration" "Amazonka.Athena.Types.ResultReuseByAgeConfiguration" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ResultReuseByAgeConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxAgeInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newResultReuseByAgeConfiguration Source #

Create a value of ResultReuseByAgeConfiguration 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:maxAgeInMinutes:ResultReuseByAgeConfiguration', resultReuseByAgeConfiguration_maxAgeInMinutes - Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.

$sel:enabled:ResultReuseByAgeConfiguration', resultReuseByAgeConfiguration_enabled - True if previous query results can be reused when the query is run; otherwise, false. The default is false.

resultReuseByAgeConfiguration_maxAgeInMinutes :: Lens' ResultReuseByAgeConfiguration (Maybe Natural) Source #

Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.

resultReuseByAgeConfiguration_enabled :: Lens' ResultReuseByAgeConfiguration Bool Source #

True if previous query results can be reused when the query is run; otherwise, false. The default is false.