amazonka-athena-1.6.1: Amazon Athena SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Athena.Types

Contents

Description

 
Synopsis

Service Configuration

athena :: Service Source #

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

Errors

_InvalidRequestException :: AsError a => Getting (First ServiceError) 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.

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the request was throttled.

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ColumnNullable

data ColumnNullable Source #

Constructors

NotNull 
Nullable 
Unknown 
Instances
Bounded ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Enum ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Eq ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Data ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColumnNullable -> c ColumnNullable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColumnNullable #

toConstr :: ColumnNullable -> Constr #

dataTypeOf :: ColumnNullable -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColumnNullable) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColumnNullable) #

gmapT :: (forall b. Data b => b -> b) -> ColumnNullable -> ColumnNullable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColumnNullable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColumnNullable -> r #

gmapQ :: (forall d. Data d => d -> u) -> ColumnNullable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ColumnNullable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColumnNullable -> m ColumnNullable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnNullable -> m ColumnNullable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnNullable -> m ColumnNullable #

Ord ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Read ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Show ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Generic ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Associated Types

type Rep ColumnNullable :: Type -> Type #

Hashable ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromJSON ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToHeader ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToQuery ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToByteString ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromText ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToText ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

NFData ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

rnf :: ColumnNullable -> () #

type Rep ColumnNullable Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

type Rep ColumnNullable = D1 (MetaData "ColumnNullable" "Network.AWS.Athena.Types.Sum" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "NotNull" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Nullable" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type)))

EncryptionOption

data EncryptionOption Source #

Constructors

CseKMS 
SseKMS 
SseS3 
Instances
Bounded EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Enum EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Eq EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Data EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EncryptionOption -> c EncryptionOption #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EncryptionOption #

toConstr :: EncryptionOption -> Constr #

dataTypeOf :: EncryptionOption -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EncryptionOption) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EncryptionOption) #

gmapT :: (forall b. Data b => b -> b) -> EncryptionOption -> EncryptionOption #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionOption -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionOption -> r #

gmapQ :: (forall d. Data d => d -> u) -> EncryptionOption -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EncryptionOption -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EncryptionOption -> m EncryptionOption #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionOption -> m EncryptionOption #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionOption -> m EncryptionOption #

Ord EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Read EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Show EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Generic EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Associated Types

type Rep EncryptionOption :: Type -> Type #

Hashable EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToJSON EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromJSON EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToHeader EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToQuery EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToByteString EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromText EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToText EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

NFData EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

rnf :: EncryptionOption -> () #

type Rep EncryptionOption Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

type Rep EncryptionOption = D1 (MetaData "EncryptionOption" "Network.AWS.Athena.Types.Sum" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "CseKMS" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SseKMS" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SseS3" PrefixI False) (U1 :: Type -> Type)))

QueryExecutionState

data QueryExecutionState Source #

Instances
Bounded QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Enum QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Eq QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Data QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionState -> c QueryExecutionState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionState #

toConstr :: QueryExecutionState -> Constr #

dataTypeOf :: QueryExecutionState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionState) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionState -> QueryExecutionState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionState -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionState -> m QueryExecutionState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionState -> m QueryExecutionState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionState -> m QueryExecutionState #

Ord QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Read QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Show QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Generic QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Associated Types

type Rep QueryExecutionState :: Type -> Type #

Hashable QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromJSON QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToHeader QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToQuery QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToByteString QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromText QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToText QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

NFData QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

rnf :: QueryExecutionState -> () #

type Rep QueryExecutionState Source # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

type Rep QueryExecutionState = D1 (MetaData "QueryExecutionState" "Network.AWS.Athena.Types.Sum" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) ((C1 (MetaCons "Cancelled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Queued" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Running" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Succeeded" PrefixI False) (U1 :: Type -> Type))))

ColumnInfo

data ColumnInfo Source #

Information about the columns in a query execution result.

See: columnInfo smart constructor.

Instances
Eq ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColumnInfo -> c ColumnInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColumnInfo #

toConstr :: ColumnInfo -> Constr #

dataTypeOf :: ColumnInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColumnInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColumnInfo) #

gmapT :: (forall b. Data b => b -> b) -> ColumnInfo -> ColumnInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColumnInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColumnInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> ColumnInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ColumnInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColumnInfo -> m ColumnInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnInfo -> m ColumnInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnInfo -> m ColumnInfo #

Read ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ColumnInfo :: Type -> Type #

Hashable ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ColumnInfo -> () #

type Rep ColumnInfo Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

columnInfo Source #

Arguments

:: Text

ciName

-> Text

ciType

-> ColumnInfo 

Creates a value of ColumnInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ciScale - For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.
  • ciPrecision - For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.
  • ciSchemaName - The schema name (database name) to which the query results belong.
  • ciCatalogName - The catalog to which the query results belong.
  • ciCaseSensitive - Indicates whether values in the column are case-sensitive.
  • ciLabel - A column label.
  • ciTableName - The table name for the query results.
  • ciNullable - Indicates the column's nullable status.
  • ciName - The name of the column.
  • ciType - The data type of the column.

ciScale :: 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.

ciPrecision :: 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.

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

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

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

The catalog to which the query results belong.

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

Indicates whether values in the column are case-sensitive.

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

A column label.

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

The table name for the query results.

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

Indicates the column's nullable status.

ciName :: Lens' ColumnInfo Text Source #

The name of the column.

ciType :: Lens' ColumnInfo Text Source #

The data type of the column.

Datum

data Datum Source #

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

See: datum smart constructor.

Instances
Eq Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

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

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

Data Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Datum -> c Datum #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Datum #

toConstr :: Datum -> Constr #

dataTypeOf :: Datum -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Datum) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Datum) #

gmapT :: (forall b. Data b => b -> b) -> Datum -> Datum #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Datum -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Datum -> r #

gmapQ :: (forall d. Data d => d -> u) -> Datum -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Datum -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Datum -> m Datum #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Datum -> m Datum #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Datum -> m Datum #

Read Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

Generic Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep Datum :: Type -> Type #

Methods

from :: Datum -> Rep Datum x #

to :: Rep Datum x -> Datum #

Hashable Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

hashWithSalt :: Int -> Datum -> Int #

hash :: Datum -> Int #

FromJSON Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: Datum -> () #

type Rep Datum Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep Datum = D1 (MetaData "Datum" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" True) (C1 (MetaCons "Datum'" PrefixI True) (S1 (MetaSel (Just "_dVarCharValue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

datum :: Datum Source #

Creates a value of Datum with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

The value of the datum.

EncryptionConfiguration

data EncryptionConfiguration Source #

If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption option used.

See: encryptionConfiguration smart constructor.

Instances
Eq EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EncryptionConfiguration -> c EncryptionConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EncryptionConfiguration #

toConstr :: EncryptionConfiguration -> Constr #

dataTypeOf :: EncryptionConfiguration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EncryptionConfiguration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EncryptionConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> EncryptionConfiguration -> EncryptionConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> EncryptionConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EncryptionConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EncryptionConfiguration -> m EncryptionConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionConfiguration -> m EncryptionConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionConfiguration -> m EncryptionConfiguration #

Read EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: EncryptionConfiguration -> () #

type Rep EncryptionConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep EncryptionConfiguration = D1 (MetaData "EncryptionConfiguration" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "EncryptionConfiguration'" PrefixI True) (S1 (MetaSel (Just "_ecKMSKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ecEncryptionOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EncryptionOption)))

encryptionConfiguration Source #

Creates a value of EncryptionConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ecKMSKey - For SSE-KMS and CSE-KMS , this is the KMS key ARN or ID.
  • ecEncryptionOption - 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.

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

For SSE-KMS and CSE-KMS , this is the KMS key ARN or ID.

ecEncryptionOption :: 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.

NamedQuery

data NamedQuery Source #

A query, where QueryString is the SQL query statements that comprise the query.

See: namedQuery smart constructor.

Instances
Eq NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NamedQuery -> c NamedQuery #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NamedQuery #

toConstr :: NamedQuery -> Constr #

dataTypeOf :: NamedQuery -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NamedQuery) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NamedQuery) #

gmapT :: (forall b. Data b => b -> b) -> NamedQuery -> NamedQuery #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NamedQuery -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NamedQuery -> r #

gmapQ :: (forall d. Data d => d -> u) -> NamedQuery -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NamedQuery -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NamedQuery -> m NamedQuery #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NamedQuery -> m NamedQuery #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NamedQuery -> m NamedQuery #

Read NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep NamedQuery :: Type -> Type #

Hashable NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: NamedQuery -> () #

type Rep NamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep NamedQuery = D1 (MetaData "NamedQuery" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "NamedQuery'" PrefixI True) ((S1 (MetaSel (Just "_nqNamedQueryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nqDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_nqName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_nqDatabase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_nqQueryString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

namedQuery Source #

Creates a value of NamedQuery with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

The unique identifier of the query.

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

A brief description of the query.

nqName :: Lens' NamedQuery Text Source #

The plain-language name of the query.

nqDatabase :: Lens' NamedQuery Text Source #

The database to which the query belongs.

nqQueryString :: Lens' NamedQuery Text Source #

The SQL query statements that comprise the query.

QueryExecution

data QueryExecution Source #

Information about a single instance of a query execution.

See: queryExecution smart constructor.

Instances
Eq QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecution -> c QueryExecution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecution #

toConstr :: QueryExecution -> Constr #

dataTypeOf :: QueryExecution -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecution) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecution) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecution -> QueryExecution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecution -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecution -> m QueryExecution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecution -> m QueryExecution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecution -> m QueryExecution #

Read QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecution :: Type -> Type #

Hashable QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: QueryExecution -> () #

type Rep QueryExecution Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

queryExecution :: QueryExecution Source #

Creates a value of QueryExecution with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qeStatus - The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
  • qeQueryExecutionContext - The database in which the query execution occurred.
  • qeResultConfiguration - The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
  • qeQuery - The SQL query statements which the query execution ran.
  • qeStatistics - The amount of data scanned during the query execution and the amount of time that it took to execute.
  • qeQueryExecutionId - The unique identifier for each query execution.

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

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

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

The database in which the query execution occurred.

qeResultConfiguration :: 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.

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

The SQL query statements which the query execution ran.

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

The amount of data scanned during the query execution and the amount of time that it took to execute.

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

The unique identifier for each query execution.

QueryExecutionContext

data QueryExecutionContext Source #

The database in which the query execution occurs.

See: queryExecutionContext smart constructor.

Instances
Eq QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionContext -> c QueryExecutionContext #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionContext #

toConstr :: QueryExecutionContext -> Constr #

dataTypeOf :: QueryExecutionContext -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionContext) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionContext) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionContext -> QueryExecutionContext #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionContext -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionContext -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionContext -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionContext -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionContext -> m QueryExecutionContext #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionContext -> m QueryExecutionContext #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionContext -> m QueryExecutionContext #

Read QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecutionContext :: Type -> Type #

Hashable QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

ToJSON QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: QueryExecutionContext -> () #

type Rep QueryExecutionContext Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep QueryExecutionContext = D1 (MetaData "QueryExecutionContext" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" True) (C1 (MetaCons "QueryExecutionContext'" PrefixI True) (S1 (MetaSel (Just "_qecDatabase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

queryExecutionContext :: QueryExecutionContext Source #

Creates a value of QueryExecutionContext with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

The name of the database.

QueryExecutionStatistics

data QueryExecutionStatistics Source #

The amount of data scanned during the query execution and the amount of time that it took to execute.

See: queryExecutionStatistics smart constructor.

Instances
Eq QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionStatistics -> c QueryExecutionStatistics #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionStatistics #

toConstr :: QueryExecutionStatistics -> Constr #

dataTypeOf :: QueryExecutionStatistics -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionStatistics) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionStatistics) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionStatistics -> QueryExecutionStatistics #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatistics -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatistics -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionStatistics -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionStatistics -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionStatistics -> m QueryExecutionStatistics #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatistics -> m QueryExecutionStatistics #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatistics -> m QueryExecutionStatistics #

Read QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecutionStatistics :: Type -> Type #

Hashable QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep QueryExecutionStatistics Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep QueryExecutionStatistics = D1 (MetaData "QueryExecutionStatistics" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "QueryExecutionStatistics'" PrefixI True) (S1 (MetaSel (Just "_qesEngineExecutionTimeInMillis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_qesDataScannedInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))

queryExecutionStatistics :: QueryExecutionStatistics Source #

Creates a value of QueryExecutionStatistics with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

The number of milliseconds that the query took to execute.

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

The number of bytes in the data that was queried.

QueryExecutionStatus

data QueryExecutionStatus Source #

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

See: queryExecutionStatus smart constructor.

Instances
Eq QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionStatus -> c QueryExecutionStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionStatus #

toConstr :: QueryExecutionStatus -> Constr #

dataTypeOf :: QueryExecutionStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionStatus) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionStatus -> QueryExecutionStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionStatus -> m QueryExecutionStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatus -> m QueryExecutionStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatus -> m QueryExecutionStatus #

Read QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecutionStatus :: Type -> Type #

Hashable QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: QueryExecutionStatus -> () #

type Rep QueryExecutionStatus Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep QueryExecutionStatus = D1 (MetaData "QueryExecutionStatus" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "QueryExecutionStatus'" PrefixI True) ((S1 (MetaSel (Just "_qesState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QueryExecutionState)) :*: S1 (MetaSel (Just "_qesStateChangeReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_qesSubmissionDateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_qesCompletionDateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))

queryExecutionStatus :: QueryExecutionStatus Source #

Creates a value of QueryExecutionStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qesState - The state of query execution. SUBMITTED indicates that the query is queued for execution. RUNNING indicates that the query is scanning data and returning results. SUCCEEDED indicates that the query completed without error. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that user input interrupted query execution.
  • qesStateChangeReason - Further detail about the status of the query.
  • qesSubmissionDateTime - The date and time that the query was submitted.
  • qesCompletionDateTime - The date and time that the query completed.

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

The state of query execution. SUBMITTED indicates that the query is queued for execution. RUNNING indicates that the query is scanning data and returning results. SUCCEEDED indicates that the query completed without error. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that user input interrupted query execution.

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

Further detail about the status of the query.

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

The date and time that the query was submitted.

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

The date and time that the query completed.

ResultConfiguration

data ResultConfiguration Source #

The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results.

See: resultConfiguration smart constructor.

Instances
Eq ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResultConfiguration -> c ResultConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResultConfiguration #

toConstr :: ResultConfiguration -> Constr #

dataTypeOf :: ResultConfiguration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ResultConfiguration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResultConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> ResultConfiguration -> ResultConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResultConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResultConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResultConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResultConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResultConfiguration -> m ResultConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultConfiguration -> m ResultConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultConfiguration -> m ResultConfiguration #

Read ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ResultConfiguration :: Type -> Type #

Hashable ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

ToJSON ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ResultConfiguration -> () #

type Rep ResultConfiguration Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep ResultConfiguration = D1 (MetaData "ResultConfiguration" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "ResultConfiguration'" PrefixI True) (S1 (MetaSel (Just "_rcEncryptionConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 (MetaSel (Just "_rcOutputLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

resultConfiguration Source #

Creates a value of ResultConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rcEncryptionConfiguration - If query results are encrypted in S3, indicates the S3 encryption option used (for example, SSE-KMS or CSE-KMS and key information.
  • rcOutputLocation - The location in S3 where query results are stored.

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

If query results are encrypted in S3, indicates the S3 encryption option used (for example, SSE-KMS or CSE-KMS and key information.

rcOutputLocation :: Lens' ResultConfiguration Text Source #

The location in S3 where query results are stored.

ResultSet

data ResultSet Source #

The metadata and rows that comprise a query result set. The metadata describes the column structure and data types.

See: resultSet smart constructor.

Instances
Eq ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResultSet -> c ResultSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResultSet #

toConstr :: ResultSet -> Constr #

dataTypeOf :: ResultSet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ResultSet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResultSet) #

gmapT :: (forall b. Data b => b -> b) -> ResultSet -> ResultSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResultSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResultSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResultSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResultSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResultSet -> m ResultSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSet -> m ResultSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSet -> m ResultSet #

Read ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ResultSet :: Type -> Type #

Hashable ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ResultSet -> () #

type Rep ResultSet Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep ResultSet = D1 (MetaData "ResultSet" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "ResultSet'" PrefixI True) (S1 (MetaSel (Just "_rsRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Row])) :*: S1 (MetaSel (Just "_rsResultSetMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResultSetMetadata))))

resultSet :: ResultSet Source #

Creates a value of ResultSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rsRows - The rows in the table.
  • rsResultSetMetadata - The metadata that describes the column structure and data types of a table of query results.

rsRows :: Lens' ResultSet [Row] Source #

The rows in the table.

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

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

ResultSetMetadata

data ResultSetMetadata Source #

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

See: resultSetMetadata smart constructor.

Instances
Eq ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResultSetMetadata -> c ResultSetMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResultSetMetadata #

toConstr :: ResultSetMetadata -> Constr #

dataTypeOf :: ResultSetMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ResultSetMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResultSetMetadata) #

gmapT :: (forall b. Data b => b -> b) -> ResultSetMetadata -> ResultSetMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResultSetMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResultSetMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResultSetMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResultSetMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResultSetMetadata -> m ResultSetMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSetMetadata -> m ResultSetMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSetMetadata -> m ResultSetMetadata #

Read ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ResultSetMetadata :: Type -> Type #

Hashable ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ResultSetMetadata -> () #

type Rep ResultSetMetadata Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep ResultSetMetadata = D1 (MetaData "ResultSetMetadata" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" True) (C1 (MetaCons "ResultSetMetadata'" PrefixI True) (S1 (MetaSel (Just "_rsmColumnInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ColumnInfo]))))

resultSetMetadata :: ResultSetMetadata Source #

Creates a value of ResultSetMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rsmColumnInfo - Information about the columns in a query execution result.

rsmColumnInfo :: Lens' ResultSetMetadata [ColumnInfo] Source #

Information about the columns in a query execution result.

Row

data Row Source #

The rows that comprise a query result table.

See: row smart constructor.

Instances
Eq Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

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

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

Data Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Row -> c Row #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Row #

toConstr :: Row -> Constr #

dataTypeOf :: Row -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Row) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Row) #

gmapT :: (forall b. Data b => b -> b) -> Row -> Row #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r #

gmapQ :: (forall d. Data d => d -> u) -> Row -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Row -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Row -> m Row #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row #

Read Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

showsPrec :: Int -> Row -> ShowS #

show :: Row -> String #

showList :: [Row] -> ShowS #

Generic Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep Row :: Type -> Type #

Methods

from :: Row -> Rep Row x #

to :: Rep Row x -> Row #

Hashable Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

hashWithSalt :: Int -> Row -> Int #

hash :: Row -> Int #

FromJSON Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: Row -> () #

type Rep Row Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep Row = D1 (MetaData "Row" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" True) (C1 (MetaCons "Row'" PrefixI True) (S1 (MetaSel (Just "_rowData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Datum]))))

row :: Row Source #

Creates a value of Row with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rowData - The data that populates a row in a query result table.

rowData :: Lens' Row [Datum] Source #

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

UnprocessedNamedQueryId

data UnprocessedNamedQueryId Source #

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

See: unprocessedNamedQueryId smart constructor.

Instances
Eq UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnprocessedNamedQueryId -> c UnprocessedNamedQueryId #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnprocessedNamedQueryId #

toConstr :: UnprocessedNamedQueryId -> Constr #

dataTypeOf :: UnprocessedNamedQueryId -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UnprocessedNamedQueryId) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnprocessedNamedQueryId) #

gmapT :: (forall b. Data b => b -> b) -> UnprocessedNamedQueryId -> UnprocessedNamedQueryId #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedNamedQueryId -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedNamedQueryId -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnprocessedNamedQueryId -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnprocessedNamedQueryId -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnprocessedNamedQueryId -> m UnprocessedNamedQueryId #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedNamedQueryId -> m UnprocessedNamedQueryId #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedNamedQueryId -> m UnprocessedNamedQueryId #

Read UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep UnprocessedNamedQueryId :: Type -> Type #

Hashable UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: UnprocessedNamedQueryId -> () #

type Rep UnprocessedNamedQueryId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep UnprocessedNamedQueryId = D1 (MetaData "UnprocessedNamedQueryId" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "UnprocessedNamedQueryId'" PrefixI True) (S1 (MetaSel (Just "_unqiNamedQueryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_unqiErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_unqiErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

unprocessedNamedQueryId :: UnprocessedNamedQueryId Source #

Creates a value of UnprocessedNamedQueryId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • unqiNamedQueryId - The unique identifier of the named query.
  • unqiErrorCode - The error code returned when the processing request for the named query failed, if applicable.
  • unqiErrorMessage - The error message returned when the processing request for the named query failed, if applicable.

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

The unique identifier of the named query.

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

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

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

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

UnprocessedQueryExecutionId

data UnprocessedQueryExecutionId Source #

Describes a query execution that failed to process.

See: unprocessedQueryExecutionId smart constructor.

Instances
Eq UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnprocessedQueryExecutionId -> c UnprocessedQueryExecutionId #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnprocessedQueryExecutionId #

toConstr :: UnprocessedQueryExecutionId -> Constr #

dataTypeOf :: UnprocessedQueryExecutionId -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UnprocessedQueryExecutionId) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnprocessedQueryExecutionId) #

gmapT :: (forall b. Data b => b -> b) -> UnprocessedQueryExecutionId -> UnprocessedQueryExecutionId #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedQueryExecutionId -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedQueryExecutionId -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnprocessedQueryExecutionId -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnprocessedQueryExecutionId -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnprocessedQueryExecutionId -> m UnprocessedQueryExecutionId #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedQueryExecutionId -> m UnprocessedQueryExecutionId #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedQueryExecutionId -> m UnprocessedQueryExecutionId #

Read UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep UnprocessedQueryExecutionId :: Type -> Type #

Hashable UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep UnprocessedQueryExecutionId Source # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep UnprocessedQueryExecutionId = D1 (MetaData "UnprocessedQueryExecutionId" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "UnprocessedQueryExecutionId'" PrefixI True) (S1 (MetaSel (Just "_uqeiErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uqeiQueryExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uqeiErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

unprocessedQueryExecutionId :: UnprocessedQueryExecutionId Source #

Creates a value of UnprocessedQueryExecutionId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uqeiErrorCode - The error code returned when the query execution failed to process, if applicable.
  • uqeiQueryExecutionId - The unique identifier of the query execution.
  • uqeiErrorMessage - The error message returned when the query execution failed to process, if applicable.

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

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

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

The unique identifier of the query execution.

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

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