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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-05-18 of the Amazon Athena SDK configuration.

Errors

_InternalServerException :: AsError a => Fold a ServiceError Source #

Indicates a platform issue, which may be due to a transient condition or outage.

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.

_MetadataException :: AsError a => Fold a ServiceError Source #

An exception that Athena received when it called a custom metastore. Occurs if the error is not caused by user input (InvalidRequestException) or from the Athena platform (InternalServerException). For example, if a user-created Lambda function is missing permissions, the Lambda 4XX exception is returned in a MetadataException.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

A resource, such as a workgroup, was not found.

_SessionAlreadyExistsException :: AsError a => Fold a ServiceError Source #

The specified session already exists.

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

Indicates that the request was throttled.

CalculationExecutionState

newtype CalculationExecutionState Source #

Instances

Instances details
FromJSON CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

FromJSONKey CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToJSON CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToJSONKey CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToByteString CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToHeader CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToLog CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToQuery CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

FromText CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToText CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

FromXML CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

ToXML CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

Generic CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

Associated Types

type Rep CalculationExecutionState :: Type -> Type #

Read CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

Show CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

NFData CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

Eq CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

Ord CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

Hashable CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

type Rep CalculationExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationExecutionState

type Rep CalculationExecutionState = D1 ('MetaData "CalculationExecutionState" "Amazonka.Athena.Types.CalculationExecutionState" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "CalculationExecutionState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCalculationExecutionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ColumnNullable

newtype ColumnNullable Source #

Constructors

ColumnNullable' 

Instances

Instances details
FromJSON ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

FromJSONKey ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToJSON ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToJSONKey ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToByteString ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToHeader ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToLog ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToQuery ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

FromText ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToText ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

FromXML ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToXML ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Methods

toXML :: ColumnNullable -> XML #

Generic ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Associated Types

type Rep ColumnNullable :: Type -> Type #

Read ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Show ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

NFData ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Methods

rnf :: ColumnNullable -> () #

Eq ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Ord ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Hashable ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

type Rep ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

type Rep ColumnNullable = D1 ('MetaData "ColumnNullable" "Amazonka.Athena.Types.ColumnNullable" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "ColumnNullable'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromColumnNullable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DataCatalogType

newtype DataCatalogType Source #

Constructors

DataCatalogType' 

Instances

Instances details
FromJSON DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

FromJSONKey DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToJSON DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToJSONKey DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToByteString DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToHeader DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToLog DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToQuery DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

FromText DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToText DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

FromXML DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToXML DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Methods

toXML :: DataCatalogType -> XML #

Generic DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Associated Types

type Rep DataCatalogType :: Type -> Type #

Read DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Show DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

NFData DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Methods

rnf :: DataCatalogType -> () #

Eq DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Ord DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Hashable DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

type Rep DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

type Rep DataCatalogType = D1 ('MetaData "DataCatalogType" "Amazonka.Athena.Types.DataCatalogType" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "DataCatalogType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDataCatalogType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EncryptionOption

newtype EncryptionOption Source #

Instances

Instances details
FromJSON EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

FromJSONKey EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToJSON EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToJSONKey EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToByteString EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToHeader EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToLog EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToQuery EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

FromText EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToText EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

FromXML EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToXML EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Generic EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Associated Types

type Rep EncryptionOption :: Type -> Type #

Read EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Show EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

NFData EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Methods

rnf :: EncryptionOption -> () #

Eq EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Ord EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Hashable EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

type Rep EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

type Rep EncryptionOption = D1 ('MetaData "EncryptionOption" "Amazonka.Athena.Types.EncryptionOption" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "EncryptionOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEncryptionOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ExecutorState

newtype ExecutorState Source #

Constructors

ExecutorState' 

Instances

Instances details
FromJSON ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

FromJSONKey ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToJSON ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToJSONKey ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToByteString ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToHeader ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToLog ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToQuery ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

FromText ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToText ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

Methods

toText :: ExecutorState -> Text #

FromXML ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

ToXML ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

Methods

toXML :: ExecutorState -> XML #

Generic ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

Associated Types

type Rep ExecutorState :: Type -> Type #

Read ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

Show ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

NFData ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

Methods

rnf :: ExecutorState -> () #

Eq ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

Ord ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

Hashable ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

type Rep ExecutorState Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorState

type Rep ExecutorState = D1 ('MetaData "ExecutorState" "Amazonka.Athena.Types.ExecutorState" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "ExecutorState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromExecutorState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ExecutorType

newtype ExecutorType Source #

Constructors

ExecutorType' 

Instances

Instances details
FromJSON ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

FromJSONKey ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToJSON ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToJSONKey ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToByteString ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToHeader ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToLog ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToQuery ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

FromText ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToText ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

Methods

toText :: ExecutorType -> Text #

FromXML ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

ToXML ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

Methods

toXML :: ExecutorType -> XML #

Generic ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

Associated Types

type Rep ExecutorType :: Type -> Type #

Read ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

Show ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

NFData ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

Methods

rnf :: ExecutorType -> () #

Eq ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

Ord ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

Hashable ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

type Rep ExecutorType Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorType

type Rep ExecutorType = D1 ('MetaData "ExecutorType" "Amazonka.Athena.Types.ExecutorType" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "ExecutorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromExecutorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NotebookType

newtype NotebookType Source #

Constructors

NotebookType' 

Bundled Patterns

pattern NotebookType_IPYNB :: NotebookType 

Instances

Instances details
FromJSON NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

FromJSONKey NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToJSON NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToJSONKey NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToByteString NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToHeader NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToLog NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToQuery NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

FromText NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToText NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

Methods

toText :: NotebookType -> Text #

FromXML NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

ToXML NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

Methods

toXML :: NotebookType -> XML #

Generic NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

Associated Types

type Rep NotebookType :: Type -> Type #

Read NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

Show NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

NFData NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

Methods

rnf :: NotebookType -> () #

Eq NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

Ord NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

Hashable NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

type Rep NotebookType Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookType

type Rep NotebookType = D1 ('MetaData "NotebookType" "Amazonka.Athena.Types.NotebookType" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "NotebookType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNotebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QueryExecutionState

newtype QueryExecutionState Source #

Instances

Instances details
FromJSON QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

FromJSONKey QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToJSON QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToJSONKey QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToByteString QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToHeader QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToLog QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToQuery QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

FromText QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToText QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

FromXML QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToXML QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Generic QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Associated Types

type Rep QueryExecutionState :: Type -> Type #

Read QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Show QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

NFData QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Methods

rnf :: QueryExecutionState -> () #

Eq QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Ord QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Hashable QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

type Rep QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

type Rep QueryExecutionState = D1 ('MetaData "QueryExecutionState" "Amazonka.Athena.Types.QueryExecutionState" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "QueryExecutionState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQueryExecutionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

S3AclOption

newtype S3AclOption Source #

Constructors

S3AclOption' 

Instances

Instances details
FromJSON S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

FromJSONKey S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToJSON S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToJSONKey S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToByteString S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToHeader S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToLog S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToQuery S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

FromText S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToText S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

Methods

toText :: S3AclOption -> Text #

FromXML S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

ToXML S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

Methods

toXML :: S3AclOption -> XML #

Generic S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

Associated Types

type Rep S3AclOption :: Type -> Type #

Read S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

Show S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

NFData S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

Methods

rnf :: S3AclOption -> () #

Eq S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

Ord S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

Hashable S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

type Rep S3AclOption Source # 
Instance details

Defined in Amazonka.Athena.Types.S3AclOption

type Rep S3AclOption = D1 ('MetaData "S3AclOption" "Amazonka.Athena.Types.S3AclOption" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "S3AclOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromS3AclOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SessionState

newtype SessionState Source #

Constructors

SessionState' 

Instances

Instances details
FromJSON SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

FromJSONKey SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToJSON SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToJSONKey SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToByteString SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToHeader SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToLog SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToQuery SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

FromText SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToText SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

Methods

toText :: SessionState -> Text #

FromXML SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

ToXML SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

Methods

toXML :: SessionState -> XML #

Generic SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

Associated Types

type Rep SessionState :: Type -> Type #

Read SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

Show SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

NFData SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

Methods

rnf :: SessionState -> () #

Eq SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

Ord SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

Hashable SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

type Rep SessionState Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionState

type Rep SessionState = D1 ('MetaData "SessionState" "Amazonka.Athena.Types.SessionState" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "SessionState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSessionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatementType

newtype StatementType Source #

Constructors

StatementType' 

Instances

Instances details
FromJSON StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

FromJSONKey StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToJSON StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToJSONKey StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToByteString StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToHeader StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToLog StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToQuery StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

FromText StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToText StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Methods

toText :: StatementType -> Text #

FromXML StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToXML StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Methods

toXML :: StatementType -> XML #

Generic StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Associated Types

type Rep StatementType :: Type -> Type #

Read StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Show StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

NFData StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Methods

rnf :: StatementType -> () #

Eq StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Ord StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Hashable StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

type Rep StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

type Rep StatementType = D1 ('MetaData "StatementType" "Amazonka.Athena.Types.StatementType" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "StatementType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatementType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

WorkGroupState

newtype WorkGroupState Source #

Constructors

WorkGroupState' 

Instances

Instances details
FromJSON WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

FromJSONKey WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToJSON WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToJSONKey WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToByteString WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToHeader WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToLog WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToQuery WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

FromText WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToText WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

FromXML WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToXML WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Methods

toXML :: WorkGroupState -> XML #

Generic WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Associated Types

type Rep WorkGroupState :: Type -> Type #

Read WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Show WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

NFData WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Methods

rnf :: WorkGroupState -> () #

Eq WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Ord WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Hashable WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

type Rep WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

type Rep WorkGroupState = D1 ('MetaData "WorkGroupState" "Amazonka.Athena.Types.WorkGroupState" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'True) (C1 ('MetaCons "WorkGroupState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromWorkGroupState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AclConfiguration

data AclConfiguration Source #

Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. When Athena stores query results in Amazon S3, the canned ACL is set with the x-amz-acl request header. For more information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User Guide.

See: newAclConfiguration smart constructor.

Constructors

AclConfiguration' 

Fields

  • s3AclOption :: S3AclOption

    The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.

Instances

Instances details
FromJSON AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

ToJSON AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Generic AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Associated Types

type Rep AclConfiguration :: Type -> Type #

Read AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Show AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

NFData AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Methods

rnf :: AclConfiguration -> () #

Eq AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

Hashable AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

type Rep AclConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.AclConfiguration

type Rep AclConfiguration = D1 ('MetaData "AclConfiguration" "Amazonka.Athena.Types.AclConfiguration" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "AclConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3AclOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3AclOption)))

newAclConfiguration Source #

Create a value of AclConfiguration 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:s3AclOption:AclConfiguration', aclConfiguration_s3AclOption - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.

aclConfiguration_s3AclOption :: Lens' AclConfiguration S3AclOption Source #

The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.

ApplicationDPUSizes

data ApplicationDPUSizes Source #

Contains the application runtime IDs and their supported DPU sizes.

See: newApplicationDPUSizes smart constructor.

Constructors

ApplicationDPUSizes' 

Fields

Instances

Instances details
FromJSON ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

Generic ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

Associated Types

type Rep ApplicationDPUSizes :: Type -> Type #

Read ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

Show ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

NFData ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

Methods

rnf :: ApplicationDPUSizes -> () #

Eq ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

Hashable ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

type Rep ApplicationDPUSizes Source # 
Instance details

Defined in Amazonka.Athena.Types.ApplicationDPUSizes

type Rep ApplicationDPUSizes = D1 ('MetaData "ApplicationDPUSizes" "Amazonka.Athena.Types.ApplicationDPUSizes" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ApplicationDPUSizes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationRuntimeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "supportedDPUSizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int]))))

newApplicationDPUSizes :: ApplicationDPUSizes Source #

Create a value of ApplicationDPUSizes 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:applicationRuntimeId:ApplicationDPUSizes', applicationDPUSizes_applicationRuntimeId - The name of the supported application runtime (for example, Jupyter 1.0).

$sel:supportedDPUSizes:ApplicationDPUSizes', applicationDPUSizes_supportedDPUSizes - A list of the supported DPU sizes that the application runtime supports.

applicationDPUSizes_applicationRuntimeId :: Lens' ApplicationDPUSizes (Maybe Text) Source #

The name of the supported application runtime (for example, Jupyter 1.0).

applicationDPUSizes_supportedDPUSizes :: Lens' ApplicationDPUSizes (Maybe [Int]) Source #

A list of the supported DPU sizes that the application runtime supports.

AthenaError

data AthenaError Source #

Provides information about an Athena query error. The AthenaError feature provides standardized error information to help you understand failed queries and take steps after a query failure occurs. AthenaError includes an ErrorCategory field that specifies whether the cause of the failed query is due to system error, user error, or other error.

See: newAthenaError smart constructor.

Constructors

AthenaError' 

Fields

  • errorCategory :: Maybe Natural

    An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.

    1 - System

    2 - User

    3 - Other

  • errorMessage :: Maybe Text

    Contains a short description of the error that occurred.

  • errorType :: Maybe Natural

    An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide.

  • retryable :: Maybe Bool

    True if the query might succeed if resubmitted.

Instances

Instances details
FromJSON AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

Generic AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

Associated Types

type Rep AthenaError :: Type -> Type #

Read AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

Show AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

NFData AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

Methods

rnf :: AthenaError -> () #

Eq AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

Hashable AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

type Rep AthenaError Source # 
Instance details

Defined in Amazonka.Athena.Types.AthenaError

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

newAthenaError :: AthenaError Source #

Create a value of AthenaError 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:errorCategory:AthenaError', athenaError_errorCategory - An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.

1 - System

2 - User

3 - Other

$sel:errorMessage:AthenaError', athenaError_errorMessage - Contains a short description of the error that occurred.

$sel:errorType:AthenaError', athenaError_errorType - An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide.

$sel:retryable:AthenaError', athenaError_retryable - True if the query might succeed if resubmitted.

athenaError_errorCategory :: Lens' AthenaError (Maybe Natural) Source #

An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.

1 - System

2 - User

3 - Other

athenaError_errorMessage :: Lens' AthenaError (Maybe Text) Source #

Contains a short description of the error that occurred.

athenaError_errorType :: Lens' AthenaError (Maybe Natural) Source #

An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide.

athenaError_retryable :: Lens' AthenaError (Maybe Bool) Source #

True if the query might succeed if resubmitted.

CalculationConfiguration

data CalculationConfiguration Source #

Contains configuration information for the calculation.

See: newCalculationConfiguration smart constructor.

Constructors

CalculationConfiguration' 

Fields

Instances

Instances details
ToJSON CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

Generic CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

Associated Types

type Rep CalculationConfiguration :: Type -> Type #

Read CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

Show CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

NFData CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

Eq CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

Hashable CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

type Rep CalculationConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationConfiguration

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

newCalculationConfiguration :: CalculationConfiguration Source #

Create a value of CalculationConfiguration 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:codeBlock:CalculationConfiguration', calculationConfiguration_codeBlock - A string that contains the code for the calculation.

calculationConfiguration_codeBlock :: Lens' CalculationConfiguration (Maybe Text) Source #

A string that contains the code for the calculation.

CalculationResult

data CalculationResult Source #

Contains information about an application-specific calculation result.

See: newCalculationResult smart constructor.

Constructors

CalculationResult' 

Fields

Instances

Instances details
FromJSON CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

Generic CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

Associated Types

type Rep CalculationResult :: Type -> Type #

Read CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

Show CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

NFData CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

Methods

rnf :: CalculationResult -> () #

Eq CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

Hashable CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

type Rep CalculationResult Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationResult

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

newCalculationResult :: CalculationResult Source #

Create a value of CalculationResult 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:resultS3Uri:CalculationResult', calculationResult_resultS3Uri - The Amazon S3 location of the folder for the calculation results.

$sel:resultType:CalculationResult', calculationResult_resultType - The data format of the calculation result.

$sel:stdErrorS3Uri:CalculationResult', calculationResult_stdErrorS3Uri - The Amazon S3 location of the stderr error messages file for the calculation.

$sel:stdOutS3Uri:CalculationResult', calculationResult_stdOutS3Uri - The Amazon S3 location of the stdout file for the calculation.

calculationResult_resultS3Uri :: Lens' CalculationResult (Maybe Text) Source #

The Amazon S3 location of the folder for the calculation results.

calculationResult_resultType :: Lens' CalculationResult (Maybe Text) Source #

The data format of the calculation result.

calculationResult_stdErrorS3Uri :: Lens' CalculationResult (Maybe Text) Source #

The Amazon S3 location of the stderr error messages file for the calculation.

calculationResult_stdOutS3Uri :: Lens' CalculationResult (Maybe Text) Source #

The Amazon S3 location of the stdout file for the calculation.

CalculationStatistics

data CalculationStatistics Source #

Contains statistics for a notebook calculation.

See: newCalculationStatistics smart constructor.

Constructors

CalculationStatistics' 

Fields

Instances

Instances details
FromJSON CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

Generic CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

Associated Types

type Rep CalculationStatistics :: Type -> Type #

Read CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

Show CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

NFData CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

Methods

rnf :: CalculationStatistics -> () #

Eq CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

Hashable CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

type Rep CalculationStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatistics

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

newCalculationStatistics :: CalculationStatistics Source #

Create a value of CalculationStatistics 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:dpuExecutionInMillis:CalculationStatistics', calculationStatistics_dpuExecutionInMillis - The data processing unit execution time in milliseconds for the calculation.

$sel:progress:CalculationStatistics', calculationStatistics_progress - The progress of the calculation.

calculationStatistics_dpuExecutionInMillis :: Lens' CalculationStatistics (Maybe Integer) Source #

The data processing unit execution time in milliseconds for the calculation.

CalculationStatus

data CalculationStatus Source #

Contains information about the status of a notebook calculation.

See: newCalculationStatus smart constructor.

Constructors

CalculationStatus' 

Fields

  • completionDateTime :: Maybe POSIX

    The date and time the calculation completed processing.

  • state :: Maybe CalculationExecutionState

    The state of the calculation execution. A description of each state follows.

    CREATING - The calculation is in the process of being created.

    CREATED - The calculation has been created and is ready to run.

    QUEUED - The calculation has been queued for processing.

    RUNNING - The calculation is running.

    CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

    CANCELED - The calculation is no longer running as the result of a cancel request.

    COMPLETED - The calculation has completed without error.

    FAILED - The calculation failed and is no longer running.

  • stateChangeReason :: Maybe Text

    The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).

  • submissionDateTime :: Maybe POSIX

    The date and time the calculation was submitted for processing.

Instances

Instances details
FromJSON CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

Generic CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

Associated Types

type Rep CalculationStatus :: Type -> Type #

Read CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

Show CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

NFData CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

Methods

rnf :: CalculationStatus -> () #

Eq CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

Hashable CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

type Rep CalculationStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationStatus

type Rep CalculationStatus = D1 ('MetaData "CalculationStatus" "Amazonka.Athena.Types.CalculationStatus" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "CalculationStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "completionDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CalculationExecutionState))) :*: (S1 ('MetaSel ('Just "stateChangeReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submissionDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newCalculationStatus :: CalculationStatus Source #

Create a value of CalculationStatus 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:completionDateTime:CalculationStatus', calculationStatus_completionDateTime - The date and time the calculation completed processing.

$sel:state:CalculationStatus', calculationStatus_state - The state of the calculation execution. A description of each state follows.

CREATING - The calculation is in the process of being created.

CREATED - The calculation has been created and is ready to run.

QUEUED - The calculation has been queued for processing.

RUNNING - The calculation is running.

CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

CANCELED - The calculation is no longer running as the result of a cancel request.

COMPLETED - The calculation has completed without error.

FAILED - The calculation failed and is no longer running.

$sel:stateChangeReason:CalculationStatus', calculationStatus_stateChangeReason - The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).

$sel:submissionDateTime:CalculationStatus', calculationStatus_submissionDateTime - The date and time the calculation was submitted for processing.

calculationStatus_completionDateTime :: Lens' CalculationStatus (Maybe UTCTime) Source #

The date and time the calculation completed processing.

calculationStatus_state :: Lens' CalculationStatus (Maybe CalculationExecutionState) Source #

The state of the calculation execution. A description of each state follows.

CREATING - The calculation is in the process of being created.

CREATED - The calculation has been created and is ready to run.

QUEUED - The calculation has been queued for processing.

RUNNING - The calculation is running.

CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

CANCELED - The calculation is no longer running as the result of a cancel request.

COMPLETED - The calculation has completed without error.

FAILED - The calculation failed and is no longer running.

calculationStatus_stateChangeReason :: Lens' CalculationStatus (Maybe Text) Source #

The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).

calculationStatus_submissionDateTime :: Lens' CalculationStatus (Maybe UTCTime) Source #

The date and time the calculation was submitted for processing.

CalculationSummary

data CalculationSummary Source #

Summary information for a notebook calculation.

See: newCalculationSummary smart constructor.

Constructors

CalculationSummary' 

Fields

Instances

Instances details
FromJSON CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

Generic CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

Associated Types

type Rep CalculationSummary :: Type -> Type #

Read CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

Show CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

NFData CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

Methods

rnf :: CalculationSummary -> () #

Eq CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

Hashable CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

type Rep CalculationSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.CalculationSummary

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

newCalculationSummary :: CalculationSummary Source #

Create a value of CalculationSummary 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:calculationExecutionId:CalculationSummary', calculationSummary_calculationExecutionId - The calculation execution UUID.

$sel:description:CalculationSummary', calculationSummary_description - A description of the calculation.

$sel:status:CalculationSummary', calculationSummary_status - Contains information about the status of the calculation.

calculationSummary_status :: Lens' CalculationSummary (Maybe CalculationStatus) Source #

Contains information about the status of the calculation.

Column

data Column Source #

Contains metadata for a column in a table.

See: newColumn smart constructor.

Constructors

Column' 

Fields

Instances

Instances details
FromJSON Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Generic Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Associated Types

type Rep Column :: Type -> Type #

Methods

from :: Column -> Rep Column x #

to :: Rep Column x -> Column #

Read Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Show Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

NFData Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

rnf :: Column -> () #

Eq Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

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

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

Hashable Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

hashWithSalt :: Int -> Column -> Int #

hash :: Column -> Int #

type Rep Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

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

newColumn Source #

Create a value of Column 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:comment:Column', column_comment - Optional information about the column.

$sel:type':Column', column_type - The data type of the column.

$sel:name:Column', column_name - The name of the column.

column_comment :: Lens' Column (Maybe Text) Source #

Optional information about the column.

column_type :: Lens' Column (Maybe Text) Source #

The data type of the column.

column_name :: Lens' Column Text Source #

The name of the column.

ColumnInfo

data ColumnInfo Source #

Information about the columns in a query execution result.

See: newColumnInfo smart constructor.

Constructors

ColumnInfo' 

Fields

Instances

Instances details
FromJSON ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Generic ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Associated Types

type Rep ColumnInfo :: Type -> Type #

Read ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Show ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

NFData ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Methods

rnf :: ColumnInfo -> () #

Eq ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Hashable ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

type Rep ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

newColumnInfo Source #

Create a value of ColumnInfo 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:caseSensitive:ColumnInfo', columnInfo_caseSensitive - Indicates whether values in the column are case-sensitive.

$sel:catalogName:ColumnInfo', columnInfo_catalogName - The catalog to which the query results belong.

$sel:label:ColumnInfo', columnInfo_label - A column label.

$sel:nullable:ColumnInfo', columnInfo_nullable - Indicates the column's nullable status.

$sel:precision:ColumnInfo', columnInfo_precision - For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.

$sel:scale:ColumnInfo', columnInfo_scale - For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.

$sel:schemaName:ColumnInfo', columnInfo_schemaName - The schema name (database name) to which the query results belong.

$sel:tableName:ColumnInfo', columnInfo_tableName - The table name for the query results.

$sel:name:ColumnInfo', columnInfo_name - The name of the column.

$sel:type':ColumnInfo', columnInfo_type - The data type of the column.

columnInfo_caseSensitive :: Lens' ColumnInfo (Maybe Bool) Source #

Indicates whether values in the column are case-sensitive.

columnInfo_catalogName :: Lens' ColumnInfo (Maybe Text) Source #

The catalog to which the query results belong.

columnInfo_nullable :: Lens' ColumnInfo (Maybe ColumnNullable) Source #

Indicates the column's nullable status.

columnInfo_precision :: Lens' ColumnInfo (Maybe Int) Source #

For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.

columnInfo_scale :: Lens' ColumnInfo (Maybe Int) Source #

For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.

columnInfo_schemaName :: Lens' ColumnInfo (Maybe Text) Source #

The schema name (database name) to which the query results belong.

columnInfo_tableName :: Lens' ColumnInfo (Maybe Text) Source #

The table name for the query results.

columnInfo_name :: Lens' ColumnInfo Text Source #

The name of the column.

columnInfo_type :: Lens' ColumnInfo Text Source #

The data type of the column.

CustomerContentEncryptionConfiguration

data CustomerContentEncryptionConfiguration Source #

Specifies the KMS key that is used to encrypt the user's data stores in Athena.

See: newCustomerContentEncryptionConfiguration smart constructor.

Constructors

CustomerContentEncryptionConfiguration' 

Fields

  • kmsKey :: Text

    The KMS key that is used to encrypt the user's data stores in Athena.

Instances

Instances details
FromJSON CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

ToJSON CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

Generic CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

Read CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

Show CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

NFData CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

Eq CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

Hashable CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

type Rep CustomerContentEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.CustomerContentEncryptionConfiguration

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

newCustomerContentEncryptionConfiguration Source #

Create a value of CustomerContentEncryptionConfiguration 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:kmsKey:CustomerContentEncryptionConfiguration', customerContentEncryptionConfiguration_kmsKey - The KMS key that is used to encrypt the user's data stores in Athena.

customerContentEncryptionConfiguration_kmsKey :: Lens' CustomerContentEncryptionConfiguration Text Source #

The KMS key that is used to encrypt the user's data stores in Athena.

DataCatalog

data DataCatalog Source #

Contains information about a data catalog in an Amazon Web Services account.

See: newDataCatalog smart constructor.

Constructors

DataCatalog' 

Fields

  • description :: Maybe Text

    An optional description of the data catalog.

  • parameters :: Maybe (HashMap Text Text)

    Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.

    • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

      metadata-function=lambda_arn, sdk-version=version_number

    • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

      • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

        metadata-function=lambda_arn, record-function=lambda_arn

      • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

        function=lambda_arn

    • The GLUE type takes a catalog ID parameter and is required. The catalog_id is the account ID of the Amazon Web Services account to which the Glue catalog belongs.

      catalog-id=catalog_id

      • The GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.
      • Queries that specify a Glue Data Catalog other than the default AwsDataCatalog must be run on Athena engine version 2.
  • name :: Text

    The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

  • type' :: DataCatalogType

    The type of data catalog to create: LAMBDA for a federated catalog, HIVE for an external hive metastore, or GLUE for an Glue Data Catalog.

Instances

Instances details
FromJSON DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Generic DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Associated Types

type Rep DataCatalog :: Type -> Type #

Read DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Show DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

NFData DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Methods

rnf :: DataCatalog -> () #

Eq DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Hashable DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

type Rep DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

type Rep DataCatalog = D1 ('MetaData "DataCatalog" "Amazonka.Athena.Types.DataCatalog" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "DataCatalog'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataCatalogType))))

newDataCatalog Source #

Create a value of DataCatalog 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:description:DataCatalog', dataCatalog_description - An optional description of the data catalog.

$sel:parameters:DataCatalog', dataCatalog_parameters - Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

  • The GLUE type takes a catalog ID parameter and is required. The catalog_id is the account ID of the Amazon Web Services account to which the Glue catalog belongs.

    catalog-id=catalog_id

    • The GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.
    • Queries that specify a Glue Data Catalog other than the default AwsDataCatalog must be run on Athena engine version 2.

$sel:name:DataCatalog', dataCatalog_name - The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

$sel:type':DataCatalog', dataCatalog_type - The type of data catalog to create: LAMBDA for a federated catalog, HIVE for an external hive metastore, or GLUE for an Glue Data Catalog.

dataCatalog_description :: Lens' DataCatalog (Maybe Text) Source #

An optional description of the data catalog.

dataCatalog_parameters :: Lens' DataCatalog (Maybe (HashMap Text Text)) Source #

Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

  • The GLUE type takes a catalog ID parameter and is required. The catalog_id is the account ID of the Amazon Web Services account to which the Glue catalog belongs.

    catalog-id=catalog_id

    • The GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.
    • Queries that specify a Glue Data Catalog other than the default AwsDataCatalog must be run on Athena engine version 2.

dataCatalog_name :: Lens' DataCatalog Text Source #

The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

dataCatalog_type :: Lens' DataCatalog DataCatalogType Source #

The type of data catalog to create: LAMBDA for a federated catalog, HIVE for an external hive metastore, or GLUE for an Glue Data Catalog.

DataCatalogSummary

data DataCatalogSummary Source #

The summary information for the data catalog, which includes its name and type.

See: newDataCatalogSummary smart constructor.

Constructors

DataCatalogSummary' 

Fields

  • catalogName :: Maybe Text

    The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

  • type' :: Maybe DataCatalogType

    The data catalog type.

Instances

Instances details
FromJSON DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Generic DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Associated Types

type Rep DataCatalogSummary :: Type -> Type #

Read DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Show DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

NFData DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Methods

rnf :: DataCatalogSummary -> () #

Eq DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Hashable DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

type Rep DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

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

newDataCatalogSummary :: DataCatalogSummary Source #

Create a value of DataCatalogSummary 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:catalogName:DataCatalogSummary', dataCatalogSummary_catalogName - The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

$sel:type':DataCatalogSummary', dataCatalogSummary_type - The data catalog type.

dataCatalogSummary_catalogName :: Lens' DataCatalogSummary (Maybe Text) Source #

The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

Database

data Database Source #

Contains metadata information for a database in a data catalog.

See: newDatabase smart constructor.

Constructors

Database' 

Fields

Instances

Instances details
FromJSON Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Generic Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Associated Types

type Rep Database :: Type -> Type #

Methods

from :: Database -> Rep Database x #

to :: Rep Database x -> Database #

Read Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Show Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

NFData Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Methods

rnf :: Database -> () #

Eq Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Hashable Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

type Rep Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

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

newDatabase Source #

Create a value of Database 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:description:Database', database_description - An optional description of the database.

$sel:parameters:Database', database_parameters - A set of custom key/value pairs.

$sel:name:Database', database_name - The name of the database.

database_description :: Lens' Database (Maybe Text) Source #

An optional description of the database.

database_parameters :: Lens' Database (Maybe (HashMap Text Text)) Source #

A set of custom key/value pairs.

database_name :: Lens' Database Text Source #

The name of the database.

Datum

data Datum Source #

A piece of data (a field in the table).

See: newDatum smart constructor.

Constructors

Datum' 

Fields

Instances

Instances details
FromJSON Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Generic Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Associated Types

type Rep Datum :: Type -> Type #

Methods

from :: Datum -> Rep Datum x #

to :: Rep Datum x -> Datum #

Read Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Show Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

NFData Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

rnf :: Datum -> () #

Eq Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

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

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

Hashable Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

hashWithSalt :: Int -> Datum -> Int #

hash :: Datum -> Int #

type Rep Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

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

newDatum :: Datum Source #

Create a value of Datum 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:varCharValue:Datum', datum_varCharValue - The value of the datum.

datum_varCharValue :: Lens' Datum (Maybe Text) Source #

The value of the datum.

EncryptionConfiguration

data EncryptionConfiguration Source #

If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information.

See: newEncryptionConfiguration smart constructor.

Constructors

EncryptionConfiguration' 

Fields

  • kmsKey :: Maybe Text

    For SSE_KMS and CSE_KMS, this is the KMS key ARN or ID.

  • encryptionOption :: EncryptionOption

    Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used.

    If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

Instances

Instances details
FromJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Generic EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

Read EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Show EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

NFData EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Methods

rnf :: EncryptionConfiguration -> () #

Eq EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

type Rep EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

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

newEncryptionConfiguration Source #

Create a value of EncryptionConfiguration 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:kmsKey:EncryptionConfiguration', encryptionConfiguration_kmsKey - For SSE_KMS and CSE_KMS, this is the KMS key ARN or ID.

$sel:encryptionOption:EncryptionConfiguration', encryptionConfiguration_encryptionOption - Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used.

If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text) Source #

For SSE_KMS and CSE_KMS, this is the KMS key ARN or ID.

encryptionConfiguration_encryptionOption :: Lens' EncryptionConfiguration EncryptionOption Source #

Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used.

If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

EngineConfiguration

data EngineConfiguration Source #

Contains data processing unit (DPU) configuration settings and parameter mappings for a notebook engine.

See: newEngineConfiguration smart constructor.

Constructors

EngineConfiguration' 

Fields

  • additionalConfigs :: Maybe (HashMap Text Text)

    Contains additional notebook engine MAP<string, string> parameter mappings in the form of key-value pairs. To specify an Amazon S3 URI that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookFileURI to AdditionalConfigs that has value of the Amazon S3 URI.

  • coordinatorDpuSize :: Maybe Natural

    The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session.

  • defaultExecutorDpuSize :: Maybe Natural

    The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena.

  • maxConcurrentDpus :: Natural

    The maximum number of DPUs that can run concurrently.

Instances

Instances details
FromJSON EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

ToJSON EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

Generic EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

Associated Types

type Rep EngineConfiguration :: Type -> Type #

Read EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

Show EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

NFData EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

Methods

rnf :: EngineConfiguration -> () #

Eq EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

Hashable EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

type Rep EngineConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineConfiguration

type Rep EngineConfiguration = D1 ('MetaData "EngineConfiguration" "Amazonka.Athena.Types.EngineConfiguration" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "EngineConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "additionalConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "coordinatorDpuSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "defaultExecutorDpuSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "maxConcurrentDpus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newEngineConfiguration Source #

Create a value of EngineConfiguration 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:additionalConfigs:EngineConfiguration', engineConfiguration_additionalConfigs - Contains additional notebook engine MAP<string, string> parameter mappings in the form of key-value pairs. To specify an Amazon S3 URI that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookFileURI to AdditionalConfigs that has value of the Amazon S3 URI.

$sel:coordinatorDpuSize:EngineConfiguration', engineConfiguration_coordinatorDpuSize - The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session.

$sel:defaultExecutorDpuSize:EngineConfiguration', engineConfiguration_defaultExecutorDpuSize - The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena.

$sel:maxConcurrentDpus:EngineConfiguration', engineConfiguration_maxConcurrentDpus - The maximum number of DPUs that can run concurrently.

engineConfiguration_additionalConfigs :: Lens' EngineConfiguration (Maybe (HashMap Text Text)) Source #

Contains additional notebook engine MAP<string, string> parameter mappings in the form of key-value pairs. To specify an Amazon S3 URI that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookFileURI to AdditionalConfigs that has value of the Amazon S3 URI.

engineConfiguration_coordinatorDpuSize :: Lens' EngineConfiguration (Maybe Natural) Source #

The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session.

engineConfiguration_defaultExecutorDpuSize :: Lens' EngineConfiguration (Maybe Natural) Source #

The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena.

engineConfiguration_maxConcurrentDpus :: Lens' EngineConfiguration Natural Source #

The maximum number of DPUs that can run concurrently.

EngineVersion

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.

ExecutorsSummary

data ExecutorsSummary Source #

Contains summary information about an executor.

See: newExecutorsSummary smart constructor.

Constructors

ExecutorsSummary' 

Fields

  • executorSize :: Maybe Integer

    The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.

  • executorState :: Maybe ExecutorState

    The processing state of the executor. A description of each state follows.

    CREATING - The executor is being started, including acquiring resources.

    CREATED - The executor has been started.

    REGISTERED - The executor has been registered.

    TERMINATING - The executor is in the process of shutting down.

    TERMINATED - The executor is no longer running.

    FAILED - Due to a failure, the executor is no longer running.

  • executorType :: Maybe ExecutorType

    The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

  • startDateTime :: Maybe Integer

    The date and time that the executor started.

  • terminationDateTime :: Maybe Integer

    The date and time that the executor was terminated.

  • executorId :: Text

    The UUID of the executor.

Instances

Instances details
FromJSON ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Generic ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Associated Types

type Rep ExecutorsSummary :: Type -> Type #

Read ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Show ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

NFData ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Methods

rnf :: ExecutorsSummary -> () #

Eq ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

Hashable ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

type Rep ExecutorsSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.ExecutorsSummary

type Rep ExecutorsSummary = D1 ('MetaData "ExecutorsSummary" "Amazonka.Athena.Types.ExecutorsSummary" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ExecutorsSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "executorSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "executorState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutorState)) :*: S1 ('MetaSel ('Just "executorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutorType)))) :*: (S1 ('MetaSel ('Just "startDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "terminationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "executorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newExecutorsSummary Source #

Create a value of ExecutorsSummary 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:executorSize:ExecutorsSummary', executorsSummary_executorSize - The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.

$sel:executorState:ExecutorsSummary', executorsSummary_executorState - The processing state of the executor. A description of each state follows.

CREATING - The executor is being started, including acquiring resources.

CREATED - The executor has been started.

REGISTERED - The executor has been registered.

TERMINATING - The executor is in the process of shutting down.

TERMINATED - The executor is no longer running.

FAILED - Due to a failure, the executor is no longer running.

$sel:executorType:ExecutorsSummary', executorsSummary_executorType - The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

$sel:startDateTime:ExecutorsSummary', executorsSummary_startDateTime - The date and time that the executor started.

$sel:terminationDateTime:ExecutorsSummary', executorsSummary_terminationDateTime - The date and time that the executor was terminated.

$sel:executorId:ExecutorsSummary', executorsSummary_executorId - The UUID of the executor.

executorsSummary_executorSize :: Lens' ExecutorsSummary (Maybe Integer) Source #

The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power.

executorsSummary_executorState :: Lens' ExecutorsSummary (Maybe ExecutorState) Source #

The processing state of the executor. A description of each state follows.

CREATING - The executor is being started, including acquiring resources.

CREATED - The executor has been started.

REGISTERED - The executor has been registered.

TERMINATING - The executor is in the process of shutting down.

TERMINATED - The executor is no longer running.

FAILED - Due to a failure, the executor is no longer running.

executorsSummary_executorType :: Lens' ExecutorsSummary (Maybe ExecutorType) Source #

The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER).

executorsSummary_startDateTime :: Lens' ExecutorsSummary (Maybe Integer) Source #

The date and time that the executor started.

executorsSummary_terminationDateTime :: Lens' ExecutorsSummary (Maybe Integer) Source #

The date and time that the executor was terminated.

FilterDefinition

data FilterDefinition Source #

A string for searching notebook names.

See: newFilterDefinition smart constructor.

Constructors

FilterDefinition' 

Fields

Instances

Instances details
ToJSON FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

Generic FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

Associated Types

type Rep FilterDefinition :: Type -> Type #

Read FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

Show FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

NFData FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

Methods

rnf :: FilterDefinition -> () #

Eq FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

Hashable FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

type Rep FilterDefinition Source # 
Instance details

Defined in Amazonka.Athena.Types.FilterDefinition

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

newFilterDefinition :: FilterDefinition Source #

Create a value of FilterDefinition 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:FilterDefinition', filterDefinition_name - The name of the notebook to search for.

filterDefinition_name :: Lens' FilterDefinition (Maybe Text) Source #

The name of the notebook to search for.

NamedQuery

data NamedQuery Source #

A query, where QueryString contains the SQL statements that make up the query.

See: newNamedQuery smart constructor.

Constructors

NamedQuery' 

Fields

Instances

Instances details
FromJSON NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Generic NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Associated Types

type Rep NamedQuery :: Type -> Type #

Read NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Show NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

NFData NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Methods

rnf :: NamedQuery -> () #

Eq NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Hashable NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

type Rep NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

type Rep NamedQuery = D1 ('MetaData "NamedQuery" "Amazonka.Athena.Types.NamedQuery" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "NamedQuery'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "namedQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newNamedQuery Source #

Create a value of NamedQuery 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:description:NamedQuery', namedQuery_description - The query description.

$sel:namedQueryId:NamedQuery', namedQuery_namedQueryId - The unique identifier of the query.

$sel:workGroup:NamedQuery', namedQuery_workGroup - The name of the workgroup that contains the named query.

$sel:name:NamedQuery', namedQuery_name - The query name.

$sel:database:NamedQuery', namedQuery_database - The database to which the query belongs.

$sel:queryString:NamedQuery', namedQuery_queryString - The SQL statements that make up the query.

namedQuery_namedQueryId :: Lens' NamedQuery (Maybe Text) Source #

The unique identifier of the query.

namedQuery_workGroup :: Lens' NamedQuery (Maybe Text) Source #

The name of the workgroup that contains the named query.

namedQuery_database :: Lens' NamedQuery Text Source #

The database to which the query belongs.

namedQuery_queryString :: Lens' NamedQuery Text Source #

The SQL statements that make up the query.

NotebookMetadata

data NotebookMetadata Source #

Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.

See: newNotebookMetadata smart constructor.

Constructors

NotebookMetadata' 

Fields

Instances

Instances details
FromJSON NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Generic NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Associated Types

type Rep NotebookMetadata :: Type -> Type #

Read NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Show NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

NFData NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Methods

rnf :: NotebookMetadata -> () #

Eq NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

Hashable NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

type Rep NotebookMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookMetadata

type Rep NotebookMetadata = D1 ('MetaData "NotebookMetadata" "Amazonka.Athena.Types.NotebookMetadata" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "NotebookMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "notebookId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookType)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newNotebookMetadata :: NotebookMetadata Source #

Create a value of NotebookMetadata 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:creationTime:NotebookMetadata', notebookMetadata_creationTime - The time when the notebook was created.

$sel:lastModifiedTime:NotebookMetadata', notebookMetadata_lastModifiedTime - The time when the notebook was last modified.

$sel:name:NotebookMetadata', notebookMetadata_name - The name of the notebook.

$sel:notebookId:NotebookMetadata', notebookMetadata_notebookId - The notebook ID.

$sel:type':NotebookMetadata', notebookMetadata_type - The type of notebook. Currently, the only valid type is IPYNB.

$sel:workGroup:NotebookMetadata', notebookMetadata_workGroup - The name of the Spark enabled workgroup to which the notebook belongs.

notebookMetadata_creationTime :: Lens' NotebookMetadata (Maybe UTCTime) Source #

The time when the notebook was created.

notebookMetadata_lastModifiedTime :: Lens' NotebookMetadata (Maybe UTCTime) Source #

The time when the notebook was last modified.

notebookMetadata_type :: Lens' NotebookMetadata (Maybe NotebookType) Source #

The type of notebook. Currently, the only valid type is IPYNB.

notebookMetadata_workGroup :: Lens' NotebookMetadata (Maybe Text) Source #

The name of the Spark enabled workgroup to which the notebook belongs.

NotebookSessionSummary

data NotebookSessionSummary Source #

Contains the notebook session ID and notebook session creation time.

See: newNotebookSessionSummary smart constructor.

Constructors

NotebookSessionSummary' 

Fields

Instances

Instances details
FromJSON NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

Generic NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

Associated Types

type Rep NotebookSessionSummary :: Type -> Type #

Read NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

Show NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

NFData NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

Methods

rnf :: NotebookSessionSummary -> () #

Eq NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

Hashable NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

type Rep NotebookSessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.NotebookSessionSummary

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

newNotebookSessionSummary :: NotebookSessionSummary Source #

Create a value of NotebookSessionSummary 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:creationTime:NotebookSessionSummary', notebookSessionSummary_creationTime - The time when the notebook session was created.

$sel:sessionId:NotebookSessionSummary', notebookSessionSummary_sessionId - The notebook session ID.

notebookSessionSummary_creationTime :: Lens' NotebookSessionSummary (Maybe UTCTime) Source #

The time when the notebook session was created.

PreparedStatement

data PreparedStatement Source #

A prepared SQL statement for use with Athena.

See: newPreparedStatement smart constructor.

Constructors

PreparedStatement' 

Fields

Instances

Instances details
FromJSON PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Generic PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Associated Types

type Rep PreparedStatement :: Type -> Type #

Read PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Show PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

NFData PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Methods

rnf :: PreparedStatement -> () #

Eq PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Hashable PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

type Rep PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

type Rep PreparedStatement = D1 ('MetaData "PreparedStatement" "Amazonka.Athena.Types.PreparedStatement" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "PreparedStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPreparedStatement :: PreparedStatement Source #

Create a value of PreparedStatement 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:description:PreparedStatement', preparedStatement_description - The description of the prepared statement.

$sel:lastModifiedTime:PreparedStatement', preparedStatement_lastModifiedTime - The last modified time of the prepared statement.

$sel:queryStatement:PreparedStatement', preparedStatement_queryStatement - The query string for the prepared statement.

$sel:statementName:PreparedStatement', preparedStatement_statementName - The name of the prepared statement.

$sel:workGroupName:PreparedStatement', preparedStatement_workGroupName - The name of the workgroup to which the prepared statement belongs.

preparedStatement_description :: Lens' PreparedStatement (Maybe Text) Source #

The description of the prepared statement.

preparedStatement_lastModifiedTime :: Lens' PreparedStatement (Maybe UTCTime) Source #

The last modified time of the prepared statement.

preparedStatement_queryStatement :: Lens' PreparedStatement (Maybe Text) Source #

The query string for the prepared statement.

preparedStatement_statementName :: Lens' PreparedStatement (Maybe Text) Source #

The name of the prepared statement.

preparedStatement_workGroupName :: Lens' PreparedStatement (Maybe Text) Source #

The name of the workgroup to which the prepared statement belongs.

PreparedStatementSummary

data PreparedStatementSummary Source #

The name and last modified time of the prepared statement.

See: newPreparedStatementSummary smart constructor.

Constructors

PreparedStatementSummary' 

Fields

Instances

Instances details
FromJSON PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Generic PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Associated Types

type Rep PreparedStatementSummary :: Type -> Type #

Read PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Show PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

NFData PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Eq PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Hashable PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

type Rep PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

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

newPreparedStatementSummary :: PreparedStatementSummary Source #

Create a value of PreparedStatementSummary 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:lastModifiedTime:PreparedStatementSummary', preparedStatementSummary_lastModifiedTime - The last modified time of the prepared statement.

$sel:statementName:PreparedStatementSummary', preparedStatementSummary_statementName - The name of the prepared statement.

preparedStatementSummary_lastModifiedTime :: Lens' PreparedStatementSummary (Maybe UTCTime) Source #

The last modified time of the prepared statement.

QueryExecution

data QueryExecution Source #

Information about a single instance of a query execution.

See: newQueryExecution smart constructor.

Constructors

QueryExecution' 

Fields

Instances

Instances details
FromJSON QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Generic QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Associated Types

type Rep QueryExecution :: Type -> Type #

Read QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Show QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

NFData QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Methods

rnf :: QueryExecution -> () #

Eq QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Hashable QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

type Rep QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

type Rep QueryExecution = D1 ('MetaData "QueryExecution" "Amazonka.Athena.Types.QueryExecution" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "QueryExecution'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EngineVersion)) :*: S1 ('MetaSel ('Just "executionParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queryExecutionContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryExecutionContext)) :*: S1 ('MetaSel ('Just "queryExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "resultConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultConfiguration)) :*: (S1 ('MetaSel ('Just "resultReuseConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultReuseConfiguration)) :*: S1 ('MetaSel ('Just "statementType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatementType)))) :*: (S1 ('MetaSel ('Just "statistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryExecutionStatistics)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryExecutionStatus)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newQueryExecution :: QueryExecution Source #

Create a value of QueryExecution 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:engineVersion:QueryExecution', queryExecution_engineVersion - The engine version that executed the query.

$sel:executionParameters:QueryExecution', queryExecution_executionParameters - A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.

$sel:query:QueryExecution', queryExecution_query - The SQL query statements which the query execution ran.

$sel:queryExecutionContext:QueryExecution', queryExecution_queryExecutionContext - The database in which the query execution occurred.

$sel:queryExecutionId:QueryExecution', queryExecution_queryExecutionId - The unique identifier for each query execution.

$sel:resultConfiguration:QueryExecution', queryExecution_resultConfiguration - The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.

$sel:resultReuseConfiguration:QueryExecution', queryExecution_resultReuseConfiguration - Specifies the query result reuse behavior that was used for the query.

$sel:statementType:QueryExecution', queryExecution_statementType - The type of query statement that was run. DDL indicates DDL query statements. DML indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT. UTILITY indicates query statements other than DDL and DML, such as SHOW CREATE TABLE, or DESCRIBE TABLE.

$sel:statistics:QueryExecution', queryExecution_statistics - Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.

$sel:status:QueryExecution', queryExecution_status - The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

$sel:workGroup:QueryExecution', queryExecution_workGroup - The name of the workgroup in which the query ran.

queryExecution_engineVersion :: Lens' QueryExecution (Maybe EngineVersion) Source #

The engine version that executed the query.

queryExecution_executionParameters :: Lens' QueryExecution (Maybe (NonEmpty Text)) Source #

A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.

queryExecution_query :: Lens' QueryExecution (Maybe Text) Source #

The SQL query statements which the query execution ran.

queryExecution_queryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext) Source #

The database in which the query execution occurred.

queryExecution_queryExecutionId :: Lens' QueryExecution (Maybe Text) Source #

The unique identifier for each query execution.

queryExecution_resultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration) Source #

The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.

queryExecution_resultReuseConfiguration :: Lens' QueryExecution (Maybe ResultReuseConfiguration) Source #

Specifies the query result reuse behavior that was used for the query.

queryExecution_statementType :: Lens' QueryExecution (Maybe StatementType) Source #

The type of query statement that was run. DDL indicates DDL query statements. DML indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT. UTILITY indicates query statements other than DDL and DML, such as SHOW CREATE TABLE, or DESCRIBE TABLE.

queryExecution_statistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics) Source #

Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.

queryExecution_status :: Lens' QueryExecution (Maybe QueryExecutionStatus) Source #

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

queryExecution_workGroup :: Lens' QueryExecution (Maybe Text) Source #

The name of the workgroup in which the query ran.

QueryExecutionContext

data QueryExecutionContext Source #

The database and data catalog context in which the query execution occurs.

See: newQueryExecutionContext smart constructor.

Constructors

QueryExecutionContext' 

Fields

  • catalog :: Maybe Text

    The name of the data catalog used in the query execution.

  • database :: Maybe Text

    The name of the database used in the query execution. The database must exist in the catalog.

Instances

Instances details
FromJSON QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

ToJSON QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Generic QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Associated Types

type Rep QueryExecutionContext :: Type -> Type #

Read QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Show QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

NFData QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Methods

rnf :: QueryExecutionContext -> () #

Eq QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Hashable QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

type Rep QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

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

newQueryExecutionContext :: QueryExecutionContext Source #

Create a value of QueryExecutionContext 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:catalog:QueryExecutionContext', queryExecutionContext_catalog - The name of the data catalog used in the query execution.

$sel:database:QueryExecutionContext', queryExecutionContext_database - The name of the database used in the query execution. The database must exist in the catalog.

queryExecutionContext_catalog :: Lens' QueryExecutionContext (Maybe Text) Source #

The name of the data catalog used in the query execution.

queryExecutionContext_database :: Lens' QueryExecutionContext (Maybe Text) Source #

The name of the database used in the query execution. The database must exist in the catalog.

QueryExecutionStatistics

data QueryExecutionStatistics Source #

The amount of data scanned during the query execution and the amount of time that it took to execute, and the type of statement that was run.

See: newQueryExecutionStatistics smart constructor.

Constructors

QueryExecutionStatistics' 

Fields

Instances

Instances details
FromJSON QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Generic QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Associated Types

type Rep QueryExecutionStatistics :: Type -> Type #

Read QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Show QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

NFData QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Eq QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Hashable QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

type Rep QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

type Rep QueryExecutionStatistics = D1 ('MetaData "QueryExecutionStatistics" "Amazonka.Athena.Types.QueryExecutionStatistics" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "QueryExecutionStatistics'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataManifestLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataScannedInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "engineExecutionTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "queryPlanningTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "queryQueueTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "resultReuseInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultReuseInformation))) :*: (S1 ('MetaSel ('Just "serviceProcessingTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalExecutionTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newQueryExecutionStatistics :: QueryExecutionStatistics Source #

Create a value of QueryExecutionStatistics 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:dataManifestLocation:QueryExecutionStatistics', queryExecutionStatistics_dataManifestLocation - The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Results, Output Files, and Query History in the Amazon Athena User Guide.

$sel:dataScannedInBytes:QueryExecutionStatistics', queryExecutionStatistics_dataScannedInBytes - The number of bytes in the data that was queried.

$sel:engineExecutionTimeInMillis:QueryExecutionStatistics', queryExecutionStatistics_engineExecutionTimeInMillis - The number of milliseconds that the query took to execute.

$sel:queryPlanningTimeInMillis:QueryExecutionStatistics', queryExecutionStatistics_queryPlanningTimeInMillis - The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.

$sel:queryQueueTimeInMillis:QueryExecutionStatistics', queryExecutionStatistics_queryQueueTimeInMillis - The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.

$sel:resultReuseInformation:QueryExecutionStatistics', queryExecutionStatistics_resultReuseInformation - Contains information about whether previous query results were reused for the query.

$sel:serviceProcessingTimeInMillis:QueryExecutionStatistics', queryExecutionStatistics_serviceProcessingTimeInMillis - The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.

$sel:totalExecutionTimeInMillis:QueryExecutionStatistics', queryExecutionStatistics_totalExecutionTimeInMillis - The number of milliseconds that Athena took to run the query.

queryExecutionStatistics_dataManifestLocation :: Lens' QueryExecutionStatistics (Maybe Text) Source #

The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Results, Output Files, and Query History in the Amazon Athena User Guide.

queryExecutionStatistics_engineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer) Source #

The number of milliseconds that the query took to execute.

queryExecutionStatistics_queryPlanningTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer) Source #

The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.

queryExecutionStatistics_queryQueueTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer) Source #

The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.

queryExecutionStatistics_resultReuseInformation :: Lens' QueryExecutionStatistics (Maybe ResultReuseInformation) Source #

Contains information about whether previous query results were reused for the query.

queryExecutionStatistics_serviceProcessingTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer) Source #

The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.

queryExecutionStatistics_totalExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer) Source #

The number of milliseconds that Athena took to run the query.

QueryExecutionStatus

data QueryExecutionStatus Source #

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

See: newQueryExecutionStatus smart constructor.

Constructors

QueryExecutionStatus' 

Fields

  • athenaError :: Maybe AthenaError

    Provides information about an Athena query error.

  • completionDateTime :: Maybe POSIX

    The date and time that the query completed.

  • state :: Maybe QueryExecutionState

    The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.

    Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING or FAILED to QUEUED.

  • stateChangeReason :: Maybe Text

    Further detail about the status of the query.

  • submissionDateTime :: Maybe POSIX

    The date and time that the query was submitted.

Instances

Instances details
FromJSON QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Generic QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Associated Types

type Rep QueryExecutionStatus :: Type -> Type #

Read QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Show QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

NFData QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Methods

rnf :: QueryExecutionStatus -> () #

Eq QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Hashable QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

type Rep QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

type Rep QueryExecutionStatus = D1 ('MetaData "QueryExecutionStatus" "Amazonka.Athena.Types.QueryExecutionStatus" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "QueryExecutionStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "athenaError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AthenaError)) :*: S1 ('MetaSel ('Just "completionDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryExecutionState)) :*: (S1 ('MetaSel ('Just "stateChangeReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submissionDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newQueryExecutionStatus :: QueryExecutionStatus Source #

Create a value of QueryExecutionStatus 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:athenaError:QueryExecutionStatus', queryExecutionStatus_athenaError - Provides information about an Athena query error.

$sel:completionDateTime:QueryExecutionStatus', queryExecutionStatus_completionDateTime - The date and time that the query completed.

$sel:state:QueryExecutionStatus', queryExecutionStatus_state - The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.

Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING or FAILED to QUEUED.

$sel:stateChangeReason:QueryExecutionStatus', queryExecutionStatus_stateChangeReason - Further detail about the status of the query.

$sel:submissionDateTime:QueryExecutionStatus', queryExecutionStatus_submissionDateTime - The date and time that the query was submitted.

queryExecutionStatus_athenaError :: Lens' QueryExecutionStatus (Maybe AthenaError) Source #

Provides information about an Athena query error.

queryExecutionStatus_state :: Lens' QueryExecutionStatus (Maybe QueryExecutionState) Source #

The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.

Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING or FAILED to QUEUED.

queryExecutionStatus_stateChangeReason :: Lens' QueryExecutionStatus (Maybe Text) Source #

Further detail about the status of the query.

queryExecutionStatus_submissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime) Source #

The date and time that the query was submitted.

QueryRuntimeStatistics

data QueryRuntimeStatistics Source #

The query execution timeline, statistics on input and output rows and bytes, and the different query stages that form the query execution plan.

See: newQueryRuntimeStatistics smart constructor.

Constructors

QueryRuntimeStatistics' 

Fields

Instances

Instances details
FromJSON QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

Generic QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

Associated Types

type Rep QueryRuntimeStatistics :: Type -> Type #

Read QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

Show QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

NFData QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

Methods

rnf :: QueryRuntimeStatistics -> () #

Eq QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

Hashable QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

type Rep QueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatistics

type Rep QueryRuntimeStatistics = D1 ('MetaData "QueryRuntimeStatistics" "Amazonka.Athena.Types.QueryRuntimeStatistics" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "QueryRuntimeStatistics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "outputStage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStage)) :*: (S1 ('MetaSel ('Just "rows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryRuntimeStatisticsRows)) :*: S1 ('MetaSel ('Just "timeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryRuntimeStatisticsTimeline)))))

newQueryRuntimeStatistics :: QueryRuntimeStatistics Source #

Create a value of QueryRuntimeStatistics 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:outputStage:QueryRuntimeStatistics', queryRuntimeStatistics_outputStage - Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.

$sel:rows:QueryRuntimeStatistics', queryRuntimeStatistics_rows - Undocumented member.

$sel:timeline:QueryRuntimeStatistics', queryRuntimeStatistics_timeline - Undocumented member.

queryRuntimeStatistics_outputStage :: Lens' QueryRuntimeStatistics (Maybe QueryStage) Source #

Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.

QueryRuntimeStatisticsRows

data QueryRuntimeStatisticsRows Source #

Statistics such as input rows and bytes read by the query, rows and bytes output by the query, and the number of rows written by the query.

See: newQueryRuntimeStatisticsRows smart constructor.

Constructors

QueryRuntimeStatisticsRows' 

Fields

Instances

Instances details
FromJSON QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

Generic QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

Associated Types

type Rep QueryRuntimeStatisticsRows :: Type -> Type #

Read QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

Show QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

NFData QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

Eq QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

Hashable QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

type Rep QueryRuntimeStatisticsRows Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsRows

type Rep QueryRuntimeStatisticsRows = D1 ('MetaData "QueryRuntimeStatisticsRows" "Amazonka.Athena.Types.QueryRuntimeStatisticsRows" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "QueryRuntimeStatisticsRows'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inputBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "inputRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "outputBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "outputRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newQueryRuntimeStatisticsRows :: QueryRuntimeStatisticsRows Source #

Create a value of QueryRuntimeStatisticsRows 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:inputBytes:QueryRuntimeStatisticsRows', queryRuntimeStatisticsRows_inputBytes - The number of bytes read to execute the query.

$sel:inputRows:QueryRuntimeStatisticsRows', queryRuntimeStatisticsRows_inputRows - The number of rows read to execute the query.

$sel:outputBytes:QueryRuntimeStatisticsRows', queryRuntimeStatisticsRows_outputBytes - The number of bytes returned by the query.

$sel:outputRows:QueryRuntimeStatisticsRows', queryRuntimeStatisticsRows_outputRows - The number of rows returned by the query.

QueryRuntimeStatisticsTimeline

data QueryRuntimeStatisticsTimeline Source #

Timeline statistics such as query queue time, planning time, execution time, service processing time, and total execution time.

See: newQueryRuntimeStatisticsTimeline smart constructor.

Constructors

QueryRuntimeStatisticsTimeline' 

Fields

Instances

Instances details
FromJSON QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

Generic QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

Associated Types

type Rep QueryRuntimeStatisticsTimeline :: Type -> Type #

Read QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

Show QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

NFData QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

Eq QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

Hashable QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

type Rep QueryRuntimeStatisticsTimeline Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline

type Rep QueryRuntimeStatisticsTimeline = D1 ('MetaData "QueryRuntimeStatisticsTimeline" "Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "QueryRuntimeStatisticsTimeline'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "engineExecutionTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "queryPlanningTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "queryQueueTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "serviceProcessingTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalExecutionTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newQueryRuntimeStatisticsTimeline :: QueryRuntimeStatisticsTimeline Source #

Create a value of QueryRuntimeStatisticsTimeline 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:engineExecutionTimeInMillis:QueryRuntimeStatisticsTimeline', queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis - The number of milliseconds that the query took to execute.

$sel:queryPlanningTimeInMillis:QueryRuntimeStatisticsTimeline', queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis - The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.

$sel:queryQueueTimeInMillis:QueryRuntimeStatisticsTimeline', queryRuntimeStatisticsTimeline_queryQueueTimeInMillis - The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.

$sel:serviceProcessingTimeInMillis:QueryRuntimeStatisticsTimeline', queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis - The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.

$sel:totalExecutionTimeInMillis:QueryRuntimeStatisticsTimeline', queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis - The number of milliseconds that Athena took to run the query.

queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer) Source #

The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.

queryRuntimeStatisticsTimeline_queryQueueTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer) Source #

The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.

queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer) Source #

The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.

QueryStage

data QueryStage Source #

Stage statistics such as input and output rows and bytes, execution time and stage state. This information also includes substages and the query stage plan.

See: newQueryStage smart constructor.

Constructors

QueryStage' 

Fields

Instances

Instances details
FromJSON QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

Generic QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

Associated Types

type Rep QueryStage :: Type -> Type #

Read QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

Show QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

NFData QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

Methods

rnf :: QueryStage -> () #

Eq QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

Hashable QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

type Rep QueryStage Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStage

newQueryStage :: QueryStage Source #

Create a value of QueryStage 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:executionTime:QueryStage', queryStage_executionTime - Time taken to execute this stage.

$sel:inputBytes:QueryStage', queryStage_inputBytes - The number of bytes input into the stage for execution.

$sel:inputRows:QueryStage', queryStage_inputRows - The number of rows input into the stage for execution.

$sel:outputBytes:QueryStage', queryStage_outputBytes - The number of bytes output from the stage after execution.

$sel:outputRows:QueryStage', queryStage_outputRows - The number of rows output from the stage after execution.

$sel:queryStagePlan:QueryStage', queryStage_queryStagePlan - Stage plan information such as name, identifier, sub plans, and source stages.

$sel:stageId:QueryStage', queryStage_stageId - The identifier for a stage.

$sel:state:QueryStage', queryStage_state - State of the stage after query execution.

$sel:subStages:QueryStage', queryStage_subStages - List of sub query stages that form this stage execution plan.

queryStage_executionTime :: Lens' QueryStage (Maybe Integer) Source #

Time taken to execute this stage.

queryStage_inputBytes :: Lens' QueryStage (Maybe Integer) Source #

The number of bytes input into the stage for execution.

queryStage_inputRows :: Lens' QueryStage (Maybe Integer) Source #

The number of rows input into the stage for execution.

queryStage_outputBytes :: Lens' QueryStage (Maybe Integer) Source #

The number of bytes output from the stage after execution.

queryStage_outputRows :: Lens' QueryStage (Maybe Integer) Source #

The number of rows output from the stage after execution.

queryStage_queryStagePlan :: Lens' QueryStage (Maybe QueryStagePlanNode) Source #

Stage plan information such as name, identifier, sub plans, and source stages.

queryStage_stageId :: Lens' QueryStage (Maybe Integer) Source #

The identifier for a stage.

queryStage_state :: Lens' QueryStage (Maybe Text) Source #

State of the stage after query execution.

queryStage_subStages :: Lens' QueryStage (Maybe [QueryStage]) Source #

List of sub query stages that form this stage execution plan.

QueryStagePlanNode

data QueryStagePlanNode Source #

Stage plan information such as name, identifier, sub plans, and remote sources.

See: newQueryStagePlanNode smart constructor.

Constructors

QueryStagePlanNode' 

Fields

Instances

Instances details
FromJSON QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

Generic QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

Associated Types

type Rep QueryStagePlanNode :: Type -> Type #

Read QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

Show QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

NFData QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

Methods

rnf :: QueryStagePlanNode -> () #

Eq QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

Hashable QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

type Rep QueryStagePlanNode Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryStagePlanNode

type Rep QueryStagePlanNode = D1 ('MetaData "QueryStagePlanNode" "Amazonka.Athena.Types.QueryStagePlanNode" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "QueryStagePlanNode'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "children") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryStagePlanNode])) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "remoteSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newQueryStagePlanNode :: QueryStagePlanNode Source #

Create a value of QueryStagePlanNode 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:children:QueryStagePlanNode', queryStagePlanNode_children - Stage plan information such as name, identifier, sub plans, and remote sources of child plan nodes/

$sel:identifier:QueryStagePlanNode', queryStagePlanNode_identifier - Information about the operation this query stage plan node is performing.

$sel:name:QueryStagePlanNode', queryStagePlanNode_name - Name of the query stage plan that describes the operation this stage is performing as part of query execution.

$sel:remoteSources:QueryStagePlanNode', queryStagePlanNode_remoteSources - Source plan node IDs.

queryStagePlanNode_children :: Lens' QueryStagePlanNode (Maybe [QueryStagePlanNode]) Source #

Stage plan information such as name, identifier, sub plans, and remote sources of child plan nodes/

queryStagePlanNode_identifier :: Lens' QueryStagePlanNode (Maybe Text) Source #

Information about the operation this query stage plan node is performing.

queryStagePlanNode_name :: Lens' QueryStagePlanNode (Maybe Text) Source #

Name of the query stage plan that describes the operation this stage is performing as part of query execution.

ResultConfiguration

data ResultConfiguration Source #

The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the workgroup settings.

See: newResultConfiguration smart constructor.

Constructors

ResultConfiguration' 

Fields

  • aclConfiguration :: Maybe AclConfiguration

    Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. For more information, see WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

  • encryptionConfiguration :: Maybe EncryptionConfiguration

    If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

  • expectedBucketOwner :: Maybe Text

    The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.

    This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

  • outputLocation :: Maybe Text

    The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

Instances

Instances details
FromJSON ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

ToJSON ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Generic ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Associated Types

type Rep ResultConfiguration :: Type -> Type #

Read ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Show ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

NFData ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Methods

rnf :: ResultConfiguration -> () #

Eq ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Hashable ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

type Rep ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

type Rep ResultConfiguration = D1 ('MetaData "ResultConfiguration" "Amazonka.Athena.Types.ResultConfiguration" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ResultConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "aclConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AclConfiguration)) :*: S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration))) :*: (S1 ('MetaSel ('Just "expectedBucketOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "outputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResultConfiguration :: ResultConfiguration Source #

Create a value of ResultConfiguration 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:aclConfiguration:ResultConfiguration', resultConfiguration_aclConfiguration - Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. For more information, see WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

$sel:encryptionConfiguration:ResultConfiguration', resultConfiguration_encryptionConfiguration - If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

$sel:expectedBucketOwner:ResultConfiguration', resultConfiguration_expectedBucketOwner - The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.

This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

$sel:outputLocation:ResultConfiguration', resultConfiguration_outputLocation - The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

resultConfiguration_aclConfiguration :: Lens' ResultConfiguration (Maybe AclConfiguration) Source #

Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. For more information, see WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

resultConfiguration_encryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration) Source #

If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

resultConfiguration_expectedBucketOwner :: Lens' ResultConfiguration (Maybe Text) Source #

The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.

This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

resultConfiguration_outputLocation :: Lens' ResultConfiguration (Maybe Text) Source #

The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

ResultConfigurationUpdates

data ResultConfigurationUpdates Source #

The information about the updates in the query results, such as output location and encryption configuration for the query results.

See: newResultConfigurationUpdates smart constructor.

Constructors

ResultConfigurationUpdates' 

Fields

  • aclConfiguration :: Maybe AclConfiguration

    The ACL configuration for the query results.

  • encryptionConfiguration :: Maybe EncryptionConfiguration

    The encryption configuration for the query results.

  • expectedBucketOwner :: Maybe Text

    The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.

    If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

  • outputLocation :: Maybe Text

    The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. For more information, see Query Results If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

  • removeAclConfiguration :: Maybe Bool

    If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

  • removeEncryptionConfiguration :: Maybe Bool

    If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

  • removeExpectedBucketOwner :: Maybe Bool

    If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

  • removeOutputLocation :: Maybe Bool

    If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

Instances

Instances details
ToJSON ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Generic ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Associated Types

type Rep ResultConfigurationUpdates :: Type -> Type #

Read ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Show ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

NFData ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Eq ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Hashable ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

type Rep ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

type Rep ResultConfigurationUpdates = D1 ('MetaData "ResultConfigurationUpdates" "Amazonka.Athena.Types.ResultConfigurationUpdates" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ResultConfigurationUpdates'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "aclConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AclConfiguration)) :*: S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration))) :*: (S1 ('MetaSel ('Just "expectedBucketOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "outputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "removeAclConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "removeEncryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "removeExpectedBucketOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "removeOutputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newResultConfigurationUpdates :: ResultConfigurationUpdates Source #

Create a value of ResultConfigurationUpdates 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:aclConfiguration:ResultConfigurationUpdates', resultConfigurationUpdates_aclConfiguration - The ACL configuration for the query results.

$sel:encryptionConfiguration:ResultConfigurationUpdates', resultConfigurationUpdates_encryptionConfiguration - The encryption configuration for the query results.

$sel:expectedBucketOwner:ResultConfigurationUpdates', resultConfigurationUpdates_expectedBucketOwner - The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.

If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

$sel:outputLocation:ResultConfigurationUpdates', resultConfigurationUpdates_outputLocation - The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. For more information, see Query Results If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

$sel:removeAclConfiguration:ResultConfigurationUpdates', resultConfigurationUpdates_removeAclConfiguration - If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

$sel:removeEncryptionConfiguration:ResultConfigurationUpdates', resultConfigurationUpdates_removeEncryptionConfiguration - If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

$sel:removeExpectedBucketOwner:ResultConfigurationUpdates', resultConfigurationUpdates_removeExpectedBucketOwner - If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

$sel:removeOutputLocation:ResultConfigurationUpdates', resultConfigurationUpdates_removeOutputLocation - If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

resultConfigurationUpdates_expectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Text) Source #

The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.

If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.

resultConfigurationUpdates_outputLocation :: Lens' ResultConfigurationUpdates (Maybe Text) Source #

The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. For more information, see Query Results If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

resultConfigurationUpdates_removeAclConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #

If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

resultConfigurationUpdates_removeEncryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #

If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

resultConfigurationUpdates_removeExpectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #

If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

resultConfigurationUpdates_removeOutputLocation :: Lens' ResultConfigurationUpdates (Maybe Bool) Source #

If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

ResultReuseByAgeConfiguration

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.

ResultReuseConfiguration

data ResultReuseConfiguration Source #

Specifies the query result reuse behavior for the query.

See: newResultReuseConfiguration smart constructor.

Constructors

ResultReuseConfiguration' 

Fields

Instances

Instances details
FromJSON ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

ToJSON ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

Generic ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

Associated Types

type Rep ResultReuseConfiguration :: Type -> Type #

Read ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

Show ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

NFData ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

Eq ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

Hashable ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

type Rep ResultReuseConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseConfiguration

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

newResultReuseConfiguration :: ResultReuseConfiguration Source #

Create a value of ResultReuseConfiguration 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:resultReuseByAgeConfiguration:ResultReuseConfiguration', resultReuseConfiguration_resultReuseByAgeConfiguration - Specifies whether previous query results are reused, and if so, their maximum age.

resultReuseConfiguration_resultReuseByAgeConfiguration :: Lens' ResultReuseConfiguration (Maybe ResultReuseByAgeConfiguration) Source #

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

ResultReuseInformation

data ResultReuseInformation Source #

Contains information about whether the result of a previous query was reused.

See: newResultReuseInformation smart constructor.

Constructors

ResultReuseInformation' 

Fields

  • reusedPreviousResult :: Bool

    True if a previous query result was reused; false if the result was generated from a new run of the query.

Instances

Instances details
FromJSON ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

Generic ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

Associated Types

type Rep ResultReuseInformation :: Type -> Type #

Read ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

Show ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

NFData ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

Methods

rnf :: ResultReuseInformation -> () #

Eq ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

Hashable ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

type Rep ResultReuseInformation Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultReuseInformation

type Rep ResultReuseInformation = D1 ('MetaData "ResultReuseInformation" "Amazonka.Athena.Types.ResultReuseInformation" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ResultReuseInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reusedPreviousResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newResultReuseInformation Source #

Create a value of ResultReuseInformation 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:reusedPreviousResult:ResultReuseInformation', resultReuseInformation_reusedPreviousResult - True if a previous query result was reused; false if the result was generated from a new run of the query.

resultReuseInformation_reusedPreviousResult :: Lens' ResultReuseInformation Bool Source #

True if a previous query result was reused; false if the result was generated from a new run of the query.

ResultSet

data ResultSet Source #

The metadata and rows that make up a query result set. The metadata describes the column structure and data types. To return a ResultSet object, use GetQueryResults.

See: newResultSet smart constructor.

Constructors

ResultSet' 

Fields

Instances

Instances details
FromJSON ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Generic ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Associated Types

type Rep ResultSet :: Type -> Type #

Read ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Show ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

NFData ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Methods

rnf :: ResultSet -> () #

Eq ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Hashable ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

type Rep ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

type Rep ResultSet = D1 ('MetaData "ResultSet" "Amazonka.Athena.Types.ResultSet" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ResultSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resultSetMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultSetMetadata)) :*: S1 ('MetaSel ('Just "rows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Row]))))

newResultSet :: ResultSet Source #

Create a value of ResultSet 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:resultSetMetadata:ResultSet', resultSet_resultSetMetadata - The metadata that describes the column structure and data types of a table of query results.

$sel:rows:ResultSet', resultSet_rows - The rows in the table.

resultSet_resultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata) Source #

The metadata that describes the column structure and data types of a table of query results.

resultSet_rows :: Lens' ResultSet (Maybe [Row]) Source #

The rows in the table.

ResultSetMetadata

data ResultSetMetadata Source #

The metadata that describes the column structure and data types of a table of query results. To return a ResultSetMetadata object, use GetQueryResults.

See: newResultSetMetadata smart constructor.

Constructors

ResultSetMetadata' 

Fields

Instances

Instances details
FromJSON ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Generic ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Associated Types

type Rep ResultSetMetadata :: Type -> Type #

Read ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Show ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

NFData ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Methods

rnf :: ResultSetMetadata -> () #

Eq ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Hashable ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

type Rep ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

type Rep ResultSetMetadata = D1 ('MetaData "ResultSetMetadata" "Amazonka.Athena.Types.ResultSetMetadata" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ResultSetMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "columnInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ColumnInfo]))))

newResultSetMetadata :: ResultSetMetadata Source #

Create a value of ResultSetMetadata 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:columnInfo:ResultSetMetadata', resultSetMetadata_columnInfo - Information about the columns returned in a query result metadata.

resultSetMetadata_columnInfo :: Lens' ResultSetMetadata (Maybe [ColumnInfo]) Source #

Information about the columns returned in a query result metadata.

Row

data Row Source #

The rows that make up a query result table.

See: newRow smart constructor.

Constructors

Row' 

Fields

  • data' :: Maybe [Datum]

    The data that populates a row in a query result table.

Instances

Instances details
FromJSON Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Generic Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Associated Types

type Rep Row :: Type -> Type #

Methods

from :: Row -> Rep Row x #

to :: Rep Row x -> Row #

Read Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Show Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

showsPrec :: Int -> Row -> ShowS #

show :: Row -> String #

showList :: [Row] -> ShowS #

NFData Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

rnf :: Row -> () #

Eq Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

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

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

Hashable Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

hashWithSalt :: Int -> Row -> Int #

hash :: Row -> Int #

type Rep Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

type Rep Row = D1 ('MetaData "Row" "Amazonka.Athena.Types.Row" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "Row'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Datum]))))

newRow :: Row Source #

Create a value of Row 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:data':Row', row_data - The data that populates a row in a query result table.

row_data :: Lens' Row (Maybe [Datum]) Source #

The data that populates a row in a query result table.

SessionConfiguration

data SessionConfiguration Source #

Contains session configuration information.

See: newSessionConfiguration smart constructor.

Constructors

SessionConfiguration' 

Fields

Instances

Instances details
FromJSON SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

Generic SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

Associated Types

type Rep SessionConfiguration :: Type -> Type #

Read SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

Show SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

NFData SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

Methods

rnf :: SessionConfiguration -> () #

Eq SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

Hashable SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

type Rep SessionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionConfiguration

type Rep SessionConfiguration = D1 ('MetaData "SessionConfiguration" "Amazonka.Athena.Types.SessionConfiguration" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "SessionConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "executionRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "idleTimeoutSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "workingDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSessionConfiguration :: SessionConfiguration Source #

Create a value of SessionConfiguration 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:encryptionConfiguration:SessionConfiguration', sessionConfiguration_encryptionConfiguration - Undocumented member.

$sel:executionRole:SessionConfiguration', sessionConfiguration_executionRole - The ARN of the execution role used for the session.

$sel:idleTimeoutSeconds:SessionConfiguration', sessionConfiguration_idleTimeoutSeconds - The idle timeout in seconds for the session.

$sel:workingDirectory:SessionConfiguration', sessionConfiguration_workingDirectory - The Amazon S3 location that stores information for the notebook.

sessionConfiguration_executionRole :: Lens' SessionConfiguration (Maybe Text) Source #

The ARN of the execution role used for the session.

sessionConfiguration_workingDirectory :: Lens' SessionConfiguration (Maybe Text) Source #

The Amazon S3 location that stores information for the notebook.

SessionStatistics

data SessionStatistics Source #

Contains statistics for a notebook session.

See: newSessionStatistics smart constructor.

Constructors

SessionStatistics' 

Fields

Instances

Instances details
FromJSON SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

Generic SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

Associated Types

type Rep SessionStatistics :: Type -> Type #

Read SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

Show SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

NFData SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

Methods

rnf :: SessionStatistics -> () #

Eq SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

Hashable SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

type Rep SessionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatistics

type Rep SessionStatistics = D1 ('MetaData "SessionStatistics" "Amazonka.Athena.Types.SessionStatistics" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "SessionStatistics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dpuExecutionInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newSessionStatistics :: SessionStatistics Source #

Create a value of SessionStatistics 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:dpuExecutionInMillis:SessionStatistics', sessionStatistics_dpuExecutionInMillis - The data processing unit execution time for a session in milliseconds.

sessionStatistics_dpuExecutionInMillis :: Lens' SessionStatistics (Maybe Integer) Source #

The data processing unit execution time for a session in milliseconds.

SessionStatus

data SessionStatus Source #

Contains information about the status of a notebook session.

See: newSessionStatus smart constructor.

Constructors

SessionStatus' 

Fields

  • endDateTime :: Maybe POSIX

    The date and time that the session ended.

  • idleSinceDateTime :: Maybe POSIX

    The date and time starting at which the session became idle. Can be empty if the session is not currently idle.

  • lastModifiedDateTime :: Maybe POSIX

    The most recent date and time that the session was modified.

  • startDateTime :: Maybe POSIX

    The date and time that the session started.

  • state :: Maybe SessionState

    The state of the session. A description of each state follows.

    CREATING - The session is being started, including acquiring resources.

    CREATED - The session has been started.

    IDLE - The session is able to accept a calculation.

    BUSY - The session is processing another task and is unable to accept a calculation.

    TERMINATING - The session is in the process of shutting down.

    TERMINATED - The session and its resources are no longer running.

    DEGRADED - The session has no healthy coordinators.

    FAILED - Due to a failure, the session and its resources are no longer running.

  • stateChangeReason :: Maybe Text

    The reason for the session state change (for example, canceled because the session was terminated).

Instances

Instances details
FromJSON SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

Generic SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

Associated Types

type Rep SessionStatus :: Type -> Type #

Read SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

Show SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

NFData SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

Methods

rnf :: SessionStatus -> () #

Eq SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

Hashable SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

type Rep SessionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionStatus

type Rep SessionStatus = D1 ('MetaData "SessionStatus" "Amazonka.Athena.Types.SessionStatus" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "SessionStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "idleSinceDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastModifiedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "startDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SessionState)) :*: S1 ('MetaSel ('Just "stateChangeReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newSessionStatus :: SessionStatus Source #

Create a value of SessionStatus 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:endDateTime:SessionStatus', sessionStatus_endDateTime - The date and time that the session ended.

$sel:idleSinceDateTime:SessionStatus', sessionStatus_idleSinceDateTime - The date and time starting at which the session became idle. Can be empty if the session is not currently idle.

$sel:lastModifiedDateTime:SessionStatus', sessionStatus_lastModifiedDateTime - The most recent date and time that the session was modified.

$sel:startDateTime:SessionStatus', sessionStatus_startDateTime - The date and time that the session started.

$sel:state:SessionStatus', sessionStatus_state - The state of the session. A description of each state follows.

CREATING - The session is being started, including acquiring resources.

CREATED - The session has been started.

IDLE - The session is able to accept a calculation.

BUSY - The session is processing another task and is unable to accept a calculation.

TERMINATING - The session is in the process of shutting down.

TERMINATED - The session and its resources are no longer running.

DEGRADED - The session has no healthy coordinators.

FAILED - Due to a failure, the session and its resources are no longer running.

$sel:stateChangeReason:SessionStatus', sessionStatus_stateChangeReason - The reason for the session state change (for example, canceled because the session was terminated).

sessionStatus_endDateTime :: Lens' SessionStatus (Maybe UTCTime) Source #

The date and time that the session ended.

sessionStatus_idleSinceDateTime :: Lens' SessionStatus (Maybe UTCTime) Source #

The date and time starting at which the session became idle. Can be empty if the session is not currently idle.

sessionStatus_lastModifiedDateTime :: Lens' SessionStatus (Maybe UTCTime) Source #

The most recent date and time that the session was modified.

sessionStatus_startDateTime :: Lens' SessionStatus (Maybe UTCTime) Source #

The date and time that the session started.

sessionStatus_state :: Lens' SessionStatus (Maybe SessionState) Source #

The state of the session. A description of each state follows.

CREATING - The session is being started, including acquiring resources.

CREATED - The session has been started.

IDLE - The session is able to accept a calculation.

BUSY - The session is processing another task and is unable to accept a calculation.

TERMINATING - The session is in the process of shutting down.

TERMINATED - The session and its resources are no longer running.

DEGRADED - The session has no healthy coordinators.

FAILED - Due to a failure, the session and its resources are no longer running.

sessionStatus_stateChangeReason :: Lens' SessionStatus (Maybe Text) Source #

The reason for the session state change (for example, canceled because the session was terminated).

SessionSummary

data SessionSummary Source #

Contains summary information about a notebook session.

See: newSessionSummary smart constructor.

Constructors

SessionSummary' 

Fields

Instances

Instances details
FromJSON SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

Generic SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

Associated Types

type Rep SessionSummary :: Type -> Type #

Read SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

Show SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

NFData SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

Methods

rnf :: SessionSummary -> () #

Eq SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

Hashable SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

type Rep SessionSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.SessionSummary

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

newSessionSummary :: SessionSummary Source #

Create a value of SessionSummary 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:description:SessionSummary', sessionSummary_description - The session description.

$sel:engineVersion:SessionSummary', sessionSummary_engineVersion - The engine version used by the session (for example, PySpark engine version 3).

$sel:notebookVersion:SessionSummary', sessionSummary_notebookVersion - The notebook version.

$sel:sessionId:SessionSummary', sessionSummary_sessionId - The session ID.

$sel:status:SessionSummary', sessionSummary_status - Contains information about the session status.

sessionSummary_engineVersion :: Lens' SessionSummary (Maybe EngineVersion) Source #

The engine version used by the session (for example, PySpark engine version 3).

sessionSummary_status :: Lens' SessionSummary (Maybe SessionStatus) Source #

Contains information about the session status.

TableMetadata

data TableMetadata Source #

Contains metadata for a table.

See: newTableMetadata smart constructor.

Constructors

TableMetadata' 

Fields

Instances

Instances details
FromJSON TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Generic TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Associated Types

type Rep TableMetadata :: Type -> Type #

Read TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Show TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

NFData TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Methods

rnf :: TableMetadata -> () #

Eq TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Hashable TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

type Rep TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

newTableMetadata Source #

Create a value of TableMetadata 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:columns:TableMetadata', tableMetadata_columns - A list of the columns in the table.

$sel:createTime:TableMetadata', tableMetadata_createTime - The time that the table was created.

$sel:lastAccessTime:TableMetadata', tableMetadata_lastAccessTime - The last time the table was accessed.

$sel:parameters:TableMetadata', tableMetadata_parameters - A set of custom key/value pairs for table properties.

$sel:partitionKeys:TableMetadata', tableMetadata_partitionKeys - A list of the partition keys in the table.

$sel:tableType:TableMetadata', tableMetadata_tableType - The type of table. In Athena, only EXTERNAL_TABLE is supported.

TableMetadata, tableMetadata_name - The name of the table.

tableMetadata_columns :: Lens' TableMetadata (Maybe [Column]) Source #

A list of the columns in the table.

tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime) Source #

The time that the table was created.

tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime) Source #

The last time the table was accessed.

tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text)) Source #

A set of custom key/value pairs for table properties.

tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column]) Source #

A list of the partition keys in the table.

tableMetadata_tableType :: Lens' TableMetadata (Maybe Text) Source #

The type of table. In Athena, only EXTERNAL_TABLE is supported.

Tag

data Tag Source #

A label that you assign to a resource. In Athena, a resource can be a workgroup or data catalog. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups or data catalogs by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups or data catalogs in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Maybe Text

    A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys are case-sensitive and must be unique per resource.

  • value :: Maybe Text

    A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag values are case-sensitive.

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

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

newTag :: Tag Source #

Create a value of Tag 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:key:Tag', tag_key - A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys are case-sensitive and must be unique per resource.

$sel:value:Tag', tag_value - A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag values are case-sensitive.

tag_key :: Lens' Tag (Maybe Text) Source #

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys are case-sensitive and must be unique per resource.

tag_value :: Lens' Tag (Maybe Text) Source #

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag values are case-sensitive.

UnprocessedNamedQueryId

data UnprocessedNamedQueryId Source #

Information about a named query ID that could not be processed.

See: newUnprocessedNamedQueryId smart constructor.

Constructors

UnprocessedNamedQueryId' 

Fields

  • errorCode :: Maybe Text

    The error code returned when the processing request for the named query failed, if applicable.

  • errorMessage :: Maybe Text

    The error message returned when the processing request for the named query failed, if applicable.

  • namedQueryId :: Maybe Text

    The unique identifier of the named query.

Instances

Instances details
FromJSON UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Generic UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Associated Types

type Rep UnprocessedNamedQueryId :: Type -> Type #

Read UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Show UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

NFData UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Methods

rnf :: UnprocessedNamedQueryId -> () #

Eq UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Hashable UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

type Rep UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

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

newUnprocessedNamedQueryId :: UnprocessedNamedQueryId Source #

Create a value of UnprocessedNamedQueryId 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:errorCode:UnprocessedNamedQueryId', unprocessedNamedQueryId_errorCode - The error code returned when the processing request for the named query failed, if applicable.

$sel:errorMessage:UnprocessedNamedQueryId', unprocessedNamedQueryId_errorMessage - The error message returned when the processing request for the named query failed, if applicable.

$sel:namedQueryId:UnprocessedNamedQueryId', unprocessedNamedQueryId_namedQueryId - The unique identifier of the named query.

unprocessedNamedQueryId_errorCode :: Lens' UnprocessedNamedQueryId (Maybe Text) Source #

The error code returned when the processing request for the named query failed, if applicable.

unprocessedNamedQueryId_errorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text) Source #

The error message returned when the processing request for the named query failed, if applicable.

UnprocessedPreparedStatementName

data UnprocessedPreparedStatementName Source #

The name of a prepared statement that could not be returned.

See: newUnprocessedPreparedStatementName smart constructor.

Constructors

UnprocessedPreparedStatementName' 

Fields

  • errorCode :: Maybe Text

    The error code returned when the request for the prepared statement failed.

  • errorMessage :: Maybe Text

    The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

    • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).
    • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.
    • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.
  • statementName :: Maybe Text

    The name of a prepared statement that could not be returned due to an error.

Instances

Instances details
FromJSON UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Generic UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Associated Types

type Rep UnprocessedPreparedStatementName :: Type -> Type #

Read UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Show UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

NFData UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Eq UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

Hashable UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

type Rep UnprocessedPreparedStatementName Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedPreparedStatementName

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

newUnprocessedPreparedStatementName :: UnprocessedPreparedStatementName Source #

Create a value of UnprocessedPreparedStatementName 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:errorCode:UnprocessedPreparedStatementName', unprocessedPreparedStatementName_errorCode - The error code returned when the request for the prepared statement failed.

$sel:errorMessage:UnprocessedPreparedStatementName', unprocessedPreparedStatementName_errorMessage - The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

  • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).
  • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.
  • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.

$sel:statementName:UnprocessedPreparedStatementName', unprocessedPreparedStatementName_statementName - The name of a prepared statement that could not be returned due to an error.

unprocessedPreparedStatementName_errorCode :: Lens' UnprocessedPreparedStatementName (Maybe Text) Source #

The error code returned when the request for the prepared statement failed.

unprocessedPreparedStatementName_errorMessage :: Lens' UnprocessedPreparedStatementName (Maybe Text) Source #

The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

  • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).
  • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.
  • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.

unprocessedPreparedStatementName_statementName :: Lens' UnprocessedPreparedStatementName (Maybe Text) Source #

The name of a prepared statement that could not be returned due to an error.

UnprocessedQueryExecutionId

data UnprocessedQueryExecutionId Source #

Describes a query execution that failed to process.

See: newUnprocessedQueryExecutionId smart constructor.

Constructors

UnprocessedQueryExecutionId' 

Fields

Instances

Instances details
FromJSON UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Generic UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Associated Types

type Rep UnprocessedQueryExecutionId :: Type -> Type #

Read UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Show UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

NFData UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Eq UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Hashable UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

type Rep UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

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

newUnprocessedQueryExecutionId :: UnprocessedQueryExecutionId Source #

Create a value of UnprocessedQueryExecutionId 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:errorCode:UnprocessedQueryExecutionId', unprocessedQueryExecutionId_errorCode - The error code returned when the query execution failed to process, if applicable.

$sel:errorMessage:UnprocessedQueryExecutionId', unprocessedQueryExecutionId_errorMessage - The error message returned when the query execution failed to process, if applicable.

$sel:queryExecutionId:UnprocessedQueryExecutionId', unprocessedQueryExecutionId_queryExecutionId - The unique identifier of the query execution.

unprocessedQueryExecutionId_errorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text) Source #

The error code returned when the query execution failed to process, if applicable.

unprocessedQueryExecutionId_errorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text) Source #

The error message returned when the query execution failed to process, if applicable.

WorkGroup

data WorkGroup Source #

A workgroup, which contains a name, description, creation time, state, and other configuration, listed under WorkGroup$Configuration. Each workgroup enables you to isolate queries for you or your group of users from other queries in the same account, to configure the query results location and the encryption configuration (known as workgroup settings), to enable sending query metrics to Amazon CloudWatch, and to establish per-query data usage control limits for all queries in a workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

See: newWorkGroup smart constructor.

Constructors

WorkGroup' 

Fields

  • configuration :: Maybe WorkGroupConfiguration

    The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

  • creationTime :: Maybe POSIX

    The date and time the workgroup was created.

  • description :: Maybe Text

    The workgroup description.

  • state :: Maybe WorkGroupState

    The state of the workgroup: ENABLED or DISABLED.

  • name :: Text

    The workgroup name.

Instances

Instances details
FromJSON WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Generic WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Associated Types

type Rep WorkGroup :: Type -> Type #

Read WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Show WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

NFData WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Methods

rnf :: WorkGroup -> () #

Eq WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Hashable WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

type Rep WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

newWorkGroup Source #

Create a value of WorkGroup 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:configuration:WorkGroup', workGroup_configuration - The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

$sel:creationTime:WorkGroup', workGroup_creationTime - The date and time the workgroup was created.

$sel:description:WorkGroup', workGroup_description - The workgroup description.

$sel:state:WorkGroup', workGroup_state - The state of the workgroup: ENABLED or DISABLED.

$sel:name:WorkGroup', workGroup_name - The workgroup name.

workGroup_configuration :: Lens' WorkGroup (Maybe WorkGroupConfiguration) Source #

The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

workGroup_creationTime :: Lens' WorkGroup (Maybe UTCTime) Source #

The date and time the workgroup was created.

workGroup_description :: Lens' WorkGroup (Maybe Text) Source #

The workgroup description.

workGroup_state :: Lens' WorkGroup (Maybe WorkGroupState) Source #

The state of the workgroup: ENABLED or DISABLED.

workGroup_name :: Lens' WorkGroup Text Source #

The workgroup name.

WorkGroupConfiguration

data WorkGroupConfiguration Source #

The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup and whether workgroup settings override query settings, and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

See: newWorkGroupConfiguration smart constructor.

Constructors

WorkGroupConfiguration' 

Fields

Instances

Instances details
FromJSON WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

ToJSON WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Generic WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Associated Types

type Rep WorkGroupConfiguration :: Type -> Type #

Read WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Show WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

NFData WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Methods

rnf :: WorkGroupConfiguration -> () #

Eq WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Hashable WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

type Rep WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

type Rep WorkGroupConfiguration = D1 ('MetaData "WorkGroupConfiguration" "Amazonka.Athena.Types.WorkGroupConfiguration" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "WorkGroupConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "additionalConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bytesScannedCutoffPerQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "customerContentEncryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomerContentEncryptionConfiguration)) :*: S1 ('MetaSel ('Just "enforceWorkGroupConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EngineVersion)) :*: S1 ('MetaSel ('Just "executionRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "publishCloudWatchMetricsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "requesterPaysEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "resultConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultConfiguration)))))))

newWorkGroupConfiguration :: WorkGroupConfiguration Source #

Create a value of WorkGroupConfiguration 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:additionalConfiguration:WorkGroupConfiguration', workGroupConfiguration_additionalConfiguration - Specifies a user defined JSON string that is passed to the notebook engine.

$sel:bytesScannedCutoffPerQuery:WorkGroupConfiguration', workGroupConfiguration_bytesScannedCutoffPerQuery - The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.

$sel:customerContentEncryptionConfiguration:WorkGroupConfiguration', workGroupConfiguration_customerContentEncryptionConfiguration - Specifies the KMS key that is used to encrypt the user's data stores in Athena.

$sel:enforceWorkGroupConfiguration:WorkGroupConfiguration', workGroupConfiguration_enforceWorkGroupConfiguration - If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.

$sel:engineVersion:WorkGroupConfiguration', workGroupConfiguration_engineVersion - The engine version that all queries running on the workgroup use. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

$sel:executionRole:WorkGroupConfiguration', workGroupConfiguration_executionRole - Role used in a notebook session for accessing the user's resources.

$sel:publishCloudWatchMetricsEnabled:WorkGroupConfiguration', workGroupConfiguration_publishCloudWatchMetricsEnabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.

$sel:requesterPaysEnabled:WorkGroupConfiguration', workGroupConfiguration_requesterPaysEnabled - If set to true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.

$sel:resultConfiguration:WorkGroupConfiguration', workGroupConfiguration_resultConfiguration - The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results.

workGroupConfiguration_additionalConfiguration :: Lens' WorkGroupConfiguration (Maybe Text) Source #

Specifies a user defined JSON string that is passed to the notebook engine.

workGroupConfiguration_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfiguration (Maybe Natural) Source #

The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.

workGroupConfiguration_enforceWorkGroupConfiguration :: Lens' WorkGroupConfiguration (Maybe Bool) Source #

If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.

workGroupConfiguration_engineVersion :: Lens' WorkGroupConfiguration (Maybe EngineVersion) Source #

The engine version that all queries running on the workgroup use. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

workGroupConfiguration_executionRole :: Lens' WorkGroupConfiguration (Maybe Text) Source #

Role used in a notebook session for accessing the user's resources.

workGroupConfiguration_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfiguration (Maybe Bool) Source #

Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.

workGroupConfiguration_requesterPaysEnabled :: Lens' WorkGroupConfiguration (Maybe Bool) Source #

If set to true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.

workGroupConfiguration_resultConfiguration :: Lens' WorkGroupConfiguration (Maybe ResultConfiguration) Source #

The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results.

WorkGroupConfigurationUpdates

data WorkGroupConfigurationUpdates Source #

The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.

See: newWorkGroupConfigurationUpdates smart constructor.

Constructors

WorkGroupConfigurationUpdates' 

Fields

Instances

Instances details
ToJSON WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Generic WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Associated Types

type Rep WorkGroupConfigurationUpdates :: Type -> Type #

Read WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Show WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

NFData WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Eq WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Hashable WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

type Rep WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

type Rep WorkGroupConfigurationUpdates = D1 ('MetaData "WorkGroupConfigurationUpdates" "Amazonka.Athena.Types.WorkGroupConfigurationUpdates" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "WorkGroupConfigurationUpdates'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "additionalConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bytesScannedCutoffPerQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "customerContentEncryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomerContentEncryptionConfiguration)) :*: (S1 ('MetaSel ('Just "enforceWorkGroupConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EngineVersion))))) :*: ((S1 ('MetaSel ('Just "executionRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "publishCloudWatchMetricsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "removeBytesScannedCutoffPerQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "removeCustomerContentEncryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "requesterPaysEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "resultConfigurationUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultConfigurationUpdates)))))))

newWorkGroupConfigurationUpdates :: WorkGroupConfigurationUpdates Source #

Create a value of WorkGroupConfigurationUpdates 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:additionalConfiguration:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_additionalConfiguration - Contains a user defined string in JSON format for a Spark-enabled workgroup.

$sel:bytesScannedCutoffPerQuery:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_bytesScannedCutoffPerQuery - The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.

$sel:customerContentEncryptionConfiguration:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_customerContentEncryptionConfiguration - Undocumented member.

$sel:enforceWorkGroupConfiguration:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_enforceWorkGroupConfiguration - If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.

$sel:engineVersion:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_engineVersion - The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

$sel:executionRole:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_executionRole - Contains the ARN of the execution role for the workgroup

$sel:publishCloudWatchMetricsEnabled:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled - Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.

$sel:removeBytesScannedCutoffPerQuery:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery - Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery

$sel:removeCustomerContentEncryptionConfiguration:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration - Removes content encryption configuration for a workgroup.

$sel:requesterPaysEnabled:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_requesterPaysEnabled - If set to true, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.

$sel:resultConfigurationUpdates:WorkGroupConfigurationUpdates', workGroupConfigurationUpdates_resultConfigurationUpdates - The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.

workGroupConfigurationUpdates_additionalConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Text) Source #

Contains a user defined string in JSON format for a Spark-enabled workgroup.

workGroupConfigurationUpdates_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Natural) Source #

The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.

workGroupConfigurationUpdates_enforceWorkGroupConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Bool) Source #

If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.

workGroupConfigurationUpdates_engineVersion :: Lens' WorkGroupConfigurationUpdates (Maybe EngineVersion) Source #

The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

workGroupConfigurationUpdates_executionRole :: Lens' WorkGroupConfigurationUpdates (Maybe Text) Source #

Contains the ARN of the execution role for the workgroup

workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool) Source #

Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.

workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Bool) Source #

Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery

workGroupConfigurationUpdates_requesterPaysEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool) Source #

If set to true, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.

workGroupConfigurationUpdates_resultConfigurationUpdates :: Lens' WorkGroupConfigurationUpdates (Maybe ResultConfigurationUpdates) Source #

The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.

WorkGroupSummary

data WorkGroupSummary Source #

The summary information for the workgroup, which includes its name, state, description, and the date and time it was created.

See: newWorkGroupSummary smart constructor.

Constructors

WorkGroupSummary' 

Fields

Instances

Instances details
FromJSON WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Generic WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Associated Types

type Rep WorkGroupSummary :: Type -> Type #

Read WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Show WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

NFData WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Methods

rnf :: WorkGroupSummary -> () #

Eq WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Hashable WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

type Rep WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

type Rep WorkGroupSummary = D1 ('MetaData "WorkGroupSummary" "Amazonka.Athena.Types.WorkGroupSummary" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "WorkGroupSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EngineVersion)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupState))))))

newWorkGroupSummary :: WorkGroupSummary Source #

Create a value of WorkGroupSummary 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:creationTime:WorkGroupSummary', workGroupSummary_creationTime - The workgroup creation date and time.

$sel:description:WorkGroupSummary', workGroupSummary_description - The workgroup description.

$sel:engineVersion:WorkGroupSummary', workGroupSummary_engineVersion - The engine version setting for all queries on the workgroup. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

$sel:name:WorkGroupSummary', workGroupSummary_name - The name of the workgroup.

$sel:state:WorkGroupSummary', workGroupSummary_state - The state of the workgroup.

workGroupSummary_creationTime :: Lens' WorkGroupSummary (Maybe UTCTime) Source #

The workgroup creation date and time.

workGroupSummary_engineVersion :: Lens' WorkGroupSummary (Maybe EngineVersion) Source #

The engine version setting for all queries on the workgroup. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.