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

Contents

Description

Amazon Athena is an interactive query service that lets you use standard SQL to analyze data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay only for the queries you run. Athena scales automatically—executing queries in parallel—so results are fast, even with large datasets and complex queries. For more information, see What is Amazon Athena in the Amazon Athena User Guide .

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide .

Synopsis

Service Configuration

athena :: Service #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Athena.

InvalidRequestException

_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError #

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

TooManyRequestsException

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

Indicates that the request was throttled.

InternalServerException

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

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetNamedQuery

CreateNamedQuery

ListNamedQueries (Paginated)

DeleteNamedQuery

StartQueryExecution

BatchGetNamedQuery

GetQueryExecution

BatchGetQueryExecution

StopQueryExecution

GetQueryResults (Paginated)

ListQueryExecutions (Paginated)

Types

ColumnNullable

data ColumnNullable #

Constructors

NotNull 
Nullable 
Unknown 
Instances
Bounded ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Enum ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Eq ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Data ColumnNullable # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Read ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Show ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Generic ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Associated Types

type Rep ColumnNullable :: Type -> Type #

Hashable ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromJSON ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToHeader ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToQuery ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToByteString ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromText ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToText ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

NFData ColumnNullable # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

rnf :: ColumnNullable -> () #

type Rep ColumnNullable # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

Constructors

CseKMS 
SseKMS 
SseS3 
Instances
Bounded EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Enum EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Eq EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Data EncryptionOption # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Read EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Show EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Generic EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Associated Types

type Rep EncryptionOption :: Type -> Type #

Hashable EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToJSON EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromJSON EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToHeader EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToQuery EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToByteString EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromText EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToText EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

NFData EncryptionOption # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

rnf :: EncryptionOption -> () #

type Rep EncryptionOption # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

Instances
Bounded QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Enum QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Eq QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Data QueryExecutionState # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Read QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Show QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Generic QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Associated Types

type Rep QueryExecutionState :: Type -> Type #

Hashable QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromJSON QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToHeader QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToQuery QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToByteString QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

FromText QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

ToText QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

NFData QueryExecutionState # 
Instance details

Defined in Network.AWS.Athena.Types.Sum

Methods

rnf :: QueryExecutionState -> () #

type Rep QueryExecutionState # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

Information about the columns in a query execution result.

See: columnInfo smart constructor.

Instances
Eq ColumnInfo # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ColumnInfo # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ColumnInfo # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ColumnInfo # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ColumnInfo :: Type -> Type #

Hashable ColumnInfo # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ColumnInfo # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ColumnInfo # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ColumnInfo -> () #

type Rep ColumnInfo # 
Instance details

Defined in Network.AWS.Athena.Types.Product

columnInfo #

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) #

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) #

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) #

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

ciCatalogName :: Lens' ColumnInfo (Maybe Text) #

The catalog to which the query results belong.

ciCaseSensitive :: Lens' ColumnInfo (Maybe Bool) #

Indicates whether values in the column are case-sensitive.

ciLabel :: Lens' ColumnInfo (Maybe Text) #

A column label.

ciTableName :: Lens' ColumnInfo (Maybe Text) #

The table name for the query results.

ciNullable :: Lens' ColumnInfo (Maybe ColumnNullable) #

Indicates the column's nullable status.

ciName :: Lens' ColumnInfo Text #

The name of the column.

ciType :: Lens' ColumnInfo Text #

The data type of the column.

Datum

data Datum #

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

See: datum smart constructor.

Instances
Eq Datum # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

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

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

Data Datum # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show Datum # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

Generic Datum # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

hashWithSalt :: Int -> Datum -> Int #

hash :: Datum -> Int #

FromJSON Datum # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData Datum # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: Datum -> () #

type Rep Datum # 
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-KxJ2Mqn7no88aYnHk7eyRF" True) (C1 (MetaCons "Datum'" PrefixI True) (S1 (MetaSel (Just "_dVarCharValue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

datum :: Datum #

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) #

The value of the datum.

EncryptionConfiguration

data EncryptionConfiguration #

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

See: encryptionConfiguration smart constructor.

Instances
Eq EncryptionConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data EncryptionConfiguration # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show EncryptionConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic EncryptionConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

Hashable EncryptionConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

ToJSON EncryptionConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON EncryptionConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData EncryptionConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: EncryptionConfiguration -> () #

type Rep EncryptionConfiguration # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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) #

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

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

NamedQuery

data NamedQuery #

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

See: namedQuery smart constructor.

Instances
Eq NamedQuery # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data NamedQuery # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show NamedQuery # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic NamedQuery # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep NamedQuery :: Type -> Type #

Hashable NamedQuery # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON NamedQuery # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData NamedQuery # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: NamedQuery -> () #

type Rep NamedQuery # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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) #

The unique identifier of the query.

nqDescription :: Lens' NamedQuery (Maybe Text) #

A brief description of the query.

nqName :: Lens' NamedQuery Text #

The plain-language name of the query.

nqDatabase :: Lens' NamedQuery Text #

The database to which the query belongs.

nqQueryString :: Lens' NamedQuery Text #

The SQL query statements that comprise the query.

QueryExecution

data QueryExecution #

Information about a single instance of a query execution.

See: queryExecution smart constructor.

Instances
Eq QueryExecution # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecution # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecution # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecution # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecution :: Type -> Type #

Hashable QueryExecution # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecution # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecution # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: QueryExecution -> () #

type Rep QueryExecution # 
Instance details

Defined in Network.AWS.Athena.Types.Product

queryExecution :: QueryExecution #

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) #

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

qeQueryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext) #

The database in which the query execution occurred.

qeResultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration) #

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) #

The SQL query statements which the query execution ran.

qeStatistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics) #

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

qeQueryExecutionId :: Lens' QueryExecution (Maybe Text) #

The unique identifier for each query execution.

QueryExecutionContext

data QueryExecutionContext #

The database in which the query execution occurs.

See: queryExecutionContext smart constructor.

Instances
Eq QueryExecutionContext # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecutionContext # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecutionContext # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecutionContext # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecutionContext :: Type -> Type #

Hashable QueryExecutionContext # 
Instance details

Defined in Network.AWS.Athena.Types.Product

ToJSON QueryExecutionContext # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecutionContext # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecutionContext # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: QueryExecutionContext -> () #

type Rep QueryExecutionContext # 
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-KxJ2Mqn7no88aYnHk7eyRF" True) (C1 (MetaCons "QueryExecutionContext'" PrefixI True) (S1 (MetaSel (Just "_qecDatabase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

queryExecutionContext :: QueryExecutionContext #

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) #

The name of the database.

QueryExecutionStatistics

data QueryExecutionStatistics #

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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecutionStatistics # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecutionStatistics # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecutionStatistics # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecutionStatistics :: Type -> Type #

Hashable QueryExecutionStatistics # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecutionStatistics # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecutionStatistics # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep QueryExecutionStatistics # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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) #

The number of milliseconds that the query took to execute.

qesDataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer) #

The number of bytes in the data that was queried.

QueryExecutionStatus

data QueryExecutionStatus #

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

See: queryExecutionStatus smart constructor.

Instances
Eq QueryExecutionStatus # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data QueryExecutionStatus # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show QueryExecutionStatus # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic QueryExecutionStatus # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep QueryExecutionStatus :: Type -> Type #

Hashable QueryExecutionStatus # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON QueryExecutionStatus # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData QueryExecutionStatus # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: QueryExecutionStatus -> () #

type Rep QueryExecutionStatus # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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) #

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) #

Further detail about the status of the query.

qesSubmissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime) #

The date and time that the query was submitted.

qesCompletionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime) #

The date and time that the query completed.

ResultConfiguration

data ResultConfiguration #

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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ResultConfiguration # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ResultConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ResultConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ResultConfiguration :: Type -> Type #

Hashable ResultConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

ToJSON ResultConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ResultConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ResultConfiguration # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ResultConfiguration -> () #

type Rep ResultConfiguration # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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) #

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 #

The location in S3 where query results are stored.

ResultSet

data ResultSet #

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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ResultSet # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ResultSet # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ResultSet # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ResultSet :: Type -> Type #

Hashable ResultSet # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ResultSet # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ResultSet # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ResultSet -> () #

type Rep ResultSet # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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] #

The rows in the table.

rsResultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata) #

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

ResultSetMetadata

data ResultSetMetadata #

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

See: resultSetMetadata smart constructor.

Instances
Eq ResultSetMetadata # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data ResultSetMetadata # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show ResultSetMetadata # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic ResultSetMetadata # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep ResultSetMetadata :: Type -> Type #

Hashable ResultSetMetadata # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON ResultSetMetadata # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData ResultSetMetadata # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: ResultSetMetadata -> () #

type Rep ResultSetMetadata # 
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-KxJ2Mqn7no88aYnHk7eyRF" True) (C1 (MetaCons "ResultSetMetadata'" PrefixI True) (S1 (MetaSel (Just "_rsmColumnInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ColumnInfo]))))

resultSetMetadata :: ResultSetMetadata #

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] #

Information about the columns in a query execution result.

Row

data Row #

The rows that comprise a query result table.

See: row smart constructor.

Instances
Eq Row # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

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

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

Data Row # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show Row # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

showsPrec :: Int -> Row -> ShowS #

show :: Row -> String #

showList :: [Row] -> ShowS #

Generic Row # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

hashWithSalt :: Int -> Row -> Int #

hash :: Row -> Int #

FromJSON Row # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData Row # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: Row -> () #

type Rep Row # 
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-KxJ2Mqn7no88aYnHk7eyRF" True) (C1 (MetaCons "Row'" PrefixI True) (S1 (MetaSel (Just "_rowData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Datum]))))

row :: Row #

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] #

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

UnprocessedNamedQueryId

data UnprocessedNamedQueryId #

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

See: unprocessedNamedQueryId smart constructor.

Instances
Eq UnprocessedNamedQueryId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data UnprocessedNamedQueryId # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show UnprocessedNamedQueryId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic UnprocessedNamedQueryId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep UnprocessedNamedQueryId :: Type -> Type #

Hashable UnprocessedNamedQueryId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON UnprocessedNamedQueryId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData UnprocessedNamedQueryId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Methods

rnf :: UnprocessedNamedQueryId -> () #

type Rep UnprocessedNamedQueryId # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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) #

The unique identifier of the named query.

unqiErrorCode :: Lens' UnprocessedNamedQueryId (Maybe Text) #

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

unqiErrorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text) #

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

UnprocessedQueryExecutionId

data UnprocessedQueryExecutionId #

Describes a query execution that failed to process.

See: unprocessedQueryExecutionId smart constructor.

Instances
Eq UnprocessedQueryExecutionId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Data UnprocessedQueryExecutionId # 
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 # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Show UnprocessedQueryExecutionId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Generic UnprocessedQueryExecutionId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

Associated Types

type Rep UnprocessedQueryExecutionId :: Type -> Type #

Hashable UnprocessedQueryExecutionId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

FromJSON UnprocessedQueryExecutionId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

NFData UnprocessedQueryExecutionId # 
Instance details

Defined in Network.AWS.Athena.Types.Product

type Rep UnprocessedQueryExecutionId # 
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-KxJ2Mqn7no88aYnHk7eyRF" 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 #

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) #

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

uqeiQueryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text) #

The unique identifier of the query execution.

uqeiErrorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text) #

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