amazonka-athena 1.6.1 → 2.0
raw patch · 255 files changed
+26172/−3414 lines, 255 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.Athena: Cancelled :: QueryExecutionState
- Network.AWS.Athena: CseKMS :: EncryptionOption
- Network.AWS.Athena: Failed :: QueryExecutionState
- Network.AWS.Athena: NotNull :: ColumnNullable
- Network.AWS.Athena: Nullable :: ColumnNullable
- Network.AWS.Athena: Queued :: QueryExecutionState
- Network.AWS.Athena: Running :: QueryExecutionState
- Network.AWS.Athena: SseKMS :: EncryptionOption
- Network.AWS.Athena: SseS3 :: EncryptionOption
- Network.AWS.Athena: Succeeded :: QueryExecutionState
- Network.AWS.Athena: Unknown :: ColumnNullable
- Network.AWS.Athena: _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Athena: _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Athena: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Athena: athena :: Service
- Network.AWS.Athena: ciCaseSensitive :: Lens' ColumnInfo (Maybe Bool)
- Network.AWS.Athena: ciCatalogName :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena: ciLabel :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena: ciName :: Lens' ColumnInfo Text
- Network.AWS.Athena: ciNullable :: Lens' ColumnInfo (Maybe ColumnNullable)
- Network.AWS.Athena: ciPrecision :: Lens' ColumnInfo (Maybe Int)
- Network.AWS.Athena: ciScale :: Lens' ColumnInfo (Maybe Int)
- Network.AWS.Athena: ciSchemaName :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena: ciTableName :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena: ciType :: Lens' ColumnInfo Text
- Network.AWS.Athena: columnInfo :: Text -> Text -> ColumnInfo
- Network.AWS.Athena: dVarCharValue :: Lens' Datum (Maybe Text)
- Network.AWS.Athena: data ColumnInfo
- Network.AWS.Athena: data ColumnNullable
- Network.AWS.Athena: data Datum
- Network.AWS.Athena: data EncryptionConfiguration
- Network.AWS.Athena: data EncryptionOption
- Network.AWS.Athena: data NamedQuery
- Network.AWS.Athena: data QueryExecution
- Network.AWS.Athena: data QueryExecutionContext
- Network.AWS.Athena: data QueryExecutionState
- Network.AWS.Athena: data QueryExecutionStatistics
- Network.AWS.Athena: data QueryExecutionStatus
- Network.AWS.Athena: data ResultConfiguration
- Network.AWS.Athena: data ResultSet
- Network.AWS.Athena: data ResultSetMetadata
- Network.AWS.Athena: data Row
- Network.AWS.Athena: data UnprocessedNamedQueryId
- Network.AWS.Athena: data UnprocessedQueryExecutionId
- Network.AWS.Athena: datum :: Datum
- Network.AWS.Athena: ecEncryptionOption :: Lens' EncryptionConfiguration EncryptionOption
- Network.AWS.Athena: ecKMSKey :: Lens' EncryptionConfiguration (Maybe Text)
- Network.AWS.Athena: encryptionConfiguration :: EncryptionOption -> EncryptionConfiguration
- Network.AWS.Athena: namedQuery :: Text -> Text -> Text -> NamedQuery
- Network.AWS.Athena: nqDatabase :: Lens' NamedQuery Text
- Network.AWS.Athena: nqDescription :: Lens' NamedQuery (Maybe Text)
- Network.AWS.Athena: nqName :: Lens' NamedQuery Text
- Network.AWS.Athena: nqNamedQueryId :: Lens' NamedQuery (Maybe Text)
- Network.AWS.Athena: nqQueryString :: Lens' NamedQuery Text
- Network.AWS.Athena: qeQuery :: Lens' QueryExecution (Maybe Text)
- Network.AWS.Athena: qeQueryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext)
- Network.AWS.Athena: qeQueryExecutionId :: Lens' QueryExecution (Maybe Text)
- Network.AWS.Athena: qeResultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration)
- Network.AWS.Athena: qeStatistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics)
- Network.AWS.Athena: qeStatus :: Lens' QueryExecution (Maybe QueryExecutionStatus)
- Network.AWS.Athena: qecDatabase :: Lens' QueryExecutionContext (Maybe Text)
- Network.AWS.Athena: qesCompletionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
- Network.AWS.Athena: qesDataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer)
- Network.AWS.Athena: qesEngineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
- Network.AWS.Athena: qesState :: Lens' QueryExecutionStatus (Maybe QueryExecutionState)
- Network.AWS.Athena: qesStateChangeReason :: Lens' QueryExecutionStatus (Maybe Text)
- Network.AWS.Athena: qesSubmissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
- Network.AWS.Athena: queryExecution :: QueryExecution
- Network.AWS.Athena: queryExecutionContext :: QueryExecutionContext
- Network.AWS.Athena: queryExecutionStatistics :: QueryExecutionStatistics
- Network.AWS.Athena: queryExecutionStatus :: QueryExecutionStatus
- Network.AWS.Athena: rcEncryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration)
- Network.AWS.Athena: rcOutputLocation :: Lens' ResultConfiguration Text
- Network.AWS.Athena: resultConfiguration :: Text -> ResultConfiguration
- Network.AWS.Athena: resultSet :: ResultSet
- Network.AWS.Athena: resultSetMetadata :: ResultSetMetadata
- Network.AWS.Athena: row :: Row
- Network.AWS.Athena: rowData :: Lens' Row [Datum]
- Network.AWS.Athena: rsResultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata)
- Network.AWS.Athena: rsRows :: Lens' ResultSet [Row]
- Network.AWS.Athena: rsmColumnInfo :: Lens' ResultSetMetadata [ColumnInfo]
- Network.AWS.Athena: unprocessedNamedQueryId :: UnprocessedNamedQueryId
- Network.AWS.Athena: unprocessedQueryExecutionId :: UnprocessedQueryExecutionId
- Network.AWS.Athena: unqiErrorCode :: Lens' UnprocessedNamedQueryId (Maybe Text)
- Network.AWS.Athena: unqiErrorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text)
- Network.AWS.Athena: unqiNamedQueryId :: Lens' UnprocessedNamedQueryId (Maybe Text)
- Network.AWS.Athena: uqeiErrorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text)
- Network.AWS.Athena: uqeiErrorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text)
- Network.AWS.Athena: uqeiQueryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text)
- Network.AWS.Athena.BatchGetNamedQuery: batchGetNamedQuery :: NonEmpty Text -> BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: batchGetNamedQueryResponse :: Int -> BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: bgnqNamedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text)
- Network.AWS.Athena.BatchGetNamedQuery: bgnqrsNamedQueries :: Lens' BatchGetNamedQueryResponse [NamedQuery]
- Network.AWS.Athena.BatchGetNamedQuery: bgnqrsResponseStatus :: Lens' BatchGetNamedQueryResponse Int
- Network.AWS.Athena.BatchGetNamedQuery: bgnqrsUnprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse [UnprocessedNamedQueryId]
- Network.AWS.Athena.BatchGetNamedQuery: data BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: data BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance Data.Data.Data Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance Data.Data.Data Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: instance Data.Hashable.Class.Hashable Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Read.Read Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Read.Read Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Show.Show Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance GHC.Show.Show Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
- Network.AWS.Athena.BatchGetNamedQuery: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetNamedQuery: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.BatchGetNamedQuery.BatchGetNamedQuery
- Network.AWS.Athena.BatchGetQueryExecution: batchGetQueryExecution :: NonEmpty Text -> BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: batchGetQueryExecutionResponse :: Int -> BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: bgqeQueryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text)
- Network.AWS.Athena.BatchGetQueryExecution: bgqersQueryExecutions :: Lens' BatchGetQueryExecutionResponse [QueryExecution]
- Network.AWS.Athena.BatchGetQueryExecution: bgqersResponseStatus :: Lens' BatchGetQueryExecutionResponse Int
- Network.AWS.Athena.BatchGetQueryExecution: bgqersUnprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse [UnprocessedQueryExecutionId]
- Network.AWS.Athena.BatchGetQueryExecution: data BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: data BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance Data.Data.Data Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance Data.Data.Data Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: instance Data.Hashable.Class.Hashable Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Read.Read Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Read.Read Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Show.Show Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance GHC.Show.Show Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
- Network.AWS.Athena.BatchGetQueryExecution: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.BatchGetQueryExecution: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.BatchGetQueryExecution.BatchGetQueryExecution
- Network.AWS.Athena.CreateNamedQuery: cnqClientRequestToken :: Lens' CreateNamedQuery (Maybe Text)
- Network.AWS.Athena.CreateNamedQuery: cnqDatabase :: Lens' CreateNamedQuery Text
- Network.AWS.Athena.CreateNamedQuery: cnqDescription :: Lens' CreateNamedQuery (Maybe Text)
- Network.AWS.Athena.CreateNamedQuery: cnqName :: Lens' CreateNamedQuery Text
- Network.AWS.Athena.CreateNamedQuery: cnqQueryString :: Lens' CreateNamedQuery Text
- Network.AWS.Athena.CreateNamedQuery: cnqrsNamedQueryId :: Lens' CreateNamedQueryResponse (Maybe Text)
- Network.AWS.Athena.CreateNamedQuery: cnqrsResponseStatus :: Lens' CreateNamedQueryResponse Int
- Network.AWS.Athena.CreateNamedQuery: createNamedQuery :: Text -> Text -> Text -> CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: createNamedQueryResponse :: Int -> CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: data CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: data CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.CreateNamedQuery.CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance Data.Data.Data Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance Data.Data.Data Network.AWS.Athena.CreateNamedQuery.CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: instance Data.Hashable.Class.Hashable Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.CreateNamedQuery.CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.CreateNamedQuery.CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Read.Read Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Read.Read Network.AWS.Athena.CreateNamedQuery.CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Show.Show Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance GHC.Show.Show Network.AWS.Athena.CreateNamedQuery.CreateNamedQueryResponse
- Network.AWS.Athena.CreateNamedQuery: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.CreateNamedQuery: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.CreateNamedQuery.CreateNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: data DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: data DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: deleteNamedQuery :: Text -> DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: deleteNamedQueryResponse :: Int -> DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: dnqNamedQueryId :: Lens' DeleteNamedQuery Text
- Network.AWS.Athena.DeleteNamedQuery: dnqrsResponseStatus :: Lens' DeleteNamedQueryResponse Int
- Network.AWS.Athena.DeleteNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance Data.Data.Data Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance Data.Data.Data Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: instance Data.Hashable.Class.Hashable Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Read.Read Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Read.Read Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Show.Show Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance GHC.Show.Show Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
- Network.AWS.Athena.DeleteNamedQuery: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.DeleteNamedQuery: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.DeleteNamedQuery.DeleteNamedQuery
- Network.AWS.Athena.GetNamedQuery: data GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: data GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: getNamedQuery :: Text -> GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: getNamedQueryResponse :: Int -> GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: gnqNamedQueryId :: Lens' GetNamedQuery Text
- Network.AWS.Athena.GetNamedQuery: gnqrsNamedQuery :: Lens' GetNamedQueryResponse (Maybe NamedQuery)
- Network.AWS.Athena.GetNamedQuery: gnqrsResponseStatus :: Lens' GetNamedQueryResponse Int
- Network.AWS.Athena.GetNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance Control.DeepSeq.NFData Network.AWS.Athena.GetNamedQuery.GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance Data.Data.Data Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance Data.Data.Data Network.AWS.Athena.GetNamedQuery.GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: instance Data.Hashable.Class.Hashable Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance GHC.Classes.Eq Network.AWS.Athena.GetNamedQuery.GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance GHC.Generics.Generic Network.AWS.Athena.GetNamedQuery.GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: instance GHC.Read.Read Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance GHC.Read.Read Network.AWS.Athena.GetNamedQuery.GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: instance GHC.Show.Show Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance GHC.Show.Show Network.AWS.Athena.GetNamedQuery.GetNamedQueryResponse
- Network.AWS.Athena.GetNamedQuery: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetNamedQuery: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.GetNamedQuery.GetNamedQuery
- Network.AWS.Athena.GetQueryExecution: data GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: data GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: getQueryExecution :: Text -> GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: getQueryExecutionResponse :: Int -> GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: gqeQueryExecutionId :: Lens' GetQueryExecution Text
- Network.AWS.Athena.GetQueryExecution: gqersQueryExecution :: Lens' GetQueryExecutionResponse (Maybe QueryExecution)
- Network.AWS.Athena.GetQueryExecution: gqersResponseStatus :: Lens' GetQueryExecutionResponse Int
- Network.AWS.Athena.GetQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.GetQueryExecution.GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance Data.Data.Data Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance Data.Data.Data Network.AWS.Athena.GetQueryExecution.GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: instance Data.Hashable.Class.Hashable Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.GetQueryExecution.GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.GetQueryExecution.GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: instance GHC.Read.Read Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance GHC.Read.Read Network.AWS.Athena.GetQueryExecution.GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: instance GHC.Show.Show Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance GHC.Show.Show Network.AWS.Athena.GetQueryExecution.GetQueryExecutionResponse
- Network.AWS.Athena.GetQueryExecution: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryExecution: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.GetQueryExecution.GetQueryExecution
- Network.AWS.Athena.GetQueryResults: data GetQueryResults
- Network.AWS.Athena.GetQueryResults: data GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: getQueryResults :: Text -> GetQueryResults
- Network.AWS.Athena.GetQueryResults: getQueryResultsResponse :: Int -> GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: gqrMaxResults :: Lens' GetQueryResults (Maybe Natural)
- Network.AWS.Athena.GetQueryResults: gqrNextToken :: Lens' GetQueryResults (Maybe Text)
- Network.AWS.Athena.GetQueryResults: gqrQueryExecutionId :: Lens' GetQueryResults Text
- Network.AWS.Athena.GetQueryResults: gqrrsNextToken :: Lens' GetQueryResultsResponse (Maybe Text)
- Network.AWS.Athena.GetQueryResults: gqrrsResponseStatus :: Lens' GetQueryResultsResponse Int
- Network.AWS.Athena.GetQueryResults: gqrrsResultSet :: Lens' GetQueryResultsResponse (Maybe ResultSet)
- Network.AWS.Athena.GetQueryResults: instance Control.DeepSeq.NFData Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance Control.DeepSeq.NFData Network.AWS.Athena.GetQueryResults.GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance Data.Data.Data Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance Data.Data.Data Network.AWS.Athena.GetQueryResults.GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: instance Data.Hashable.Class.Hashable Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance GHC.Classes.Eq Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance GHC.Classes.Eq Network.AWS.Athena.GetQueryResults.GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: instance GHC.Generics.Generic Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance GHC.Generics.Generic Network.AWS.Athena.GetQueryResults.GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: instance GHC.Read.Read Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance GHC.Read.Read Network.AWS.Athena.GetQueryResults.GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: instance GHC.Show.Show Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance GHC.Show.Show Network.AWS.Athena.GetQueryResults.GetQueryResultsResponse
- Network.AWS.Athena.GetQueryResults: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance Network.AWS.Pager.AWSPager Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.GetQueryResults: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.GetQueryResults.GetQueryResults
- Network.AWS.Athena.ListNamedQueries: data ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: data ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: instance Control.DeepSeq.NFData Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance Control.DeepSeq.NFData Network.AWS.Athena.ListNamedQueries.ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance Data.Data.Data Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance Data.Data.Data Network.AWS.Athena.ListNamedQueries.ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: instance Data.Hashable.Class.Hashable Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance GHC.Classes.Eq Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance GHC.Classes.Eq Network.AWS.Athena.ListNamedQueries.ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: instance GHC.Generics.Generic Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance GHC.Generics.Generic Network.AWS.Athena.ListNamedQueries.ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: instance GHC.Read.Read Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance GHC.Read.Read Network.AWS.Athena.ListNamedQueries.ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: instance GHC.Show.Show Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance GHC.Show.Show Network.AWS.Athena.ListNamedQueries.ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance Network.AWS.Pager.AWSPager Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.ListNamedQueries.ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: listNamedQueries :: ListNamedQueries
- Network.AWS.Athena.ListNamedQueries: listNamedQueriesResponse :: Int -> ListNamedQueriesResponse
- Network.AWS.Athena.ListNamedQueries: lnqMaxResults :: Lens' ListNamedQueries (Maybe Natural)
- Network.AWS.Athena.ListNamedQueries: lnqNextToken :: Lens' ListNamedQueries (Maybe Text)
- Network.AWS.Athena.ListNamedQueries: lnqrsNamedQueryIds :: Lens' ListNamedQueriesResponse (Maybe (NonEmpty Text))
- Network.AWS.Athena.ListNamedQueries: lnqrsNextToken :: Lens' ListNamedQueriesResponse (Maybe Text)
- Network.AWS.Athena.ListNamedQueries: lnqrsResponseStatus :: Lens' ListNamedQueriesResponse Int
- Network.AWS.Athena.ListQueryExecutions: data ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: data ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: instance Control.DeepSeq.NFData Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance Control.DeepSeq.NFData Network.AWS.Athena.ListQueryExecutions.ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance Data.Data.Data Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance Data.Data.Data Network.AWS.Athena.ListQueryExecutions.ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: instance Data.Hashable.Class.Hashable Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Classes.Eq Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Classes.Eq Network.AWS.Athena.ListQueryExecutions.ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Generics.Generic Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Generics.Generic Network.AWS.Athena.ListQueryExecutions.ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Read.Read Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Read.Read Network.AWS.Athena.ListQueryExecutions.ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Show.Show Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance GHC.Show.Show Network.AWS.Athena.ListQueryExecutions.ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance Network.AWS.Pager.AWSPager Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.ListQueryExecutions.ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: listQueryExecutions :: ListQueryExecutions
- Network.AWS.Athena.ListQueryExecutions: listQueryExecutionsResponse :: Int -> ListQueryExecutionsResponse
- Network.AWS.Athena.ListQueryExecutions: lqeMaxResults :: Lens' ListQueryExecutions (Maybe Natural)
- Network.AWS.Athena.ListQueryExecutions: lqeNextToken :: Lens' ListQueryExecutions (Maybe Text)
- Network.AWS.Athena.ListQueryExecutions: lqersNextToken :: Lens' ListQueryExecutionsResponse (Maybe Text)
- Network.AWS.Athena.ListQueryExecutions: lqersQueryExecutionIds :: Lens' ListQueryExecutionsResponse (Maybe (NonEmpty Text))
- Network.AWS.Athena.ListQueryExecutions: lqersResponseStatus :: Lens' ListQueryExecutionsResponse Int
- Network.AWS.Athena.StartQueryExecution: data StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: data StartQueryExecutionResponse
- Network.AWS.Athena.StartQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.StartQueryExecution.StartQueryExecutionResponse
- Network.AWS.Athena.StartQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance Data.Data.Data Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance Data.Data.Data Network.AWS.Athena.StartQueryExecution.StartQueryExecutionResponse
- Network.AWS.Athena.StartQueryExecution: instance Data.Hashable.Class.Hashable Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.StartQueryExecution.StartQueryExecutionResponse
- Network.AWS.Athena.StartQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.StartQueryExecution.StartQueryExecutionResponse
- Network.AWS.Athena.StartQueryExecution: instance GHC.Read.Read Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance GHC.Read.Read Network.AWS.Athena.StartQueryExecution.StartQueryExecutionResponse
- Network.AWS.Athena.StartQueryExecution: instance GHC.Show.Show Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance GHC.Show.Show Network.AWS.Athena.StartQueryExecution.StartQueryExecutionResponse
- Network.AWS.Athena.StartQueryExecution: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.StartQueryExecution.StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: sqeClientRequestToken :: Lens' StartQueryExecution (Maybe Text)
- Network.AWS.Athena.StartQueryExecution: sqeQueryExecutionContext :: Lens' StartQueryExecution (Maybe QueryExecutionContext)
- Network.AWS.Athena.StartQueryExecution: sqeQueryString :: Lens' StartQueryExecution Text
- Network.AWS.Athena.StartQueryExecution: sqeResultConfiguration :: Lens' StartQueryExecution ResultConfiguration
- Network.AWS.Athena.StartQueryExecution: sqersQueryExecutionId :: Lens' StartQueryExecutionResponse (Maybe Text)
- Network.AWS.Athena.StartQueryExecution: sqersResponseStatus :: Lens' StartQueryExecutionResponse Int
- Network.AWS.Athena.StartQueryExecution: startQueryExecution :: Text -> ResultConfiguration -> StartQueryExecution
- Network.AWS.Athena.StartQueryExecution: startQueryExecutionResponse :: Int -> StartQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: data StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: data StopQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance Control.DeepSeq.NFData Network.AWS.Athena.StopQueryExecution.StopQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance Data.Data.Data Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance Data.Data.Data Network.AWS.Athena.StopQueryExecution.StopQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: instance Data.Hashable.Class.Hashable Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance GHC.Classes.Eq Network.AWS.Athena.StopQueryExecution.StopQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance GHC.Generics.Generic Network.AWS.Athena.StopQueryExecution.StopQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: instance GHC.Read.Read Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance GHC.Read.Read Network.AWS.Athena.StopQueryExecution.StopQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: instance GHC.Show.Show Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance GHC.Show.Show Network.AWS.Athena.StopQueryExecution.StopQueryExecutionResponse
- Network.AWS.Athena.StopQueryExecution: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance Network.AWS.Data.Path.ToPath Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance Network.AWS.Data.Query.ToQuery Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: instance Network.AWS.Types.AWSRequest Network.AWS.Athena.StopQueryExecution.StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: sqeQueryExecutionId :: Lens' StopQueryExecution Text
- Network.AWS.Athena.StopQueryExecution: srsResponseStatus :: Lens' StopQueryExecutionResponse Int
- Network.AWS.Athena.StopQueryExecution: stopQueryExecution :: Text -> StopQueryExecution
- Network.AWS.Athena.StopQueryExecution: stopQueryExecutionResponse :: Int -> StopQueryExecutionResponse
- Network.AWS.Athena.Types: Cancelled :: QueryExecutionState
- Network.AWS.Athena.Types: CseKMS :: EncryptionOption
- Network.AWS.Athena.Types: Failed :: QueryExecutionState
- Network.AWS.Athena.Types: NotNull :: ColumnNullable
- Network.AWS.Athena.Types: Nullable :: ColumnNullable
- Network.AWS.Athena.Types: Queued :: QueryExecutionState
- Network.AWS.Athena.Types: Running :: QueryExecutionState
- Network.AWS.Athena.Types: SseKMS :: EncryptionOption
- Network.AWS.Athena.Types: SseS3 :: EncryptionOption
- Network.AWS.Athena.Types: Succeeded :: QueryExecutionState
- Network.AWS.Athena.Types: Unknown :: ColumnNullable
- Network.AWS.Athena.Types: _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Athena.Types: _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Athena.Types: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Athena.Types: athena :: Service
- Network.AWS.Athena.Types: ciCaseSensitive :: Lens' ColumnInfo (Maybe Bool)
- Network.AWS.Athena.Types: ciCatalogName :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena.Types: ciLabel :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena.Types: ciName :: Lens' ColumnInfo Text
- Network.AWS.Athena.Types: ciNullable :: Lens' ColumnInfo (Maybe ColumnNullable)
- Network.AWS.Athena.Types: ciPrecision :: Lens' ColumnInfo (Maybe Int)
- Network.AWS.Athena.Types: ciScale :: Lens' ColumnInfo (Maybe Int)
- Network.AWS.Athena.Types: ciSchemaName :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena.Types: ciTableName :: Lens' ColumnInfo (Maybe Text)
- Network.AWS.Athena.Types: ciType :: Lens' ColumnInfo Text
- Network.AWS.Athena.Types: columnInfo :: Text -> Text -> ColumnInfo
- Network.AWS.Athena.Types: dVarCharValue :: Lens' Datum (Maybe Text)
- Network.AWS.Athena.Types: data ColumnInfo
- Network.AWS.Athena.Types: data ColumnNullable
- Network.AWS.Athena.Types: data Datum
- Network.AWS.Athena.Types: data EncryptionConfiguration
- Network.AWS.Athena.Types: data EncryptionOption
- Network.AWS.Athena.Types: data NamedQuery
- Network.AWS.Athena.Types: data QueryExecution
- Network.AWS.Athena.Types: data QueryExecutionContext
- Network.AWS.Athena.Types: data QueryExecutionState
- Network.AWS.Athena.Types: data QueryExecutionStatistics
- Network.AWS.Athena.Types: data QueryExecutionStatus
- Network.AWS.Athena.Types: data ResultConfiguration
- Network.AWS.Athena.Types: data ResultSet
- Network.AWS.Athena.Types: data ResultSetMetadata
- Network.AWS.Athena.Types: data Row
- Network.AWS.Athena.Types: data UnprocessedNamedQueryId
- Network.AWS.Athena.Types: data UnprocessedQueryExecutionId
- Network.AWS.Athena.Types: datum :: Datum
- Network.AWS.Athena.Types: ecEncryptionOption :: Lens' EncryptionConfiguration EncryptionOption
- Network.AWS.Athena.Types: ecKMSKey :: Lens' EncryptionConfiguration (Maybe Text)
- Network.AWS.Athena.Types: encryptionConfiguration :: EncryptionOption -> EncryptionConfiguration
- Network.AWS.Athena.Types: namedQuery :: Text -> Text -> Text -> NamedQuery
- Network.AWS.Athena.Types: nqDatabase :: Lens' NamedQuery Text
- Network.AWS.Athena.Types: nqDescription :: Lens' NamedQuery (Maybe Text)
- Network.AWS.Athena.Types: nqName :: Lens' NamedQuery Text
- Network.AWS.Athena.Types: nqNamedQueryId :: Lens' NamedQuery (Maybe Text)
- Network.AWS.Athena.Types: nqQueryString :: Lens' NamedQuery Text
- Network.AWS.Athena.Types: qeQuery :: Lens' QueryExecution (Maybe Text)
- Network.AWS.Athena.Types: qeQueryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext)
- Network.AWS.Athena.Types: qeQueryExecutionId :: Lens' QueryExecution (Maybe Text)
- Network.AWS.Athena.Types: qeResultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration)
- Network.AWS.Athena.Types: qeStatistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics)
- Network.AWS.Athena.Types: qeStatus :: Lens' QueryExecution (Maybe QueryExecutionStatus)
- Network.AWS.Athena.Types: qecDatabase :: Lens' QueryExecutionContext (Maybe Text)
- Network.AWS.Athena.Types: qesCompletionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
- Network.AWS.Athena.Types: qesDataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer)
- Network.AWS.Athena.Types: qesEngineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
- Network.AWS.Athena.Types: qesState :: Lens' QueryExecutionStatus (Maybe QueryExecutionState)
- Network.AWS.Athena.Types: qesStateChangeReason :: Lens' QueryExecutionStatus (Maybe Text)
- Network.AWS.Athena.Types: qesSubmissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
- Network.AWS.Athena.Types: queryExecution :: QueryExecution
- Network.AWS.Athena.Types: queryExecutionContext :: QueryExecutionContext
- Network.AWS.Athena.Types: queryExecutionStatistics :: QueryExecutionStatistics
- Network.AWS.Athena.Types: queryExecutionStatus :: QueryExecutionStatus
- Network.AWS.Athena.Types: rcEncryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration)
- Network.AWS.Athena.Types: rcOutputLocation :: Lens' ResultConfiguration Text
- Network.AWS.Athena.Types: resultConfiguration :: Text -> ResultConfiguration
- Network.AWS.Athena.Types: resultSet :: ResultSet
- Network.AWS.Athena.Types: resultSetMetadata :: ResultSetMetadata
- Network.AWS.Athena.Types: row :: Row
- Network.AWS.Athena.Types: rowData :: Lens' Row [Datum]
- Network.AWS.Athena.Types: rsResultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata)
- Network.AWS.Athena.Types: rsRows :: Lens' ResultSet [Row]
- Network.AWS.Athena.Types: rsmColumnInfo :: Lens' ResultSetMetadata [ColumnInfo]
- Network.AWS.Athena.Types: unprocessedNamedQueryId :: UnprocessedNamedQueryId
- Network.AWS.Athena.Types: unprocessedQueryExecutionId :: UnprocessedQueryExecutionId
- Network.AWS.Athena.Types: unqiErrorCode :: Lens' UnprocessedNamedQueryId (Maybe Text)
- Network.AWS.Athena.Types: unqiErrorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text)
- Network.AWS.Athena.Types: unqiNamedQueryId :: Lens' UnprocessedNamedQueryId (Maybe Text)
- Network.AWS.Athena.Types: uqeiErrorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text)
- Network.AWS.Athena.Types: uqeiErrorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text)
- Network.AWS.Athena.Types: uqeiQueryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena: AclConfiguration' :: S3AclOption -> AclConfiguration
+ Amazonka.Athena: ApplicationDPUSizes' :: Maybe Text -> Maybe [Int] -> ApplicationDPUSizes
+ Amazonka.Athena: AthenaError' :: Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe Bool -> AthenaError
+ Amazonka.Athena: BatchGetNamedQuery' :: NonEmpty Text -> BatchGetNamedQuery
+ Amazonka.Athena: BatchGetNamedQueryResponse' :: Maybe [NamedQuery] -> Maybe [UnprocessedNamedQueryId] -> Int -> BatchGetNamedQueryResponse
+ Amazonka.Athena: BatchGetPreparedStatement' :: [Text] -> Text -> BatchGetPreparedStatement
+ Amazonka.Athena: BatchGetPreparedStatementResponse' :: Maybe [PreparedStatement] -> Maybe [UnprocessedPreparedStatementName] -> Int -> BatchGetPreparedStatementResponse
+ Amazonka.Athena: BatchGetQueryExecution' :: NonEmpty Text -> BatchGetQueryExecution
+ Amazonka.Athena: BatchGetQueryExecutionResponse' :: Maybe [QueryExecution] -> Maybe [UnprocessedQueryExecutionId] -> Int -> BatchGetQueryExecutionResponse
+ Amazonka.Athena: CalculationConfiguration' :: Maybe Text -> CalculationConfiguration
+ Amazonka.Athena: CalculationExecutionState' :: Text -> CalculationExecutionState
+ Amazonka.Athena: CalculationResult' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CalculationResult
+ Amazonka.Athena: CalculationStatistics' :: Maybe Integer -> Maybe Text -> CalculationStatistics
+ Amazonka.Athena: CalculationStatus' :: Maybe POSIX -> Maybe CalculationExecutionState -> Maybe Text -> Maybe POSIX -> CalculationStatus
+ Amazonka.Athena: CalculationSummary' :: Maybe Text -> Maybe Text -> Maybe CalculationStatus -> CalculationSummary
+ Amazonka.Athena: Column' :: Maybe Text -> Maybe Text -> Text -> Column
+ Amazonka.Athena: ColumnInfo' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe ColumnNullable -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> Text -> ColumnInfo
+ Amazonka.Athena: ColumnNullable' :: Text -> ColumnNullable
+ Amazonka.Athena: CreateDataCatalog' :: Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Tag] -> Text -> DataCatalogType -> CreateDataCatalog
+ Amazonka.Athena: CreateDataCatalogResponse' :: Int -> CreateDataCatalogResponse
+ Amazonka.Athena: CreateNamedQuery' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> CreateNamedQuery
+ Amazonka.Athena: CreateNamedQueryResponse' :: Maybe Text -> Int -> CreateNamedQueryResponse
+ Amazonka.Athena: CreateNotebook' :: Maybe Text -> Text -> Text -> CreateNotebook
+ Amazonka.Athena: CreateNotebookResponse' :: Maybe Text -> Int -> CreateNotebookResponse
+ Amazonka.Athena: CreatePreparedStatement' :: Maybe Text -> Text -> Text -> Text -> CreatePreparedStatement
+ Amazonka.Athena: CreatePreparedStatementResponse' :: Int -> CreatePreparedStatementResponse
+ Amazonka.Athena: CreatePresignedNotebookUrl' :: Text -> CreatePresignedNotebookUrl
+ Amazonka.Athena: CreatePresignedNotebookUrlResponse' :: Int -> Text -> Text -> Integer -> CreatePresignedNotebookUrlResponse
+ Amazonka.Athena: CreateWorkGroup' :: Maybe WorkGroupConfiguration -> Maybe Text -> Maybe [Tag] -> Text -> CreateWorkGroup
+ Amazonka.Athena: CreateWorkGroupResponse' :: Int -> CreateWorkGroupResponse
+ Amazonka.Athena: CustomerContentEncryptionConfiguration' :: Text -> CustomerContentEncryptionConfiguration
+ Amazonka.Athena: DataCatalog' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> DataCatalogType -> DataCatalog
+ Amazonka.Athena: DataCatalogSummary' :: Maybe Text -> Maybe DataCatalogType -> DataCatalogSummary
+ Amazonka.Athena: DataCatalogType' :: Text -> DataCatalogType
+ Amazonka.Athena: Database' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> Database
+ Amazonka.Athena: Datum' :: Maybe Text -> Datum
+ Amazonka.Athena: DeleteDataCatalog' :: Text -> DeleteDataCatalog
+ Amazonka.Athena: DeleteDataCatalogResponse' :: Int -> DeleteDataCatalogResponse
+ Amazonka.Athena: DeleteNamedQuery' :: Text -> DeleteNamedQuery
+ Amazonka.Athena: DeleteNamedQueryResponse' :: Int -> DeleteNamedQueryResponse
+ Amazonka.Athena: DeleteNotebook' :: Text -> DeleteNotebook
+ Amazonka.Athena: DeleteNotebookResponse' :: Int -> DeleteNotebookResponse
+ Amazonka.Athena: DeletePreparedStatement' :: Text -> Text -> DeletePreparedStatement
+ Amazonka.Athena: DeletePreparedStatementResponse' :: Int -> DeletePreparedStatementResponse
+ Amazonka.Athena: DeleteWorkGroup' :: Maybe Bool -> Text -> DeleteWorkGroup
+ Amazonka.Athena: DeleteWorkGroupResponse' :: Int -> DeleteWorkGroupResponse
+ Amazonka.Athena: EncryptionConfiguration' :: Maybe Text -> EncryptionOption -> EncryptionConfiguration
+ Amazonka.Athena: EncryptionOption' :: Text -> EncryptionOption
+ Amazonka.Athena: EngineConfiguration' :: Maybe (HashMap Text Text) -> Maybe Natural -> Maybe Natural -> Natural -> EngineConfiguration
+ Amazonka.Athena: EngineVersion' :: Maybe Text -> Maybe Text -> EngineVersion
+ Amazonka.Athena: ExecutorState' :: Text -> ExecutorState
+ Amazonka.Athena: ExecutorType' :: Text -> ExecutorType
+ Amazonka.Athena: ExecutorsSummary' :: Maybe Integer -> Maybe ExecutorState -> Maybe ExecutorType -> Maybe Integer -> Maybe Integer -> Text -> ExecutorsSummary
+ Amazonka.Athena: ExportNotebook' :: Text -> ExportNotebook
+ Amazonka.Athena: ExportNotebookResponse' :: Maybe NotebookMetadata -> Maybe Text -> Int -> ExportNotebookResponse
+ Amazonka.Athena: FilterDefinition' :: Maybe Text -> FilterDefinition
+ Amazonka.Athena: GetCalculationExecution' :: Text -> GetCalculationExecution
+ Amazonka.Athena: GetCalculationExecutionCode' :: Text -> GetCalculationExecutionCode
+ Amazonka.Athena: GetCalculationExecutionCodeResponse' :: Maybe Text -> Int -> GetCalculationExecutionCodeResponse
+ Amazonka.Athena: GetCalculationExecutionResponse' :: Maybe Text -> Maybe Text -> Maybe CalculationResult -> Maybe Text -> Maybe CalculationStatistics -> Maybe CalculationStatus -> Maybe Text -> Int -> GetCalculationExecutionResponse
+ Amazonka.Athena: GetCalculationExecutionStatus' :: Text -> GetCalculationExecutionStatus
+ Amazonka.Athena: GetCalculationExecutionStatusResponse' :: Maybe CalculationStatistics -> Maybe CalculationStatus -> Int -> GetCalculationExecutionStatusResponse
+ Amazonka.Athena: GetDataCatalog' :: Text -> GetDataCatalog
+ Amazonka.Athena: GetDataCatalogResponse' :: Maybe DataCatalog -> Int -> GetDataCatalogResponse
+ Amazonka.Athena: GetDatabase' :: Text -> Text -> GetDatabase
+ Amazonka.Athena: GetDatabaseResponse' :: Maybe Database -> Int -> GetDatabaseResponse
+ Amazonka.Athena: GetNamedQuery' :: Text -> GetNamedQuery
+ Amazonka.Athena: GetNamedQueryResponse' :: Maybe NamedQuery -> Int -> GetNamedQueryResponse
+ Amazonka.Athena: GetNotebookMetadata' :: Text -> GetNotebookMetadata
+ Amazonka.Athena: GetNotebookMetadataResponse' :: Maybe NotebookMetadata -> Int -> GetNotebookMetadataResponse
+ Amazonka.Athena: GetPreparedStatement' :: Text -> Text -> GetPreparedStatement
+ Amazonka.Athena: GetPreparedStatementResponse' :: Maybe PreparedStatement -> Int -> GetPreparedStatementResponse
+ Amazonka.Athena: GetQueryExecution' :: Text -> GetQueryExecution
+ Amazonka.Athena: GetQueryExecutionResponse' :: Maybe QueryExecution -> Int -> GetQueryExecutionResponse
+ Amazonka.Athena: GetQueryResults' :: Maybe Natural -> Maybe Text -> Text -> GetQueryResults
+ Amazonka.Athena: GetQueryResultsResponse' :: Maybe Text -> Maybe ResultSet -> Maybe Integer -> Int -> GetQueryResultsResponse
+ Amazonka.Athena: GetQueryRuntimeStatistics' :: Text -> GetQueryRuntimeStatistics
+ Amazonka.Athena: GetQueryRuntimeStatisticsResponse' :: Maybe QueryRuntimeStatistics -> Int -> GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena: GetSession' :: Text -> GetSession
+ Amazonka.Athena: GetSessionResponse' :: Maybe Text -> Maybe EngineConfiguration -> Maybe Text -> Maybe Text -> Maybe SessionConfiguration -> Maybe Text -> Maybe SessionStatistics -> Maybe SessionStatus -> Maybe Text -> Int -> GetSessionResponse
+ Amazonka.Athena: GetSessionStatus' :: Text -> GetSessionStatus
+ Amazonka.Athena: GetSessionStatusResponse' :: Maybe Text -> Maybe SessionStatus -> Int -> GetSessionStatusResponse
+ Amazonka.Athena: GetTableMetadata' :: Text -> Text -> Text -> GetTableMetadata
+ Amazonka.Athena: GetTableMetadataResponse' :: Maybe TableMetadata -> Int -> GetTableMetadataResponse
+ Amazonka.Athena: GetWorkGroup' :: Text -> GetWorkGroup
+ Amazonka.Athena: GetWorkGroupResponse' :: Maybe WorkGroup -> Int -> GetWorkGroupResponse
+ Amazonka.Athena: ImportNotebook' :: Maybe Text -> Text -> Text -> Text -> NotebookType -> ImportNotebook
+ Amazonka.Athena: ImportNotebookResponse' :: Maybe Text -> Int -> ImportNotebookResponse
+ Amazonka.Athena: ListApplicationDPUSizes' :: Maybe Natural -> Maybe Text -> ListApplicationDPUSizes
+ Amazonka.Athena: ListApplicationDPUSizesResponse' :: Maybe [ApplicationDPUSizes] -> Maybe Text -> Int -> ListApplicationDPUSizesResponse
+ Amazonka.Athena: ListCalculationExecutions' :: Maybe Natural -> Maybe Text -> Maybe CalculationExecutionState -> Text -> ListCalculationExecutions
+ Amazonka.Athena: ListCalculationExecutionsResponse' :: Maybe [CalculationSummary] -> Maybe Text -> Int -> ListCalculationExecutionsResponse
+ Amazonka.Athena: ListDataCatalogs' :: Maybe Natural -> Maybe Text -> ListDataCatalogs
+ Amazonka.Athena: ListDataCatalogsResponse' :: Maybe [DataCatalogSummary] -> Maybe Text -> Int -> ListDataCatalogsResponse
+ Amazonka.Athena: ListDatabases' :: Maybe Natural -> Maybe Text -> Text -> ListDatabases
+ Amazonka.Athena: ListDatabasesResponse' :: Maybe [Database] -> Maybe Text -> Int -> ListDatabasesResponse
+ Amazonka.Athena: ListEngineVersions' :: Maybe Natural -> Maybe Text -> ListEngineVersions
+ Amazonka.Athena: ListEngineVersionsResponse' :: Maybe [EngineVersion] -> Maybe Text -> Int -> ListEngineVersionsResponse
+ Amazonka.Athena: ListExecutors' :: Maybe ExecutorState -> Maybe Natural -> Maybe Text -> Text -> ListExecutors
+ Amazonka.Athena: ListExecutorsResponse' :: Maybe [ExecutorsSummary] -> Maybe Text -> Int -> Text -> ListExecutorsResponse
+ Amazonka.Athena: ListNamedQueries' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListNamedQueries
+ Amazonka.Athena: ListNamedQueriesResponse' :: Maybe (NonEmpty Text) -> Maybe Text -> Int -> ListNamedQueriesResponse
+ Amazonka.Athena: ListNotebookMetadata' :: Maybe FilterDefinition -> Maybe Natural -> Maybe Text -> Text -> ListNotebookMetadata
+ Amazonka.Athena: ListNotebookMetadataResponse' :: Maybe Text -> Maybe [NotebookMetadata] -> Int -> ListNotebookMetadataResponse
+ Amazonka.Athena: ListNotebookSessions' :: Maybe Natural -> Maybe Text -> Text -> ListNotebookSessions
+ Amazonka.Athena: ListNotebookSessionsResponse' :: Maybe Text -> Int -> [NotebookSessionSummary] -> ListNotebookSessionsResponse
+ Amazonka.Athena: ListPreparedStatements' :: Maybe Natural -> Maybe Text -> Text -> ListPreparedStatements
+ Amazonka.Athena: ListPreparedStatementsResponse' :: Maybe Text -> Maybe [PreparedStatementSummary] -> Int -> ListPreparedStatementsResponse
+ Amazonka.Athena: ListQueryExecutions' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListQueryExecutions
+ Amazonka.Athena: ListQueryExecutionsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListQueryExecutionsResponse
+ Amazonka.Athena: ListSessions' :: Maybe Natural -> Maybe Text -> Maybe SessionState -> Text -> ListSessions
+ Amazonka.Athena: ListSessionsResponse' :: Maybe Text -> Maybe [SessionSummary] -> Int -> ListSessionsResponse
+ Amazonka.Athena: ListTableMetadata' :: Maybe Text -> Maybe Natural -> Maybe Text -> Text -> Text -> ListTableMetadata
+ Amazonka.Athena: ListTableMetadataResponse' :: Maybe Text -> Maybe [TableMetadata] -> Int -> ListTableMetadataResponse
+ Amazonka.Athena: ListTagsForResource' :: Maybe Natural -> Maybe Text -> Text -> ListTagsForResource
+ Amazonka.Athena: ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.Athena: ListWorkGroups' :: Maybe Natural -> Maybe Text -> ListWorkGroups
+ Amazonka.Athena: ListWorkGroupsResponse' :: Maybe Text -> Maybe [WorkGroupSummary] -> Int -> ListWorkGroupsResponse
+ Amazonka.Athena: NamedQuery' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> NamedQuery
+ Amazonka.Athena: NotebookMetadata' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe NotebookType -> Maybe Text -> NotebookMetadata
+ Amazonka.Athena: NotebookSessionSummary' :: Maybe POSIX -> Maybe Text -> NotebookSessionSummary
+ Amazonka.Athena: NotebookType' :: Text -> NotebookType
+ Amazonka.Athena: PreparedStatement' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> PreparedStatement
+ Amazonka.Athena: PreparedStatementSummary' :: Maybe POSIX -> Maybe Text -> PreparedStatementSummary
+ Amazonka.Athena: QueryExecution' :: Maybe EngineVersion -> Maybe (NonEmpty Text) -> Maybe Text -> Maybe QueryExecutionContext -> Maybe Text -> Maybe ResultConfiguration -> Maybe ResultReuseConfiguration -> Maybe StatementType -> Maybe QueryExecutionStatistics -> Maybe QueryExecutionStatus -> Maybe Text -> QueryExecution
+ Amazonka.Athena: QueryExecutionContext' :: Maybe Text -> Maybe Text -> QueryExecutionContext
+ Amazonka.Athena: QueryExecutionState' :: Text -> QueryExecutionState
+ Amazonka.Athena: QueryExecutionStatistics' :: Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe ResultReuseInformation -> Maybe Integer -> Maybe Integer -> QueryExecutionStatistics
+ Amazonka.Athena: QueryExecutionStatus' :: Maybe AthenaError -> Maybe POSIX -> Maybe QueryExecutionState -> Maybe Text -> Maybe POSIX -> QueryExecutionStatus
+ Amazonka.Athena: QueryRuntimeStatistics' :: Maybe QueryStage -> Maybe QueryRuntimeStatisticsRows -> Maybe QueryRuntimeStatisticsTimeline -> QueryRuntimeStatistics
+ Amazonka.Athena: QueryRuntimeStatisticsRows' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> QueryRuntimeStatisticsRows
+ Amazonka.Athena: QueryRuntimeStatisticsTimeline' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> QueryRuntimeStatisticsTimeline
+ Amazonka.Athena: QueryStage' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe QueryStagePlanNode -> Maybe Integer -> Maybe Text -> Maybe [QueryStage] -> QueryStage
+ Amazonka.Athena: QueryStagePlanNode' :: Maybe [QueryStagePlanNode] -> Maybe Text -> Maybe Text -> Maybe [Text] -> QueryStagePlanNode
+ Amazonka.Athena: ResultConfiguration' :: Maybe AclConfiguration -> Maybe EncryptionConfiguration -> Maybe Text -> Maybe Text -> ResultConfiguration
+ Amazonka.Athena: ResultConfigurationUpdates' :: Maybe AclConfiguration -> Maybe EncryptionConfiguration -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> ResultConfigurationUpdates
+ Amazonka.Athena: ResultReuseByAgeConfiguration' :: Maybe Natural -> Bool -> ResultReuseByAgeConfiguration
+ Amazonka.Athena: ResultReuseConfiguration' :: Maybe ResultReuseByAgeConfiguration -> ResultReuseConfiguration
+ Amazonka.Athena: ResultReuseInformation' :: Bool -> ResultReuseInformation
+ Amazonka.Athena: ResultSet' :: Maybe ResultSetMetadata -> Maybe [Row] -> ResultSet
+ Amazonka.Athena: ResultSetMetadata' :: Maybe [ColumnInfo] -> ResultSetMetadata
+ Amazonka.Athena: Row' :: Maybe [Datum] -> Row
+ Amazonka.Athena: S3AclOption' :: Text -> S3AclOption
+ Amazonka.Athena: SessionConfiguration' :: Maybe EncryptionConfiguration -> Maybe Text -> Maybe Integer -> Maybe Text -> SessionConfiguration
+ Amazonka.Athena: SessionState' :: Text -> SessionState
+ Amazonka.Athena: SessionStatistics' :: Maybe Integer -> SessionStatistics
+ Amazonka.Athena: SessionStatus' :: Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe SessionState -> Maybe Text -> SessionStatus
+ Amazonka.Athena: SessionSummary' :: Maybe Text -> Maybe EngineVersion -> Maybe Text -> Maybe Text -> Maybe SessionStatus -> SessionSummary
+ Amazonka.Athena: StartCalculationExecution' :: Maybe CalculationConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> StartCalculationExecution
+ Amazonka.Athena: StartCalculationExecutionResponse' :: Maybe Text -> Maybe CalculationExecutionState -> Int -> StartCalculationExecutionResponse
+ Amazonka.Athena: StartQueryExecution' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe QueryExecutionContext -> Maybe ResultConfiguration -> Maybe ResultReuseConfiguration -> Maybe Text -> Text -> StartQueryExecution
+ Amazonka.Athena: StartQueryExecutionResponse' :: Maybe Text -> Int -> StartQueryExecutionResponse
+ Amazonka.Athena: StartSession' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Text -> EngineConfiguration -> StartSession
+ Amazonka.Athena: StartSessionResponse' :: Maybe Text -> Maybe SessionState -> Int -> StartSessionResponse
+ Amazonka.Athena: StatementType' :: Text -> StatementType
+ Amazonka.Athena: StopCalculationExecution' :: Text -> StopCalculationExecution
+ Amazonka.Athena: StopCalculationExecutionResponse' :: Maybe CalculationExecutionState -> Int -> StopCalculationExecutionResponse
+ Amazonka.Athena: StopQueryExecution' :: Text -> StopQueryExecution
+ Amazonka.Athena: StopQueryExecutionResponse' :: Int -> StopQueryExecutionResponse
+ Amazonka.Athena: TableMetadata' :: Maybe [Column] -> Maybe POSIX -> Maybe POSIX -> Maybe (HashMap Text Text) -> Maybe [Column] -> Maybe Text -> Text -> TableMetadata
+ Amazonka.Athena: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.Athena: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.Athena: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.Athena: TerminateSession' :: Text -> TerminateSession
+ Amazonka.Athena: TerminateSessionResponse' :: Maybe SessionState -> Int -> TerminateSessionResponse
+ Amazonka.Athena: UnprocessedNamedQueryId' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedNamedQueryId
+ Amazonka.Athena: UnprocessedPreparedStatementName' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedPreparedStatementName
+ Amazonka.Athena: UnprocessedQueryExecutionId' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedQueryExecutionId
+ Amazonka.Athena: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.Athena: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.Athena: UpdateDataCatalog' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> DataCatalogType -> UpdateDataCatalog
+ Amazonka.Athena: UpdateDataCatalogResponse' :: Int -> UpdateDataCatalogResponse
+ Amazonka.Athena: UpdateNamedQuery' :: Maybe Text -> Text -> Text -> Text -> UpdateNamedQuery
+ Amazonka.Athena: UpdateNamedQueryResponse' :: Int -> UpdateNamedQueryResponse
+ Amazonka.Athena: UpdateNotebook' :: Maybe Text -> Maybe Text -> Text -> Text -> NotebookType -> UpdateNotebook
+ Amazonka.Athena: UpdateNotebookMetadata' :: Maybe Text -> Text -> Text -> UpdateNotebookMetadata
+ Amazonka.Athena: UpdateNotebookMetadataResponse' :: Int -> UpdateNotebookMetadataResponse
+ Amazonka.Athena: UpdateNotebookResponse' :: Int -> UpdateNotebookResponse
+ Amazonka.Athena: UpdatePreparedStatement' :: Maybe Text -> Text -> Text -> Text -> UpdatePreparedStatement
+ Amazonka.Athena: UpdatePreparedStatementResponse' :: Int -> UpdatePreparedStatementResponse
+ Amazonka.Athena: UpdateWorkGroup' :: Maybe WorkGroupConfigurationUpdates -> Maybe Text -> Maybe WorkGroupState -> Text -> UpdateWorkGroup
+ Amazonka.Athena: UpdateWorkGroupResponse' :: Int -> UpdateWorkGroupResponse
+ Amazonka.Athena: WorkGroup' :: Maybe WorkGroupConfiguration -> Maybe POSIX -> Maybe Text -> Maybe WorkGroupState -> Text -> WorkGroup
+ Amazonka.Athena: WorkGroupConfiguration' :: Maybe Text -> Maybe Natural -> Maybe CustomerContentEncryptionConfiguration -> Maybe Bool -> Maybe EngineVersion -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe ResultConfiguration -> WorkGroupConfiguration
+ Amazonka.Athena: WorkGroupConfigurationUpdates' :: Maybe Text -> Maybe Natural -> Maybe CustomerContentEncryptionConfiguration -> Maybe Bool -> Maybe EngineVersion -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe ResultConfigurationUpdates -> WorkGroupConfigurationUpdates
+ Amazonka.Athena: WorkGroupState' :: Text -> WorkGroupState
+ Amazonka.Athena: WorkGroupSummary' :: Maybe POSIX -> Maybe Text -> Maybe EngineVersion -> Maybe Text -> Maybe WorkGroupState -> WorkGroupSummary
+ Amazonka.Athena: [fromCalculationExecutionState] :: CalculationExecutionState -> Text
+ Amazonka.Athena: [fromColumnNullable] :: ColumnNullable -> Text
+ Amazonka.Athena: [fromDataCatalogType] :: DataCatalogType -> Text
+ Amazonka.Athena: [fromEncryptionOption] :: EncryptionOption -> Text
+ Amazonka.Athena: [fromExecutorState] :: ExecutorState -> Text
+ Amazonka.Athena: [fromExecutorType] :: ExecutorType -> Text
+ Amazonka.Athena: [fromNotebookType] :: NotebookType -> Text
+ Amazonka.Athena: [fromQueryExecutionState] :: QueryExecutionState -> Text
+ Amazonka.Athena: [fromS3AclOption] :: S3AclOption -> Text
+ Amazonka.Athena: [fromSessionState] :: SessionState -> Text
+ Amazonka.Athena: [fromStatementType] :: StatementType -> Text
+ Amazonka.Athena: [fromWorkGroupState] :: WorkGroupState -> Text
+ Amazonka.Athena: _InternalServerException :: AsError a => Fold a ServiceError
+ Amazonka.Athena: _InvalidRequestException :: AsError a => Fold a ServiceError
+ Amazonka.Athena: _MetadataException :: AsError a => Fold a ServiceError
+ Amazonka.Athena: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Athena: _SessionAlreadyExistsException :: AsError a => Fold a ServiceError
+ Amazonka.Athena: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.Athena: data AclConfiguration
+ Amazonka.Athena: data ApplicationDPUSizes
+ Amazonka.Athena: data AthenaError
+ Amazonka.Athena: data BatchGetNamedQuery
+ Amazonka.Athena: data BatchGetNamedQueryResponse
+ Amazonka.Athena: data BatchGetPreparedStatement
+ Amazonka.Athena: data BatchGetPreparedStatementResponse
+ Amazonka.Athena: data BatchGetQueryExecution
+ Amazonka.Athena: data BatchGetQueryExecutionResponse
+ Amazonka.Athena: data CalculationConfiguration
+ Amazonka.Athena: data CalculationResult
+ Amazonka.Athena: data CalculationStatistics
+ Amazonka.Athena: data CalculationStatus
+ Amazonka.Athena: data CalculationSummary
+ Amazonka.Athena: data Column
+ Amazonka.Athena: data ColumnInfo
+ Amazonka.Athena: data CreateDataCatalog
+ Amazonka.Athena: data CreateDataCatalogResponse
+ Amazonka.Athena: data CreateNamedQuery
+ Amazonka.Athena: data CreateNamedQueryResponse
+ Amazonka.Athena: data CreateNotebook
+ Amazonka.Athena: data CreateNotebookResponse
+ Amazonka.Athena: data CreatePreparedStatement
+ Amazonka.Athena: data CreatePreparedStatementResponse
+ Amazonka.Athena: data CreatePresignedNotebookUrl
+ Amazonka.Athena: data CreatePresignedNotebookUrlResponse
+ Amazonka.Athena: data CreateWorkGroup
+ Amazonka.Athena: data CreateWorkGroupResponse
+ Amazonka.Athena: data CustomerContentEncryptionConfiguration
+ Amazonka.Athena: data DataCatalog
+ Amazonka.Athena: data DataCatalogSummary
+ Amazonka.Athena: data Database
+ Amazonka.Athena: data Datum
+ Amazonka.Athena: data DeleteDataCatalog
+ Amazonka.Athena: data DeleteDataCatalogResponse
+ Amazonka.Athena: data DeleteNamedQuery
+ Amazonka.Athena: data DeleteNamedQueryResponse
+ Amazonka.Athena: data DeleteNotebook
+ Amazonka.Athena: data DeleteNotebookResponse
+ Amazonka.Athena: data DeletePreparedStatement
+ Amazonka.Athena: data DeletePreparedStatementResponse
+ Amazonka.Athena: data DeleteWorkGroup
+ Amazonka.Athena: data DeleteWorkGroupResponse
+ Amazonka.Athena: data EncryptionConfiguration
+ Amazonka.Athena: data EngineConfiguration
+ Amazonka.Athena: data EngineVersion
+ Amazonka.Athena: data ExecutorsSummary
+ Amazonka.Athena: data ExportNotebook
+ Amazonka.Athena: data ExportNotebookResponse
+ Amazonka.Athena: data FilterDefinition
+ Amazonka.Athena: data GetCalculationExecution
+ Amazonka.Athena: data GetCalculationExecutionCode
+ Amazonka.Athena: data GetCalculationExecutionCodeResponse
+ Amazonka.Athena: data GetCalculationExecutionResponse
+ Amazonka.Athena: data GetCalculationExecutionStatus
+ Amazonka.Athena: data GetCalculationExecutionStatusResponse
+ Amazonka.Athena: data GetDataCatalog
+ Amazonka.Athena: data GetDataCatalogResponse
+ Amazonka.Athena: data GetDatabase
+ Amazonka.Athena: data GetDatabaseResponse
+ Amazonka.Athena: data GetNamedQuery
+ Amazonka.Athena: data GetNamedQueryResponse
+ Amazonka.Athena: data GetNotebookMetadata
+ Amazonka.Athena: data GetNotebookMetadataResponse
+ Amazonka.Athena: data GetPreparedStatement
+ Amazonka.Athena: data GetPreparedStatementResponse
+ Amazonka.Athena: data GetQueryExecution
+ Amazonka.Athena: data GetQueryExecutionResponse
+ Amazonka.Athena: data GetQueryResults
+ Amazonka.Athena: data GetQueryResultsResponse
+ Amazonka.Athena: data GetQueryRuntimeStatistics
+ Amazonka.Athena: data GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena: data GetSession
+ Amazonka.Athena: data GetSessionResponse
+ Amazonka.Athena: data GetSessionStatus
+ Amazonka.Athena: data GetSessionStatusResponse
+ Amazonka.Athena: data GetTableMetadata
+ Amazonka.Athena: data GetTableMetadataResponse
+ Amazonka.Athena: data GetWorkGroup
+ Amazonka.Athena: data GetWorkGroupResponse
+ Amazonka.Athena: data ImportNotebook
+ Amazonka.Athena: data ImportNotebookResponse
+ Amazonka.Athena: data ListApplicationDPUSizes
+ Amazonka.Athena: data ListApplicationDPUSizesResponse
+ Amazonka.Athena: data ListCalculationExecutions
+ Amazonka.Athena: data ListCalculationExecutionsResponse
+ Amazonka.Athena: data ListDataCatalogs
+ Amazonka.Athena: data ListDataCatalogsResponse
+ Amazonka.Athena: data ListDatabases
+ Amazonka.Athena: data ListDatabasesResponse
+ Amazonka.Athena: data ListEngineVersions
+ Amazonka.Athena: data ListEngineVersionsResponse
+ Amazonka.Athena: data ListExecutors
+ Amazonka.Athena: data ListExecutorsResponse
+ Amazonka.Athena: data ListNamedQueries
+ Amazonka.Athena: data ListNamedQueriesResponse
+ Amazonka.Athena: data ListNotebookMetadata
+ Amazonka.Athena: data ListNotebookMetadataResponse
+ Amazonka.Athena: data ListNotebookSessions
+ Amazonka.Athena: data ListNotebookSessionsResponse
+ Amazonka.Athena: data ListPreparedStatements
+ Amazonka.Athena: data ListPreparedStatementsResponse
+ Amazonka.Athena: data ListQueryExecutions
+ Amazonka.Athena: data ListQueryExecutionsResponse
+ Amazonka.Athena: data ListSessions
+ Amazonka.Athena: data ListSessionsResponse
+ Amazonka.Athena: data ListTableMetadata
+ Amazonka.Athena: data ListTableMetadataResponse
+ Amazonka.Athena: data ListTagsForResource
+ Amazonka.Athena: data ListTagsForResourceResponse
+ Amazonka.Athena: data ListWorkGroups
+ Amazonka.Athena: data ListWorkGroupsResponse
+ Amazonka.Athena: data NamedQuery
+ Amazonka.Athena: data NotebookMetadata
+ Amazonka.Athena: data NotebookSessionSummary
+ Amazonka.Athena: data PreparedStatement
+ Amazonka.Athena: data PreparedStatementSummary
+ Amazonka.Athena: data QueryExecution
+ Amazonka.Athena: data QueryExecutionContext
+ Amazonka.Athena: data QueryExecutionStatistics
+ Amazonka.Athena: data QueryExecutionStatus
+ Amazonka.Athena: data QueryRuntimeStatistics
+ Amazonka.Athena: data QueryRuntimeStatisticsRows
+ Amazonka.Athena: data QueryRuntimeStatisticsTimeline
+ Amazonka.Athena: data QueryStage
+ Amazonka.Athena: data QueryStagePlanNode
+ Amazonka.Athena: data ResultConfiguration
+ Amazonka.Athena: data ResultConfigurationUpdates
+ Amazonka.Athena: data ResultReuseByAgeConfiguration
+ Amazonka.Athena: data ResultReuseConfiguration
+ Amazonka.Athena: data ResultReuseInformation
+ Amazonka.Athena: data ResultSet
+ Amazonka.Athena: data ResultSetMetadata
+ Amazonka.Athena: data Row
+ Amazonka.Athena: data SessionConfiguration
+ Amazonka.Athena: data SessionStatistics
+ Amazonka.Athena: data SessionStatus
+ Amazonka.Athena: data SessionSummary
+ Amazonka.Athena: data StartCalculationExecution
+ Amazonka.Athena: data StartCalculationExecutionResponse
+ Amazonka.Athena: data StartQueryExecution
+ Amazonka.Athena: data StartQueryExecutionResponse
+ Amazonka.Athena: data StartSession
+ Amazonka.Athena: data StartSessionResponse
+ Amazonka.Athena: data StopCalculationExecution
+ Amazonka.Athena: data StopCalculationExecutionResponse
+ Amazonka.Athena: data StopQueryExecution
+ Amazonka.Athena: data StopQueryExecutionResponse
+ Amazonka.Athena: data TableMetadata
+ Amazonka.Athena: data Tag
+ Amazonka.Athena: data TagResource
+ Amazonka.Athena: data TagResourceResponse
+ Amazonka.Athena: data TerminateSession
+ Amazonka.Athena: data TerminateSessionResponse
+ Amazonka.Athena: data UnprocessedNamedQueryId
+ Amazonka.Athena: data UnprocessedPreparedStatementName
+ Amazonka.Athena: data UnprocessedQueryExecutionId
+ Amazonka.Athena: data UntagResource
+ Amazonka.Athena: data UntagResourceResponse
+ Amazonka.Athena: data UpdateDataCatalog
+ Amazonka.Athena: data UpdateDataCatalogResponse
+ Amazonka.Athena: data UpdateNamedQuery
+ Amazonka.Athena: data UpdateNamedQueryResponse
+ Amazonka.Athena: data UpdateNotebook
+ Amazonka.Athena: data UpdateNotebookMetadata
+ Amazonka.Athena: data UpdateNotebookMetadataResponse
+ Amazonka.Athena: data UpdateNotebookResponse
+ Amazonka.Athena: data UpdatePreparedStatement
+ Amazonka.Athena: data UpdatePreparedStatementResponse
+ Amazonka.Athena: data UpdateWorkGroup
+ Amazonka.Athena: data UpdateWorkGroupResponse
+ Amazonka.Athena: data WorkGroup
+ Amazonka.Athena: data WorkGroupConfiguration
+ Amazonka.Athena: data WorkGroupConfigurationUpdates
+ Amazonka.Athena: data WorkGroupSummary
+ Amazonka.Athena: defaultService :: Service
+ Amazonka.Athena: newAclConfiguration :: S3AclOption -> AclConfiguration
+ Amazonka.Athena: newApplicationDPUSizes :: ApplicationDPUSizes
+ Amazonka.Athena: newAthenaError :: AthenaError
+ Amazonka.Athena: newBatchGetNamedQuery :: NonEmpty Text -> BatchGetNamedQuery
+ Amazonka.Athena: newBatchGetNamedQueryResponse :: Int -> BatchGetNamedQueryResponse
+ Amazonka.Athena: newBatchGetPreparedStatement :: Text -> BatchGetPreparedStatement
+ Amazonka.Athena: newBatchGetPreparedStatementResponse :: Int -> BatchGetPreparedStatementResponse
+ Amazonka.Athena: newBatchGetQueryExecution :: NonEmpty Text -> BatchGetQueryExecution
+ Amazonka.Athena: newBatchGetQueryExecutionResponse :: Int -> BatchGetQueryExecutionResponse
+ Amazonka.Athena: newCalculationConfiguration :: CalculationConfiguration
+ Amazonka.Athena: newCalculationResult :: CalculationResult
+ Amazonka.Athena: newCalculationStatistics :: CalculationStatistics
+ Amazonka.Athena: newCalculationStatus :: CalculationStatus
+ Amazonka.Athena: newCalculationSummary :: CalculationSummary
+ Amazonka.Athena: newColumn :: Text -> Column
+ Amazonka.Athena: newColumnInfo :: Text -> Text -> ColumnInfo
+ Amazonka.Athena: newCreateDataCatalog :: Text -> DataCatalogType -> CreateDataCatalog
+ Amazonka.Athena: newCreateDataCatalogResponse :: Int -> CreateDataCatalogResponse
+ Amazonka.Athena: newCreateNamedQuery :: Text -> Text -> Text -> CreateNamedQuery
+ Amazonka.Athena: newCreateNamedQueryResponse :: Int -> CreateNamedQueryResponse
+ Amazonka.Athena: newCreateNotebook :: Text -> Text -> CreateNotebook
+ Amazonka.Athena: newCreateNotebookResponse :: Int -> CreateNotebookResponse
+ Amazonka.Athena: newCreatePreparedStatement :: Text -> Text -> Text -> CreatePreparedStatement
+ Amazonka.Athena: newCreatePreparedStatementResponse :: Int -> CreatePreparedStatementResponse
+ Amazonka.Athena: newCreatePresignedNotebookUrl :: Text -> CreatePresignedNotebookUrl
+ Amazonka.Athena: newCreatePresignedNotebookUrlResponse :: Int -> Text -> Text -> Integer -> CreatePresignedNotebookUrlResponse
+ Amazonka.Athena: newCreateWorkGroup :: Text -> CreateWorkGroup
+ Amazonka.Athena: newCreateWorkGroupResponse :: Int -> CreateWorkGroupResponse
+ Amazonka.Athena: newCustomerContentEncryptionConfiguration :: Text -> CustomerContentEncryptionConfiguration
+ Amazonka.Athena: newDataCatalog :: Text -> DataCatalogType -> DataCatalog
+ Amazonka.Athena: newDataCatalogSummary :: DataCatalogSummary
+ Amazonka.Athena: newDatabase :: Text -> Database
+ Amazonka.Athena: newDatum :: Datum
+ Amazonka.Athena: newDeleteDataCatalog :: Text -> DeleteDataCatalog
+ Amazonka.Athena: newDeleteDataCatalogResponse :: Int -> DeleteDataCatalogResponse
+ Amazonka.Athena: newDeleteNamedQuery :: Text -> DeleteNamedQuery
+ Amazonka.Athena: newDeleteNamedQueryResponse :: Int -> DeleteNamedQueryResponse
+ Amazonka.Athena: newDeleteNotebook :: Text -> DeleteNotebook
+ Amazonka.Athena: newDeleteNotebookResponse :: Int -> DeleteNotebookResponse
+ Amazonka.Athena: newDeletePreparedStatement :: Text -> Text -> DeletePreparedStatement
+ Amazonka.Athena: newDeletePreparedStatementResponse :: Int -> DeletePreparedStatementResponse
+ Amazonka.Athena: newDeleteWorkGroup :: Text -> DeleteWorkGroup
+ Amazonka.Athena: newDeleteWorkGroupResponse :: Int -> DeleteWorkGroupResponse
+ Amazonka.Athena: newEncryptionConfiguration :: EncryptionOption -> EncryptionConfiguration
+ Amazonka.Athena: newEngineConfiguration :: Natural -> EngineConfiguration
+ Amazonka.Athena: newEngineVersion :: EngineVersion
+ Amazonka.Athena: newExecutorsSummary :: Text -> ExecutorsSummary
+ Amazonka.Athena: newExportNotebook :: Text -> ExportNotebook
+ Amazonka.Athena: newExportNotebookResponse :: Int -> ExportNotebookResponse
+ Amazonka.Athena: newFilterDefinition :: FilterDefinition
+ Amazonka.Athena: newGetCalculationExecution :: Text -> GetCalculationExecution
+ Amazonka.Athena: newGetCalculationExecutionCode :: Text -> GetCalculationExecutionCode
+ Amazonka.Athena: newGetCalculationExecutionCodeResponse :: Int -> GetCalculationExecutionCodeResponse
+ Amazonka.Athena: newGetCalculationExecutionResponse :: Int -> GetCalculationExecutionResponse
+ Amazonka.Athena: newGetCalculationExecutionStatus :: Text -> GetCalculationExecutionStatus
+ Amazonka.Athena: newGetCalculationExecutionStatusResponse :: Int -> GetCalculationExecutionStatusResponse
+ Amazonka.Athena: newGetDataCatalog :: Text -> GetDataCatalog
+ Amazonka.Athena: newGetDataCatalogResponse :: Int -> GetDataCatalogResponse
+ Amazonka.Athena: newGetDatabase :: Text -> Text -> GetDatabase
+ Amazonka.Athena: newGetDatabaseResponse :: Int -> GetDatabaseResponse
+ Amazonka.Athena: newGetNamedQuery :: Text -> GetNamedQuery
+ Amazonka.Athena: newGetNamedQueryResponse :: Int -> GetNamedQueryResponse
+ Amazonka.Athena: newGetNotebookMetadata :: Text -> GetNotebookMetadata
+ Amazonka.Athena: newGetNotebookMetadataResponse :: Int -> GetNotebookMetadataResponse
+ Amazonka.Athena: newGetPreparedStatement :: Text -> Text -> GetPreparedStatement
+ Amazonka.Athena: newGetPreparedStatementResponse :: Int -> GetPreparedStatementResponse
+ Amazonka.Athena: newGetQueryExecution :: Text -> GetQueryExecution
+ Amazonka.Athena: newGetQueryExecutionResponse :: Int -> GetQueryExecutionResponse
+ Amazonka.Athena: newGetQueryResults :: Text -> GetQueryResults
+ Amazonka.Athena: newGetQueryResultsResponse :: Int -> GetQueryResultsResponse
+ Amazonka.Athena: newGetQueryRuntimeStatistics :: Text -> GetQueryRuntimeStatistics
+ Amazonka.Athena: newGetQueryRuntimeStatisticsResponse :: Int -> GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena: newGetSession :: Text -> GetSession
+ Amazonka.Athena: newGetSessionResponse :: Int -> GetSessionResponse
+ Amazonka.Athena: newGetSessionStatus :: Text -> GetSessionStatus
+ Amazonka.Athena: newGetSessionStatusResponse :: Int -> GetSessionStatusResponse
+ Amazonka.Athena: newGetTableMetadata :: Text -> Text -> Text -> GetTableMetadata
+ Amazonka.Athena: newGetTableMetadataResponse :: Int -> GetTableMetadataResponse
+ Amazonka.Athena: newGetWorkGroup :: Text -> GetWorkGroup
+ Amazonka.Athena: newGetWorkGroupResponse :: Int -> GetWorkGroupResponse
+ Amazonka.Athena: newImportNotebook :: Text -> Text -> Text -> NotebookType -> ImportNotebook
+ Amazonka.Athena: newImportNotebookResponse :: Int -> ImportNotebookResponse
+ Amazonka.Athena: newListApplicationDPUSizes :: ListApplicationDPUSizes
+ Amazonka.Athena: newListApplicationDPUSizesResponse :: Int -> ListApplicationDPUSizesResponse
+ Amazonka.Athena: newListCalculationExecutions :: Text -> ListCalculationExecutions
+ Amazonka.Athena: newListCalculationExecutionsResponse :: Int -> ListCalculationExecutionsResponse
+ Amazonka.Athena: newListDataCatalogs :: ListDataCatalogs
+ Amazonka.Athena: newListDataCatalogsResponse :: Int -> ListDataCatalogsResponse
+ Amazonka.Athena: newListDatabases :: Text -> ListDatabases
+ Amazonka.Athena: newListDatabasesResponse :: Int -> ListDatabasesResponse
+ Amazonka.Athena: newListEngineVersions :: ListEngineVersions
+ Amazonka.Athena: newListEngineVersionsResponse :: Int -> ListEngineVersionsResponse
+ Amazonka.Athena: newListExecutors :: Text -> ListExecutors
+ Amazonka.Athena: newListExecutorsResponse :: Int -> Text -> ListExecutorsResponse
+ Amazonka.Athena: newListNamedQueries :: ListNamedQueries
+ Amazonka.Athena: newListNamedQueriesResponse :: Int -> ListNamedQueriesResponse
+ Amazonka.Athena: newListNotebookMetadata :: Text -> ListNotebookMetadata
+ Amazonka.Athena: newListNotebookMetadataResponse :: Int -> ListNotebookMetadataResponse
+ Amazonka.Athena: newListNotebookSessions :: Text -> ListNotebookSessions
+ Amazonka.Athena: newListNotebookSessionsResponse :: Int -> ListNotebookSessionsResponse
+ Amazonka.Athena: newListPreparedStatements :: Text -> ListPreparedStatements
+ Amazonka.Athena: newListPreparedStatementsResponse :: Int -> ListPreparedStatementsResponse
+ Amazonka.Athena: newListQueryExecutions :: ListQueryExecutions
+ Amazonka.Athena: newListQueryExecutionsResponse :: Int -> ListQueryExecutionsResponse
+ Amazonka.Athena: newListSessions :: Text -> ListSessions
+ Amazonka.Athena: newListSessionsResponse :: Int -> ListSessionsResponse
+ Amazonka.Athena: newListTableMetadata :: Text -> Text -> ListTableMetadata
+ Amazonka.Athena: newListTableMetadataResponse :: Int -> ListTableMetadataResponse
+ Amazonka.Athena: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Athena: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Athena: newListWorkGroups :: ListWorkGroups
+ Amazonka.Athena: newListWorkGroupsResponse :: Int -> ListWorkGroupsResponse
+ Amazonka.Athena: newNamedQuery :: Text -> Text -> Text -> NamedQuery
+ Amazonka.Athena: newNotebookMetadata :: NotebookMetadata
+ Amazonka.Athena: newNotebookSessionSummary :: NotebookSessionSummary
+ Amazonka.Athena: newPreparedStatement :: PreparedStatement
+ Amazonka.Athena: newPreparedStatementSummary :: PreparedStatementSummary
+ Amazonka.Athena: newQueryExecution :: QueryExecution
+ Amazonka.Athena: newQueryExecutionContext :: QueryExecutionContext
+ Amazonka.Athena: newQueryExecutionStatistics :: QueryExecutionStatistics
+ Amazonka.Athena: newQueryExecutionStatus :: QueryExecutionStatus
+ Amazonka.Athena: newQueryRuntimeStatistics :: QueryRuntimeStatistics
+ Amazonka.Athena: newQueryRuntimeStatisticsRows :: QueryRuntimeStatisticsRows
+ Amazonka.Athena: newQueryRuntimeStatisticsTimeline :: QueryRuntimeStatisticsTimeline
+ Amazonka.Athena: newQueryStage :: QueryStage
+ Amazonka.Athena: newQueryStagePlanNode :: QueryStagePlanNode
+ Amazonka.Athena: newResultConfiguration :: ResultConfiguration
+ Amazonka.Athena: newResultConfigurationUpdates :: ResultConfigurationUpdates
+ Amazonka.Athena: newResultReuseByAgeConfiguration :: Bool -> ResultReuseByAgeConfiguration
+ Amazonka.Athena: newResultReuseConfiguration :: ResultReuseConfiguration
+ Amazonka.Athena: newResultReuseInformation :: Bool -> ResultReuseInformation
+ Amazonka.Athena: newResultSet :: ResultSet
+ Amazonka.Athena: newResultSetMetadata :: ResultSetMetadata
+ Amazonka.Athena: newRow :: Row
+ Amazonka.Athena: newSessionConfiguration :: SessionConfiguration
+ Amazonka.Athena: newSessionStatistics :: SessionStatistics
+ Amazonka.Athena: newSessionStatus :: SessionStatus
+ Amazonka.Athena: newSessionSummary :: SessionSummary
+ Amazonka.Athena: newStartCalculationExecution :: Text -> StartCalculationExecution
+ Amazonka.Athena: newStartCalculationExecutionResponse :: Int -> StartCalculationExecutionResponse
+ Amazonka.Athena: newStartQueryExecution :: Text -> StartQueryExecution
+ Amazonka.Athena: newStartQueryExecutionResponse :: Int -> StartQueryExecutionResponse
+ Amazonka.Athena: newStartSession :: Text -> EngineConfiguration -> StartSession
+ Amazonka.Athena: newStartSessionResponse :: Int -> StartSessionResponse
+ Amazonka.Athena: newStopCalculationExecution :: Text -> StopCalculationExecution
+ Amazonka.Athena: newStopCalculationExecutionResponse :: Int -> StopCalculationExecutionResponse
+ Amazonka.Athena: newStopQueryExecution :: Text -> StopQueryExecution
+ Amazonka.Athena: newStopQueryExecutionResponse :: Int -> StopQueryExecutionResponse
+ Amazonka.Athena: newTableMetadata :: Text -> TableMetadata
+ Amazonka.Athena: newTag :: Tag
+ Amazonka.Athena: newTagResource :: Text -> TagResource
+ Amazonka.Athena: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.Athena: newTerminateSession :: Text -> TerminateSession
+ Amazonka.Athena: newTerminateSessionResponse :: Int -> TerminateSessionResponse
+ Amazonka.Athena: newUnprocessedNamedQueryId :: UnprocessedNamedQueryId
+ Amazonka.Athena: newUnprocessedPreparedStatementName :: UnprocessedPreparedStatementName
+ Amazonka.Athena: newUnprocessedQueryExecutionId :: UnprocessedQueryExecutionId
+ Amazonka.Athena: newUntagResource :: Text -> UntagResource
+ Amazonka.Athena: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.Athena: newUpdateDataCatalog :: Text -> DataCatalogType -> UpdateDataCatalog
+ Amazonka.Athena: newUpdateDataCatalogResponse :: Int -> UpdateDataCatalogResponse
+ Amazonka.Athena: newUpdateNamedQuery :: Text -> Text -> Text -> UpdateNamedQuery
+ Amazonka.Athena: newUpdateNamedQueryResponse :: Int -> UpdateNamedQueryResponse
+ Amazonka.Athena: newUpdateNotebook :: Text -> Text -> NotebookType -> UpdateNotebook
+ Amazonka.Athena: newUpdateNotebookMetadata :: Text -> Text -> UpdateNotebookMetadata
+ Amazonka.Athena: newUpdateNotebookMetadataResponse :: Int -> UpdateNotebookMetadataResponse
+ Amazonka.Athena: newUpdateNotebookResponse :: Int -> UpdateNotebookResponse
+ Amazonka.Athena: newUpdatePreparedStatement :: Text -> Text -> Text -> UpdatePreparedStatement
+ Amazonka.Athena: newUpdatePreparedStatementResponse :: Int -> UpdatePreparedStatementResponse
+ Amazonka.Athena: newUpdateWorkGroup :: Text -> UpdateWorkGroup
+ Amazonka.Athena: newUpdateWorkGroupResponse :: Int -> UpdateWorkGroupResponse
+ Amazonka.Athena: newWorkGroup :: Text -> WorkGroup
+ Amazonka.Athena: newWorkGroupConfiguration :: WorkGroupConfiguration
+ Amazonka.Athena: newWorkGroupConfigurationUpdates :: WorkGroupConfigurationUpdates
+ Amazonka.Athena: newWorkGroupSummary :: WorkGroupSummary
+ Amazonka.Athena: newtype CalculationExecutionState
+ Amazonka.Athena: newtype ColumnNullable
+ Amazonka.Athena: newtype DataCatalogType
+ Amazonka.Athena: newtype EncryptionOption
+ Amazonka.Athena: newtype ExecutorState
+ Amazonka.Athena: newtype ExecutorType
+ Amazonka.Athena: newtype NotebookType
+ Amazonka.Athena: newtype QueryExecutionState
+ Amazonka.Athena: newtype S3AclOption
+ Amazonka.Athena: newtype SessionState
+ Amazonka.Athena: newtype StatementType
+ Amazonka.Athena: newtype WorkGroupState
+ Amazonka.Athena: pattern CalculationExecutionState_CANCELED :: CalculationExecutionState
+ Amazonka.Athena: pattern CalculationExecutionState_CANCELING :: CalculationExecutionState
+ Amazonka.Athena: pattern CalculationExecutionState_COMPLETED :: CalculationExecutionState
+ Amazonka.Athena: pattern CalculationExecutionState_CREATED :: CalculationExecutionState
+ Amazonka.Athena: pattern CalculationExecutionState_CREATING :: CalculationExecutionState
+ Amazonka.Athena: pattern CalculationExecutionState_FAILED :: CalculationExecutionState
+ Amazonka.Athena: pattern CalculationExecutionState_QUEUED :: CalculationExecutionState
+ Amazonka.Athena: pattern CalculationExecutionState_RUNNING :: CalculationExecutionState
+ Amazonka.Athena: pattern ColumnNullable_NOT_NULL :: ColumnNullable
+ Amazonka.Athena: pattern ColumnNullable_NULLABLE :: ColumnNullable
+ Amazonka.Athena: pattern ColumnNullable_UNKNOWN :: ColumnNullable
+ Amazonka.Athena: pattern DataCatalogType_GLUE :: DataCatalogType
+ Amazonka.Athena: pattern DataCatalogType_HIVE :: DataCatalogType
+ Amazonka.Athena: pattern DataCatalogType_LAMBDA :: DataCatalogType
+ Amazonka.Athena: pattern EncryptionOption_CSE_KMS :: EncryptionOption
+ Amazonka.Athena: pattern EncryptionOption_SSE_KMS :: EncryptionOption
+ Amazonka.Athena: pattern EncryptionOption_SSE_S3 :: EncryptionOption
+ Amazonka.Athena: pattern ExecutorState_CREATED :: ExecutorState
+ Amazonka.Athena: pattern ExecutorState_CREATING :: ExecutorState
+ Amazonka.Athena: pattern ExecutorState_FAILED :: ExecutorState
+ Amazonka.Athena: pattern ExecutorState_REGISTERED :: ExecutorState
+ Amazonka.Athena: pattern ExecutorState_TERMINATED :: ExecutorState
+ Amazonka.Athena: pattern ExecutorState_TERMINATING :: ExecutorState
+ Amazonka.Athena: pattern ExecutorType_COORDINATOR :: ExecutorType
+ Amazonka.Athena: pattern ExecutorType_GATEWAY :: ExecutorType
+ Amazonka.Athena: pattern ExecutorType_WORKER :: ExecutorType
+ Amazonka.Athena: pattern NotebookType_IPYNB :: NotebookType
+ Amazonka.Athena: pattern QueryExecutionState_CANCELLED :: QueryExecutionState
+ Amazonka.Athena: pattern QueryExecutionState_FAILED :: QueryExecutionState
+ Amazonka.Athena: pattern QueryExecutionState_QUEUED :: QueryExecutionState
+ Amazonka.Athena: pattern QueryExecutionState_RUNNING :: QueryExecutionState
+ Amazonka.Athena: pattern QueryExecutionState_SUCCEEDED :: QueryExecutionState
+ Amazonka.Athena: pattern S3AclOption_BUCKET_OWNER_FULL_CONTROL :: S3AclOption
+ Amazonka.Athena: pattern SessionState_BUSY :: SessionState
+ Amazonka.Athena: pattern SessionState_CREATED :: SessionState
+ Amazonka.Athena: pattern SessionState_CREATING :: SessionState
+ Amazonka.Athena: pattern SessionState_DEGRADED :: SessionState
+ Amazonka.Athena: pattern SessionState_FAILED :: SessionState
+ Amazonka.Athena: pattern SessionState_IDLE :: SessionState
+ Amazonka.Athena: pattern SessionState_TERMINATED :: SessionState
+ Amazonka.Athena: pattern SessionState_TERMINATING :: SessionState
+ Amazonka.Athena: pattern StatementType_DDL :: StatementType
+ Amazonka.Athena: pattern StatementType_DML :: StatementType
+ Amazonka.Athena: pattern StatementType_UTILITY :: StatementType
+ Amazonka.Athena: pattern WorkGroupState_DISABLED :: WorkGroupState
+ Amazonka.Athena: pattern WorkGroupState_ENABLED :: WorkGroupState
+ Amazonka.Athena.BatchGetNamedQuery: BatchGetNamedQuery' :: NonEmpty Text -> BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: BatchGetNamedQueryResponse' :: Maybe [NamedQuery] -> Maybe [UnprocessedNamedQueryId] -> Int -> BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetNamedQuery: [$sel:httpStatus:BatchGetNamedQueryResponse'] :: BatchGetNamedQueryResponse -> Int
+ Amazonka.Athena.BatchGetNamedQuery: [$sel:namedQueries:BatchGetNamedQueryResponse'] :: BatchGetNamedQueryResponse -> Maybe [NamedQuery]
+ Amazonka.Athena.BatchGetNamedQuery: [$sel:namedQueryIds:BatchGetNamedQuery'] :: BatchGetNamedQuery -> NonEmpty Text
+ Amazonka.Athena.BatchGetNamedQuery: [$sel:unprocessedNamedQueryIds:BatchGetNamedQueryResponse'] :: BatchGetNamedQueryResponse -> Maybe [UnprocessedNamedQueryId]
+ Amazonka.Athena.BatchGetNamedQuery: batchGetNamedQueryResponse_httpStatus :: Lens' BatchGetNamedQueryResponse Int
+ Amazonka.Athena.BatchGetNamedQuery: batchGetNamedQueryResponse_namedQueries :: Lens' BatchGetNamedQueryResponse (Maybe [NamedQuery])
+ Amazonka.Athena.BatchGetNamedQuery: batchGetNamedQueryResponse_unprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse (Maybe [UnprocessedNamedQueryId])
+ Amazonka.Athena.BatchGetNamedQuery: batchGetNamedQuery_namedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text)
+ Amazonka.Athena.BatchGetNamedQuery: data BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: data BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetNamedQuery: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance Amazonka.Data.Path.ToPath Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance Amazonka.Types.AWSRequest Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance Data.Hashable.Class.Hashable Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Read.Read Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Read.Read Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Show.Show Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: instance GHC.Show.Show Amazonka.Athena.BatchGetNamedQuery.BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetNamedQuery: newBatchGetNamedQuery :: NonEmpty Text -> BatchGetNamedQuery
+ Amazonka.Athena.BatchGetNamedQuery: newBatchGetNamedQueryResponse :: Int -> BatchGetNamedQueryResponse
+ Amazonka.Athena.BatchGetPreparedStatement: BatchGetPreparedStatement' :: [Text] -> Text -> BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: BatchGetPreparedStatementResponse' :: Maybe [PreparedStatement] -> Maybe [UnprocessedPreparedStatementName] -> Int -> BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetPreparedStatement: [$sel:httpStatus:BatchGetPreparedStatementResponse'] :: BatchGetPreparedStatementResponse -> Int
+ Amazonka.Athena.BatchGetPreparedStatement: [$sel:preparedStatementNames:BatchGetPreparedStatement'] :: BatchGetPreparedStatement -> [Text]
+ Amazonka.Athena.BatchGetPreparedStatement: [$sel:preparedStatements:BatchGetPreparedStatementResponse'] :: BatchGetPreparedStatementResponse -> Maybe [PreparedStatement]
+ Amazonka.Athena.BatchGetPreparedStatement: [$sel:unprocessedPreparedStatementNames:BatchGetPreparedStatementResponse'] :: BatchGetPreparedStatementResponse -> Maybe [UnprocessedPreparedStatementName]
+ Amazonka.Athena.BatchGetPreparedStatement: [$sel:workGroup:BatchGetPreparedStatement'] :: BatchGetPreparedStatement -> Text
+ Amazonka.Athena.BatchGetPreparedStatement: batchGetPreparedStatementResponse_httpStatus :: Lens' BatchGetPreparedStatementResponse Int
+ Amazonka.Athena.BatchGetPreparedStatement: batchGetPreparedStatementResponse_preparedStatements :: Lens' BatchGetPreparedStatementResponse (Maybe [PreparedStatement])
+ Amazonka.Athena.BatchGetPreparedStatement: batchGetPreparedStatementResponse_unprocessedPreparedStatementNames :: Lens' BatchGetPreparedStatementResponse (Maybe [UnprocessedPreparedStatementName])
+ Amazonka.Athena.BatchGetPreparedStatement: batchGetPreparedStatement_preparedStatementNames :: Lens' BatchGetPreparedStatement [Text]
+ Amazonka.Athena.BatchGetPreparedStatement: batchGetPreparedStatement_workGroup :: Lens' BatchGetPreparedStatement Text
+ Amazonka.Athena.BatchGetPreparedStatement: data BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: data BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetPreparedStatement: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance Amazonka.Data.Path.ToPath Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance Amazonka.Types.AWSRequest Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetPreparedStatement: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance Data.Hashable.Class.Hashable Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Read.Read Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Read.Read Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Show.Show Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: instance GHC.Show.Show Amazonka.Athena.BatchGetPreparedStatement.BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetPreparedStatement: newBatchGetPreparedStatement :: Text -> BatchGetPreparedStatement
+ Amazonka.Athena.BatchGetPreparedStatement: newBatchGetPreparedStatementResponse :: Int -> BatchGetPreparedStatementResponse
+ Amazonka.Athena.BatchGetQueryExecution: BatchGetQueryExecution' :: NonEmpty Text -> BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: BatchGetQueryExecutionResponse' :: Maybe [QueryExecution] -> Maybe [UnprocessedQueryExecutionId] -> Int -> BatchGetQueryExecutionResponse
+ Amazonka.Athena.BatchGetQueryExecution: [$sel:httpStatus:BatchGetQueryExecutionResponse'] :: BatchGetQueryExecutionResponse -> Int
+ Amazonka.Athena.BatchGetQueryExecution: [$sel:queryExecutionIds:BatchGetQueryExecution'] :: BatchGetQueryExecution -> NonEmpty Text
+ Amazonka.Athena.BatchGetQueryExecution: [$sel:queryExecutions:BatchGetQueryExecutionResponse'] :: BatchGetQueryExecutionResponse -> Maybe [QueryExecution]
+ Amazonka.Athena.BatchGetQueryExecution: [$sel:unprocessedQueryExecutionIds:BatchGetQueryExecutionResponse'] :: BatchGetQueryExecutionResponse -> Maybe [UnprocessedQueryExecutionId]
+ Amazonka.Athena.BatchGetQueryExecution: batchGetQueryExecutionResponse_httpStatus :: Lens' BatchGetQueryExecutionResponse Int
+ Amazonka.Athena.BatchGetQueryExecution: batchGetQueryExecutionResponse_queryExecutions :: Lens' BatchGetQueryExecutionResponse (Maybe [QueryExecution])
+ Amazonka.Athena.BatchGetQueryExecution: batchGetQueryExecutionResponse_unprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse (Maybe [UnprocessedQueryExecutionId])
+ Amazonka.Athena.BatchGetQueryExecution: batchGetQueryExecution_queryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text)
+ Amazonka.Athena.BatchGetQueryExecution: data BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: data BatchGetQueryExecutionResponse
+ Amazonka.Athena.BatchGetQueryExecution: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance Amazonka.Data.Path.ToPath Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance Amazonka.Types.AWSRequest Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
+ Amazonka.Athena.BatchGetQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Read.Read Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Read.Read Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Show.Show Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: instance GHC.Show.Show Amazonka.Athena.BatchGetQueryExecution.BatchGetQueryExecutionResponse
+ Amazonka.Athena.BatchGetQueryExecution: newBatchGetQueryExecution :: NonEmpty Text -> BatchGetQueryExecution
+ Amazonka.Athena.BatchGetQueryExecution: newBatchGetQueryExecutionResponse :: Int -> BatchGetQueryExecutionResponse
+ Amazonka.Athena.CreateDataCatalog: CreateDataCatalog' :: Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Tag] -> Text -> DataCatalogType -> CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: CreateDataCatalogResponse' :: Int -> CreateDataCatalogResponse
+ Amazonka.Athena.CreateDataCatalog: [$sel:description:CreateDataCatalog'] :: CreateDataCatalog -> Maybe Text
+ Amazonka.Athena.CreateDataCatalog: [$sel:httpStatus:CreateDataCatalogResponse'] :: CreateDataCatalogResponse -> Int
+ Amazonka.Athena.CreateDataCatalog: [$sel:name:CreateDataCatalog'] :: CreateDataCatalog -> Text
+ Amazonka.Athena.CreateDataCatalog: [$sel:parameters:CreateDataCatalog'] :: CreateDataCatalog -> Maybe (HashMap Text Text)
+ Amazonka.Athena.CreateDataCatalog: [$sel:tags:CreateDataCatalog'] :: CreateDataCatalog -> Maybe [Tag]
+ Amazonka.Athena.CreateDataCatalog: [$sel:type':CreateDataCatalog'] :: CreateDataCatalog -> DataCatalogType
+ Amazonka.Athena.CreateDataCatalog: createDataCatalogResponse_httpStatus :: Lens' CreateDataCatalogResponse Int
+ Amazonka.Athena.CreateDataCatalog: createDataCatalog_description :: Lens' CreateDataCatalog (Maybe Text)
+ Amazonka.Athena.CreateDataCatalog: createDataCatalog_name :: Lens' CreateDataCatalog Text
+ Amazonka.Athena.CreateDataCatalog: createDataCatalog_parameters :: Lens' CreateDataCatalog (Maybe (HashMap Text Text))
+ Amazonka.Athena.CreateDataCatalog: createDataCatalog_tags :: Lens' CreateDataCatalog (Maybe [Tag])
+ Amazonka.Athena.CreateDataCatalog: createDataCatalog_type :: Lens' CreateDataCatalog DataCatalogType
+ Amazonka.Athena.CreateDataCatalog: data CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: data CreateDataCatalogResponse
+ Amazonka.Athena.CreateDataCatalog: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance Amazonka.Data.Path.ToPath Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance Amazonka.Types.AWSRequest Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.CreateDataCatalog.CreateDataCatalogResponse
+ Amazonka.Athena.CreateDataCatalog: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance Data.Hashable.Class.Hashable Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.CreateDataCatalog.CreateDataCatalogResponse
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.CreateDataCatalog.CreateDataCatalogResponse
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Read.Read Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Read.Read Amazonka.Athena.CreateDataCatalog.CreateDataCatalogResponse
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Show.Show Amazonka.Athena.CreateDataCatalog.CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: instance GHC.Show.Show Amazonka.Athena.CreateDataCatalog.CreateDataCatalogResponse
+ Amazonka.Athena.CreateDataCatalog: newCreateDataCatalog :: Text -> DataCatalogType -> CreateDataCatalog
+ Amazonka.Athena.CreateDataCatalog: newCreateDataCatalogResponse :: Int -> CreateDataCatalogResponse
+ Amazonka.Athena.CreateNamedQuery: CreateNamedQuery' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: CreateNamedQueryResponse' :: Maybe Text -> Int -> CreateNamedQueryResponse
+ Amazonka.Athena.CreateNamedQuery: [$sel:clientRequestToken:CreateNamedQuery'] :: CreateNamedQuery -> Maybe Text
+ Amazonka.Athena.CreateNamedQuery: [$sel:database:CreateNamedQuery'] :: CreateNamedQuery -> Text
+ Amazonka.Athena.CreateNamedQuery: [$sel:description:CreateNamedQuery'] :: CreateNamedQuery -> Maybe Text
+ Amazonka.Athena.CreateNamedQuery: [$sel:httpStatus:CreateNamedQueryResponse'] :: CreateNamedQueryResponse -> Int
+ Amazonka.Athena.CreateNamedQuery: [$sel:name:CreateNamedQuery'] :: CreateNamedQuery -> Text
+ Amazonka.Athena.CreateNamedQuery: [$sel:namedQueryId:CreateNamedQueryResponse'] :: CreateNamedQueryResponse -> Maybe Text
+ Amazonka.Athena.CreateNamedQuery: [$sel:queryString:CreateNamedQuery'] :: CreateNamedQuery -> Text
+ Amazonka.Athena.CreateNamedQuery: [$sel:workGroup:CreateNamedQuery'] :: CreateNamedQuery -> Maybe Text
+ Amazonka.Athena.CreateNamedQuery: createNamedQueryResponse_httpStatus :: Lens' CreateNamedQueryResponse Int
+ Amazonka.Athena.CreateNamedQuery: createNamedQueryResponse_namedQueryId :: Lens' CreateNamedQueryResponse (Maybe Text)
+ Amazonka.Athena.CreateNamedQuery: createNamedQuery_clientRequestToken :: Lens' CreateNamedQuery (Maybe Text)
+ Amazonka.Athena.CreateNamedQuery: createNamedQuery_database :: Lens' CreateNamedQuery Text
+ Amazonka.Athena.CreateNamedQuery: createNamedQuery_description :: Lens' CreateNamedQuery (Maybe Text)
+ Amazonka.Athena.CreateNamedQuery: createNamedQuery_name :: Lens' CreateNamedQuery Text
+ Amazonka.Athena.CreateNamedQuery: createNamedQuery_queryString :: Lens' CreateNamedQuery Text
+ Amazonka.Athena.CreateNamedQuery: createNamedQuery_workGroup :: Lens' CreateNamedQuery (Maybe Text)
+ Amazonka.Athena.CreateNamedQuery: data CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: data CreateNamedQueryResponse
+ Amazonka.Athena.CreateNamedQuery: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance Amazonka.Data.Path.ToPath Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance Amazonka.Types.AWSRequest Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.CreateNamedQuery.CreateNamedQueryResponse
+ Amazonka.Athena.CreateNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance Data.Hashable.Class.Hashable Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.CreateNamedQuery.CreateNamedQueryResponse
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.CreateNamedQuery.CreateNamedQueryResponse
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Read.Read Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Read.Read Amazonka.Athena.CreateNamedQuery.CreateNamedQueryResponse
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Show.Show Amazonka.Athena.CreateNamedQuery.CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: instance GHC.Show.Show Amazonka.Athena.CreateNamedQuery.CreateNamedQueryResponse
+ Amazonka.Athena.CreateNamedQuery: newCreateNamedQuery :: Text -> Text -> Text -> CreateNamedQuery
+ Amazonka.Athena.CreateNamedQuery: newCreateNamedQueryResponse :: Int -> CreateNamedQueryResponse
+ Amazonka.Athena.CreateNotebook: CreateNotebook' :: Maybe Text -> Text -> Text -> CreateNotebook
+ Amazonka.Athena.CreateNotebook: CreateNotebookResponse' :: Maybe Text -> Int -> CreateNotebookResponse
+ Amazonka.Athena.CreateNotebook: [$sel:clientRequestToken:CreateNotebook'] :: CreateNotebook -> Maybe Text
+ Amazonka.Athena.CreateNotebook: [$sel:httpStatus:CreateNotebookResponse'] :: CreateNotebookResponse -> Int
+ Amazonka.Athena.CreateNotebook: [$sel:name:CreateNotebook'] :: CreateNotebook -> Text
+ Amazonka.Athena.CreateNotebook: [$sel:notebookId:CreateNotebookResponse'] :: CreateNotebookResponse -> Maybe Text
+ Amazonka.Athena.CreateNotebook: [$sel:workGroup:CreateNotebook'] :: CreateNotebook -> Text
+ Amazonka.Athena.CreateNotebook: createNotebookResponse_httpStatus :: Lens' CreateNotebookResponse Int
+ Amazonka.Athena.CreateNotebook: createNotebookResponse_notebookId :: Lens' CreateNotebookResponse (Maybe Text)
+ Amazonka.Athena.CreateNotebook: createNotebook_clientRequestToken :: Lens' CreateNotebook (Maybe Text)
+ Amazonka.Athena.CreateNotebook: createNotebook_name :: Lens' CreateNotebook Text
+ Amazonka.Athena.CreateNotebook: createNotebook_workGroup :: Lens' CreateNotebook Text
+ Amazonka.Athena.CreateNotebook: data CreateNotebook
+ Amazonka.Athena.CreateNotebook: data CreateNotebookResponse
+ Amazonka.Athena.CreateNotebook: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance Amazonka.Data.Path.ToPath Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance Amazonka.Types.AWSRequest Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.CreateNotebook.CreateNotebookResponse
+ Amazonka.Athena.CreateNotebook: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance Data.Hashable.Class.Hashable Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance GHC.Classes.Eq Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance GHC.Classes.Eq Amazonka.Athena.CreateNotebook.CreateNotebookResponse
+ Amazonka.Athena.CreateNotebook: instance GHC.Generics.Generic Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance GHC.Generics.Generic Amazonka.Athena.CreateNotebook.CreateNotebookResponse
+ Amazonka.Athena.CreateNotebook: instance GHC.Read.Read Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance GHC.Read.Read Amazonka.Athena.CreateNotebook.CreateNotebookResponse
+ Amazonka.Athena.CreateNotebook: instance GHC.Show.Show Amazonka.Athena.CreateNotebook.CreateNotebook
+ Amazonka.Athena.CreateNotebook: instance GHC.Show.Show Amazonka.Athena.CreateNotebook.CreateNotebookResponse
+ Amazonka.Athena.CreateNotebook: newCreateNotebook :: Text -> Text -> CreateNotebook
+ Amazonka.Athena.CreateNotebook: newCreateNotebookResponse :: Int -> CreateNotebookResponse
+ Amazonka.Athena.CreatePreparedStatement: CreatePreparedStatement' :: Maybe Text -> Text -> Text -> Text -> CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: CreatePreparedStatementResponse' :: Int -> CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePreparedStatement: [$sel:description:CreatePreparedStatement'] :: CreatePreparedStatement -> Maybe Text
+ Amazonka.Athena.CreatePreparedStatement: [$sel:httpStatus:CreatePreparedStatementResponse'] :: CreatePreparedStatementResponse -> Int
+ Amazonka.Athena.CreatePreparedStatement: [$sel:queryStatement:CreatePreparedStatement'] :: CreatePreparedStatement -> Text
+ Amazonka.Athena.CreatePreparedStatement: [$sel:statementName:CreatePreparedStatement'] :: CreatePreparedStatement -> Text
+ Amazonka.Athena.CreatePreparedStatement: [$sel:workGroup:CreatePreparedStatement'] :: CreatePreparedStatement -> Text
+ Amazonka.Athena.CreatePreparedStatement: createPreparedStatementResponse_httpStatus :: Lens' CreatePreparedStatementResponse Int
+ Amazonka.Athena.CreatePreparedStatement: createPreparedStatement_description :: Lens' CreatePreparedStatement (Maybe Text)
+ Amazonka.Athena.CreatePreparedStatement: createPreparedStatement_queryStatement :: Lens' CreatePreparedStatement Text
+ Amazonka.Athena.CreatePreparedStatement: createPreparedStatement_statementName :: Lens' CreatePreparedStatement Text
+ Amazonka.Athena.CreatePreparedStatement: createPreparedStatement_workGroup :: Lens' CreatePreparedStatement Text
+ Amazonka.Athena.CreatePreparedStatement: data CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: data CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePreparedStatement: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance Amazonka.Data.Path.ToPath Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance Amazonka.Types.AWSRequest Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePreparedStatement: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance Data.Hashable.Class.Hashable Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Read.Read Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Read.Read Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Show.Show Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: instance GHC.Show.Show Amazonka.Athena.CreatePreparedStatement.CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePreparedStatement: newCreatePreparedStatement :: Text -> Text -> Text -> CreatePreparedStatement
+ Amazonka.Athena.CreatePreparedStatement: newCreatePreparedStatementResponse :: Int -> CreatePreparedStatementResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: CreatePresignedNotebookUrl' :: Text -> CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: CreatePresignedNotebookUrlResponse' :: Int -> Text -> Text -> Integer -> CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: [$sel:authToken:CreatePresignedNotebookUrlResponse'] :: CreatePresignedNotebookUrlResponse -> Text
+ Amazonka.Athena.CreatePresignedNotebookUrl: [$sel:authTokenExpirationTime:CreatePresignedNotebookUrlResponse'] :: CreatePresignedNotebookUrlResponse -> Integer
+ Amazonka.Athena.CreatePresignedNotebookUrl: [$sel:httpStatus:CreatePresignedNotebookUrlResponse'] :: CreatePresignedNotebookUrlResponse -> Int
+ Amazonka.Athena.CreatePresignedNotebookUrl: [$sel:notebookUrl:CreatePresignedNotebookUrlResponse'] :: CreatePresignedNotebookUrlResponse -> Text
+ Amazonka.Athena.CreatePresignedNotebookUrl: [$sel:sessionId:CreatePresignedNotebookUrl'] :: CreatePresignedNotebookUrl -> Text
+ Amazonka.Athena.CreatePresignedNotebookUrl: createPresignedNotebookUrlResponse_authToken :: Lens' CreatePresignedNotebookUrlResponse Text
+ Amazonka.Athena.CreatePresignedNotebookUrl: createPresignedNotebookUrlResponse_authTokenExpirationTime :: Lens' CreatePresignedNotebookUrlResponse Integer
+ Amazonka.Athena.CreatePresignedNotebookUrl: createPresignedNotebookUrlResponse_httpStatus :: Lens' CreatePresignedNotebookUrlResponse Int
+ Amazonka.Athena.CreatePresignedNotebookUrl: createPresignedNotebookUrlResponse_notebookUrl :: Lens' CreatePresignedNotebookUrlResponse Text
+ Amazonka.Athena.CreatePresignedNotebookUrl: createPresignedNotebookUrl_sessionId :: Lens' CreatePresignedNotebookUrl Text
+ Amazonka.Athena.CreatePresignedNotebookUrl: data CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: data CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Amazonka.Data.Path.ToPath Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Amazonka.Types.AWSRequest Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Control.DeepSeq.NFData Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Control.DeepSeq.NFData Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance Data.Hashable.Class.Hashable Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Classes.Eq Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Classes.Eq Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Generics.Generic Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Generics.Generic Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Read.Read Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Read.Read Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Show.Show Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: instance GHC.Show.Show Amazonka.Athena.CreatePresignedNotebookUrl.CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreatePresignedNotebookUrl: newCreatePresignedNotebookUrl :: Text -> CreatePresignedNotebookUrl
+ Amazonka.Athena.CreatePresignedNotebookUrl: newCreatePresignedNotebookUrlResponse :: Int -> Text -> Text -> Integer -> CreatePresignedNotebookUrlResponse
+ Amazonka.Athena.CreateWorkGroup: CreateWorkGroup' :: Maybe WorkGroupConfiguration -> Maybe Text -> Maybe [Tag] -> Text -> CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: CreateWorkGroupResponse' :: Int -> CreateWorkGroupResponse
+ Amazonka.Athena.CreateWorkGroup: [$sel:configuration:CreateWorkGroup'] :: CreateWorkGroup -> Maybe WorkGroupConfiguration
+ Amazonka.Athena.CreateWorkGroup: [$sel:description:CreateWorkGroup'] :: CreateWorkGroup -> Maybe Text
+ Amazonka.Athena.CreateWorkGroup: [$sel:httpStatus:CreateWorkGroupResponse'] :: CreateWorkGroupResponse -> Int
+ Amazonka.Athena.CreateWorkGroup: [$sel:name:CreateWorkGroup'] :: CreateWorkGroup -> Text
+ Amazonka.Athena.CreateWorkGroup: [$sel:tags:CreateWorkGroup'] :: CreateWorkGroup -> Maybe [Tag]
+ Amazonka.Athena.CreateWorkGroup: createWorkGroupResponse_httpStatus :: Lens' CreateWorkGroupResponse Int
+ Amazonka.Athena.CreateWorkGroup: createWorkGroup_configuration :: Lens' CreateWorkGroup (Maybe WorkGroupConfiguration)
+ Amazonka.Athena.CreateWorkGroup: createWorkGroup_description :: Lens' CreateWorkGroup (Maybe Text)
+ Amazonka.Athena.CreateWorkGroup: createWorkGroup_name :: Lens' CreateWorkGroup Text
+ Amazonka.Athena.CreateWorkGroup: createWorkGroup_tags :: Lens' CreateWorkGroup (Maybe [Tag])
+ Amazonka.Athena.CreateWorkGroup: data CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: data CreateWorkGroupResponse
+ Amazonka.Athena.CreateWorkGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance Amazonka.Data.Path.ToPath Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance Amazonka.Types.AWSRequest Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.CreateWorkGroup.CreateWorkGroupResponse
+ Amazonka.Athena.CreateWorkGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance Data.Hashable.Class.Hashable Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.CreateWorkGroup.CreateWorkGroupResponse
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.CreateWorkGroup.CreateWorkGroupResponse
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Read.Read Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Read.Read Amazonka.Athena.CreateWorkGroup.CreateWorkGroupResponse
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Show.Show Amazonka.Athena.CreateWorkGroup.CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: instance GHC.Show.Show Amazonka.Athena.CreateWorkGroup.CreateWorkGroupResponse
+ Amazonka.Athena.CreateWorkGroup: newCreateWorkGroup :: Text -> CreateWorkGroup
+ Amazonka.Athena.CreateWorkGroup: newCreateWorkGroupResponse :: Int -> CreateWorkGroupResponse
+ Amazonka.Athena.DeleteDataCatalog: DeleteDataCatalog' :: Text -> DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: DeleteDataCatalogResponse' :: Int -> DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteDataCatalog: [$sel:httpStatus:DeleteDataCatalogResponse'] :: DeleteDataCatalogResponse -> Int
+ Amazonka.Athena.DeleteDataCatalog: [$sel:name:DeleteDataCatalog'] :: DeleteDataCatalog -> Text
+ Amazonka.Athena.DeleteDataCatalog: data DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: data DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteDataCatalog: deleteDataCatalogResponse_httpStatus :: Lens' DeleteDataCatalogResponse Int
+ Amazonka.Athena.DeleteDataCatalog: deleteDataCatalog_name :: Lens' DeleteDataCatalog Text
+ Amazonka.Athena.DeleteDataCatalog: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance Amazonka.Data.Path.ToPath Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance Amazonka.Types.AWSRequest Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteDataCatalog: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance Data.Hashable.Class.Hashable Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Read.Read Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Read.Read Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Show.Show Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: instance GHC.Show.Show Amazonka.Athena.DeleteDataCatalog.DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteDataCatalog: newDeleteDataCatalog :: Text -> DeleteDataCatalog
+ Amazonka.Athena.DeleteDataCatalog: newDeleteDataCatalogResponse :: Int -> DeleteDataCatalogResponse
+ Amazonka.Athena.DeleteNamedQuery: DeleteNamedQuery' :: Text -> DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: DeleteNamedQueryResponse' :: Int -> DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNamedQuery: [$sel:httpStatus:DeleteNamedQueryResponse'] :: DeleteNamedQueryResponse -> Int
+ Amazonka.Athena.DeleteNamedQuery: [$sel:namedQueryId:DeleteNamedQuery'] :: DeleteNamedQuery -> Text
+ Amazonka.Athena.DeleteNamedQuery: data DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: data DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNamedQuery: deleteNamedQueryResponse_httpStatus :: Lens' DeleteNamedQueryResponse Int
+ Amazonka.Athena.DeleteNamedQuery: deleteNamedQuery_namedQueryId :: Lens' DeleteNamedQuery Text
+ Amazonka.Athena.DeleteNamedQuery: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance Amazonka.Data.Path.ToPath Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance Amazonka.Types.AWSRequest Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance Data.Hashable.Class.Hashable Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Read.Read Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Read.Read Amazonka.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Show.Show Amazonka.Athena.DeleteNamedQuery.DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: instance GHC.Show.Show Amazonka.Athena.DeleteNamedQuery.DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNamedQuery: newDeleteNamedQuery :: Text -> DeleteNamedQuery
+ Amazonka.Athena.DeleteNamedQuery: newDeleteNamedQueryResponse :: Int -> DeleteNamedQueryResponse
+ Amazonka.Athena.DeleteNotebook: DeleteNotebook' :: Text -> DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: DeleteNotebookResponse' :: Int -> DeleteNotebookResponse
+ Amazonka.Athena.DeleteNotebook: [$sel:httpStatus:DeleteNotebookResponse'] :: DeleteNotebookResponse -> Int
+ Amazonka.Athena.DeleteNotebook: [$sel:notebookId:DeleteNotebook'] :: DeleteNotebook -> Text
+ Amazonka.Athena.DeleteNotebook: data DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: data DeleteNotebookResponse
+ Amazonka.Athena.DeleteNotebook: deleteNotebookResponse_httpStatus :: Lens' DeleteNotebookResponse Int
+ Amazonka.Athena.DeleteNotebook: deleteNotebook_notebookId :: Lens' DeleteNotebook Text
+ Amazonka.Athena.DeleteNotebook: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance Amazonka.Data.Path.ToPath Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance Amazonka.Types.AWSRequest Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteNotebook.DeleteNotebookResponse
+ Amazonka.Athena.DeleteNotebook: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance Data.Hashable.Class.Hashable Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance GHC.Classes.Eq Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance GHC.Classes.Eq Amazonka.Athena.DeleteNotebook.DeleteNotebookResponse
+ Amazonka.Athena.DeleteNotebook: instance GHC.Generics.Generic Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance GHC.Generics.Generic Amazonka.Athena.DeleteNotebook.DeleteNotebookResponse
+ Amazonka.Athena.DeleteNotebook: instance GHC.Read.Read Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance GHC.Read.Read Amazonka.Athena.DeleteNotebook.DeleteNotebookResponse
+ Amazonka.Athena.DeleteNotebook: instance GHC.Show.Show Amazonka.Athena.DeleteNotebook.DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: instance GHC.Show.Show Amazonka.Athena.DeleteNotebook.DeleteNotebookResponse
+ Amazonka.Athena.DeleteNotebook: newDeleteNotebook :: Text -> DeleteNotebook
+ Amazonka.Athena.DeleteNotebook: newDeleteNotebookResponse :: Int -> DeleteNotebookResponse
+ Amazonka.Athena.DeletePreparedStatement: DeletePreparedStatement' :: Text -> Text -> DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: DeletePreparedStatementResponse' :: Int -> DeletePreparedStatementResponse
+ Amazonka.Athena.DeletePreparedStatement: [$sel:httpStatus:DeletePreparedStatementResponse'] :: DeletePreparedStatementResponse -> Int
+ Amazonka.Athena.DeletePreparedStatement: [$sel:statementName:DeletePreparedStatement'] :: DeletePreparedStatement -> Text
+ Amazonka.Athena.DeletePreparedStatement: [$sel:workGroup:DeletePreparedStatement'] :: DeletePreparedStatement -> Text
+ Amazonka.Athena.DeletePreparedStatement: data DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: data DeletePreparedStatementResponse
+ Amazonka.Athena.DeletePreparedStatement: deletePreparedStatementResponse_httpStatus :: Lens' DeletePreparedStatementResponse Int
+ Amazonka.Athena.DeletePreparedStatement: deletePreparedStatement_statementName :: Lens' DeletePreparedStatement Text
+ Amazonka.Athena.DeletePreparedStatement: deletePreparedStatement_workGroup :: Lens' DeletePreparedStatement Text
+ Amazonka.Athena.DeletePreparedStatement: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance Amazonka.Data.Path.ToPath Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance Amazonka.Types.AWSRequest Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatementResponse
+ Amazonka.Athena.DeletePreparedStatement: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance Data.Hashable.Class.Hashable Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatementResponse
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatementResponse
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Read.Read Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Read.Read Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatementResponse
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Show.Show Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: instance GHC.Show.Show Amazonka.Athena.DeletePreparedStatement.DeletePreparedStatementResponse
+ Amazonka.Athena.DeletePreparedStatement: newDeletePreparedStatement :: Text -> Text -> DeletePreparedStatement
+ Amazonka.Athena.DeletePreparedStatement: newDeletePreparedStatementResponse :: Int -> DeletePreparedStatementResponse
+ Amazonka.Athena.DeleteWorkGroup: DeleteWorkGroup' :: Maybe Bool -> Text -> DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: DeleteWorkGroupResponse' :: Int -> DeleteWorkGroupResponse
+ Amazonka.Athena.DeleteWorkGroup: [$sel:httpStatus:DeleteWorkGroupResponse'] :: DeleteWorkGroupResponse -> Int
+ Amazonka.Athena.DeleteWorkGroup: [$sel:recursiveDeleteOption:DeleteWorkGroup'] :: DeleteWorkGroup -> Maybe Bool
+ Amazonka.Athena.DeleteWorkGroup: [$sel:workGroup:DeleteWorkGroup'] :: DeleteWorkGroup -> Text
+ Amazonka.Athena.DeleteWorkGroup: data DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: data DeleteWorkGroupResponse
+ Amazonka.Athena.DeleteWorkGroup: deleteWorkGroupResponse_httpStatus :: Lens' DeleteWorkGroupResponse Int
+ Amazonka.Athena.DeleteWorkGroup: deleteWorkGroup_recursiveDeleteOption :: Lens' DeleteWorkGroup (Maybe Bool)
+ Amazonka.Athena.DeleteWorkGroup: deleteWorkGroup_workGroup :: Lens' DeleteWorkGroup Text
+ Amazonka.Athena.DeleteWorkGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance Amazonka.Data.Path.ToPath Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance Amazonka.Types.AWSRequest Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroupResponse
+ Amazonka.Athena.DeleteWorkGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance Data.Hashable.Class.Hashable Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroupResponse
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroupResponse
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Read.Read Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Read.Read Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroupResponse
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Show.Show Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: instance GHC.Show.Show Amazonka.Athena.DeleteWorkGroup.DeleteWorkGroupResponse
+ Amazonka.Athena.DeleteWorkGroup: newDeleteWorkGroup :: Text -> DeleteWorkGroup
+ Amazonka.Athena.DeleteWorkGroup: newDeleteWorkGroupResponse :: Int -> DeleteWorkGroupResponse
+ Amazonka.Athena.ExportNotebook: ExportNotebook' :: Text -> ExportNotebook
+ Amazonka.Athena.ExportNotebook: ExportNotebookResponse' :: Maybe NotebookMetadata -> Maybe Text -> Int -> ExportNotebookResponse
+ Amazonka.Athena.ExportNotebook: [$sel:httpStatus:ExportNotebookResponse'] :: ExportNotebookResponse -> Int
+ Amazonka.Athena.ExportNotebook: [$sel:notebookId:ExportNotebook'] :: ExportNotebook -> Text
+ Amazonka.Athena.ExportNotebook: [$sel:notebookMetadata:ExportNotebookResponse'] :: ExportNotebookResponse -> Maybe NotebookMetadata
+ Amazonka.Athena.ExportNotebook: [$sel:payload:ExportNotebookResponse'] :: ExportNotebookResponse -> Maybe Text
+ Amazonka.Athena.ExportNotebook: data ExportNotebook
+ Amazonka.Athena.ExportNotebook: data ExportNotebookResponse
+ Amazonka.Athena.ExportNotebook: exportNotebookResponse_httpStatus :: Lens' ExportNotebookResponse Int
+ Amazonka.Athena.ExportNotebook: exportNotebookResponse_notebookMetadata :: Lens' ExportNotebookResponse (Maybe NotebookMetadata)
+ Amazonka.Athena.ExportNotebook: exportNotebookResponse_payload :: Lens' ExportNotebookResponse (Maybe Text)
+ Amazonka.Athena.ExportNotebook: exportNotebook_notebookId :: Lens' ExportNotebook Text
+ Amazonka.Athena.ExportNotebook: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance Amazonka.Types.AWSRequest Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.ExportNotebook.ExportNotebookResponse
+ Amazonka.Athena.ExportNotebook: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance Data.Hashable.Class.Hashable Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance GHC.Classes.Eq Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance GHC.Classes.Eq Amazonka.Athena.ExportNotebook.ExportNotebookResponse
+ Amazonka.Athena.ExportNotebook: instance GHC.Generics.Generic Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance GHC.Generics.Generic Amazonka.Athena.ExportNotebook.ExportNotebookResponse
+ Amazonka.Athena.ExportNotebook: instance GHC.Read.Read Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance GHC.Read.Read Amazonka.Athena.ExportNotebook.ExportNotebookResponse
+ Amazonka.Athena.ExportNotebook: instance GHC.Show.Show Amazonka.Athena.ExportNotebook.ExportNotebook
+ Amazonka.Athena.ExportNotebook: instance GHC.Show.Show Amazonka.Athena.ExportNotebook.ExportNotebookResponse
+ Amazonka.Athena.ExportNotebook: newExportNotebook :: Text -> ExportNotebook
+ Amazonka.Athena.ExportNotebook: newExportNotebookResponse :: Int -> ExportNotebookResponse
+ Amazonka.Athena.GetCalculationExecution: GetCalculationExecution' :: Text -> GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: GetCalculationExecutionResponse' :: Maybe Text -> Maybe Text -> Maybe CalculationResult -> Maybe Text -> Maybe CalculationStatistics -> Maybe CalculationStatus -> Maybe Text -> Int -> GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecution: [$sel:calculationExecutionId:GetCalculationExecution'] :: GetCalculationExecution -> Text
+ Amazonka.Athena.GetCalculationExecution: [$sel:calculationExecutionId:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Maybe Text
+ Amazonka.Athena.GetCalculationExecution: [$sel:description:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Maybe Text
+ Amazonka.Athena.GetCalculationExecution: [$sel:httpStatus:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Int
+ Amazonka.Athena.GetCalculationExecution: [$sel:result:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Maybe CalculationResult
+ Amazonka.Athena.GetCalculationExecution: [$sel:sessionId:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Maybe Text
+ Amazonka.Athena.GetCalculationExecution: [$sel:statistics:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Maybe CalculationStatistics
+ Amazonka.Athena.GetCalculationExecution: [$sel:status:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Maybe CalculationStatus
+ Amazonka.Athena.GetCalculationExecution: [$sel:workingDirectory:GetCalculationExecutionResponse'] :: GetCalculationExecutionResponse -> Maybe Text
+ Amazonka.Athena.GetCalculationExecution: data GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: data GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_calculationExecutionId :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_description :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_httpStatus :: Lens' GetCalculationExecutionResponse Int
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_result :: Lens' GetCalculationExecutionResponse (Maybe CalculationResult)
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_sessionId :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_statistics :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatistics)
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_status :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatus)
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecutionResponse_workingDirectory :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.GetCalculationExecution: getCalculationExecution_calculationExecutionId :: Lens' GetCalculationExecution Text
+ Amazonka.Athena.GetCalculationExecution: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance Control.DeepSeq.NFData Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance Control.DeepSeq.NFData Amazonka.Athena.GetCalculationExecution.GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecution: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Classes.Eq Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Classes.Eq Amazonka.Athena.GetCalculationExecution.GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Generics.Generic Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Generics.Generic Amazonka.Athena.GetCalculationExecution.GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Read.Read Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Read.Read Amazonka.Athena.GetCalculationExecution.GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Show.Show Amazonka.Athena.GetCalculationExecution.GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: instance GHC.Show.Show Amazonka.Athena.GetCalculationExecution.GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecution: newGetCalculationExecution :: Text -> GetCalculationExecution
+ Amazonka.Athena.GetCalculationExecution: newGetCalculationExecutionResponse :: Int -> GetCalculationExecutionResponse
+ Amazonka.Athena.GetCalculationExecutionCode: GetCalculationExecutionCode' :: Text -> GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: GetCalculationExecutionCodeResponse' :: Maybe Text -> Int -> GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionCode: [$sel:calculationExecutionId:GetCalculationExecutionCode'] :: GetCalculationExecutionCode -> Text
+ Amazonka.Athena.GetCalculationExecutionCode: [$sel:codeBlock:GetCalculationExecutionCodeResponse'] :: GetCalculationExecutionCodeResponse -> Maybe Text
+ Amazonka.Athena.GetCalculationExecutionCode: [$sel:httpStatus:GetCalculationExecutionCodeResponse'] :: GetCalculationExecutionCodeResponse -> Int
+ Amazonka.Athena.GetCalculationExecutionCode: data GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: data GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionCode: getCalculationExecutionCodeResponse_codeBlock :: Lens' GetCalculationExecutionCodeResponse (Maybe Text)
+ Amazonka.Athena.GetCalculationExecutionCode: getCalculationExecutionCodeResponse_httpStatus :: Lens' GetCalculationExecutionCodeResponse Int
+ Amazonka.Athena.GetCalculationExecutionCode: getCalculationExecutionCode_calculationExecutionId :: Lens' GetCalculationExecutionCode Text
+ Amazonka.Athena.GetCalculationExecutionCode: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance Control.DeepSeq.NFData Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance Control.DeepSeq.NFData Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Classes.Eq Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Classes.Eq Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Generics.Generic Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Generics.Generic Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Read.Read Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Read.Read Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Show.Show Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: instance GHC.Show.Show Amazonka.Athena.GetCalculationExecutionCode.GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionCode: newGetCalculationExecutionCode :: Text -> GetCalculationExecutionCode
+ Amazonka.Athena.GetCalculationExecutionCode: newGetCalculationExecutionCodeResponse :: Int -> GetCalculationExecutionCodeResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: GetCalculationExecutionStatus' :: Text -> GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: GetCalculationExecutionStatusResponse' :: Maybe CalculationStatistics -> Maybe CalculationStatus -> Int -> GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: [$sel:calculationExecutionId:GetCalculationExecutionStatus'] :: GetCalculationExecutionStatus -> Text
+ Amazonka.Athena.GetCalculationExecutionStatus: [$sel:httpStatus:GetCalculationExecutionStatusResponse'] :: GetCalculationExecutionStatusResponse -> Int
+ Amazonka.Athena.GetCalculationExecutionStatus: [$sel:statistics:GetCalculationExecutionStatusResponse'] :: GetCalculationExecutionStatusResponse -> Maybe CalculationStatistics
+ Amazonka.Athena.GetCalculationExecutionStatus: [$sel:status:GetCalculationExecutionStatusResponse'] :: GetCalculationExecutionStatusResponse -> Maybe CalculationStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: data GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: data GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: getCalculationExecutionStatusResponse_httpStatus :: Lens' GetCalculationExecutionStatusResponse Int
+ Amazonka.Athena.GetCalculationExecutionStatus: getCalculationExecutionStatusResponse_statistics :: Lens' GetCalculationExecutionStatusResponse (Maybe CalculationStatistics)
+ Amazonka.Athena.GetCalculationExecutionStatus: getCalculationExecutionStatusResponse_status :: Lens' GetCalculationExecutionStatusResponse (Maybe CalculationStatus)
+ Amazonka.Athena.GetCalculationExecutionStatus: getCalculationExecutionStatus_calculationExecutionId :: Lens' GetCalculationExecutionStatus Text
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Control.DeepSeq.NFData Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Control.DeepSeq.NFData Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Classes.Eq Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Classes.Eq Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Generics.Generic Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Generics.Generic Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Read.Read Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Read.Read Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Show.Show Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: instance GHC.Show.Show Amazonka.Athena.GetCalculationExecutionStatus.GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetCalculationExecutionStatus: newGetCalculationExecutionStatus :: Text -> GetCalculationExecutionStatus
+ Amazonka.Athena.GetCalculationExecutionStatus: newGetCalculationExecutionStatusResponse :: Int -> GetCalculationExecutionStatusResponse
+ Amazonka.Athena.GetDataCatalog: GetDataCatalog' :: Text -> GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: GetDataCatalogResponse' :: Maybe DataCatalog -> Int -> GetDataCatalogResponse
+ Amazonka.Athena.GetDataCatalog: [$sel:dataCatalog:GetDataCatalogResponse'] :: GetDataCatalogResponse -> Maybe DataCatalog
+ Amazonka.Athena.GetDataCatalog: [$sel:httpStatus:GetDataCatalogResponse'] :: GetDataCatalogResponse -> Int
+ Amazonka.Athena.GetDataCatalog: [$sel:name:GetDataCatalog'] :: GetDataCatalog -> Text
+ Amazonka.Athena.GetDataCatalog: data GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: data GetDataCatalogResponse
+ Amazonka.Athena.GetDataCatalog: getDataCatalogResponse_dataCatalog :: Lens' GetDataCatalogResponse (Maybe DataCatalog)
+ Amazonka.Athena.GetDataCatalog: getDataCatalogResponse_httpStatus :: Lens' GetDataCatalogResponse Int
+ Amazonka.Athena.GetDataCatalog: getDataCatalog_name :: Lens' GetDataCatalog Text
+ Amazonka.Athena.GetDataCatalog: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.GetDataCatalog.GetDataCatalogResponse
+ Amazonka.Athena.GetDataCatalog: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.GetDataCatalog.GetDataCatalogResponse
+ Amazonka.Athena.GetDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.GetDataCatalog.GetDataCatalogResponse
+ Amazonka.Athena.GetDataCatalog: instance GHC.Read.Read Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance GHC.Read.Read Amazonka.Athena.GetDataCatalog.GetDataCatalogResponse
+ Amazonka.Athena.GetDataCatalog: instance GHC.Show.Show Amazonka.Athena.GetDataCatalog.GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: instance GHC.Show.Show Amazonka.Athena.GetDataCatalog.GetDataCatalogResponse
+ Amazonka.Athena.GetDataCatalog: newGetDataCatalog :: Text -> GetDataCatalog
+ Amazonka.Athena.GetDataCatalog: newGetDataCatalogResponse :: Int -> GetDataCatalogResponse
+ Amazonka.Athena.GetDatabase: GetDatabase' :: Text -> Text -> GetDatabase
+ Amazonka.Athena.GetDatabase: GetDatabaseResponse' :: Maybe Database -> Int -> GetDatabaseResponse
+ Amazonka.Athena.GetDatabase: [$sel:catalogName:GetDatabase'] :: GetDatabase -> Text
+ Amazonka.Athena.GetDatabase: [$sel:database:GetDatabaseResponse'] :: GetDatabaseResponse -> Maybe Database
+ Amazonka.Athena.GetDatabase: [$sel:databaseName:GetDatabase'] :: GetDatabase -> Text
+ Amazonka.Athena.GetDatabase: [$sel:httpStatus:GetDatabaseResponse'] :: GetDatabaseResponse -> Int
+ Amazonka.Athena.GetDatabase: data GetDatabase
+ Amazonka.Athena.GetDatabase: data GetDatabaseResponse
+ Amazonka.Athena.GetDatabase: getDatabaseResponse_database :: Lens' GetDatabaseResponse (Maybe Database)
+ Amazonka.Athena.GetDatabase: getDatabaseResponse_httpStatus :: Lens' GetDatabaseResponse Int
+ Amazonka.Athena.GetDatabase: getDatabase_catalogName :: Lens' GetDatabase Text
+ Amazonka.Athena.GetDatabase: getDatabase_databaseName :: Lens' GetDatabase Text
+ Amazonka.Athena.GetDatabase: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance Control.DeepSeq.NFData Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance Control.DeepSeq.NFData Amazonka.Athena.GetDatabase.GetDatabaseResponse
+ Amazonka.Athena.GetDatabase: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance GHC.Classes.Eq Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance GHC.Classes.Eq Amazonka.Athena.GetDatabase.GetDatabaseResponse
+ Amazonka.Athena.GetDatabase: instance GHC.Generics.Generic Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance GHC.Generics.Generic Amazonka.Athena.GetDatabase.GetDatabaseResponse
+ Amazonka.Athena.GetDatabase: instance GHC.Read.Read Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance GHC.Read.Read Amazonka.Athena.GetDatabase.GetDatabaseResponse
+ Amazonka.Athena.GetDatabase: instance GHC.Show.Show Amazonka.Athena.GetDatabase.GetDatabase
+ Amazonka.Athena.GetDatabase: instance GHC.Show.Show Amazonka.Athena.GetDatabase.GetDatabaseResponse
+ Amazonka.Athena.GetDatabase: newGetDatabase :: Text -> Text -> GetDatabase
+ Amazonka.Athena.GetDatabase: newGetDatabaseResponse :: Int -> GetDatabaseResponse
+ Amazonka.Athena.GetNamedQuery: GetNamedQuery' :: Text -> GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: GetNamedQueryResponse' :: Maybe NamedQuery -> Int -> GetNamedQueryResponse
+ Amazonka.Athena.GetNamedQuery: [$sel:httpStatus:GetNamedQueryResponse'] :: GetNamedQueryResponse -> Int
+ Amazonka.Athena.GetNamedQuery: [$sel:namedQuery:GetNamedQueryResponse'] :: GetNamedQueryResponse -> Maybe NamedQuery
+ Amazonka.Athena.GetNamedQuery: [$sel:namedQueryId:GetNamedQuery'] :: GetNamedQuery -> Text
+ Amazonka.Athena.GetNamedQuery: data GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: data GetNamedQueryResponse
+ Amazonka.Athena.GetNamedQuery: getNamedQueryResponse_httpStatus :: Lens' GetNamedQueryResponse Int
+ Amazonka.Athena.GetNamedQuery: getNamedQueryResponse_namedQuery :: Lens' GetNamedQueryResponse (Maybe NamedQuery)
+ Amazonka.Athena.GetNamedQuery: getNamedQuery_namedQueryId :: Lens' GetNamedQuery Text
+ Amazonka.Athena.GetNamedQuery: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.GetNamedQuery.GetNamedQueryResponse
+ Amazonka.Athena.GetNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.GetNamedQuery.GetNamedQueryResponse
+ Amazonka.Athena.GetNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.GetNamedQuery.GetNamedQueryResponse
+ Amazonka.Athena.GetNamedQuery: instance GHC.Read.Read Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance GHC.Read.Read Amazonka.Athena.GetNamedQuery.GetNamedQueryResponse
+ Amazonka.Athena.GetNamedQuery: instance GHC.Show.Show Amazonka.Athena.GetNamedQuery.GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: instance GHC.Show.Show Amazonka.Athena.GetNamedQuery.GetNamedQueryResponse
+ Amazonka.Athena.GetNamedQuery: newGetNamedQuery :: Text -> GetNamedQuery
+ Amazonka.Athena.GetNamedQuery: newGetNamedQueryResponse :: Int -> GetNamedQueryResponse
+ Amazonka.Athena.GetNotebookMetadata: GetNotebookMetadata' :: Text -> GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: GetNotebookMetadataResponse' :: Maybe NotebookMetadata -> Int -> GetNotebookMetadataResponse
+ Amazonka.Athena.GetNotebookMetadata: [$sel:httpStatus:GetNotebookMetadataResponse'] :: GetNotebookMetadataResponse -> Int
+ Amazonka.Athena.GetNotebookMetadata: [$sel:notebookId:GetNotebookMetadata'] :: GetNotebookMetadata -> Text
+ Amazonka.Athena.GetNotebookMetadata: [$sel:notebookMetadata:GetNotebookMetadataResponse'] :: GetNotebookMetadataResponse -> Maybe NotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: data GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: data GetNotebookMetadataResponse
+ Amazonka.Athena.GetNotebookMetadata: getNotebookMetadataResponse_httpStatus :: Lens' GetNotebookMetadataResponse Int
+ Amazonka.Athena.GetNotebookMetadata: getNotebookMetadataResponse_notebookMetadata :: Lens' GetNotebookMetadataResponse (Maybe NotebookMetadata)
+ Amazonka.Athena.GetNotebookMetadata: getNotebookMetadata_notebookId :: Lens' GetNotebookMetadata Text
+ Amazonka.Athena.GetNotebookMetadata: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadataResponse
+ Amazonka.Athena.GetNotebookMetadata: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Classes.Eq Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Classes.Eq Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadataResponse
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Generics.Generic Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Generics.Generic Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadataResponse
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Read.Read Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Read.Read Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadataResponse
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Show.Show Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: instance GHC.Show.Show Amazonka.Athena.GetNotebookMetadata.GetNotebookMetadataResponse
+ Amazonka.Athena.GetNotebookMetadata: newGetNotebookMetadata :: Text -> GetNotebookMetadata
+ Amazonka.Athena.GetNotebookMetadata: newGetNotebookMetadataResponse :: Int -> GetNotebookMetadataResponse
+ Amazonka.Athena.GetPreparedStatement: GetPreparedStatement' :: Text -> Text -> GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: GetPreparedStatementResponse' :: Maybe PreparedStatement -> Int -> GetPreparedStatementResponse
+ Amazonka.Athena.GetPreparedStatement: [$sel:httpStatus:GetPreparedStatementResponse'] :: GetPreparedStatementResponse -> Int
+ Amazonka.Athena.GetPreparedStatement: [$sel:preparedStatement:GetPreparedStatementResponse'] :: GetPreparedStatementResponse -> Maybe PreparedStatement
+ Amazonka.Athena.GetPreparedStatement: [$sel:statementName:GetPreparedStatement'] :: GetPreparedStatement -> Text
+ Amazonka.Athena.GetPreparedStatement: [$sel:workGroup:GetPreparedStatement'] :: GetPreparedStatement -> Text
+ Amazonka.Athena.GetPreparedStatement: data GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: data GetPreparedStatementResponse
+ Amazonka.Athena.GetPreparedStatement: getPreparedStatementResponse_httpStatus :: Lens' GetPreparedStatementResponse Int
+ Amazonka.Athena.GetPreparedStatement: getPreparedStatementResponse_preparedStatement :: Lens' GetPreparedStatementResponse (Maybe PreparedStatement)
+ Amazonka.Athena.GetPreparedStatement: getPreparedStatement_statementName :: Lens' GetPreparedStatement Text
+ Amazonka.Athena.GetPreparedStatement: getPreparedStatement_workGroup :: Lens' GetPreparedStatement Text
+ Amazonka.Athena.GetPreparedStatement: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.GetPreparedStatement.GetPreparedStatementResponse
+ Amazonka.Athena.GetPreparedStatement: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.GetPreparedStatement.GetPreparedStatementResponse
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.GetPreparedStatement.GetPreparedStatementResponse
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Read.Read Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Read.Read Amazonka.Athena.GetPreparedStatement.GetPreparedStatementResponse
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Show.Show Amazonka.Athena.GetPreparedStatement.GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: instance GHC.Show.Show Amazonka.Athena.GetPreparedStatement.GetPreparedStatementResponse
+ Amazonka.Athena.GetPreparedStatement: newGetPreparedStatement :: Text -> Text -> GetPreparedStatement
+ Amazonka.Athena.GetPreparedStatement: newGetPreparedStatementResponse :: Int -> GetPreparedStatementResponse
+ Amazonka.Athena.GetQueryExecution: GetQueryExecution' :: Text -> GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: GetQueryExecutionResponse' :: Maybe QueryExecution -> Int -> GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryExecution: [$sel:httpStatus:GetQueryExecutionResponse'] :: GetQueryExecutionResponse -> Int
+ Amazonka.Athena.GetQueryExecution: [$sel:queryExecution:GetQueryExecutionResponse'] :: GetQueryExecutionResponse -> Maybe QueryExecution
+ Amazonka.Athena.GetQueryExecution: [$sel:queryExecutionId:GetQueryExecution'] :: GetQueryExecution -> Text
+ Amazonka.Athena.GetQueryExecution: data GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: data GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryExecution: getQueryExecutionResponse_httpStatus :: Lens' GetQueryExecutionResponse Int
+ Amazonka.Athena.GetQueryExecution: getQueryExecutionResponse_queryExecution :: Lens' GetQueryExecutionResponse (Maybe QueryExecution)
+ Amazonka.Athena.GetQueryExecution: getQueryExecution_queryExecutionId :: Lens' GetQueryExecution Text
+ Amazonka.Athena.GetQueryExecution: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.GetQueryExecution.GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.GetQueryExecution.GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.GetQueryExecution.GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryExecution: instance GHC.Read.Read Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance GHC.Read.Read Amazonka.Athena.GetQueryExecution.GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryExecution: instance GHC.Show.Show Amazonka.Athena.GetQueryExecution.GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: instance GHC.Show.Show Amazonka.Athena.GetQueryExecution.GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryExecution: newGetQueryExecution :: Text -> GetQueryExecution
+ Amazonka.Athena.GetQueryExecution: newGetQueryExecutionResponse :: Int -> GetQueryExecutionResponse
+ Amazonka.Athena.GetQueryResults: GetQueryResults' :: Maybe Natural -> Maybe Text -> Text -> GetQueryResults
+ Amazonka.Athena.GetQueryResults: GetQueryResultsResponse' :: Maybe Text -> Maybe ResultSet -> Maybe Integer -> Int -> GetQueryResultsResponse
+ Amazonka.Athena.GetQueryResults: [$sel:httpStatus:GetQueryResultsResponse'] :: GetQueryResultsResponse -> Int
+ Amazonka.Athena.GetQueryResults: [$sel:maxResults:GetQueryResults'] :: GetQueryResults -> Maybe Natural
+ Amazonka.Athena.GetQueryResults: [$sel:nextToken:GetQueryResults'] :: GetQueryResults -> Maybe Text
+ Amazonka.Athena.GetQueryResults: [$sel:nextToken:GetQueryResultsResponse'] :: GetQueryResultsResponse -> Maybe Text
+ Amazonka.Athena.GetQueryResults: [$sel:queryExecutionId:GetQueryResults'] :: GetQueryResults -> Text
+ Amazonka.Athena.GetQueryResults: [$sel:resultSet:GetQueryResultsResponse'] :: GetQueryResultsResponse -> Maybe ResultSet
+ Amazonka.Athena.GetQueryResults: [$sel:updateCount:GetQueryResultsResponse'] :: GetQueryResultsResponse -> Maybe Integer
+ Amazonka.Athena.GetQueryResults: data GetQueryResults
+ Amazonka.Athena.GetQueryResults: data GetQueryResultsResponse
+ Amazonka.Athena.GetQueryResults: getQueryResultsResponse_httpStatus :: Lens' GetQueryResultsResponse Int
+ Amazonka.Athena.GetQueryResults: getQueryResultsResponse_nextToken :: Lens' GetQueryResultsResponse (Maybe Text)
+ Amazonka.Athena.GetQueryResults: getQueryResultsResponse_resultSet :: Lens' GetQueryResultsResponse (Maybe ResultSet)
+ Amazonka.Athena.GetQueryResults: getQueryResultsResponse_updateCount :: Lens' GetQueryResultsResponse (Maybe Integer)
+ Amazonka.Athena.GetQueryResults: getQueryResults_maxResults :: Lens' GetQueryResults (Maybe Natural)
+ Amazonka.Athena.GetQueryResults: getQueryResults_nextToken :: Lens' GetQueryResults (Maybe Text)
+ Amazonka.Athena.GetQueryResults: getQueryResults_queryExecutionId :: Lens' GetQueryResults Text
+ Amazonka.Athena.GetQueryResults: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance Amazonka.Pager.AWSPager Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance Control.DeepSeq.NFData Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance Control.DeepSeq.NFData Amazonka.Athena.GetQueryResults.GetQueryResultsResponse
+ Amazonka.Athena.GetQueryResults: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance GHC.Classes.Eq Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance GHC.Classes.Eq Amazonka.Athena.GetQueryResults.GetQueryResultsResponse
+ Amazonka.Athena.GetQueryResults: instance GHC.Generics.Generic Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance GHC.Generics.Generic Amazonka.Athena.GetQueryResults.GetQueryResultsResponse
+ Amazonka.Athena.GetQueryResults: instance GHC.Read.Read Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance GHC.Read.Read Amazonka.Athena.GetQueryResults.GetQueryResultsResponse
+ Amazonka.Athena.GetQueryResults: instance GHC.Show.Show Amazonka.Athena.GetQueryResults.GetQueryResults
+ Amazonka.Athena.GetQueryResults: instance GHC.Show.Show Amazonka.Athena.GetQueryResults.GetQueryResultsResponse
+ Amazonka.Athena.GetQueryResults: newGetQueryResults :: Text -> GetQueryResults
+ Amazonka.Athena.GetQueryResults: newGetQueryResultsResponse :: Int -> GetQueryResultsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: GetQueryRuntimeStatistics' :: Text -> GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: GetQueryRuntimeStatisticsResponse' :: Maybe QueryRuntimeStatistics -> Int -> GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: [$sel:httpStatus:GetQueryRuntimeStatisticsResponse'] :: GetQueryRuntimeStatisticsResponse -> Int
+ Amazonka.Athena.GetQueryRuntimeStatistics: [$sel:queryExecutionId:GetQueryRuntimeStatistics'] :: GetQueryRuntimeStatistics -> Text
+ Amazonka.Athena.GetQueryRuntimeStatistics: [$sel:queryRuntimeStatistics:GetQueryRuntimeStatisticsResponse'] :: GetQueryRuntimeStatisticsResponse -> Maybe QueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: data GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: data GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: getQueryRuntimeStatisticsResponse_httpStatus :: Lens' GetQueryRuntimeStatisticsResponse Int
+ Amazonka.Athena.GetQueryRuntimeStatistics: getQueryRuntimeStatisticsResponse_queryRuntimeStatistics :: Lens' GetQueryRuntimeStatisticsResponse (Maybe QueryRuntimeStatistics)
+ Amazonka.Athena.GetQueryRuntimeStatistics: getQueryRuntimeStatistics_queryExecutionId :: Lens' GetQueryRuntimeStatistics Text
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Control.DeepSeq.NFData Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Control.DeepSeq.NFData Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Classes.Eq Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Classes.Eq Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Generics.Generic Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Generics.Generic Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Read.Read Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Read.Read Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Show.Show Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: instance GHC.Show.Show Amazonka.Athena.GetQueryRuntimeStatistics.GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetQueryRuntimeStatistics: newGetQueryRuntimeStatistics :: Text -> GetQueryRuntimeStatistics
+ Amazonka.Athena.GetQueryRuntimeStatistics: newGetQueryRuntimeStatisticsResponse :: Int -> GetQueryRuntimeStatisticsResponse
+ Amazonka.Athena.GetSession: GetSession' :: Text -> GetSession
+ Amazonka.Athena.GetSession: GetSessionResponse' :: Maybe Text -> Maybe EngineConfiguration -> Maybe Text -> Maybe Text -> Maybe SessionConfiguration -> Maybe Text -> Maybe SessionStatistics -> Maybe SessionStatus -> Maybe Text -> Int -> GetSessionResponse
+ Amazonka.Athena.GetSession: [$sel:description:GetSessionResponse'] :: GetSessionResponse -> Maybe Text
+ Amazonka.Athena.GetSession: [$sel:engineConfiguration:GetSessionResponse'] :: GetSessionResponse -> Maybe EngineConfiguration
+ Amazonka.Athena.GetSession: [$sel:engineVersion:GetSessionResponse'] :: GetSessionResponse -> Maybe Text
+ Amazonka.Athena.GetSession: [$sel:httpStatus:GetSessionResponse'] :: GetSessionResponse -> Int
+ Amazonka.Athena.GetSession: [$sel:notebookVersion:GetSessionResponse'] :: GetSessionResponse -> Maybe Text
+ Amazonka.Athena.GetSession: [$sel:sessionConfiguration:GetSessionResponse'] :: GetSessionResponse -> Maybe SessionConfiguration
+ Amazonka.Athena.GetSession: [$sel:sessionId:GetSession'] :: GetSession -> Text
+ Amazonka.Athena.GetSession: [$sel:sessionId:GetSessionResponse'] :: GetSessionResponse -> Maybe Text
+ Amazonka.Athena.GetSession: [$sel:statistics:GetSessionResponse'] :: GetSessionResponse -> Maybe SessionStatistics
+ Amazonka.Athena.GetSession: [$sel:status:GetSessionResponse'] :: GetSessionResponse -> Maybe SessionStatus
+ Amazonka.Athena.GetSession: [$sel:workGroup:GetSessionResponse'] :: GetSessionResponse -> Maybe Text
+ Amazonka.Athena.GetSession: data GetSession
+ Amazonka.Athena.GetSession: data GetSessionResponse
+ Amazonka.Athena.GetSession: getSessionResponse_description :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.GetSession: getSessionResponse_engineConfiguration :: Lens' GetSessionResponse (Maybe EngineConfiguration)
+ Amazonka.Athena.GetSession: getSessionResponse_engineVersion :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.GetSession: getSessionResponse_httpStatus :: Lens' GetSessionResponse Int
+ Amazonka.Athena.GetSession: getSessionResponse_notebookVersion :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.GetSession: getSessionResponse_sessionConfiguration :: Lens' GetSessionResponse (Maybe SessionConfiguration)
+ Amazonka.Athena.GetSession: getSessionResponse_sessionId :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.GetSession: getSessionResponse_statistics :: Lens' GetSessionResponse (Maybe SessionStatistics)
+ Amazonka.Athena.GetSession: getSessionResponse_status :: Lens' GetSessionResponse (Maybe SessionStatus)
+ Amazonka.Athena.GetSession: getSessionResponse_workGroup :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.GetSession: getSession_sessionId :: Lens' GetSession Text
+ Amazonka.Athena.GetSession: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance Control.DeepSeq.NFData Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance Control.DeepSeq.NFData Amazonka.Athena.GetSession.GetSessionResponse
+ Amazonka.Athena.GetSession: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance GHC.Classes.Eq Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance GHC.Classes.Eq Amazonka.Athena.GetSession.GetSessionResponse
+ Amazonka.Athena.GetSession: instance GHC.Generics.Generic Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance GHC.Generics.Generic Amazonka.Athena.GetSession.GetSessionResponse
+ Amazonka.Athena.GetSession: instance GHC.Read.Read Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance GHC.Read.Read Amazonka.Athena.GetSession.GetSessionResponse
+ Amazonka.Athena.GetSession: instance GHC.Show.Show Amazonka.Athena.GetSession.GetSession
+ Amazonka.Athena.GetSession: instance GHC.Show.Show Amazonka.Athena.GetSession.GetSessionResponse
+ Amazonka.Athena.GetSession: newGetSession :: Text -> GetSession
+ Amazonka.Athena.GetSession: newGetSessionResponse :: Int -> GetSessionResponse
+ Amazonka.Athena.GetSessionStatus: GetSessionStatus' :: Text -> GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: GetSessionStatusResponse' :: Maybe Text -> Maybe SessionStatus -> Int -> GetSessionStatusResponse
+ Amazonka.Athena.GetSessionStatus: [$sel:httpStatus:GetSessionStatusResponse'] :: GetSessionStatusResponse -> Int
+ Amazonka.Athena.GetSessionStatus: [$sel:sessionId:GetSessionStatus'] :: GetSessionStatus -> Text
+ Amazonka.Athena.GetSessionStatus: [$sel:sessionId:GetSessionStatusResponse'] :: GetSessionStatusResponse -> Maybe Text
+ Amazonka.Athena.GetSessionStatus: [$sel:status:GetSessionStatusResponse'] :: GetSessionStatusResponse -> Maybe SessionStatus
+ Amazonka.Athena.GetSessionStatus: data GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: data GetSessionStatusResponse
+ Amazonka.Athena.GetSessionStatus: getSessionStatusResponse_httpStatus :: Lens' GetSessionStatusResponse Int
+ Amazonka.Athena.GetSessionStatus: getSessionStatusResponse_sessionId :: Lens' GetSessionStatusResponse (Maybe Text)
+ Amazonka.Athena.GetSessionStatus: getSessionStatusResponse_status :: Lens' GetSessionStatusResponse (Maybe SessionStatus)
+ Amazonka.Athena.GetSessionStatus: getSessionStatus_sessionId :: Lens' GetSessionStatus Text
+ Amazonka.Athena.GetSessionStatus: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance Control.DeepSeq.NFData Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance Control.DeepSeq.NFData Amazonka.Athena.GetSessionStatus.GetSessionStatusResponse
+ Amazonka.Athena.GetSessionStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance GHC.Classes.Eq Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance GHC.Classes.Eq Amazonka.Athena.GetSessionStatus.GetSessionStatusResponse
+ Amazonka.Athena.GetSessionStatus: instance GHC.Generics.Generic Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance GHC.Generics.Generic Amazonka.Athena.GetSessionStatus.GetSessionStatusResponse
+ Amazonka.Athena.GetSessionStatus: instance GHC.Read.Read Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance GHC.Read.Read Amazonka.Athena.GetSessionStatus.GetSessionStatusResponse
+ Amazonka.Athena.GetSessionStatus: instance GHC.Show.Show Amazonka.Athena.GetSessionStatus.GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: instance GHC.Show.Show Amazonka.Athena.GetSessionStatus.GetSessionStatusResponse
+ Amazonka.Athena.GetSessionStatus: newGetSessionStatus :: Text -> GetSessionStatus
+ Amazonka.Athena.GetSessionStatus: newGetSessionStatusResponse :: Int -> GetSessionStatusResponse
+ Amazonka.Athena.GetTableMetadata: GetTableMetadata' :: Text -> Text -> Text -> GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: GetTableMetadataResponse' :: Maybe TableMetadata -> Int -> GetTableMetadataResponse
+ Amazonka.Athena.GetTableMetadata: [$sel:catalogName:GetTableMetadata'] :: GetTableMetadata -> Text
+ Amazonka.Athena.GetTableMetadata: [$sel:databaseName:GetTableMetadata'] :: GetTableMetadata -> Text
+ Amazonka.Athena.GetTableMetadata: [$sel:httpStatus:GetTableMetadataResponse'] :: GetTableMetadataResponse -> Int
+ Amazonka.Athena.GetTableMetadata: [$sel:tableMetadata:GetTableMetadataResponse'] :: GetTableMetadataResponse -> Maybe TableMetadata
+ Amazonka.Athena.GetTableMetadata: [$sel:tableName:GetTableMetadata'] :: GetTableMetadata -> Text
+ Amazonka.Athena.GetTableMetadata: data GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: data GetTableMetadataResponse
+ Amazonka.Athena.GetTableMetadata: getTableMetadataResponse_httpStatus :: Lens' GetTableMetadataResponse Int
+ Amazonka.Athena.GetTableMetadata: getTableMetadataResponse_tableMetadata :: Lens' GetTableMetadataResponse (Maybe TableMetadata)
+ Amazonka.Athena.GetTableMetadata: getTableMetadata_catalogName :: Lens' GetTableMetadata Text
+ Amazonka.Athena.GetTableMetadata: getTableMetadata_databaseName :: Lens' GetTableMetadata Text
+ Amazonka.Athena.GetTableMetadata: getTableMetadata_tableName :: Lens' GetTableMetadata Text
+ Amazonka.Athena.GetTableMetadata: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.GetTableMetadata.GetTableMetadataResponse
+ Amazonka.Athena.GetTableMetadata: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance GHC.Classes.Eq Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance GHC.Classes.Eq Amazonka.Athena.GetTableMetadata.GetTableMetadataResponse
+ Amazonka.Athena.GetTableMetadata: instance GHC.Generics.Generic Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance GHC.Generics.Generic Amazonka.Athena.GetTableMetadata.GetTableMetadataResponse
+ Amazonka.Athena.GetTableMetadata: instance GHC.Read.Read Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance GHC.Read.Read Amazonka.Athena.GetTableMetadata.GetTableMetadataResponse
+ Amazonka.Athena.GetTableMetadata: instance GHC.Show.Show Amazonka.Athena.GetTableMetadata.GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: instance GHC.Show.Show Amazonka.Athena.GetTableMetadata.GetTableMetadataResponse
+ Amazonka.Athena.GetTableMetadata: newGetTableMetadata :: Text -> Text -> Text -> GetTableMetadata
+ Amazonka.Athena.GetTableMetadata: newGetTableMetadataResponse :: Int -> GetTableMetadataResponse
+ Amazonka.Athena.GetWorkGroup: GetWorkGroup' :: Text -> GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: GetWorkGroupResponse' :: Maybe WorkGroup -> Int -> GetWorkGroupResponse
+ Amazonka.Athena.GetWorkGroup: [$sel:httpStatus:GetWorkGroupResponse'] :: GetWorkGroupResponse -> Int
+ Amazonka.Athena.GetWorkGroup: [$sel:workGroup:GetWorkGroup'] :: GetWorkGroup -> Text
+ Amazonka.Athena.GetWorkGroup: [$sel:workGroup:GetWorkGroupResponse'] :: GetWorkGroupResponse -> Maybe WorkGroup
+ Amazonka.Athena.GetWorkGroup: data GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: data GetWorkGroupResponse
+ Amazonka.Athena.GetWorkGroup: getWorkGroupResponse_httpStatus :: Lens' GetWorkGroupResponse Int
+ Amazonka.Athena.GetWorkGroup: getWorkGroupResponse_workGroup :: Lens' GetWorkGroupResponse (Maybe WorkGroup)
+ Amazonka.Athena.GetWorkGroup: getWorkGroup_workGroup :: Lens' GetWorkGroup Text
+ Amazonka.Athena.GetWorkGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance Amazonka.Data.Path.ToPath Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance Amazonka.Types.AWSRequest Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.GetWorkGroup.GetWorkGroupResponse
+ Amazonka.Athena.GetWorkGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance Data.Hashable.Class.Hashable Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.GetWorkGroup.GetWorkGroupResponse
+ Amazonka.Athena.GetWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.GetWorkGroup.GetWorkGroupResponse
+ Amazonka.Athena.GetWorkGroup: instance GHC.Read.Read Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance GHC.Read.Read Amazonka.Athena.GetWorkGroup.GetWorkGroupResponse
+ Amazonka.Athena.GetWorkGroup: instance GHC.Show.Show Amazonka.Athena.GetWorkGroup.GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: instance GHC.Show.Show Amazonka.Athena.GetWorkGroup.GetWorkGroupResponse
+ Amazonka.Athena.GetWorkGroup: newGetWorkGroup :: Text -> GetWorkGroup
+ Amazonka.Athena.GetWorkGroup: newGetWorkGroupResponse :: Int -> GetWorkGroupResponse
+ Amazonka.Athena.ImportNotebook: ImportNotebook' :: Maybe Text -> Text -> Text -> Text -> NotebookType -> ImportNotebook
+ Amazonka.Athena.ImportNotebook: ImportNotebookResponse' :: Maybe Text -> Int -> ImportNotebookResponse
+ Amazonka.Athena.ImportNotebook: [$sel:clientRequestToken:ImportNotebook'] :: ImportNotebook -> Maybe Text
+ Amazonka.Athena.ImportNotebook: [$sel:httpStatus:ImportNotebookResponse'] :: ImportNotebookResponse -> Int
+ Amazonka.Athena.ImportNotebook: [$sel:name:ImportNotebook'] :: ImportNotebook -> Text
+ Amazonka.Athena.ImportNotebook: [$sel:notebookId:ImportNotebookResponse'] :: ImportNotebookResponse -> Maybe Text
+ Amazonka.Athena.ImportNotebook: [$sel:payload:ImportNotebook'] :: ImportNotebook -> Text
+ Amazonka.Athena.ImportNotebook: [$sel:type':ImportNotebook'] :: ImportNotebook -> NotebookType
+ Amazonka.Athena.ImportNotebook: [$sel:workGroup:ImportNotebook'] :: ImportNotebook -> Text
+ Amazonka.Athena.ImportNotebook: data ImportNotebook
+ Amazonka.Athena.ImportNotebook: data ImportNotebookResponse
+ Amazonka.Athena.ImportNotebook: importNotebookResponse_httpStatus :: Lens' ImportNotebookResponse Int
+ Amazonka.Athena.ImportNotebook: importNotebookResponse_notebookId :: Lens' ImportNotebookResponse (Maybe Text)
+ Amazonka.Athena.ImportNotebook: importNotebook_clientRequestToken :: Lens' ImportNotebook (Maybe Text)
+ Amazonka.Athena.ImportNotebook: importNotebook_name :: Lens' ImportNotebook Text
+ Amazonka.Athena.ImportNotebook: importNotebook_payload :: Lens' ImportNotebook Text
+ Amazonka.Athena.ImportNotebook: importNotebook_type :: Lens' ImportNotebook NotebookType
+ Amazonka.Athena.ImportNotebook: importNotebook_workGroup :: Lens' ImportNotebook Text
+ Amazonka.Athena.ImportNotebook: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance Amazonka.Types.AWSRequest Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.ImportNotebook.ImportNotebookResponse
+ Amazonka.Athena.ImportNotebook: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance Data.Hashable.Class.Hashable Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance GHC.Classes.Eq Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance GHC.Classes.Eq Amazonka.Athena.ImportNotebook.ImportNotebookResponse
+ Amazonka.Athena.ImportNotebook: instance GHC.Generics.Generic Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance GHC.Generics.Generic Amazonka.Athena.ImportNotebook.ImportNotebookResponse
+ Amazonka.Athena.ImportNotebook: instance GHC.Read.Read Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance GHC.Read.Read Amazonka.Athena.ImportNotebook.ImportNotebookResponse
+ Amazonka.Athena.ImportNotebook: instance GHC.Show.Show Amazonka.Athena.ImportNotebook.ImportNotebook
+ Amazonka.Athena.ImportNotebook: instance GHC.Show.Show Amazonka.Athena.ImportNotebook.ImportNotebookResponse
+ Amazonka.Athena.ImportNotebook: newImportNotebook :: Text -> Text -> Text -> NotebookType -> ImportNotebook
+ Amazonka.Athena.ImportNotebook: newImportNotebookResponse :: Int -> ImportNotebookResponse
+ Amazonka.Athena.Lens: aclConfiguration_s3AclOption :: Lens' AclConfiguration S3AclOption
+ Amazonka.Athena.Lens: applicationDPUSizes_applicationRuntimeId :: Lens' ApplicationDPUSizes (Maybe Text)
+ Amazonka.Athena.Lens: applicationDPUSizes_supportedDPUSizes :: Lens' ApplicationDPUSizes (Maybe [Int])
+ Amazonka.Athena.Lens: athenaError_errorCategory :: Lens' AthenaError (Maybe Natural)
+ Amazonka.Athena.Lens: athenaError_errorMessage :: Lens' AthenaError (Maybe Text)
+ Amazonka.Athena.Lens: athenaError_errorType :: Lens' AthenaError (Maybe Natural)
+ Amazonka.Athena.Lens: athenaError_retryable :: Lens' AthenaError (Maybe Bool)
+ Amazonka.Athena.Lens: batchGetNamedQueryResponse_httpStatus :: Lens' BatchGetNamedQueryResponse Int
+ Amazonka.Athena.Lens: batchGetNamedQueryResponse_namedQueries :: Lens' BatchGetNamedQueryResponse (Maybe [NamedQuery])
+ Amazonka.Athena.Lens: batchGetNamedQueryResponse_unprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse (Maybe [UnprocessedNamedQueryId])
+ Amazonka.Athena.Lens: batchGetNamedQuery_namedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text)
+ Amazonka.Athena.Lens: batchGetPreparedStatementResponse_httpStatus :: Lens' BatchGetPreparedStatementResponse Int
+ Amazonka.Athena.Lens: batchGetPreparedStatementResponse_preparedStatements :: Lens' BatchGetPreparedStatementResponse (Maybe [PreparedStatement])
+ Amazonka.Athena.Lens: batchGetPreparedStatementResponse_unprocessedPreparedStatementNames :: Lens' BatchGetPreparedStatementResponse (Maybe [UnprocessedPreparedStatementName])
+ Amazonka.Athena.Lens: batchGetPreparedStatement_preparedStatementNames :: Lens' BatchGetPreparedStatement [Text]
+ Amazonka.Athena.Lens: batchGetPreparedStatement_workGroup :: Lens' BatchGetPreparedStatement Text
+ Amazonka.Athena.Lens: batchGetQueryExecutionResponse_httpStatus :: Lens' BatchGetQueryExecutionResponse Int
+ Amazonka.Athena.Lens: batchGetQueryExecutionResponse_queryExecutions :: Lens' BatchGetQueryExecutionResponse (Maybe [QueryExecution])
+ Amazonka.Athena.Lens: batchGetQueryExecutionResponse_unprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse (Maybe [UnprocessedQueryExecutionId])
+ Amazonka.Athena.Lens: batchGetQueryExecution_queryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text)
+ Amazonka.Athena.Lens: calculationConfiguration_codeBlock :: Lens' CalculationConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: calculationResult_resultS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Lens: calculationResult_resultType :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Lens: calculationResult_stdErrorS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Lens: calculationResult_stdOutS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Lens: calculationStatistics_dpuExecutionInMillis :: Lens' CalculationStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: calculationStatistics_progress :: Lens' CalculationStatistics (Maybe Text)
+ Amazonka.Athena.Lens: calculationStatus_completionDateTime :: Lens' CalculationStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: calculationStatus_state :: Lens' CalculationStatus (Maybe CalculationExecutionState)
+ Amazonka.Athena.Lens: calculationStatus_stateChangeReason :: Lens' CalculationStatus (Maybe Text)
+ Amazonka.Athena.Lens: calculationStatus_submissionDateTime :: Lens' CalculationStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: calculationSummary_calculationExecutionId :: Lens' CalculationSummary (Maybe Text)
+ Amazonka.Athena.Lens: calculationSummary_description :: Lens' CalculationSummary (Maybe Text)
+ Amazonka.Athena.Lens: calculationSummary_status :: Lens' CalculationSummary (Maybe CalculationStatus)
+ Amazonka.Athena.Lens: columnInfo_caseSensitive :: Lens' ColumnInfo (Maybe Bool)
+ Amazonka.Athena.Lens: columnInfo_catalogName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Lens: columnInfo_label :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Lens: columnInfo_name :: Lens' ColumnInfo Text
+ Amazonka.Athena.Lens: columnInfo_nullable :: Lens' ColumnInfo (Maybe ColumnNullable)
+ Amazonka.Athena.Lens: columnInfo_precision :: Lens' ColumnInfo (Maybe Int)
+ Amazonka.Athena.Lens: columnInfo_scale :: Lens' ColumnInfo (Maybe Int)
+ Amazonka.Athena.Lens: columnInfo_schemaName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Lens: columnInfo_tableName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Lens: columnInfo_type :: Lens' ColumnInfo Text
+ Amazonka.Athena.Lens: column_comment :: Lens' Column (Maybe Text)
+ Amazonka.Athena.Lens: column_name :: Lens' Column Text
+ Amazonka.Athena.Lens: column_type :: Lens' Column (Maybe Text)
+ Amazonka.Athena.Lens: createDataCatalogResponse_httpStatus :: Lens' CreateDataCatalogResponse Int
+ Amazonka.Athena.Lens: createDataCatalog_description :: Lens' CreateDataCatalog (Maybe Text)
+ Amazonka.Athena.Lens: createDataCatalog_name :: Lens' CreateDataCatalog Text
+ Amazonka.Athena.Lens: createDataCatalog_parameters :: Lens' CreateDataCatalog (Maybe (HashMap Text Text))
+ Amazonka.Athena.Lens: createDataCatalog_tags :: Lens' CreateDataCatalog (Maybe [Tag])
+ Amazonka.Athena.Lens: createDataCatalog_type :: Lens' CreateDataCatalog DataCatalogType
+ Amazonka.Athena.Lens: createNamedQueryResponse_httpStatus :: Lens' CreateNamedQueryResponse Int
+ Amazonka.Athena.Lens: createNamedQueryResponse_namedQueryId :: Lens' CreateNamedQueryResponse (Maybe Text)
+ Amazonka.Athena.Lens: createNamedQuery_clientRequestToken :: Lens' CreateNamedQuery (Maybe Text)
+ Amazonka.Athena.Lens: createNamedQuery_database :: Lens' CreateNamedQuery Text
+ Amazonka.Athena.Lens: createNamedQuery_description :: Lens' CreateNamedQuery (Maybe Text)
+ Amazonka.Athena.Lens: createNamedQuery_name :: Lens' CreateNamedQuery Text
+ Amazonka.Athena.Lens: createNamedQuery_queryString :: Lens' CreateNamedQuery Text
+ Amazonka.Athena.Lens: createNamedQuery_workGroup :: Lens' CreateNamedQuery (Maybe Text)
+ Amazonka.Athena.Lens: createNotebookResponse_httpStatus :: Lens' CreateNotebookResponse Int
+ Amazonka.Athena.Lens: createNotebookResponse_notebookId :: Lens' CreateNotebookResponse (Maybe Text)
+ Amazonka.Athena.Lens: createNotebook_clientRequestToken :: Lens' CreateNotebook (Maybe Text)
+ Amazonka.Athena.Lens: createNotebook_name :: Lens' CreateNotebook Text
+ Amazonka.Athena.Lens: createNotebook_workGroup :: Lens' CreateNotebook Text
+ Amazonka.Athena.Lens: createPreparedStatementResponse_httpStatus :: Lens' CreatePreparedStatementResponse Int
+ Amazonka.Athena.Lens: createPreparedStatement_description :: Lens' CreatePreparedStatement (Maybe Text)
+ Amazonka.Athena.Lens: createPreparedStatement_queryStatement :: Lens' CreatePreparedStatement Text
+ Amazonka.Athena.Lens: createPreparedStatement_statementName :: Lens' CreatePreparedStatement Text
+ Amazonka.Athena.Lens: createPreparedStatement_workGroup :: Lens' CreatePreparedStatement Text
+ Amazonka.Athena.Lens: createPresignedNotebookUrlResponse_authToken :: Lens' CreatePresignedNotebookUrlResponse Text
+ Amazonka.Athena.Lens: createPresignedNotebookUrlResponse_authTokenExpirationTime :: Lens' CreatePresignedNotebookUrlResponse Integer
+ Amazonka.Athena.Lens: createPresignedNotebookUrlResponse_httpStatus :: Lens' CreatePresignedNotebookUrlResponse Int
+ Amazonka.Athena.Lens: createPresignedNotebookUrlResponse_notebookUrl :: Lens' CreatePresignedNotebookUrlResponse Text
+ Amazonka.Athena.Lens: createPresignedNotebookUrl_sessionId :: Lens' CreatePresignedNotebookUrl Text
+ Amazonka.Athena.Lens: createWorkGroupResponse_httpStatus :: Lens' CreateWorkGroupResponse Int
+ Amazonka.Athena.Lens: createWorkGroup_configuration :: Lens' CreateWorkGroup (Maybe WorkGroupConfiguration)
+ Amazonka.Athena.Lens: createWorkGroup_description :: Lens' CreateWorkGroup (Maybe Text)
+ Amazonka.Athena.Lens: createWorkGroup_name :: Lens' CreateWorkGroup Text
+ Amazonka.Athena.Lens: createWorkGroup_tags :: Lens' CreateWorkGroup (Maybe [Tag])
+ Amazonka.Athena.Lens: customerContentEncryptionConfiguration_kmsKey :: Lens' CustomerContentEncryptionConfiguration Text
+ Amazonka.Athena.Lens: dataCatalogSummary_catalogName :: Lens' DataCatalogSummary (Maybe Text)
+ Amazonka.Athena.Lens: dataCatalogSummary_type :: Lens' DataCatalogSummary (Maybe DataCatalogType)
+ Amazonka.Athena.Lens: dataCatalog_description :: Lens' DataCatalog (Maybe Text)
+ Amazonka.Athena.Lens: dataCatalog_name :: Lens' DataCatalog Text
+ Amazonka.Athena.Lens: dataCatalog_parameters :: Lens' DataCatalog (Maybe (HashMap Text Text))
+ Amazonka.Athena.Lens: dataCatalog_type :: Lens' DataCatalog DataCatalogType
+ Amazonka.Athena.Lens: database_description :: Lens' Database (Maybe Text)
+ Amazonka.Athena.Lens: database_name :: Lens' Database Text
+ Amazonka.Athena.Lens: database_parameters :: Lens' Database (Maybe (HashMap Text Text))
+ Amazonka.Athena.Lens: datum_varCharValue :: Lens' Datum (Maybe Text)
+ Amazonka.Athena.Lens: deleteDataCatalogResponse_httpStatus :: Lens' DeleteDataCatalogResponse Int
+ Amazonka.Athena.Lens: deleteDataCatalog_name :: Lens' DeleteDataCatalog Text
+ Amazonka.Athena.Lens: deleteNamedQueryResponse_httpStatus :: Lens' DeleteNamedQueryResponse Int
+ Amazonka.Athena.Lens: deleteNamedQuery_namedQueryId :: Lens' DeleteNamedQuery Text
+ Amazonka.Athena.Lens: deleteNotebookResponse_httpStatus :: Lens' DeleteNotebookResponse Int
+ Amazonka.Athena.Lens: deleteNotebook_notebookId :: Lens' DeleteNotebook Text
+ Amazonka.Athena.Lens: deletePreparedStatementResponse_httpStatus :: Lens' DeletePreparedStatementResponse Int
+ Amazonka.Athena.Lens: deletePreparedStatement_statementName :: Lens' DeletePreparedStatement Text
+ Amazonka.Athena.Lens: deletePreparedStatement_workGroup :: Lens' DeletePreparedStatement Text
+ Amazonka.Athena.Lens: deleteWorkGroupResponse_httpStatus :: Lens' DeleteWorkGroupResponse Int
+ Amazonka.Athena.Lens: deleteWorkGroup_recursiveDeleteOption :: Lens' DeleteWorkGroup (Maybe Bool)
+ Amazonka.Athena.Lens: deleteWorkGroup_workGroup :: Lens' DeleteWorkGroup Text
+ Amazonka.Athena.Lens: encryptionConfiguration_encryptionOption :: Lens' EncryptionConfiguration EncryptionOption
+ Amazonka.Athena.Lens: encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: engineConfiguration_additionalConfigs :: Lens' EngineConfiguration (Maybe (HashMap Text Text))
+ Amazonka.Athena.Lens: engineConfiguration_coordinatorDpuSize :: Lens' EngineConfiguration (Maybe Natural)
+ Amazonka.Athena.Lens: engineConfiguration_defaultExecutorDpuSize :: Lens' EngineConfiguration (Maybe Natural)
+ Amazonka.Athena.Lens: engineConfiguration_maxConcurrentDpus :: Lens' EngineConfiguration Natural
+ Amazonka.Athena.Lens: engineVersion_effectiveEngineVersion :: Lens' EngineVersion (Maybe Text)
+ Amazonka.Athena.Lens: engineVersion_selectedEngineVersion :: Lens' EngineVersion (Maybe Text)
+ Amazonka.Athena.Lens: executorsSummary_executorId :: Lens' ExecutorsSummary Text
+ Amazonka.Athena.Lens: executorsSummary_executorSize :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Lens: executorsSummary_executorState :: Lens' ExecutorsSummary (Maybe ExecutorState)
+ Amazonka.Athena.Lens: executorsSummary_executorType :: Lens' ExecutorsSummary (Maybe ExecutorType)
+ Amazonka.Athena.Lens: executorsSummary_startDateTime :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Lens: executorsSummary_terminationDateTime :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Lens: exportNotebookResponse_httpStatus :: Lens' ExportNotebookResponse Int
+ Amazonka.Athena.Lens: exportNotebookResponse_notebookMetadata :: Lens' ExportNotebookResponse (Maybe NotebookMetadata)
+ Amazonka.Athena.Lens: exportNotebookResponse_payload :: Lens' ExportNotebookResponse (Maybe Text)
+ Amazonka.Athena.Lens: exportNotebook_notebookId :: Lens' ExportNotebook Text
+ Amazonka.Athena.Lens: filterDefinition_name :: Lens' FilterDefinition (Maybe Text)
+ Amazonka.Athena.Lens: getCalculationExecutionCodeResponse_codeBlock :: Lens' GetCalculationExecutionCodeResponse (Maybe Text)
+ Amazonka.Athena.Lens: getCalculationExecutionCodeResponse_httpStatus :: Lens' GetCalculationExecutionCodeResponse Int
+ Amazonka.Athena.Lens: getCalculationExecutionCode_calculationExecutionId :: Lens' GetCalculationExecutionCode Text
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_calculationExecutionId :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_description :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_httpStatus :: Lens' GetCalculationExecutionResponse Int
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_result :: Lens' GetCalculationExecutionResponse (Maybe CalculationResult)
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_sessionId :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_statistics :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatistics)
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_status :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatus)
+ Amazonka.Athena.Lens: getCalculationExecutionResponse_workingDirectory :: Lens' GetCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getCalculationExecutionStatusResponse_httpStatus :: Lens' GetCalculationExecutionStatusResponse Int
+ Amazonka.Athena.Lens: getCalculationExecutionStatusResponse_statistics :: Lens' GetCalculationExecutionStatusResponse (Maybe CalculationStatistics)
+ Amazonka.Athena.Lens: getCalculationExecutionStatusResponse_status :: Lens' GetCalculationExecutionStatusResponse (Maybe CalculationStatus)
+ Amazonka.Athena.Lens: getCalculationExecutionStatus_calculationExecutionId :: Lens' GetCalculationExecutionStatus Text
+ Amazonka.Athena.Lens: getCalculationExecution_calculationExecutionId :: Lens' GetCalculationExecution Text
+ Amazonka.Athena.Lens: getDataCatalogResponse_dataCatalog :: Lens' GetDataCatalogResponse (Maybe DataCatalog)
+ Amazonka.Athena.Lens: getDataCatalogResponse_httpStatus :: Lens' GetDataCatalogResponse Int
+ Amazonka.Athena.Lens: getDataCatalog_name :: Lens' GetDataCatalog Text
+ Amazonka.Athena.Lens: getDatabaseResponse_database :: Lens' GetDatabaseResponse (Maybe Database)
+ Amazonka.Athena.Lens: getDatabaseResponse_httpStatus :: Lens' GetDatabaseResponse Int
+ Amazonka.Athena.Lens: getDatabase_catalogName :: Lens' GetDatabase Text
+ Amazonka.Athena.Lens: getDatabase_databaseName :: Lens' GetDatabase Text
+ Amazonka.Athena.Lens: getNamedQueryResponse_httpStatus :: Lens' GetNamedQueryResponse Int
+ Amazonka.Athena.Lens: getNamedQueryResponse_namedQuery :: Lens' GetNamedQueryResponse (Maybe NamedQuery)
+ Amazonka.Athena.Lens: getNamedQuery_namedQueryId :: Lens' GetNamedQuery Text
+ Amazonka.Athena.Lens: getNotebookMetadataResponse_httpStatus :: Lens' GetNotebookMetadataResponse Int
+ Amazonka.Athena.Lens: getNotebookMetadataResponse_notebookMetadata :: Lens' GetNotebookMetadataResponse (Maybe NotebookMetadata)
+ Amazonka.Athena.Lens: getNotebookMetadata_notebookId :: Lens' GetNotebookMetadata Text
+ Amazonka.Athena.Lens: getPreparedStatementResponse_httpStatus :: Lens' GetPreparedStatementResponse Int
+ Amazonka.Athena.Lens: getPreparedStatementResponse_preparedStatement :: Lens' GetPreparedStatementResponse (Maybe PreparedStatement)
+ Amazonka.Athena.Lens: getPreparedStatement_statementName :: Lens' GetPreparedStatement Text
+ Amazonka.Athena.Lens: getPreparedStatement_workGroup :: Lens' GetPreparedStatement Text
+ Amazonka.Athena.Lens: getQueryExecutionResponse_httpStatus :: Lens' GetQueryExecutionResponse Int
+ Amazonka.Athena.Lens: getQueryExecutionResponse_queryExecution :: Lens' GetQueryExecutionResponse (Maybe QueryExecution)
+ Amazonka.Athena.Lens: getQueryExecution_queryExecutionId :: Lens' GetQueryExecution Text
+ Amazonka.Athena.Lens: getQueryResultsResponse_httpStatus :: Lens' GetQueryResultsResponse Int
+ Amazonka.Athena.Lens: getQueryResultsResponse_nextToken :: Lens' GetQueryResultsResponse (Maybe Text)
+ Amazonka.Athena.Lens: getQueryResultsResponse_resultSet :: Lens' GetQueryResultsResponse (Maybe ResultSet)
+ Amazonka.Athena.Lens: getQueryResultsResponse_updateCount :: Lens' GetQueryResultsResponse (Maybe Integer)
+ Amazonka.Athena.Lens: getQueryResults_maxResults :: Lens' GetQueryResults (Maybe Natural)
+ Amazonka.Athena.Lens: getQueryResults_nextToken :: Lens' GetQueryResults (Maybe Text)
+ Amazonka.Athena.Lens: getQueryResults_queryExecutionId :: Lens' GetQueryResults Text
+ Amazonka.Athena.Lens: getQueryRuntimeStatisticsResponse_httpStatus :: Lens' GetQueryRuntimeStatisticsResponse Int
+ Amazonka.Athena.Lens: getQueryRuntimeStatisticsResponse_queryRuntimeStatistics :: Lens' GetQueryRuntimeStatisticsResponse (Maybe QueryRuntimeStatistics)
+ Amazonka.Athena.Lens: getQueryRuntimeStatistics_queryExecutionId :: Lens' GetQueryRuntimeStatistics Text
+ Amazonka.Athena.Lens: getSessionResponse_description :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getSessionResponse_engineConfiguration :: Lens' GetSessionResponse (Maybe EngineConfiguration)
+ Amazonka.Athena.Lens: getSessionResponse_engineVersion :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getSessionResponse_httpStatus :: Lens' GetSessionResponse Int
+ Amazonka.Athena.Lens: getSessionResponse_notebookVersion :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getSessionResponse_sessionConfiguration :: Lens' GetSessionResponse (Maybe SessionConfiguration)
+ Amazonka.Athena.Lens: getSessionResponse_sessionId :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getSessionResponse_statistics :: Lens' GetSessionResponse (Maybe SessionStatistics)
+ Amazonka.Athena.Lens: getSessionResponse_status :: Lens' GetSessionResponse (Maybe SessionStatus)
+ Amazonka.Athena.Lens: getSessionResponse_workGroup :: Lens' GetSessionResponse (Maybe Text)
+ Amazonka.Athena.Lens: getSessionStatusResponse_httpStatus :: Lens' GetSessionStatusResponse Int
+ Amazonka.Athena.Lens: getSessionStatusResponse_sessionId :: Lens' GetSessionStatusResponse (Maybe Text)
+ Amazonka.Athena.Lens: getSessionStatusResponse_status :: Lens' GetSessionStatusResponse (Maybe SessionStatus)
+ Amazonka.Athena.Lens: getSessionStatus_sessionId :: Lens' GetSessionStatus Text
+ Amazonka.Athena.Lens: getSession_sessionId :: Lens' GetSession Text
+ Amazonka.Athena.Lens: getTableMetadataResponse_httpStatus :: Lens' GetTableMetadataResponse Int
+ Amazonka.Athena.Lens: getTableMetadataResponse_tableMetadata :: Lens' GetTableMetadataResponse (Maybe TableMetadata)
+ Amazonka.Athena.Lens: getTableMetadata_catalogName :: Lens' GetTableMetadata Text
+ Amazonka.Athena.Lens: getTableMetadata_databaseName :: Lens' GetTableMetadata Text
+ Amazonka.Athena.Lens: getTableMetadata_tableName :: Lens' GetTableMetadata Text
+ Amazonka.Athena.Lens: getWorkGroupResponse_httpStatus :: Lens' GetWorkGroupResponse Int
+ Amazonka.Athena.Lens: getWorkGroupResponse_workGroup :: Lens' GetWorkGroupResponse (Maybe WorkGroup)
+ Amazonka.Athena.Lens: getWorkGroup_workGroup :: Lens' GetWorkGroup Text
+ Amazonka.Athena.Lens: importNotebookResponse_httpStatus :: Lens' ImportNotebookResponse Int
+ Amazonka.Athena.Lens: importNotebookResponse_notebookId :: Lens' ImportNotebookResponse (Maybe Text)
+ Amazonka.Athena.Lens: importNotebook_clientRequestToken :: Lens' ImportNotebook (Maybe Text)
+ Amazonka.Athena.Lens: importNotebook_name :: Lens' ImportNotebook Text
+ Amazonka.Athena.Lens: importNotebook_payload :: Lens' ImportNotebook Text
+ Amazonka.Athena.Lens: importNotebook_type :: Lens' ImportNotebook NotebookType
+ Amazonka.Athena.Lens: importNotebook_workGroup :: Lens' ImportNotebook Text
+ Amazonka.Athena.Lens: listApplicationDPUSizesResponse_applicationDPUSizes :: Lens' ListApplicationDPUSizesResponse (Maybe [ApplicationDPUSizes])
+ Amazonka.Athena.Lens: listApplicationDPUSizesResponse_httpStatus :: Lens' ListApplicationDPUSizesResponse Int
+ Amazonka.Athena.Lens: listApplicationDPUSizesResponse_nextToken :: Lens' ListApplicationDPUSizesResponse (Maybe Text)
+ Amazonka.Athena.Lens: listApplicationDPUSizes_maxResults :: Lens' ListApplicationDPUSizes (Maybe Natural)
+ Amazonka.Athena.Lens: listApplicationDPUSizes_nextToken :: Lens' ListApplicationDPUSizes (Maybe Text)
+ Amazonka.Athena.Lens: listCalculationExecutionsResponse_calculations :: Lens' ListCalculationExecutionsResponse (Maybe [CalculationSummary])
+ Amazonka.Athena.Lens: listCalculationExecutionsResponse_httpStatus :: Lens' ListCalculationExecutionsResponse Int
+ Amazonka.Athena.Lens: listCalculationExecutionsResponse_nextToken :: Lens' ListCalculationExecutionsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listCalculationExecutions_maxResults :: Lens' ListCalculationExecutions (Maybe Natural)
+ Amazonka.Athena.Lens: listCalculationExecutions_nextToken :: Lens' ListCalculationExecutions (Maybe Text)
+ Amazonka.Athena.Lens: listCalculationExecutions_sessionId :: Lens' ListCalculationExecutions Text
+ Amazonka.Athena.Lens: listCalculationExecutions_stateFilter :: Lens' ListCalculationExecutions (Maybe CalculationExecutionState)
+ Amazonka.Athena.Lens: listDataCatalogsResponse_dataCatalogsSummary :: Lens' ListDataCatalogsResponse (Maybe [DataCatalogSummary])
+ Amazonka.Athena.Lens: listDataCatalogsResponse_httpStatus :: Lens' ListDataCatalogsResponse Int
+ Amazonka.Athena.Lens: listDataCatalogsResponse_nextToken :: Lens' ListDataCatalogsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listDataCatalogs_maxResults :: Lens' ListDataCatalogs (Maybe Natural)
+ Amazonka.Athena.Lens: listDataCatalogs_nextToken :: Lens' ListDataCatalogs (Maybe Text)
+ Amazonka.Athena.Lens: listDatabasesResponse_databaseList :: Lens' ListDatabasesResponse (Maybe [Database])
+ Amazonka.Athena.Lens: listDatabasesResponse_httpStatus :: Lens' ListDatabasesResponse Int
+ Amazonka.Athena.Lens: listDatabasesResponse_nextToken :: Lens' ListDatabasesResponse (Maybe Text)
+ Amazonka.Athena.Lens: listDatabases_catalogName :: Lens' ListDatabases Text
+ Amazonka.Athena.Lens: listDatabases_maxResults :: Lens' ListDatabases (Maybe Natural)
+ Amazonka.Athena.Lens: listDatabases_nextToken :: Lens' ListDatabases (Maybe Text)
+ Amazonka.Athena.Lens: listEngineVersionsResponse_engineVersions :: Lens' ListEngineVersionsResponse (Maybe [EngineVersion])
+ Amazonka.Athena.Lens: listEngineVersionsResponse_httpStatus :: Lens' ListEngineVersionsResponse Int
+ Amazonka.Athena.Lens: listEngineVersionsResponse_nextToken :: Lens' ListEngineVersionsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listEngineVersions_maxResults :: Lens' ListEngineVersions (Maybe Natural)
+ Amazonka.Athena.Lens: listEngineVersions_nextToken :: Lens' ListEngineVersions (Maybe Text)
+ Amazonka.Athena.Lens: listExecutorsResponse_executorsSummary :: Lens' ListExecutorsResponse (Maybe [ExecutorsSummary])
+ Amazonka.Athena.Lens: listExecutorsResponse_httpStatus :: Lens' ListExecutorsResponse Int
+ Amazonka.Athena.Lens: listExecutorsResponse_nextToken :: Lens' ListExecutorsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listExecutorsResponse_sessionId :: Lens' ListExecutorsResponse Text
+ Amazonka.Athena.Lens: listExecutors_executorStateFilter :: Lens' ListExecutors (Maybe ExecutorState)
+ Amazonka.Athena.Lens: listExecutors_maxResults :: Lens' ListExecutors (Maybe Natural)
+ Amazonka.Athena.Lens: listExecutors_nextToken :: Lens' ListExecutors (Maybe Text)
+ Amazonka.Athena.Lens: listExecutors_sessionId :: Lens' ListExecutors Text
+ Amazonka.Athena.Lens: listNamedQueriesResponse_httpStatus :: Lens' ListNamedQueriesResponse Int
+ Amazonka.Athena.Lens: listNamedQueriesResponse_namedQueryIds :: Lens' ListNamedQueriesResponse (Maybe (NonEmpty Text))
+ Amazonka.Athena.Lens: listNamedQueriesResponse_nextToken :: Lens' ListNamedQueriesResponse (Maybe Text)
+ Amazonka.Athena.Lens: listNamedQueries_maxResults :: Lens' ListNamedQueries (Maybe Natural)
+ Amazonka.Athena.Lens: listNamedQueries_nextToken :: Lens' ListNamedQueries (Maybe Text)
+ Amazonka.Athena.Lens: listNamedQueries_workGroup :: Lens' ListNamedQueries (Maybe Text)
+ Amazonka.Athena.Lens: listNotebookMetadataResponse_httpStatus :: Lens' ListNotebookMetadataResponse Int
+ Amazonka.Athena.Lens: listNotebookMetadataResponse_nextToken :: Lens' ListNotebookMetadataResponse (Maybe Text)
+ Amazonka.Athena.Lens: listNotebookMetadataResponse_notebookMetadataList :: Lens' ListNotebookMetadataResponse (Maybe [NotebookMetadata])
+ Amazonka.Athena.Lens: listNotebookMetadata_filters :: Lens' ListNotebookMetadata (Maybe FilterDefinition)
+ Amazonka.Athena.Lens: listNotebookMetadata_maxResults :: Lens' ListNotebookMetadata (Maybe Natural)
+ Amazonka.Athena.Lens: listNotebookMetadata_nextToken :: Lens' ListNotebookMetadata (Maybe Text)
+ Amazonka.Athena.Lens: listNotebookMetadata_workGroup :: Lens' ListNotebookMetadata Text
+ Amazonka.Athena.Lens: listNotebookSessionsResponse_httpStatus :: Lens' ListNotebookSessionsResponse Int
+ Amazonka.Athena.Lens: listNotebookSessionsResponse_nextToken :: Lens' ListNotebookSessionsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listNotebookSessionsResponse_notebookSessionsList :: Lens' ListNotebookSessionsResponse [NotebookSessionSummary]
+ Amazonka.Athena.Lens: listNotebookSessions_maxResults :: Lens' ListNotebookSessions (Maybe Natural)
+ Amazonka.Athena.Lens: listNotebookSessions_nextToken :: Lens' ListNotebookSessions (Maybe Text)
+ Amazonka.Athena.Lens: listNotebookSessions_notebookId :: Lens' ListNotebookSessions Text
+ Amazonka.Athena.Lens: listPreparedStatementsResponse_httpStatus :: Lens' ListPreparedStatementsResponse Int
+ Amazonka.Athena.Lens: listPreparedStatementsResponse_nextToken :: Lens' ListPreparedStatementsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listPreparedStatementsResponse_preparedStatements :: Lens' ListPreparedStatementsResponse (Maybe [PreparedStatementSummary])
+ Amazonka.Athena.Lens: listPreparedStatements_maxResults :: Lens' ListPreparedStatements (Maybe Natural)
+ Amazonka.Athena.Lens: listPreparedStatements_nextToken :: Lens' ListPreparedStatements (Maybe Text)
+ Amazonka.Athena.Lens: listPreparedStatements_workGroup :: Lens' ListPreparedStatements Text
+ Amazonka.Athena.Lens: listQueryExecutionsResponse_httpStatus :: Lens' ListQueryExecutionsResponse Int
+ Amazonka.Athena.Lens: listQueryExecutionsResponse_nextToken :: Lens' ListQueryExecutionsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listQueryExecutionsResponse_queryExecutionIds :: Lens' ListQueryExecutionsResponse (Maybe (NonEmpty Text))
+ Amazonka.Athena.Lens: listQueryExecutions_maxResults :: Lens' ListQueryExecutions (Maybe Natural)
+ Amazonka.Athena.Lens: listQueryExecutions_nextToken :: Lens' ListQueryExecutions (Maybe Text)
+ Amazonka.Athena.Lens: listQueryExecutions_workGroup :: Lens' ListQueryExecutions (Maybe Text)
+ Amazonka.Athena.Lens: listSessionsResponse_httpStatus :: Lens' ListSessionsResponse Int
+ Amazonka.Athena.Lens: listSessionsResponse_nextToken :: Lens' ListSessionsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listSessionsResponse_sessions :: Lens' ListSessionsResponse (Maybe [SessionSummary])
+ Amazonka.Athena.Lens: listSessions_maxResults :: Lens' ListSessions (Maybe Natural)
+ Amazonka.Athena.Lens: listSessions_nextToken :: Lens' ListSessions (Maybe Text)
+ Amazonka.Athena.Lens: listSessions_stateFilter :: Lens' ListSessions (Maybe SessionState)
+ Amazonka.Athena.Lens: listSessions_workGroup :: Lens' ListSessions Text
+ Amazonka.Athena.Lens: listTableMetadataResponse_httpStatus :: Lens' ListTableMetadataResponse Int
+ Amazonka.Athena.Lens: listTableMetadataResponse_nextToken :: Lens' ListTableMetadataResponse (Maybe Text)
+ Amazonka.Athena.Lens: listTableMetadataResponse_tableMetadataList :: Lens' ListTableMetadataResponse (Maybe [TableMetadata])
+ Amazonka.Athena.Lens: listTableMetadata_catalogName :: Lens' ListTableMetadata Text
+ Amazonka.Athena.Lens: listTableMetadata_databaseName :: Lens' ListTableMetadata Text
+ Amazonka.Athena.Lens: listTableMetadata_expression :: Lens' ListTableMetadata (Maybe Text)
+ Amazonka.Athena.Lens: listTableMetadata_maxResults :: Lens' ListTableMetadata (Maybe Natural)
+ Amazonka.Athena.Lens: listTableMetadata_nextToken :: Lens' ListTableMetadata (Maybe Text)
+ Amazonka.Athena.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Athena.Lens: listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
+ Amazonka.Athena.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.Athena.Lens: listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural)
+ Amazonka.Athena.Lens: listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
+ Amazonka.Athena.Lens: listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
+ Amazonka.Athena.Lens: listWorkGroupsResponse_httpStatus :: Lens' ListWorkGroupsResponse Int
+ Amazonka.Athena.Lens: listWorkGroupsResponse_nextToken :: Lens' ListWorkGroupsResponse (Maybe Text)
+ Amazonka.Athena.Lens: listWorkGroupsResponse_workGroups :: Lens' ListWorkGroupsResponse (Maybe [WorkGroupSummary])
+ Amazonka.Athena.Lens: listWorkGroups_maxResults :: Lens' ListWorkGroups (Maybe Natural)
+ Amazonka.Athena.Lens: listWorkGroups_nextToken :: Lens' ListWorkGroups (Maybe Text)
+ Amazonka.Athena.Lens: namedQuery_database :: Lens' NamedQuery Text
+ Amazonka.Athena.Lens: namedQuery_description :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Lens: namedQuery_name :: Lens' NamedQuery Text
+ Amazonka.Athena.Lens: namedQuery_namedQueryId :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Lens: namedQuery_queryString :: Lens' NamedQuery Text
+ Amazonka.Athena.Lens: namedQuery_workGroup :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Lens: notebookMetadata_creationTime :: Lens' NotebookMetadata (Maybe UTCTime)
+ Amazonka.Athena.Lens: notebookMetadata_lastModifiedTime :: Lens' NotebookMetadata (Maybe UTCTime)
+ Amazonka.Athena.Lens: notebookMetadata_name :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Lens: notebookMetadata_notebookId :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Lens: notebookMetadata_type :: Lens' NotebookMetadata (Maybe NotebookType)
+ Amazonka.Athena.Lens: notebookMetadata_workGroup :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Lens: notebookSessionSummary_creationTime :: Lens' NotebookSessionSummary (Maybe UTCTime)
+ Amazonka.Athena.Lens: notebookSessionSummary_sessionId :: Lens' NotebookSessionSummary (Maybe Text)
+ Amazonka.Athena.Lens: preparedStatementSummary_lastModifiedTime :: Lens' PreparedStatementSummary (Maybe UTCTime)
+ Amazonka.Athena.Lens: preparedStatementSummary_statementName :: Lens' PreparedStatementSummary (Maybe Text)
+ Amazonka.Athena.Lens: preparedStatement_description :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Lens: preparedStatement_lastModifiedTime :: Lens' PreparedStatement (Maybe UTCTime)
+ Amazonka.Athena.Lens: preparedStatement_queryStatement :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Lens: preparedStatement_statementName :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Lens: preparedStatement_workGroupName :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Lens: queryExecutionContext_catalog :: Lens' QueryExecutionContext (Maybe Text)
+ Amazonka.Athena.Lens: queryExecutionContext_database :: Lens' QueryExecutionContext (Maybe Text)
+ Amazonka.Athena.Lens: queryExecutionStatistics_dataManifestLocation :: Lens' QueryExecutionStatistics (Maybe Text)
+ Amazonka.Athena.Lens: queryExecutionStatistics_dataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: queryExecutionStatistics_engineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: queryExecutionStatistics_queryPlanningTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: queryExecutionStatistics_queryQueueTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: queryExecutionStatistics_resultReuseInformation :: Lens' QueryExecutionStatistics (Maybe ResultReuseInformation)
+ Amazonka.Athena.Lens: queryExecutionStatistics_serviceProcessingTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: queryExecutionStatistics_totalExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: queryExecutionStatus_athenaError :: Lens' QueryExecutionStatus (Maybe AthenaError)
+ Amazonka.Athena.Lens: queryExecutionStatus_completionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: queryExecutionStatus_state :: Lens' QueryExecutionStatus (Maybe QueryExecutionState)
+ Amazonka.Athena.Lens: queryExecutionStatus_stateChangeReason :: Lens' QueryExecutionStatus (Maybe Text)
+ Amazonka.Athena.Lens: queryExecutionStatus_submissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: queryExecution_engineVersion :: Lens' QueryExecution (Maybe EngineVersion)
+ Amazonka.Athena.Lens: queryExecution_executionParameters :: Lens' QueryExecution (Maybe (NonEmpty Text))
+ Amazonka.Athena.Lens: queryExecution_query :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Lens: queryExecution_queryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext)
+ Amazonka.Athena.Lens: queryExecution_queryExecutionId :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Lens: queryExecution_resultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration)
+ Amazonka.Athena.Lens: queryExecution_resultReuseConfiguration :: Lens' QueryExecution (Maybe ResultReuseConfiguration)
+ Amazonka.Athena.Lens: queryExecution_statementType :: Lens' QueryExecution (Maybe StatementType)
+ Amazonka.Athena.Lens: queryExecution_statistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics)
+ Amazonka.Athena.Lens: queryExecution_status :: Lens' QueryExecution (Maybe QueryExecutionStatus)
+ Amazonka.Athena.Lens: queryExecution_workGroup :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsRows_inputBytes :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsRows_inputRows :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsRows_outputBytes :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsRows_outputRows :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsTimeline_queryQueueTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Lens: queryRuntimeStatistics_outputStage :: Lens' QueryRuntimeStatistics (Maybe QueryStage)
+ Amazonka.Athena.Lens: queryRuntimeStatistics_rows :: Lens' QueryRuntimeStatistics (Maybe QueryRuntimeStatisticsRows)
+ Amazonka.Athena.Lens: queryRuntimeStatistics_timeline :: Lens' QueryRuntimeStatistics (Maybe QueryRuntimeStatisticsTimeline)
+ Amazonka.Athena.Lens: queryStagePlanNode_children :: Lens' QueryStagePlanNode (Maybe [QueryStagePlanNode])
+ Amazonka.Athena.Lens: queryStagePlanNode_identifier :: Lens' QueryStagePlanNode (Maybe Text)
+ Amazonka.Athena.Lens: queryStagePlanNode_name :: Lens' QueryStagePlanNode (Maybe Text)
+ Amazonka.Athena.Lens: queryStagePlanNode_remoteSources :: Lens' QueryStagePlanNode (Maybe [Text])
+ Amazonka.Athena.Lens: queryStage_executionTime :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Lens: queryStage_inputBytes :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Lens: queryStage_inputRows :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Lens: queryStage_outputBytes :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Lens: queryStage_outputRows :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Lens: queryStage_queryStagePlan :: Lens' QueryStage (Maybe QueryStagePlanNode)
+ Amazonka.Athena.Lens: queryStage_stageId :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Lens: queryStage_state :: Lens' QueryStage (Maybe Text)
+ Amazonka.Athena.Lens: queryStage_subStages :: Lens' QueryStage (Maybe [QueryStage])
+ Amazonka.Athena.Lens: resultConfigurationUpdates_aclConfiguration :: Lens' ResultConfigurationUpdates (Maybe AclConfiguration)
+ Amazonka.Athena.Lens: resultConfigurationUpdates_encryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Lens: resultConfigurationUpdates_expectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Lens: resultConfigurationUpdates_outputLocation :: Lens' ResultConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Lens: resultConfigurationUpdates_removeAclConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: resultConfigurationUpdates_removeEncryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: resultConfigurationUpdates_removeExpectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: resultConfigurationUpdates_removeOutputLocation :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: resultConfiguration_aclConfiguration :: Lens' ResultConfiguration (Maybe AclConfiguration)
+ Amazonka.Athena.Lens: resultConfiguration_encryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Lens: resultConfiguration_expectedBucketOwner :: Lens' ResultConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: resultConfiguration_outputLocation :: Lens' ResultConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: resultReuseByAgeConfiguration_enabled :: Lens' ResultReuseByAgeConfiguration Bool
+ Amazonka.Athena.Lens: resultReuseByAgeConfiguration_maxAgeInMinutes :: Lens' ResultReuseByAgeConfiguration (Maybe Natural)
+ Amazonka.Athena.Lens: resultReuseConfiguration_resultReuseByAgeConfiguration :: Lens' ResultReuseConfiguration (Maybe ResultReuseByAgeConfiguration)
+ Amazonka.Athena.Lens: resultReuseInformation_reusedPreviousResult :: Lens' ResultReuseInformation Bool
+ Amazonka.Athena.Lens: resultSetMetadata_columnInfo :: Lens' ResultSetMetadata (Maybe [ColumnInfo])
+ Amazonka.Athena.Lens: resultSet_resultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata)
+ Amazonka.Athena.Lens: resultSet_rows :: Lens' ResultSet (Maybe [Row])
+ Amazonka.Athena.Lens: row_data :: Lens' Row (Maybe [Datum])
+ Amazonka.Athena.Lens: sessionConfiguration_encryptionConfiguration :: Lens' SessionConfiguration (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Lens: sessionConfiguration_executionRole :: Lens' SessionConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: sessionConfiguration_idleTimeoutSeconds :: Lens' SessionConfiguration (Maybe Integer)
+ Amazonka.Athena.Lens: sessionConfiguration_workingDirectory :: Lens' SessionConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: sessionStatistics_dpuExecutionInMillis :: Lens' SessionStatistics (Maybe Integer)
+ Amazonka.Athena.Lens: sessionStatus_endDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: sessionStatus_idleSinceDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: sessionStatus_lastModifiedDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: sessionStatus_startDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Lens: sessionStatus_state :: Lens' SessionStatus (Maybe SessionState)
+ Amazonka.Athena.Lens: sessionStatus_stateChangeReason :: Lens' SessionStatus (Maybe Text)
+ Amazonka.Athena.Lens: sessionSummary_description :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Lens: sessionSummary_engineVersion :: Lens' SessionSummary (Maybe EngineVersion)
+ Amazonka.Athena.Lens: sessionSummary_notebookVersion :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Lens: sessionSummary_sessionId :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Lens: sessionSummary_status :: Lens' SessionSummary (Maybe SessionStatus)
+ Amazonka.Athena.Lens: startCalculationExecutionResponse_calculationExecutionId :: Lens' StartCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.Lens: startCalculationExecutionResponse_httpStatus :: Lens' StartCalculationExecutionResponse Int
+ Amazonka.Athena.Lens: startCalculationExecutionResponse_state :: Lens' StartCalculationExecutionResponse (Maybe CalculationExecutionState)
+ Amazonka.Athena.Lens: startCalculationExecution_calculationConfiguration :: Lens' StartCalculationExecution (Maybe CalculationConfiguration)
+ Amazonka.Athena.Lens: startCalculationExecution_clientRequestToken :: Lens' StartCalculationExecution (Maybe Text)
+ Amazonka.Athena.Lens: startCalculationExecution_codeBlock :: Lens' StartCalculationExecution (Maybe Text)
+ Amazonka.Athena.Lens: startCalculationExecution_description :: Lens' StartCalculationExecution (Maybe Text)
+ Amazonka.Athena.Lens: startCalculationExecution_sessionId :: Lens' StartCalculationExecution Text
+ Amazonka.Athena.Lens: startQueryExecutionResponse_httpStatus :: Lens' StartQueryExecutionResponse Int
+ Amazonka.Athena.Lens: startQueryExecutionResponse_queryExecutionId :: Lens' StartQueryExecutionResponse (Maybe Text)
+ Amazonka.Athena.Lens: startQueryExecution_clientRequestToken :: Lens' StartQueryExecution (Maybe Text)
+ Amazonka.Athena.Lens: startQueryExecution_executionParameters :: Lens' StartQueryExecution (Maybe (NonEmpty Text))
+ Amazonka.Athena.Lens: startQueryExecution_queryExecutionContext :: Lens' StartQueryExecution (Maybe QueryExecutionContext)
+ Amazonka.Athena.Lens: startQueryExecution_queryString :: Lens' StartQueryExecution Text
+ Amazonka.Athena.Lens: startQueryExecution_resultConfiguration :: Lens' StartQueryExecution (Maybe ResultConfiguration)
+ Amazonka.Athena.Lens: startQueryExecution_resultReuseConfiguration :: Lens' StartQueryExecution (Maybe ResultReuseConfiguration)
+ Amazonka.Athena.Lens: startQueryExecution_workGroup :: Lens' StartQueryExecution (Maybe Text)
+ Amazonka.Athena.Lens: startSessionResponse_httpStatus :: Lens' StartSessionResponse Int
+ Amazonka.Athena.Lens: startSessionResponse_sessionId :: Lens' StartSessionResponse (Maybe Text)
+ Amazonka.Athena.Lens: startSessionResponse_state :: Lens' StartSessionResponse (Maybe SessionState)
+ Amazonka.Athena.Lens: startSession_clientRequestToken :: Lens' StartSession (Maybe Text)
+ Amazonka.Athena.Lens: startSession_description :: Lens' StartSession (Maybe Text)
+ Amazonka.Athena.Lens: startSession_engineConfiguration :: Lens' StartSession EngineConfiguration
+ Amazonka.Athena.Lens: startSession_notebookVersion :: Lens' StartSession (Maybe Text)
+ Amazonka.Athena.Lens: startSession_sessionIdleTimeoutInMinutes :: Lens' StartSession (Maybe Natural)
+ Amazonka.Athena.Lens: startSession_workGroup :: Lens' StartSession Text
+ Amazonka.Athena.Lens: stopCalculationExecutionResponse_httpStatus :: Lens' StopCalculationExecutionResponse Int
+ Amazonka.Athena.Lens: stopCalculationExecutionResponse_state :: Lens' StopCalculationExecutionResponse (Maybe CalculationExecutionState)
+ Amazonka.Athena.Lens: stopCalculationExecution_calculationExecutionId :: Lens' StopCalculationExecution Text
+ Amazonka.Athena.Lens: stopQueryExecutionResponse_httpStatus :: Lens' StopQueryExecutionResponse Int
+ Amazonka.Athena.Lens: stopQueryExecution_queryExecutionId :: Lens' StopQueryExecution Text
+ Amazonka.Athena.Lens: tableMetadata_columns :: Lens' TableMetadata (Maybe [Column])
+ Amazonka.Athena.Lens: tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime)
+ Amazonka.Athena.Lens: tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime)
+ Amazonka.Athena.Lens: tableMetadata_name :: Lens' TableMetadata Text
+ Amazonka.Athena.Lens: tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text))
+ Amazonka.Athena.Lens: tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column])
+ Amazonka.Athena.Lens: tableMetadata_tableType :: Lens' TableMetadata (Maybe Text)
+ Amazonka.Athena.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.Athena.Lens: tagResource_resourceARN :: Lens' TagResource Text
+ Amazonka.Athena.Lens: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.Athena.Lens: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.Athena.Lens: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.Athena.Lens: terminateSessionResponse_httpStatus :: Lens' TerminateSessionResponse Int
+ Amazonka.Athena.Lens: terminateSessionResponse_state :: Lens' TerminateSessionResponse (Maybe SessionState)
+ Amazonka.Athena.Lens: terminateSession_sessionId :: Lens' TerminateSession Text
+ Amazonka.Athena.Lens: unprocessedNamedQueryId_errorCode :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedNamedQueryId_errorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedNamedQueryId_namedQueryId :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedPreparedStatementName_errorCode :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedPreparedStatementName_errorMessage :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedPreparedStatementName_statementName :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedQueryExecutionId_errorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedQueryExecutionId_errorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Lens: unprocessedQueryExecutionId_queryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.Athena.Lens: untagResource_resourceARN :: Lens' UntagResource Text
+ Amazonka.Athena.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.Athena.Lens: updateDataCatalogResponse_httpStatus :: Lens' UpdateDataCatalogResponse Int
+ Amazonka.Athena.Lens: updateDataCatalog_description :: Lens' UpdateDataCatalog (Maybe Text)
+ Amazonka.Athena.Lens: updateDataCatalog_name :: Lens' UpdateDataCatalog Text
+ Amazonka.Athena.Lens: updateDataCatalog_parameters :: Lens' UpdateDataCatalog (Maybe (HashMap Text Text))
+ Amazonka.Athena.Lens: updateDataCatalog_type :: Lens' UpdateDataCatalog DataCatalogType
+ Amazonka.Athena.Lens: updateNamedQueryResponse_httpStatus :: Lens' UpdateNamedQueryResponse Int
+ Amazonka.Athena.Lens: updateNamedQuery_description :: Lens' UpdateNamedQuery (Maybe Text)
+ Amazonka.Athena.Lens: updateNamedQuery_name :: Lens' UpdateNamedQuery Text
+ Amazonka.Athena.Lens: updateNamedQuery_namedQueryId :: Lens' UpdateNamedQuery Text
+ Amazonka.Athena.Lens: updateNamedQuery_queryString :: Lens' UpdateNamedQuery Text
+ Amazonka.Athena.Lens: updateNotebookMetadataResponse_httpStatus :: Lens' UpdateNotebookMetadataResponse Int
+ Amazonka.Athena.Lens: updateNotebookMetadata_clientRequestToken :: Lens' UpdateNotebookMetadata (Maybe Text)
+ Amazonka.Athena.Lens: updateNotebookMetadata_name :: Lens' UpdateNotebookMetadata Text
+ Amazonka.Athena.Lens: updateNotebookMetadata_notebookId :: Lens' UpdateNotebookMetadata Text
+ Amazonka.Athena.Lens: updateNotebookResponse_httpStatus :: Lens' UpdateNotebookResponse Int
+ Amazonka.Athena.Lens: updateNotebook_clientRequestToken :: Lens' UpdateNotebook (Maybe Text)
+ Amazonka.Athena.Lens: updateNotebook_notebookId :: Lens' UpdateNotebook Text
+ Amazonka.Athena.Lens: updateNotebook_payload :: Lens' UpdateNotebook Text
+ Amazonka.Athena.Lens: updateNotebook_sessionId :: Lens' UpdateNotebook (Maybe Text)
+ Amazonka.Athena.Lens: updateNotebook_type :: Lens' UpdateNotebook NotebookType
+ Amazonka.Athena.Lens: updatePreparedStatementResponse_httpStatus :: Lens' UpdatePreparedStatementResponse Int
+ Amazonka.Athena.Lens: updatePreparedStatement_description :: Lens' UpdatePreparedStatement (Maybe Text)
+ Amazonka.Athena.Lens: updatePreparedStatement_queryStatement :: Lens' UpdatePreparedStatement Text
+ Amazonka.Athena.Lens: updatePreparedStatement_statementName :: Lens' UpdatePreparedStatement Text
+ Amazonka.Athena.Lens: updatePreparedStatement_workGroup :: Lens' UpdatePreparedStatement Text
+ Amazonka.Athena.Lens: updateWorkGroupResponse_httpStatus :: Lens' UpdateWorkGroupResponse Int
+ Amazonka.Athena.Lens: updateWorkGroup_configurationUpdates :: Lens' UpdateWorkGroup (Maybe WorkGroupConfigurationUpdates)
+ Amazonka.Athena.Lens: updateWorkGroup_description :: Lens' UpdateWorkGroup (Maybe Text)
+ Amazonka.Athena.Lens: updateWorkGroup_state :: Lens' UpdateWorkGroup (Maybe WorkGroupState)
+ Amazonka.Athena.Lens: updateWorkGroup_workGroup :: Lens' UpdateWorkGroup Text
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_additionalConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Natural)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_customerContentEncryptionConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe CustomerContentEncryptionConfiguration)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_enforceWorkGroupConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_engineVersion :: Lens' WorkGroupConfigurationUpdates (Maybe EngineVersion)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_executionRole :: Lens' WorkGroupConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_requesterPaysEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfigurationUpdates_resultConfigurationUpdates :: Lens' WorkGroupConfigurationUpdates (Maybe ResultConfigurationUpdates)
+ Amazonka.Athena.Lens: workGroupConfiguration_additionalConfiguration :: Lens' WorkGroupConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: workGroupConfiguration_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfiguration (Maybe Natural)
+ Amazonka.Athena.Lens: workGroupConfiguration_customerContentEncryptionConfiguration :: Lens' WorkGroupConfiguration (Maybe CustomerContentEncryptionConfiguration)
+ Amazonka.Athena.Lens: workGroupConfiguration_enforceWorkGroupConfiguration :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfiguration_engineVersion :: Lens' WorkGroupConfiguration (Maybe EngineVersion)
+ Amazonka.Athena.Lens: workGroupConfiguration_executionRole :: Lens' WorkGroupConfiguration (Maybe Text)
+ Amazonka.Athena.Lens: workGroupConfiguration_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfiguration_requesterPaysEnabled :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Lens: workGroupConfiguration_resultConfiguration :: Lens' WorkGroupConfiguration (Maybe ResultConfiguration)
+ Amazonka.Athena.Lens: workGroupSummary_creationTime :: Lens' WorkGroupSummary (Maybe UTCTime)
+ Amazonka.Athena.Lens: workGroupSummary_description :: Lens' WorkGroupSummary (Maybe Text)
+ Amazonka.Athena.Lens: workGroupSummary_engineVersion :: Lens' WorkGroupSummary (Maybe EngineVersion)
+ Amazonka.Athena.Lens: workGroupSummary_name :: Lens' WorkGroupSummary (Maybe Text)
+ Amazonka.Athena.Lens: workGroupSummary_state :: Lens' WorkGroupSummary (Maybe WorkGroupState)
+ Amazonka.Athena.Lens: workGroup_configuration :: Lens' WorkGroup (Maybe WorkGroupConfiguration)
+ Amazonka.Athena.Lens: workGroup_creationTime :: Lens' WorkGroup (Maybe UTCTime)
+ Amazonka.Athena.Lens: workGroup_description :: Lens' WorkGroup (Maybe Text)
+ Amazonka.Athena.Lens: workGroup_name :: Lens' WorkGroup Text
+ Amazonka.Athena.Lens: workGroup_state :: Lens' WorkGroup (Maybe WorkGroupState)
+ Amazonka.Athena.ListApplicationDPUSizes: ListApplicationDPUSizes' :: Maybe Natural -> Maybe Text -> ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: ListApplicationDPUSizesResponse' :: Maybe [ApplicationDPUSizes] -> Maybe Text -> Int -> ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListApplicationDPUSizes: [$sel:applicationDPUSizes:ListApplicationDPUSizesResponse'] :: ListApplicationDPUSizesResponse -> Maybe [ApplicationDPUSizes]
+ Amazonka.Athena.ListApplicationDPUSizes: [$sel:httpStatus:ListApplicationDPUSizesResponse'] :: ListApplicationDPUSizesResponse -> Int
+ Amazonka.Athena.ListApplicationDPUSizes: [$sel:maxResults:ListApplicationDPUSizes'] :: ListApplicationDPUSizes -> Maybe Natural
+ Amazonka.Athena.ListApplicationDPUSizes: [$sel:nextToken:ListApplicationDPUSizes'] :: ListApplicationDPUSizes -> Maybe Text
+ Amazonka.Athena.ListApplicationDPUSizes: [$sel:nextToken:ListApplicationDPUSizesResponse'] :: ListApplicationDPUSizesResponse -> Maybe Text
+ Amazonka.Athena.ListApplicationDPUSizes: data ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: data ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListApplicationDPUSizes: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance Control.DeepSeq.NFData Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance Control.DeepSeq.NFData Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListApplicationDPUSizes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Classes.Eq Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Classes.Eq Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Generics.Generic Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Generics.Generic Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Read.Read Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Read.Read Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Show.Show Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: instance GHC.Show.Show Amazonka.Athena.ListApplicationDPUSizes.ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListApplicationDPUSizes: listApplicationDPUSizesResponse_applicationDPUSizes :: Lens' ListApplicationDPUSizesResponse (Maybe [ApplicationDPUSizes])
+ Amazonka.Athena.ListApplicationDPUSizes: listApplicationDPUSizesResponse_httpStatus :: Lens' ListApplicationDPUSizesResponse Int
+ Amazonka.Athena.ListApplicationDPUSizes: listApplicationDPUSizesResponse_nextToken :: Lens' ListApplicationDPUSizesResponse (Maybe Text)
+ Amazonka.Athena.ListApplicationDPUSizes: listApplicationDPUSizes_maxResults :: Lens' ListApplicationDPUSizes (Maybe Natural)
+ Amazonka.Athena.ListApplicationDPUSizes: listApplicationDPUSizes_nextToken :: Lens' ListApplicationDPUSizes (Maybe Text)
+ Amazonka.Athena.ListApplicationDPUSizes: newListApplicationDPUSizes :: ListApplicationDPUSizes
+ Amazonka.Athena.ListApplicationDPUSizes: newListApplicationDPUSizesResponse :: Int -> ListApplicationDPUSizesResponse
+ Amazonka.Athena.ListCalculationExecutions: ListCalculationExecutions' :: Maybe Natural -> Maybe Text -> Maybe CalculationExecutionState -> Text -> ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: ListCalculationExecutionsResponse' :: Maybe [CalculationSummary] -> Maybe Text -> Int -> ListCalculationExecutionsResponse
+ Amazonka.Athena.ListCalculationExecutions: [$sel:calculations:ListCalculationExecutionsResponse'] :: ListCalculationExecutionsResponse -> Maybe [CalculationSummary]
+ Amazonka.Athena.ListCalculationExecutions: [$sel:httpStatus:ListCalculationExecutionsResponse'] :: ListCalculationExecutionsResponse -> Int
+ Amazonka.Athena.ListCalculationExecutions: [$sel:maxResults:ListCalculationExecutions'] :: ListCalculationExecutions -> Maybe Natural
+ Amazonka.Athena.ListCalculationExecutions: [$sel:nextToken:ListCalculationExecutions'] :: ListCalculationExecutions -> Maybe Text
+ Amazonka.Athena.ListCalculationExecutions: [$sel:nextToken:ListCalculationExecutionsResponse'] :: ListCalculationExecutionsResponse -> Maybe Text
+ Amazonka.Athena.ListCalculationExecutions: [$sel:sessionId:ListCalculationExecutions'] :: ListCalculationExecutions -> Text
+ Amazonka.Athena.ListCalculationExecutions: [$sel:stateFilter:ListCalculationExecutions'] :: ListCalculationExecutions -> Maybe CalculationExecutionState
+ Amazonka.Athena.ListCalculationExecutions: data ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: data ListCalculationExecutionsResponse
+ Amazonka.Athena.ListCalculationExecutions: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance Control.DeepSeq.NFData Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance Control.DeepSeq.NFData Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutionsResponse
+ Amazonka.Athena.ListCalculationExecutions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Classes.Eq Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Classes.Eq Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutionsResponse
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Generics.Generic Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Generics.Generic Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutionsResponse
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Read.Read Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Read.Read Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutionsResponse
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Show.Show Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: instance GHC.Show.Show Amazonka.Athena.ListCalculationExecutions.ListCalculationExecutionsResponse
+ Amazonka.Athena.ListCalculationExecutions: listCalculationExecutionsResponse_calculations :: Lens' ListCalculationExecutionsResponse (Maybe [CalculationSummary])
+ Amazonka.Athena.ListCalculationExecutions: listCalculationExecutionsResponse_httpStatus :: Lens' ListCalculationExecutionsResponse Int
+ Amazonka.Athena.ListCalculationExecutions: listCalculationExecutionsResponse_nextToken :: Lens' ListCalculationExecutionsResponse (Maybe Text)
+ Amazonka.Athena.ListCalculationExecutions: listCalculationExecutions_maxResults :: Lens' ListCalculationExecutions (Maybe Natural)
+ Amazonka.Athena.ListCalculationExecutions: listCalculationExecutions_nextToken :: Lens' ListCalculationExecutions (Maybe Text)
+ Amazonka.Athena.ListCalculationExecutions: listCalculationExecutions_sessionId :: Lens' ListCalculationExecutions Text
+ Amazonka.Athena.ListCalculationExecutions: listCalculationExecutions_stateFilter :: Lens' ListCalculationExecutions (Maybe CalculationExecutionState)
+ Amazonka.Athena.ListCalculationExecutions: newListCalculationExecutions :: Text -> ListCalculationExecutions
+ Amazonka.Athena.ListCalculationExecutions: newListCalculationExecutionsResponse :: Int -> ListCalculationExecutionsResponse
+ Amazonka.Athena.ListDataCatalogs: ListDataCatalogs' :: Maybe Natural -> Maybe Text -> ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: ListDataCatalogsResponse' :: Maybe [DataCatalogSummary] -> Maybe Text -> Int -> ListDataCatalogsResponse
+ Amazonka.Athena.ListDataCatalogs: [$sel:dataCatalogsSummary:ListDataCatalogsResponse'] :: ListDataCatalogsResponse -> Maybe [DataCatalogSummary]
+ Amazonka.Athena.ListDataCatalogs: [$sel:httpStatus:ListDataCatalogsResponse'] :: ListDataCatalogsResponse -> Int
+ Amazonka.Athena.ListDataCatalogs: [$sel:maxResults:ListDataCatalogs'] :: ListDataCatalogs -> Maybe Natural
+ Amazonka.Athena.ListDataCatalogs: [$sel:nextToken:ListDataCatalogs'] :: ListDataCatalogs -> Maybe Text
+ Amazonka.Athena.ListDataCatalogs: [$sel:nextToken:ListDataCatalogsResponse'] :: ListDataCatalogsResponse -> Maybe Text
+ Amazonka.Athena.ListDataCatalogs: data ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: data ListDataCatalogsResponse
+ Amazonka.Athena.ListDataCatalogs: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance Amazonka.Pager.AWSPager Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance Control.DeepSeq.NFData Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance Control.DeepSeq.NFData Amazonka.Athena.ListDataCatalogs.ListDataCatalogsResponse
+ Amazonka.Athena.ListDataCatalogs: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Classes.Eq Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Classes.Eq Amazonka.Athena.ListDataCatalogs.ListDataCatalogsResponse
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Generics.Generic Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Generics.Generic Amazonka.Athena.ListDataCatalogs.ListDataCatalogsResponse
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Read.Read Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Read.Read Amazonka.Athena.ListDataCatalogs.ListDataCatalogsResponse
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Show.Show Amazonka.Athena.ListDataCatalogs.ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: instance GHC.Show.Show Amazonka.Athena.ListDataCatalogs.ListDataCatalogsResponse
+ Amazonka.Athena.ListDataCatalogs: listDataCatalogsResponse_dataCatalogsSummary :: Lens' ListDataCatalogsResponse (Maybe [DataCatalogSummary])
+ Amazonka.Athena.ListDataCatalogs: listDataCatalogsResponse_httpStatus :: Lens' ListDataCatalogsResponse Int
+ Amazonka.Athena.ListDataCatalogs: listDataCatalogsResponse_nextToken :: Lens' ListDataCatalogsResponse (Maybe Text)
+ Amazonka.Athena.ListDataCatalogs: listDataCatalogs_maxResults :: Lens' ListDataCatalogs (Maybe Natural)
+ Amazonka.Athena.ListDataCatalogs: listDataCatalogs_nextToken :: Lens' ListDataCatalogs (Maybe Text)
+ Amazonka.Athena.ListDataCatalogs: newListDataCatalogs :: ListDataCatalogs
+ Amazonka.Athena.ListDataCatalogs: newListDataCatalogsResponse :: Int -> ListDataCatalogsResponse
+ Amazonka.Athena.ListDatabases: ListDatabases' :: Maybe Natural -> Maybe Text -> Text -> ListDatabases
+ Amazonka.Athena.ListDatabases: ListDatabasesResponse' :: Maybe [Database] -> Maybe Text -> Int -> ListDatabasesResponse
+ Amazonka.Athena.ListDatabases: [$sel:catalogName:ListDatabases'] :: ListDatabases -> Text
+ Amazonka.Athena.ListDatabases: [$sel:databaseList:ListDatabasesResponse'] :: ListDatabasesResponse -> Maybe [Database]
+ Amazonka.Athena.ListDatabases: [$sel:httpStatus:ListDatabasesResponse'] :: ListDatabasesResponse -> Int
+ Amazonka.Athena.ListDatabases: [$sel:maxResults:ListDatabases'] :: ListDatabases -> Maybe Natural
+ Amazonka.Athena.ListDatabases: [$sel:nextToken:ListDatabases'] :: ListDatabases -> Maybe Text
+ Amazonka.Athena.ListDatabases: [$sel:nextToken:ListDatabasesResponse'] :: ListDatabasesResponse -> Maybe Text
+ Amazonka.Athena.ListDatabases: data ListDatabases
+ Amazonka.Athena.ListDatabases: data ListDatabasesResponse
+ Amazonka.Athena.ListDatabases: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance Amazonka.Pager.AWSPager Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance Control.DeepSeq.NFData Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance Control.DeepSeq.NFData Amazonka.Athena.ListDatabases.ListDatabasesResponse
+ Amazonka.Athena.ListDatabases: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance GHC.Classes.Eq Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance GHC.Classes.Eq Amazonka.Athena.ListDatabases.ListDatabasesResponse
+ Amazonka.Athena.ListDatabases: instance GHC.Generics.Generic Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance GHC.Generics.Generic Amazonka.Athena.ListDatabases.ListDatabasesResponse
+ Amazonka.Athena.ListDatabases: instance GHC.Read.Read Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance GHC.Read.Read Amazonka.Athena.ListDatabases.ListDatabasesResponse
+ Amazonka.Athena.ListDatabases: instance GHC.Show.Show Amazonka.Athena.ListDatabases.ListDatabases
+ Amazonka.Athena.ListDatabases: instance GHC.Show.Show Amazonka.Athena.ListDatabases.ListDatabasesResponse
+ Amazonka.Athena.ListDatabases: listDatabasesResponse_databaseList :: Lens' ListDatabasesResponse (Maybe [Database])
+ Amazonka.Athena.ListDatabases: listDatabasesResponse_httpStatus :: Lens' ListDatabasesResponse Int
+ Amazonka.Athena.ListDatabases: listDatabasesResponse_nextToken :: Lens' ListDatabasesResponse (Maybe Text)
+ Amazonka.Athena.ListDatabases: listDatabases_catalogName :: Lens' ListDatabases Text
+ Amazonka.Athena.ListDatabases: listDatabases_maxResults :: Lens' ListDatabases (Maybe Natural)
+ Amazonka.Athena.ListDatabases: listDatabases_nextToken :: Lens' ListDatabases (Maybe Text)
+ Amazonka.Athena.ListDatabases: newListDatabases :: Text -> ListDatabases
+ Amazonka.Athena.ListDatabases: newListDatabasesResponse :: Int -> ListDatabasesResponse
+ Amazonka.Athena.ListEngineVersions: ListEngineVersions' :: Maybe Natural -> Maybe Text -> ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: ListEngineVersionsResponse' :: Maybe [EngineVersion] -> Maybe Text -> Int -> ListEngineVersionsResponse
+ Amazonka.Athena.ListEngineVersions: [$sel:engineVersions:ListEngineVersionsResponse'] :: ListEngineVersionsResponse -> Maybe [EngineVersion]
+ Amazonka.Athena.ListEngineVersions: [$sel:httpStatus:ListEngineVersionsResponse'] :: ListEngineVersionsResponse -> Int
+ Amazonka.Athena.ListEngineVersions: [$sel:maxResults:ListEngineVersions'] :: ListEngineVersions -> Maybe Natural
+ Amazonka.Athena.ListEngineVersions: [$sel:nextToken:ListEngineVersions'] :: ListEngineVersions -> Maybe Text
+ Amazonka.Athena.ListEngineVersions: [$sel:nextToken:ListEngineVersionsResponse'] :: ListEngineVersionsResponse -> Maybe Text
+ Amazonka.Athena.ListEngineVersions: data ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: data ListEngineVersionsResponse
+ Amazonka.Athena.ListEngineVersions: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance Control.DeepSeq.NFData Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance Control.DeepSeq.NFData Amazonka.Athena.ListEngineVersions.ListEngineVersionsResponse
+ Amazonka.Athena.ListEngineVersions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance GHC.Classes.Eq Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance GHC.Classes.Eq Amazonka.Athena.ListEngineVersions.ListEngineVersionsResponse
+ Amazonka.Athena.ListEngineVersions: instance GHC.Generics.Generic Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance GHC.Generics.Generic Amazonka.Athena.ListEngineVersions.ListEngineVersionsResponse
+ Amazonka.Athena.ListEngineVersions: instance GHC.Read.Read Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance GHC.Read.Read Amazonka.Athena.ListEngineVersions.ListEngineVersionsResponse
+ Amazonka.Athena.ListEngineVersions: instance GHC.Show.Show Amazonka.Athena.ListEngineVersions.ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: instance GHC.Show.Show Amazonka.Athena.ListEngineVersions.ListEngineVersionsResponse
+ Amazonka.Athena.ListEngineVersions: listEngineVersionsResponse_engineVersions :: Lens' ListEngineVersionsResponse (Maybe [EngineVersion])
+ Amazonka.Athena.ListEngineVersions: listEngineVersionsResponse_httpStatus :: Lens' ListEngineVersionsResponse Int
+ Amazonka.Athena.ListEngineVersions: listEngineVersionsResponse_nextToken :: Lens' ListEngineVersionsResponse (Maybe Text)
+ Amazonka.Athena.ListEngineVersions: listEngineVersions_maxResults :: Lens' ListEngineVersions (Maybe Natural)
+ Amazonka.Athena.ListEngineVersions: listEngineVersions_nextToken :: Lens' ListEngineVersions (Maybe Text)
+ Amazonka.Athena.ListEngineVersions: newListEngineVersions :: ListEngineVersions
+ Amazonka.Athena.ListEngineVersions: newListEngineVersionsResponse :: Int -> ListEngineVersionsResponse
+ Amazonka.Athena.ListExecutors: ListExecutors' :: Maybe ExecutorState -> Maybe Natural -> Maybe Text -> Text -> ListExecutors
+ Amazonka.Athena.ListExecutors: ListExecutorsResponse' :: Maybe [ExecutorsSummary] -> Maybe Text -> Int -> Text -> ListExecutorsResponse
+ Amazonka.Athena.ListExecutors: [$sel:executorStateFilter:ListExecutors'] :: ListExecutors -> Maybe ExecutorState
+ Amazonka.Athena.ListExecutors: [$sel:executorsSummary:ListExecutorsResponse'] :: ListExecutorsResponse -> Maybe [ExecutorsSummary]
+ Amazonka.Athena.ListExecutors: [$sel:httpStatus:ListExecutorsResponse'] :: ListExecutorsResponse -> Int
+ Amazonka.Athena.ListExecutors: [$sel:maxResults:ListExecutors'] :: ListExecutors -> Maybe Natural
+ Amazonka.Athena.ListExecutors: [$sel:nextToken:ListExecutors'] :: ListExecutors -> Maybe Text
+ Amazonka.Athena.ListExecutors: [$sel:nextToken:ListExecutorsResponse'] :: ListExecutorsResponse -> Maybe Text
+ Amazonka.Athena.ListExecutors: [$sel:sessionId:ListExecutors'] :: ListExecutors -> Text
+ Amazonka.Athena.ListExecutors: [$sel:sessionId:ListExecutorsResponse'] :: ListExecutorsResponse -> Text
+ Amazonka.Athena.ListExecutors: data ListExecutors
+ Amazonka.Athena.ListExecutors: data ListExecutorsResponse
+ Amazonka.Athena.ListExecutors: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance Control.DeepSeq.NFData Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance Control.DeepSeq.NFData Amazonka.Athena.ListExecutors.ListExecutorsResponse
+ Amazonka.Athena.ListExecutors: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance GHC.Classes.Eq Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance GHC.Classes.Eq Amazonka.Athena.ListExecutors.ListExecutorsResponse
+ Amazonka.Athena.ListExecutors: instance GHC.Generics.Generic Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance GHC.Generics.Generic Amazonka.Athena.ListExecutors.ListExecutorsResponse
+ Amazonka.Athena.ListExecutors: instance GHC.Read.Read Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance GHC.Read.Read Amazonka.Athena.ListExecutors.ListExecutorsResponse
+ Amazonka.Athena.ListExecutors: instance GHC.Show.Show Amazonka.Athena.ListExecutors.ListExecutors
+ Amazonka.Athena.ListExecutors: instance GHC.Show.Show Amazonka.Athena.ListExecutors.ListExecutorsResponse
+ Amazonka.Athena.ListExecutors: listExecutorsResponse_executorsSummary :: Lens' ListExecutorsResponse (Maybe [ExecutorsSummary])
+ Amazonka.Athena.ListExecutors: listExecutorsResponse_httpStatus :: Lens' ListExecutorsResponse Int
+ Amazonka.Athena.ListExecutors: listExecutorsResponse_nextToken :: Lens' ListExecutorsResponse (Maybe Text)
+ Amazonka.Athena.ListExecutors: listExecutorsResponse_sessionId :: Lens' ListExecutorsResponse Text
+ Amazonka.Athena.ListExecutors: listExecutors_executorStateFilter :: Lens' ListExecutors (Maybe ExecutorState)
+ Amazonka.Athena.ListExecutors: listExecutors_maxResults :: Lens' ListExecutors (Maybe Natural)
+ Amazonka.Athena.ListExecutors: listExecutors_nextToken :: Lens' ListExecutors (Maybe Text)
+ Amazonka.Athena.ListExecutors: listExecutors_sessionId :: Lens' ListExecutors Text
+ Amazonka.Athena.ListExecutors: newListExecutors :: Text -> ListExecutors
+ Amazonka.Athena.ListExecutors: newListExecutorsResponse :: Int -> Text -> ListExecutorsResponse
+ Amazonka.Athena.ListNamedQueries: ListNamedQueries' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: ListNamedQueriesResponse' :: Maybe (NonEmpty Text) -> Maybe Text -> Int -> ListNamedQueriesResponse
+ Amazonka.Athena.ListNamedQueries: [$sel:httpStatus:ListNamedQueriesResponse'] :: ListNamedQueriesResponse -> Int
+ Amazonka.Athena.ListNamedQueries: [$sel:maxResults:ListNamedQueries'] :: ListNamedQueries -> Maybe Natural
+ Amazonka.Athena.ListNamedQueries: [$sel:namedQueryIds:ListNamedQueriesResponse'] :: ListNamedQueriesResponse -> Maybe (NonEmpty Text)
+ Amazonka.Athena.ListNamedQueries: [$sel:nextToken:ListNamedQueries'] :: ListNamedQueries -> Maybe Text
+ Amazonka.Athena.ListNamedQueries: [$sel:nextToken:ListNamedQueriesResponse'] :: ListNamedQueriesResponse -> Maybe Text
+ Amazonka.Athena.ListNamedQueries: [$sel:workGroup:ListNamedQueries'] :: ListNamedQueries -> Maybe Text
+ Amazonka.Athena.ListNamedQueries: data ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: data ListNamedQueriesResponse
+ Amazonka.Athena.ListNamedQueries: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance Amazonka.Pager.AWSPager Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance Control.DeepSeq.NFData Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance Control.DeepSeq.NFData Amazonka.Athena.ListNamedQueries.ListNamedQueriesResponse
+ Amazonka.Athena.ListNamedQueries: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance GHC.Classes.Eq Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance GHC.Classes.Eq Amazonka.Athena.ListNamedQueries.ListNamedQueriesResponse
+ Amazonka.Athena.ListNamedQueries: instance GHC.Generics.Generic Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance GHC.Generics.Generic Amazonka.Athena.ListNamedQueries.ListNamedQueriesResponse
+ Amazonka.Athena.ListNamedQueries: instance GHC.Read.Read Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance GHC.Read.Read Amazonka.Athena.ListNamedQueries.ListNamedQueriesResponse
+ Amazonka.Athena.ListNamedQueries: instance GHC.Show.Show Amazonka.Athena.ListNamedQueries.ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: instance GHC.Show.Show Amazonka.Athena.ListNamedQueries.ListNamedQueriesResponse
+ Amazonka.Athena.ListNamedQueries: listNamedQueriesResponse_httpStatus :: Lens' ListNamedQueriesResponse Int
+ Amazonka.Athena.ListNamedQueries: listNamedQueriesResponse_namedQueryIds :: Lens' ListNamedQueriesResponse (Maybe (NonEmpty Text))
+ Amazonka.Athena.ListNamedQueries: listNamedQueriesResponse_nextToken :: Lens' ListNamedQueriesResponse (Maybe Text)
+ Amazonka.Athena.ListNamedQueries: listNamedQueries_maxResults :: Lens' ListNamedQueries (Maybe Natural)
+ Amazonka.Athena.ListNamedQueries: listNamedQueries_nextToken :: Lens' ListNamedQueries (Maybe Text)
+ Amazonka.Athena.ListNamedQueries: listNamedQueries_workGroup :: Lens' ListNamedQueries (Maybe Text)
+ Amazonka.Athena.ListNamedQueries: newListNamedQueries :: ListNamedQueries
+ Amazonka.Athena.ListNamedQueries: newListNamedQueriesResponse :: Int -> ListNamedQueriesResponse
+ Amazonka.Athena.ListNotebookMetadata: ListNotebookMetadata' :: Maybe FilterDefinition -> Maybe Natural -> Maybe Text -> Text -> ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: ListNotebookMetadataResponse' :: Maybe Text -> Maybe [NotebookMetadata] -> Int -> ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookMetadata: [$sel:filters:ListNotebookMetadata'] :: ListNotebookMetadata -> Maybe FilterDefinition
+ Amazonka.Athena.ListNotebookMetadata: [$sel:httpStatus:ListNotebookMetadataResponse'] :: ListNotebookMetadataResponse -> Int
+ Amazonka.Athena.ListNotebookMetadata: [$sel:maxResults:ListNotebookMetadata'] :: ListNotebookMetadata -> Maybe Natural
+ Amazonka.Athena.ListNotebookMetadata: [$sel:nextToken:ListNotebookMetadata'] :: ListNotebookMetadata -> Maybe Text
+ Amazonka.Athena.ListNotebookMetadata: [$sel:nextToken:ListNotebookMetadataResponse'] :: ListNotebookMetadataResponse -> Maybe Text
+ Amazonka.Athena.ListNotebookMetadata: [$sel:notebookMetadataList:ListNotebookMetadataResponse'] :: ListNotebookMetadataResponse -> Maybe [NotebookMetadata]
+ Amazonka.Athena.ListNotebookMetadata: [$sel:workGroup:ListNotebookMetadata'] :: ListNotebookMetadata -> Text
+ Amazonka.Athena.ListNotebookMetadata: data ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: data ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookMetadata: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookMetadata: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Classes.Eq Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Classes.Eq Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Generics.Generic Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Generics.Generic Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Read.Read Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Read.Read Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Show.Show Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: instance GHC.Show.Show Amazonka.Athena.ListNotebookMetadata.ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookMetadata: listNotebookMetadataResponse_httpStatus :: Lens' ListNotebookMetadataResponse Int
+ Amazonka.Athena.ListNotebookMetadata: listNotebookMetadataResponse_nextToken :: Lens' ListNotebookMetadataResponse (Maybe Text)
+ Amazonka.Athena.ListNotebookMetadata: listNotebookMetadataResponse_notebookMetadataList :: Lens' ListNotebookMetadataResponse (Maybe [NotebookMetadata])
+ Amazonka.Athena.ListNotebookMetadata: listNotebookMetadata_filters :: Lens' ListNotebookMetadata (Maybe FilterDefinition)
+ Amazonka.Athena.ListNotebookMetadata: listNotebookMetadata_maxResults :: Lens' ListNotebookMetadata (Maybe Natural)
+ Amazonka.Athena.ListNotebookMetadata: listNotebookMetadata_nextToken :: Lens' ListNotebookMetadata (Maybe Text)
+ Amazonka.Athena.ListNotebookMetadata: listNotebookMetadata_workGroup :: Lens' ListNotebookMetadata Text
+ Amazonka.Athena.ListNotebookMetadata: newListNotebookMetadata :: Text -> ListNotebookMetadata
+ Amazonka.Athena.ListNotebookMetadata: newListNotebookMetadataResponse :: Int -> ListNotebookMetadataResponse
+ Amazonka.Athena.ListNotebookSessions: ListNotebookSessions' :: Maybe Natural -> Maybe Text -> Text -> ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: ListNotebookSessionsResponse' :: Maybe Text -> Int -> [NotebookSessionSummary] -> ListNotebookSessionsResponse
+ Amazonka.Athena.ListNotebookSessions: [$sel:httpStatus:ListNotebookSessionsResponse'] :: ListNotebookSessionsResponse -> Int
+ Amazonka.Athena.ListNotebookSessions: [$sel:maxResults:ListNotebookSessions'] :: ListNotebookSessions -> Maybe Natural
+ Amazonka.Athena.ListNotebookSessions: [$sel:nextToken:ListNotebookSessions'] :: ListNotebookSessions -> Maybe Text
+ Amazonka.Athena.ListNotebookSessions: [$sel:nextToken:ListNotebookSessionsResponse'] :: ListNotebookSessionsResponse -> Maybe Text
+ Amazonka.Athena.ListNotebookSessions: [$sel:notebookId:ListNotebookSessions'] :: ListNotebookSessions -> Text
+ Amazonka.Athena.ListNotebookSessions: [$sel:notebookSessionsList:ListNotebookSessionsResponse'] :: ListNotebookSessionsResponse -> [NotebookSessionSummary]
+ Amazonka.Athena.ListNotebookSessions: data ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: data ListNotebookSessionsResponse
+ Amazonka.Athena.ListNotebookSessions: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance Control.DeepSeq.NFData Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance Control.DeepSeq.NFData Amazonka.Athena.ListNotebookSessions.ListNotebookSessionsResponse
+ Amazonka.Athena.ListNotebookSessions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Classes.Eq Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Classes.Eq Amazonka.Athena.ListNotebookSessions.ListNotebookSessionsResponse
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Generics.Generic Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Generics.Generic Amazonka.Athena.ListNotebookSessions.ListNotebookSessionsResponse
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Read.Read Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Read.Read Amazonka.Athena.ListNotebookSessions.ListNotebookSessionsResponse
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Show.Show Amazonka.Athena.ListNotebookSessions.ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: instance GHC.Show.Show Amazonka.Athena.ListNotebookSessions.ListNotebookSessionsResponse
+ Amazonka.Athena.ListNotebookSessions: listNotebookSessionsResponse_httpStatus :: Lens' ListNotebookSessionsResponse Int
+ Amazonka.Athena.ListNotebookSessions: listNotebookSessionsResponse_nextToken :: Lens' ListNotebookSessionsResponse (Maybe Text)
+ Amazonka.Athena.ListNotebookSessions: listNotebookSessionsResponse_notebookSessionsList :: Lens' ListNotebookSessionsResponse [NotebookSessionSummary]
+ Amazonka.Athena.ListNotebookSessions: listNotebookSessions_maxResults :: Lens' ListNotebookSessions (Maybe Natural)
+ Amazonka.Athena.ListNotebookSessions: listNotebookSessions_nextToken :: Lens' ListNotebookSessions (Maybe Text)
+ Amazonka.Athena.ListNotebookSessions: listNotebookSessions_notebookId :: Lens' ListNotebookSessions Text
+ Amazonka.Athena.ListNotebookSessions: newListNotebookSessions :: Text -> ListNotebookSessions
+ Amazonka.Athena.ListNotebookSessions: newListNotebookSessionsResponse :: Int -> ListNotebookSessionsResponse
+ Amazonka.Athena.ListPreparedStatements: ListPreparedStatements' :: Maybe Natural -> Maybe Text -> Text -> ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: ListPreparedStatementsResponse' :: Maybe Text -> Maybe [PreparedStatementSummary] -> Int -> ListPreparedStatementsResponse
+ Amazonka.Athena.ListPreparedStatements: [$sel:httpStatus:ListPreparedStatementsResponse'] :: ListPreparedStatementsResponse -> Int
+ Amazonka.Athena.ListPreparedStatements: [$sel:maxResults:ListPreparedStatements'] :: ListPreparedStatements -> Maybe Natural
+ Amazonka.Athena.ListPreparedStatements: [$sel:nextToken:ListPreparedStatements'] :: ListPreparedStatements -> Maybe Text
+ Amazonka.Athena.ListPreparedStatements: [$sel:nextToken:ListPreparedStatementsResponse'] :: ListPreparedStatementsResponse -> Maybe Text
+ Amazonka.Athena.ListPreparedStatements: [$sel:preparedStatements:ListPreparedStatementsResponse'] :: ListPreparedStatementsResponse -> Maybe [PreparedStatementSummary]
+ Amazonka.Athena.ListPreparedStatements: [$sel:workGroup:ListPreparedStatements'] :: ListPreparedStatements -> Text
+ Amazonka.Athena.ListPreparedStatements: data ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: data ListPreparedStatementsResponse
+ Amazonka.Athena.ListPreparedStatements: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance Control.DeepSeq.NFData Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance Control.DeepSeq.NFData Amazonka.Athena.ListPreparedStatements.ListPreparedStatementsResponse
+ Amazonka.Athena.ListPreparedStatements: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Classes.Eq Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Classes.Eq Amazonka.Athena.ListPreparedStatements.ListPreparedStatementsResponse
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Generics.Generic Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Generics.Generic Amazonka.Athena.ListPreparedStatements.ListPreparedStatementsResponse
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Read.Read Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Read.Read Amazonka.Athena.ListPreparedStatements.ListPreparedStatementsResponse
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Show.Show Amazonka.Athena.ListPreparedStatements.ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: instance GHC.Show.Show Amazonka.Athena.ListPreparedStatements.ListPreparedStatementsResponse
+ Amazonka.Athena.ListPreparedStatements: listPreparedStatementsResponse_httpStatus :: Lens' ListPreparedStatementsResponse Int
+ Amazonka.Athena.ListPreparedStatements: listPreparedStatementsResponse_nextToken :: Lens' ListPreparedStatementsResponse (Maybe Text)
+ Amazonka.Athena.ListPreparedStatements: listPreparedStatementsResponse_preparedStatements :: Lens' ListPreparedStatementsResponse (Maybe [PreparedStatementSummary])
+ Amazonka.Athena.ListPreparedStatements: listPreparedStatements_maxResults :: Lens' ListPreparedStatements (Maybe Natural)
+ Amazonka.Athena.ListPreparedStatements: listPreparedStatements_nextToken :: Lens' ListPreparedStatements (Maybe Text)
+ Amazonka.Athena.ListPreparedStatements: listPreparedStatements_workGroup :: Lens' ListPreparedStatements Text
+ Amazonka.Athena.ListPreparedStatements: newListPreparedStatements :: Text -> ListPreparedStatements
+ Amazonka.Athena.ListPreparedStatements: newListPreparedStatementsResponse :: Int -> ListPreparedStatementsResponse
+ Amazonka.Athena.ListQueryExecutions: ListQueryExecutions' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: ListQueryExecutionsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListQueryExecutionsResponse
+ Amazonka.Athena.ListQueryExecutions: [$sel:httpStatus:ListQueryExecutionsResponse'] :: ListQueryExecutionsResponse -> Int
+ Amazonka.Athena.ListQueryExecutions: [$sel:maxResults:ListQueryExecutions'] :: ListQueryExecutions -> Maybe Natural
+ Amazonka.Athena.ListQueryExecutions: [$sel:nextToken:ListQueryExecutions'] :: ListQueryExecutions -> Maybe Text
+ Amazonka.Athena.ListQueryExecutions: [$sel:nextToken:ListQueryExecutionsResponse'] :: ListQueryExecutionsResponse -> Maybe Text
+ Amazonka.Athena.ListQueryExecutions: [$sel:queryExecutionIds:ListQueryExecutionsResponse'] :: ListQueryExecutionsResponse -> Maybe (NonEmpty Text)
+ Amazonka.Athena.ListQueryExecutions: [$sel:workGroup:ListQueryExecutions'] :: ListQueryExecutions -> Maybe Text
+ Amazonka.Athena.ListQueryExecutions: data ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: data ListQueryExecutionsResponse
+ Amazonka.Athena.ListQueryExecutions: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance Amazonka.Pager.AWSPager Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance Control.DeepSeq.NFData Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance Control.DeepSeq.NFData Amazonka.Athena.ListQueryExecutions.ListQueryExecutionsResponse
+ Amazonka.Athena.ListQueryExecutions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Classes.Eq Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Classes.Eq Amazonka.Athena.ListQueryExecutions.ListQueryExecutionsResponse
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Generics.Generic Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Generics.Generic Amazonka.Athena.ListQueryExecutions.ListQueryExecutionsResponse
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Read.Read Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Read.Read Amazonka.Athena.ListQueryExecutions.ListQueryExecutionsResponse
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Show.Show Amazonka.Athena.ListQueryExecutions.ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: instance GHC.Show.Show Amazonka.Athena.ListQueryExecutions.ListQueryExecutionsResponse
+ Amazonka.Athena.ListQueryExecutions: listQueryExecutionsResponse_httpStatus :: Lens' ListQueryExecutionsResponse Int
+ Amazonka.Athena.ListQueryExecutions: listQueryExecutionsResponse_nextToken :: Lens' ListQueryExecutionsResponse (Maybe Text)
+ Amazonka.Athena.ListQueryExecutions: listQueryExecutionsResponse_queryExecutionIds :: Lens' ListQueryExecutionsResponse (Maybe (NonEmpty Text))
+ Amazonka.Athena.ListQueryExecutions: listQueryExecutions_maxResults :: Lens' ListQueryExecutions (Maybe Natural)
+ Amazonka.Athena.ListQueryExecutions: listQueryExecutions_nextToken :: Lens' ListQueryExecutions (Maybe Text)
+ Amazonka.Athena.ListQueryExecutions: listQueryExecutions_workGroup :: Lens' ListQueryExecutions (Maybe Text)
+ Amazonka.Athena.ListQueryExecutions: newListQueryExecutions :: ListQueryExecutions
+ Amazonka.Athena.ListQueryExecutions: newListQueryExecutionsResponse :: Int -> ListQueryExecutionsResponse
+ Amazonka.Athena.ListSessions: ListSessions' :: Maybe Natural -> Maybe Text -> Maybe SessionState -> Text -> ListSessions
+ Amazonka.Athena.ListSessions: ListSessionsResponse' :: Maybe Text -> Maybe [SessionSummary] -> Int -> ListSessionsResponse
+ Amazonka.Athena.ListSessions: [$sel:httpStatus:ListSessionsResponse'] :: ListSessionsResponse -> Int
+ Amazonka.Athena.ListSessions: [$sel:maxResults:ListSessions'] :: ListSessions -> Maybe Natural
+ Amazonka.Athena.ListSessions: [$sel:nextToken:ListSessions'] :: ListSessions -> Maybe Text
+ Amazonka.Athena.ListSessions: [$sel:nextToken:ListSessionsResponse'] :: ListSessionsResponse -> Maybe Text
+ Amazonka.Athena.ListSessions: [$sel:sessions:ListSessionsResponse'] :: ListSessionsResponse -> Maybe [SessionSummary]
+ Amazonka.Athena.ListSessions: [$sel:stateFilter:ListSessions'] :: ListSessions -> Maybe SessionState
+ Amazonka.Athena.ListSessions: [$sel:workGroup:ListSessions'] :: ListSessions -> Text
+ Amazonka.Athena.ListSessions: data ListSessions
+ Amazonka.Athena.ListSessions: data ListSessionsResponse
+ Amazonka.Athena.ListSessions: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance Control.DeepSeq.NFData Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance Control.DeepSeq.NFData Amazonka.Athena.ListSessions.ListSessionsResponse
+ Amazonka.Athena.ListSessions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance GHC.Classes.Eq Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance GHC.Classes.Eq Amazonka.Athena.ListSessions.ListSessionsResponse
+ Amazonka.Athena.ListSessions: instance GHC.Generics.Generic Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance GHC.Generics.Generic Amazonka.Athena.ListSessions.ListSessionsResponse
+ Amazonka.Athena.ListSessions: instance GHC.Read.Read Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance GHC.Read.Read Amazonka.Athena.ListSessions.ListSessionsResponse
+ Amazonka.Athena.ListSessions: instance GHC.Show.Show Amazonka.Athena.ListSessions.ListSessions
+ Amazonka.Athena.ListSessions: instance GHC.Show.Show Amazonka.Athena.ListSessions.ListSessionsResponse
+ Amazonka.Athena.ListSessions: listSessionsResponse_httpStatus :: Lens' ListSessionsResponse Int
+ Amazonka.Athena.ListSessions: listSessionsResponse_nextToken :: Lens' ListSessionsResponse (Maybe Text)
+ Amazonka.Athena.ListSessions: listSessionsResponse_sessions :: Lens' ListSessionsResponse (Maybe [SessionSummary])
+ Amazonka.Athena.ListSessions: listSessions_maxResults :: Lens' ListSessions (Maybe Natural)
+ Amazonka.Athena.ListSessions: listSessions_nextToken :: Lens' ListSessions (Maybe Text)
+ Amazonka.Athena.ListSessions: listSessions_stateFilter :: Lens' ListSessions (Maybe SessionState)
+ Amazonka.Athena.ListSessions: listSessions_workGroup :: Lens' ListSessions Text
+ Amazonka.Athena.ListSessions: newListSessions :: Text -> ListSessions
+ Amazonka.Athena.ListSessions: newListSessionsResponse :: Int -> ListSessionsResponse
+ Amazonka.Athena.ListTableMetadata: ListTableMetadata' :: Maybe Text -> Maybe Natural -> Maybe Text -> Text -> Text -> ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: ListTableMetadataResponse' :: Maybe Text -> Maybe [TableMetadata] -> Int -> ListTableMetadataResponse
+ Amazonka.Athena.ListTableMetadata: [$sel:catalogName:ListTableMetadata'] :: ListTableMetadata -> Text
+ Amazonka.Athena.ListTableMetadata: [$sel:databaseName:ListTableMetadata'] :: ListTableMetadata -> Text
+ Amazonka.Athena.ListTableMetadata: [$sel:expression:ListTableMetadata'] :: ListTableMetadata -> Maybe Text
+ Amazonka.Athena.ListTableMetadata: [$sel:httpStatus:ListTableMetadataResponse'] :: ListTableMetadataResponse -> Int
+ Amazonka.Athena.ListTableMetadata: [$sel:maxResults:ListTableMetadata'] :: ListTableMetadata -> Maybe Natural
+ Amazonka.Athena.ListTableMetadata: [$sel:nextToken:ListTableMetadata'] :: ListTableMetadata -> Maybe Text
+ Amazonka.Athena.ListTableMetadata: [$sel:nextToken:ListTableMetadataResponse'] :: ListTableMetadataResponse -> Maybe Text
+ Amazonka.Athena.ListTableMetadata: [$sel:tableMetadataList:ListTableMetadataResponse'] :: ListTableMetadataResponse -> Maybe [TableMetadata]
+ Amazonka.Athena.ListTableMetadata: data ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: data ListTableMetadataResponse
+ Amazonka.Athena.ListTableMetadata: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance Amazonka.Pager.AWSPager Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.ListTableMetadata.ListTableMetadataResponse
+ Amazonka.Athena.ListTableMetadata: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance GHC.Classes.Eq Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance GHC.Classes.Eq Amazonka.Athena.ListTableMetadata.ListTableMetadataResponse
+ Amazonka.Athena.ListTableMetadata: instance GHC.Generics.Generic Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance GHC.Generics.Generic Amazonka.Athena.ListTableMetadata.ListTableMetadataResponse
+ Amazonka.Athena.ListTableMetadata: instance GHC.Read.Read Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance GHC.Read.Read Amazonka.Athena.ListTableMetadata.ListTableMetadataResponse
+ Amazonka.Athena.ListTableMetadata: instance GHC.Show.Show Amazonka.Athena.ListTableMetadata.ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: instance GHC.Show.Show Amazonka.Athena.ListTableMetadata.ListTableMetadataResponse
+ Amazonka.Athena.ListTableMetadata: listTableMetadataResponse_httpStatus :: Lens' ListTableMetadataResponse Int
+ Amazonka.Athena.ListTableMetadata: listTableMetadataResponse_nextToken :: Lens' ListTableMetadataResponse (Maybe Text)
+ Amazonka.Athena.ListTableMetadata: listTableMetadataResponse_tableMetadataList :: Lens' ListTableMetadataResponse (Maybe [TableMetadata])
+ Amazonka.Athena.ListTableMetadata: listTableMetadata_catalogName :: Lens' ListTableMetadata Text
+ Amazonka.Athena.ListTableMetadata: listTableMetadata_databaseName :: Lens' ListTableMetadata Text
+ Amazonka.Athena.ListTableMetadata: listTableMetadata_expression :: Lens' ListTableMetadata (Maybe Text)
+ Amazonka.Athena.ListTableMetadata: listTableMetadata_maxResults :: Lens' ListTableMetadata (Maybe Natural)
+ Amazonka.Athena.ListTableMetadata: listTableMetadata_nextToken :: Lens' ListTableMetadata (Maybe Text)
+ Amazonka.Athena.ListTableMetadata: newListTableMetadata :: Text -> Text -> ListTableMetadata
+ Amazonka.Athena.ListTableMetadata: newListTableMetadataResponse :: Int -> ListTableMetadataResponse
+ Amazonka.Athena.ListTagsForResource: ListTagsForResource' :: Maybe Natural -> Maybe Text -> Text -> ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.Athena.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.Athena.ListTagsForResource: [$sel:maxResults:ListTagsForResource'] :: ListTagsForResource -> Maybe Natural
+ Amazonka.Athena.ListTagsForResource: [$sel:nextToken:ListTagsForResource'] :: ListTagsForResource -> Maybe Text
+ Amazonka.Athena.ListTagsForResource: [$sel:nextToken:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe Text
+ Amazonka.Athena.ListTagsForResource: [$sel:resourceARN:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.Athena.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
+ Amazonka.Athena.ListTagsForResource: data ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.Athena.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance Amazonka.Pager.AWSPager Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Athena.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Athena.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Athena.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Athena.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Athena.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Athena.ListTagsForResource: instance GHC.Read.Read Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance GHC.Read.Read Amazonka.Athena.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Athena.ListTagsForResource: instance GHC.Show.Show Amazonka.Athena.ListTagsForResource.ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: instance GHC.Show.Show Amazonka.Athena.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Athena.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Athena.ListTagsForResource: listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
+ Amazonka.Athena.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.Athena.ListTagsForResource: listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural)
+ Amazonka.Athena.ListTagsForResource: listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
+ Amazonka.Athena.ListTagsForResource: listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
+ Amazonka.Athena.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Athena.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Athena.ListWorkGroups: ListWorkGroups' :: Maybe Natural -> Maybe Text -> ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: ListWorkGroupsResponse' :: Maybe Text -> Maybe [WorkGroupSummary] -> Int -> ListWorkGroupsResponse
+ Amazonka.Athena.ListWorkGroups: [$sel:httpStatus:ListWorkGroupsResponse'] :: ListWorkGroupsResponse -> Int
+ Amazonka.Athena.ListWorkGroups: [$sel:maxResults:ListWorkGroups'] :: ListWorkGroups -> Maybe Natural
+ Amazonka.Athena.ListWorkGroups: [$sel:nextToken:ListWorkGroups'] :: ListWorkGroups -> Maybe Text
+ Amazonka.Athena.ListWorkGroups: [$sel:nextToken:ListWorkGroupsResponse'] :: ListWorkGroupsResponse -> Maybe Text
+ Amazonka.Athena.ListWorkGroups: [$sel:workGroups:ListWorkGroupsResponse'] :: ListWorkGroupsResponse -> Maybe [WorkGroupSummary]
+ Amazonka.Athena.ListWorkGroups: data ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: data ListWorkGroupsResponse
+ Amazonka.Athena.ListWorkGroups: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance Amazonka.Data.Path.ToPath Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance Amazonka.Types.AWSRequest Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance Control.DeepSeq.NFData Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance Control.DeepSeq.NFData Amazonka.Athena.ListWorkGroups.ListWorkGroupsResponse
+ Amazonka.Athena.ListWorkGroups: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance Data.Hashable.Class.Hashable Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance GHC.Classes.Eq Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance GHC.Classes.Eq Amazonka.Athena.ListWorkGroups.ListWorkGroupsResponse
+ Amazonka.Athena.ListWorkGroups: instance GHC.Generics.Generic Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance GHC.Generics.Generic Amazonka.Athena.ListWorkGroups.ListWorkGroupsResponse
+ Amazonka.Athena.ListWorkGroups: instance GHC.Read.Read Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance GHC.Read.Read Amazonka.Athena.ListWorkGroups.ListWorkGroupsResponse
+ Amazonka.Athena.ListWorkGroups: instance GHC.Show.Show Amazonka.Athena.ListWorkGroups.ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: instance GHC.Show.Show Amazonka.Athena.ListWorkGroups.ListWorkGroupsResponse
+ Amazonka.Athena.ListWorkGroups: listWorkGroupsResponse_httpStatus :: Lens' ListWorkGroupsResponse Int
+ Amazonka.Athena.ListWorkGroups: listWorkGroupsResponse_nextToken :: Lens' ListWorkGroupsResponse (Maybe Text)
+ Amazonka.Athena.ListWorkGroups: listWorkGroupsResponse_workGroups :: Lens' ListWorkGroupsResponse (Maybe [WorkGroupSummary])
+ Amazonka.Athena.ListWorkGroups: listWorkGroups_maxResults :: Lens' ListWorkGroups (Maybe Natural)
+ Amazonka.Athena.ListWorkGroups: listWorkGroups_nextToken :: Lens' ListWorkGroups (Maybe Text)
+ Amazonka.Athena.ListWorkGroups: newListWorkGroups :: ListWorkGroups
+ Amazonka.Athena.ListWorkGroups: newListWorkGroupsResponse :: Int -> ListWorkGroupsResponse
+ Amazonka.Athena.StartCalculationExecution: StartCalculationExecution' :: Maybe CalculationConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: StartCalculationExecutionResponse' :: Maybe Text -> Maybe CalculationExecutionState -> Int -> StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: [$sel:calculationConfiguration:StartCalculationExecution'] :: StartCalculationExecution -> Maybe CalculationConfiguration
+ Amazonka.Athena.StartCalculationExecution: [$sel:calculationExecutionId:StartCalculationExecutionResponse'] :: StartCalculationExecutionResponse -> Maybe Text
+ Amazonka.Athena.StartCalculationExecution: [$sel:clientRequestToken:StartCalculationExecution'] :: StartCalculationExecution -> Maybe Text
+ Amazonka.Athena.StartCalculationExecution: [$sel:codeBlock:StartCalculationExecution'] :: StartCalculationExecution -> Maybe Text
+ Amazonka.Athena.StartCalculationExecution: [$sel:description:StartCalculationExecution'] :: StartCalculationExecution -> Maybe Text
+ Amazonka.Athena.StartCalculationExecution: [$sel:httpStatus:StartCalculationExecutionResponse'] :: StartCalculationExecutionResponse -> Int
+ Amazonka.Athena.StartCalculationExecution: [$sel:sessionId:StartCalculationExecution'] :: StartCalculationExecution -> Text
+ Amazonka.Athena.StartCalculationExecution: [$sel:state:StartCalculationExecutionResponse'] :: StartCalculationExecutionResponse -> Maybe CalculationExecutionState
+ Amazonka.Athena.StartCalculationExecution: data StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: data StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance Amazonka.Data.Path.ToPath Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance Amazonka.Types.AWSRequest Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StartCalculationExecution.StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Classes.Eq Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Classes.Eq Amazonka.Athena.StartCalculationExecution.StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Generics.Generic Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Generics.Generic Amazonka.Athena.StartCalculationExecution.StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Read.Read Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Read.Read Amazonka.Athena.StartCalculationExecution.StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Show.Show Amazonka.Athena.StartCalculationExecution.StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: instance GHC.Show.Show Amazonka.Athena.StartCalculationExecution.StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: newStartCalculationExecution :: Text -> StartCalculationExecution
+ Amazonka.Athena.StartCalculationExecution: newStartCalculationExecutionResponse :: Int -> StartCalculationExecutionResponse
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecutionResponse_calculationExecutionId :: Lens' StartCalculationExecutionResponse (Maybe Text)
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecutionResponse_httpStatus :: Lens' StartCalculationExecutionResponse Int
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecutionResponse_state :: Lens' StartCalculationExecutionResponse (Maybe CalculationExecutionState)
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecution_calculationConfiguration :: Lens' StartCalculationExecution (Maybe CalculationConfiguration)
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecution_clientRequestToken :: Lens' StartCalculationExecution (Maybe Text)
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecution_codeBlock :: Lens' StartCalculationExecution (Maybe Text)
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecution_description :: Lens' StartCalculationExecution (Maybe Text)
+ Amazonka.Athena.StartCalculationExecution: startCalculationExecution_sessionId :: Lens' StartCalculationExecution Text
+ Amazonka.Athena.StartQueryExecution: StartQueryExecution' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe QueryExecutionContext -> Maybe ResultConfiguration -> Maybe ResultReuseConfiguration -> Maybe Text -> Text -> StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: StartQueryExecutionResponse' :: Maybe Text -> Int -> StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: [$sel:clientRequestToken:StartQueryExecution'] :: StartQueryExecution -> Maybe Text
+ Amazonka.Athena.StartQueryExecution: [$sel:executionParameters:StartQueryExecution'] :: StartQueryExecution -> Maybe (NonEmpty Text)
+ Amazonka.Athena.StartQueryExecution: [$sel:httpStatus:StartQueryExecutionResponse'] :: StartQueryExecutionResponse -> Int
+ Amazonka.Athena.StartQueryExecution: [$sel:queryExecutionContext:StartQueryExecution'] :: StartQueryExecution -> Maybe QueryExecutionContext
+ Amazonka.Athena.StartQueryExecution: [$sel:queryExecutionId:StartQueryExecutionResponse'] :: StartQueryExecutionResponse -> Maybe Text
+ Amazonka.Athena.StartQueryExecution: [$sel:queryString:StartQueryExecution'] :: StartQueryExecution -> Text
+ Amazonka.Athena.StartQueryExecution: [$sel:resultConfiguration:StartQueryExecution'] :: StartQueryExecution -> Maybe ResultConfiguration
+ Amazonka.Athena.StartQueryExecution: [$sel:resultReuseConfiguration:StartQueryExecution'] :: StartQueryExecution -> Maybe ResultReuseConfiguration
+ Amazonka.Athena.StartQueryExecution: [$sel:workGroup:StartQueryExecution'] :: StartQueryExecution -> Maybe Text
+ Amazonka.Athena.StartQueryExecution: data StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: data StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance Amazonka.Data.Path.ToPath Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance Amazonka.Types.AWSRequest Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StartQueryExecution.StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.StartQueryExecution.StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.StartQueryExecution.StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: instance GHC.Read.Read Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance GHC.Read.Read Amazonka.Athena.StartQueryExecution.StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: instance GHC.Show.Show Amazonka.Athena.StartQueryExecution.StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: instance GHC.Show.Show Amazonka.Athena.StartQueryExecution.StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: newStartQueryExecution :: Text -> StartQueryExecution
+ Amazonka.Athena.StartQueryExecution: newStartQueryExecutionResponse :: Int -> StartQueryExecutionResponse
+ Amazonka.Athena.StartQueryExecution: startQueryExecutionResponse_httpStatus :: Lens' StartQueryExecutionResponse Int
+ Amazonka.Athena.StartQueryExecution: startQueryExecutionResponse_queryExecutionId :: Lens' StartQueryExecutionResponse (Maybe Text)
+ Amazonka.Athena.StartQueryExecution: startQueryExecution_clientRequestToken :: Lens' StartQueryExecution (Maybe Text)
+ Amazonka.Athena.StartQueryExecution: startQueryExecution_executionParameters :: Lens' StartQueryExecution (Maybe (NonEmpty Text))
+ Amazonka.Athena.StartQueryExecution: startQueryExecution_queryExecutionContext :: Lens' StartQueryExecution (Maybe QueryExecutionContext)
+ Amazonka.Athena.StartQueryExecution: startQueryExecution_queryString :: Lens' StartQueryExecution Text
+ Amazonka.Athena.StartQueryExecution: startQueryExecution_resultConfiguration :: Lens' StartQueryExecution (Maybe ResultConfiguration)
+ Amazonka.Athena.StartQueryExecution: startQueryExecution_resultReuseConfiguration :: Lens' StartQueryExecution (Maybe ResultReuseConfiguration)
+ Amazonka.Athena.StartQueryExecution: startQueryExecution_workGroup :: Lens' StartQueryExecution (Maybe Text)
+ Amazonka.Athena.StartSession: StartSession' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Text -> EngineConfiguration -> StartSession
+ Amazonka.Athena.StartSession: StartSessionResponse' :: Maybe Text -> Maybe SessionState -> Int -> StartSessionResponse
+ Amazonka.Athena.StartSession: [$sel:clientRequestToken:StartSession'] :: StartSession -> Maybe Text
+ Amazonka.Athena.StartSession: [$sel:description:StartSession'] :: StartSession -> Maybe Text
+ Amazonka.Athena.StartSession: [$sel:engineConfiguration:StartSession'] :: StartSession -> EngineConfiguration
+ Amazonka.Athena.StartSession: [$sel:httpStatus:StartSessionResponse'] :: StartSessionResponse -> Int
+ Amazonka.Athena.StartSession: [$sel:notebookVersion:StartSession'] :: StartSession -> Maybe Text
+ Amazonka.Athena.StartSession: [$sel:sessionId:StartSessionResponse'] :: StartSessionResponse -> Maybe Text
+ Amazonka.Athena.StartSession: [$sel:sessionIdleTimeoutInMinutes:StartSession'] :: StartSession -> Maybe Natural
+ Amazonka.Athena.StartSession: [$sel:state:StartSessionResponse'] :: StartSessionResponse -> Maybe SessionState
+ Amazonka.Athena.StartSession: [$sel:workGroup:StartSession'] :: StartSession -> Text
+ Amazonka.Athena.StartSession: data StartSession
+ Amazonka.Athena.StartSession: data StartSessionResponse
+ Amazonka.Athena.StartSession: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance Amazonka.Data.Path.ToPath Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance Amazonka.Types.AWSRequest Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance Control.DeepSeq.NFData Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance Control.DeepSeq.NFData Amazonka.Athena.StartSession.StartSessionResponse
+ Amazonka.Athena.StartSession: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance Data.Hashable.Class.Hashable Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance GHC.Classes.Eq Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance GHC.Classes.Eq Amazonka.Athena.StartSession.StartSessionResponse
+ Amazonka.Athena.StartSession: instance GHC.Generics.Generic Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance GHC.Generics.Generic Amazonka.Athena.StartSession.StartSessionResponse
+ Amazonka.Athena.StartSession: instance GHC.Read.Read Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance GHC.Read.Read Amazonka.Athena.StartSession.StartSessionResponse
+ Amazonka.Athena.StartSession: instance GHC.Show.Show Amazonka.Athena.StartSession.StartSession
+ Amazonka.Athena.StartSession: instance GHC.Show.Show Amazonka.Athena.StartSession.StartSessionResponse
+ Amazonka.Athena.StartSession: newStartSession :: Text -> EngineConfiguration -> StartSession
+ Amazonka.Athena.StartSession: newStartSessionResponse :: Int -> StartSessionResponse
+ Amazonka.Athena.StartSession: startSessionResponse_httpStatus :: Lens' StartSessionResponse Int
+ Amazonka.Athena.StartSession: startSessionResponse_sessionId :: Lens' StartSessionResponse (Maybe Text)
+ Amazonka.Athena.StartSession: startSessionResponse_state :: Lens' StartSessionResponse (Maybe SessionState)
+ Amazonka.Athena.StartSession: startSession_clientRequestToken :: Lens' StartSession (Maybe Text)
+ Amazonka.Athena.StartSession: startSession_description :: Lens' StartSession (Maybe Text)
+ Amazonka.Athena.StartSession: startSession_engineConfiguration :: Lens' StartSession EngineConfiguration
+ Amazonka.Athena.StartSession: startSession_notebookVersion :: Lens' StartSession (Maybe Text)
+ Amazonka.Athena.StartSession: startSession_sessionIdleTimeoutInMinutes :: Lens' StartSession (Maybe Natural)
+ Amazonka.Athena.StartSession: startSession_workGroup :: Lens' StartSession Text
+ Amazonka.Athena.StopCalculationExecution: StopCalculationExecution' :: Text -> StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: StopCalculationExecutionResponse' :: Maybe CalculationExecutionState -> Int -> StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: [$sel:calculationExecutionId:StopCalculationExecution'] :: StopCalculationExecution -> Text
+ Amazonka.Athena.StopCalculationExecution: [$sel:httpStatus:StopCalculationExecutionResponse'] :: StopCalculationExecutionResponse -> Int
+ Amazonka.Athena.StopCalculationExecution: [$sel:state:StopCalculationExecutionResponse'] :: StopCalculationExecutionResponse -> Maybe CalculationExecutionState
+ Amazonka.Athena.StopCalculationExecution: data StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: data StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance Amazonka.Data.Path.ToPath Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance Amazonka.Types.AWSRequest Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StopCalculationExecution.StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Classes.Eq Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Classes.Eq Amazonka.Athena.StopCalculationExecution.StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Generics.Generic Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Generics.Generic Amazonka.Athena.StopCalculationExecution.StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Read.Read Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Read.Read Amazonka.Athena.StopCalculationExecution.StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Show.Show Amazonka.Athena.StopCalculationExecution.StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: instance GHC.Show.Show Amazonka.Athena.StopCalculationExecution.StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: newStopCalculationExecution :: Text -> StopCalculationExecution
+ Amazonka.Athena.StopCalculationExecution: newStopCalculationExecutionResponse :: Int -> StopCalculationExecutionResponse
+ Amazonka.Athena.StopCalculationExecution: stopCalculationExecutionResponse_httpStatus :: Lens' StopCalculationExecutionResponse Int
+ Amazonka.Athena.StopCalculationExecution: stopCalculationExecutionResponse_state :: Lens' StopCalculationExecutionResponse (Maybe CalculationExecutionState)
+ Amazonka.Athena.StopCalculationExecution: stopCalculationExecution_calculationExecutionId :: Lens' StopCalculationExecution Text
+ Amazonka.Athena.StopQueryExecution: StopQueryExecution' :: Text -> StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: StopQueryExecutionResponse' :: Int -> StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: [$sel:httpStatus:StopQueryExecutionResponse'] :: StopQueryExecutionResponse -> Int
+ Amazonka.Athena.StopQueryExecution: [$sel:queryExecutionId:StopQueryExecution'] :: StopQueryExecution -> Text
+ Amazonka.Athena.StopQueryExecution: data StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: data StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance Amazonka.Data.Path.ToPath Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance Amazonka.Types.AWSRequest Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.StopQueryExecution.StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance GHC.Classes.Eq Amazonka.Athena.StopQueryExecution.StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance GHC.Generics.Generic Amazonka.Athena.StopQueryExecution.StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: instance GHC.Read.Read Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance GHC.Read.Read Amazonka.Athena.StopQueryExecution.StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: instance GHC.Show.Show Amazonka.Athena.StopQueryExecution.StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: instance GHC.Show.Show Amazonka.Athena.StopQueryExecution.StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: newStopQueryExecution :: Text -> StopQueryExecution
+ Amazonka.Athena.StopQueryExecution: newStopQueryExecutionResponse :: Int -> StopQueryExecutionResponse
+ Amazonka.Athena.StopQueryExecution: stopQueryExecutionResponse_httpStatus :: Lens' StopQueryExecutionResponse Int
+ Amazonka.Athena.StopQueryExecution: stopQueryExecution_queryExecutionId :: Lens' StopQueryExecution Text
+ Amazonka.Athena.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.Athena.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.Athena.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.Athena.TagResource: [$sel:resourceARN:TagResource'] :: TagResource -> Text
+ Amazonka.Athena.TagResource: [$sel:tags:TagResource'] :: TagResource -> [Tag]
+ Amazonka.Athena.TagResource: data TagResource
+ Amazonka.Athena.TagResource: data TagResourceResponse
+ Amazonka.Athena.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance Amazonka.Types.AWSRequest Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance Control.DeepSeq.NFData Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance Control.DeepSeq.NFData Amazonka.Athena.TagResource.TagResourceResponse
+ Amazonka.Athena.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance Data.Hashable.Class.Hashable Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance GHC.Classes.Eq Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance GHC.Classes.Eq Amazonka.Athena.TagResource.TagResourceResponse
+ Amazonka.Athena.TagResource: instance GHC.Generics.Generic Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance GHC.Generics.Generic Amazonka.Athena.TagResource.TagResourceResponse
+ Amazonka.Athena.TagResource: instance GHC.Read.Read Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance GHC.Read.Read Amazonka.Athena.TagResource.TagResourceResponse
+ Amazonka.Athena.TagResource: instance GHC.Show.Show Amazonka.Athena.TagResource.TagResource
+ Amazonka.Athena.TagResource: instance GHC.Show.Show Amazonka.Athena.TagResource.TagResourceResponse
+ Amazonka.Athena.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.Athena.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.Athena.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.Athena.TagResource: tagResource_resourceARN :: Lens' TagResource Text
+ Amazonka.Athena.TagResource: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.Athena.TerminateSession: TerminateSession' :: Text -> TerminateSession
+ Amazonka.Athena.TerminateSession: TerminateSessionResponse' :: Maybe SessionState -> Int -> TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: [$sel:httpStatus:TerminateSessionResponse'] :: TerminateSessionResponse -> Int
+ Amazonka.Athena.TerminateSession: [$sel:sessionId:TerminateSession'] :: TerminateSession -> Text
+ Amazonka.Athena.TerminateSession: [$sel:state:TerminateSessionResponse'] :: TerminateSessionResponse -> Maybe SessionState
+ Amazonka.Athena.TerminateSession: data TerminateSession
+ Amazonka.Athena.TerminateSession: data TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance Amazonka.Data.Path.ToPath Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance Amazonka.Types.AWSRequest Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance Control.DeepSeq.NFData Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance Control.DeepSeq.NFData Amazonka.Athena.TerminateSession.TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance Data.Hashable.Class.Hashable Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance GHC.Classes.Eq Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance GHC.Classes.Eq Amazonka.Athena.TerminateSession.TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: instance GHC.Generics.Generic Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance GHC.Generics.Generic Amazonka.Athena.TerminateSession.TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: instance GHC.Read.Read Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance GHC.Read.Read Amazonka.Athena.TerminateSession.TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: instance GHC.Show.Show Amazonka.Athena.TerminateSession.TerminateSession
+ Amazonka.Athena.TerminateSession: instance GHC.Show.Show Amazonka.Athena.TerminateSession.TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: newTerminateSession :: Text -> TerminateSession
+ Amazonka.Athena.TerminateSession: newTerminateSessionResponse :: Int -> TerminateSessionResponse
+ Amazonka.Athena.TerminateSession: terminateSessionResponse_httpStatus :: Lens' TerminateSessionResponse Int
+ Amazonka.Athena.TerminateSession: terminateSessionResponse_state :: Lens' TerminateSessionResponse (Maybe SessionState)
+ Amazonka.Athena.TerminateSession: terminateSession_sessionId :: Lens' TerminateSession Text
+ Amazonka.Athena.Types: AclConfiguration' :: S3AclOption -> AclConfiguration
+ Amazonka.Athena.Types: ApplicationDPUSizes' :: Maybe Text -> Maybe [Int] -> ApplicationDPUSizes
+ Amazonka.Athena.Types: AthenaError' :: Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe Bool -> AthenaError
+ Amazonka.Athena.Types: CalculationConfiguration' :: Maybe Text -> CalculationConfiguration
+ Amazonka.Athena.Types: CalculationExecutionState' :: Text -> CalculationExecutionState
+ Amazonka.Athena.Types: CalculationResult' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CalculationResult
+ Amazonka.Athena.Types: CalculationStatistics' :: Maybe Integer -> Maybe Text -> CalculationStatistics
+ Amazonka.Athena.Types: CalculationStatus' :: Maybe POSIX -> Maybe CalculationExecutionState -> Maybe Text -> Maybe POSIX -> CalculationStatus
+ Amazonka.Athena.Types: CalculationSummary' :: Maybe Text -> Maybe Text -> Maybe CalculationStatus -> CalculationSummary
+ Amazonka.Athena.Types: Column' :: Maybe Text -> Maybe Text -> Text -> Column
+ Amazonka.Athena.Types: ColumnInfo' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe ColumnNullable -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> Text -> ColumnInfo
+ Amazonka.Athena.Types: ColumnNullable' :: Text -> ColumnNullable
+ Amazonka.Athena.Types: CustomerContentEncryptionConfiguration' :: Text -> CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types: DataCatalog' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> DataCatalogType -> DataCatalog
+ Amazonka.Athena.Types: DataCatalogSummary' :: Maybe Text -> Maybe DataCatalogType -> DataCatalogSummary
+ Amazonka.Athena.Types: DataCatalogType' :: Text -> DataCatalogType
+ Amazonka.Athena.Types: Database' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> Database
+ Amazonka.Athena.Types: Datum' :: Maybe Text -> Datum
+ Amazonka.Athena.Types: EncryptionConfiguration' :: Maybe Text -> EncryptionOption -> EncryptionConfiguration
+ Amazonka.Athena.Types: EncryptionOption' :: Text -> EncryptionOption
+ Amazonka.Athena.Types: EngineConfiguration' :: Maybe (HashMap Text Text) -> Maybe Natural -> Maybe Natural -> Natural -> EngineConfiguration
+ Amazonka.Athena.Types: EngineVersion' :: Maybe Text -> Maybe Text -> EngineVersion
+ Amazonka.Athena.Types: ExecutorState' :: Text -> ExecutorState
+ Amazonka.Athena.Types: ExecutorType' :: Text -> ExecutorType
+ Amazonka.Athena.Types: ExecutorsSummary' :: Maybe Integer -> Maybe ExecutorState -> Maybe ExecutorType -> Maybe Integer -> Maybe Integer -> Text -> ExecutorsSummary
+ Amazonka.Athena.Types: FilterDefinition' :: Maybe Text -> FilterDefinition
+ Amazonka.Athena.Types: NamedQuery' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> NamedQuery
+ Amazonka.Athena.Types: NotebookMetadata' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe NotebookType -> Maybe Text -> NotebookMetadata
+ Amazonka.Athena.Types: NotebookSessionSummary' :: Maybe POSIX -> Maybe Text -> NotebookSessionSummary
+ Amazonka.Athena.Types: NotebookType' :: Text -> NotebookType
+ Amazonka.Athena.Types: PreparedStatement' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> PreparedStatement
+ Amazonka.Athena.Types: PreparedStatementSummary' :: Maybe POSIX -> Maybe Text -> PreparedStatementSummary
+ Amazonka.Athena.Types: QueryExecution' :: Maybe EngineVersion -> Maybe (NonEmpty Text) -> Maybe Text -> Maybe QueryExecutionContext -> Maybe Text -> Maybe ResultConfiguration -> Maybe ResultReuseConfiguration -> Maybe StatementType -> Maybe QueryExecutionStatistics -> Maybe QueryExecutionStatus -> Maybe Text -> QueryExecution
+ Amazonka.Athena.Types: QueryExecutionContext' :: Maybe Text -> Maybe Text -> QueryExecutionContext
+ Amazonka.Athena.Types: QueryExecutionState' :: Text -> QueryExecutionState
+ Amazonka.Athena.Types: QueryExecutionStatistics' :: Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe ResultReuseInformation -> Maybe Integer -> Maybe Integer -> QueryExecutionStatistics
+ Amazonka.Athena.Types: QueryExecutionStatus' :: Maybe AthenaError -> Maybe POSIX -> Maybe QueryExecutionState -> Maybe Text -> Maybe POSIX -> QueryExecutionStatus
+ Amazonka.Athena.Types: QueryRuntimeStatistics' :: Maybe QueryStage -> Maybe QueryRuntimeStatisticsRows -> Maybe QueryRuntimeStatisticsTimeline -> QueryRuntimeStatistics
+ Amazonka.Athena.Types: QueryRuntimeStatisticsRows' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types: QueryRuntimeStatisticsTimeline' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types: QueryStage' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe QueryStagePlanNode -> Maybe Integer -> Maybe Text -> Maybe [QueryStage] -> QueryStage
+ Amazonka.Athena.Types: QueryStagePlanNode' :: Maybe [QueryStagePlanNode] -> Maybe Text -> Maybe Text -> Maybe [Text] -> QueryStagePlanNode
+ Amazonka.Athena.Types: ResultConfiguration' :: Maybe AclConfiguration -> Maybe EncryptionConfiguration -> Maybe Text -> Maybe Text -> ResultConfiguration
+ Amazonka.Athena.Types: ResultConfigurationUpdates' :: Maybe AclConfiguration -> Maybe EncryptionConfiguration -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> ResultConfigurationUpdates
+ Amazonka.Athena.Types: ResultReuseByAgeConfiguration' :: Maybe Natural -> Bool -> ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types: ResultReuseConfiguration' :: Maybe ResultReuseByAgeConfiguration -> ResultReuseConfiguration
+ Amazonka.Athena.Types: ResultReuseInformation' :: Bool -> ResultReuseInformation
+ Amazonka.Athena.Types: ResultSet' :: Maybe ResultSetMetadata -> Maybe [Row] -> ResultSet
+ Amazonka.Athena.Types: ResultSetMetadata' :: Maybe [ColumnInfo] -> ResultSetMetadata
+ Amazonka.Athena.Types: Row' :: Maybe [Datum] -> Row
+ Amazonka.Athena.Types: S3AclOption' :: Text -> S3AclOption
+ Amazonka.Athena.Types: SessionConfiguration' :: Maybe EncryptionConfiguration -> Maybe Text -> Maybe Integer -> Maybe Text -> SessionConfiguration
+ Amazonka.Athena.Types: SessionState' :: Text -> SessionState
+ Amazonka.Athena.Types: SessionStatistics' :: Maybe Integer -> SessionStatistics
+ Amazonka.Athena.Types: SessionStatus' :: Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe SessionState -> Maybe Text -> SessionStatus
+ Amazonka.Athena.Types: SessionSummary' :: Maybe Text -> Maybe EngineVersion -> Maybe Text -> Maybe Text -> Maybe SessionStatus -> SessionSummary
+ Amazonka.Athena.Types: StatementType' :: Text -> StatementType
+ Amazonka.Athena.Types: TableMetadata' :: Maybe [Column] -> Maybe POSIX -> Maybe POSIX -> Maybe (HashMap Text Text) -> Maybe [Column] -> Maybe Text -> Text -> TableMetadata
+ Amazonka.Athena.Types: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.Athena.Types: UnprocessedNamedQueryId' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedNamedQueryId
+ Amazonka.Athena.Types: UnprocessedPreparedStatementName' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedPreparedStatementName
+ Amazonka.Athena.Types: UnprocessedQueryExecutionId' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedQueryExecutionId
+ Amazonka.Athena.Types: WorkGroup' :: Maybe WorkGroupConfiguration -> Maybe POSIX -> Maybe Text -> Maybe WorkGroupState -> Text -> WorkGroup
+ Amazonka.Athena.Types: WorkGroupConfiguration' :: Maybe Text -> Maybe Natural -> Maybe CustomerContentEncryptionConfiguration -> Maybe Bool -> Maybe EngineVersion -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe ResultConfiguration -> WorkGroupConfiguration
+ Amazonka.Athena.Types: WorkGroupConfigurationUpdates' :: Maybe Text -> Maybe Natural -> Maybe CustomerContentEncryptionConfiguration -> Maybe Bool -> Maybe EngineVersion -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe ResultConfigurationUpdates -> WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types: WorkGroupState' :: Text -> WorkGroupState
+ Amazonka.Athena.Types: WorkGroupSummary' :: Maybe POSIX -> Maybe Text -> Maybe EngineVersion -> Maybe Text -> Maybe WorkGroupState -> WorkGroupSummary
+ Amazonka.Athena.Types: [$sel:aclConfiguration:ResultConfiguration'] :: ResultConfiguration -> Maybe AclConfiguration
+ Amazonka.Athena.Types: [$sel:aclConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe AclConfiguration
+ Amazonka.Athena.Types: [$sel:additionalConfigs:EngineConfiguration'] :: EngineConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types: [$sel:additionalConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [$sel:additionalConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types: [$sel:applicationRuntimeId:ApplicationDPUSizes'] :: ApplicationDPUSizes -> Maybe Text
+ Amazonka.Athena.Types: [$sel:athenaError:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe AthenaError
+ Amazonka.Athena.Types: [$sel:bytesScannedCutoffPerQuery:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Natural
+ Amazonka.Athena.Types: [$sel:bytesScannedCutoffPerQuery:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Natural
+ Amazonka.Athena.Types: [$sel:calculationExecutionId:CalculationSummary'] :: CalculationSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:caseSensitive:ColumnInfo'] :: ColumnInfo -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:catalog:QueryExecutionContext'] :: QueryExecutionContext -> Maybe Text
+ Amazonka.Athena.Types: [$sel:catalogName:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types: [$sel:catalogName:DataCatalogSummary'] :: DataCatalogSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:children:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe [QueryStagePlanNode]
+ Amazonka.Athena.Types: [$sel:codeBlock:CalculationConfiguration'] :: CalculationConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [$sel:columnInfo:ResultSetMetadata'] :: ResultSetMetadata -> Maybe [ColumnInfo]
+ Amazonka.Athena.Types: [$sel:columns:TableMetadata'] :: TableMetadata -> Maybe [Column]
+ Amazonka.Athena.Types: [$sel:comment:Column'] :: Column -> Maybe Text
+ Amazonka.Athena.Types: [$sel:completionDateTime:CalculationStatus'] :: CalculationStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:completionDateTime:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:configuration:WorkGroup'] :: WorkGroup -> Maybe WorkGroupConfiguration
+ Amazonka.Athena.Types: [$sel:coordinatorDpuSize:EngineConfiguration'] :: EngineConfiguration -> Maybe Natural
+ Amazonka.Athena.Types: [$sel:createTime:TableMetadata'] :: TableMetadata -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:creationTime:NotebookMetadata'] :: NotebookMetadata -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:creationTime:NotebookSessionSummary'] :: NotebookSessionSummary -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:creationTime:WorkGroup'] :: WorkGroup -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:creationTime:WorkGroupSummary'] :: WorkGroupSummary -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:customerContentEncryptionConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types: [$sel:customerContentEncryptionConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types: [$sel:data':Row'] :: Row -> Maybe [Datum]
+ Amazonka.Athena.Types: [$sel:dataManifestLocation:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Text
+ Amazonka.Athena.Types: [$sel:dataScannedInBytes:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:database:NamedQuery'] :: NamedQuery -> Text
+ Amazonka.Athena.Types: [$sel:database:QueryExecutionContext'] :: QueryExecutionContext -> Maybe Text
+ Amazonka.Athena.Types: [$sel:defaultExecutorDpuSize:EngineConfiguration'] :: EngineConfiguration -> Maybe Natural
+ Amazonka.Athena.Types: [$sel:description:CalculationSummary'] :: CalculationSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:description:DataCatalog'] :: DataCatalog -> Maybe Text
+ Amazonka.Athena.Types: [$sel:description:Database'] :: Database -> Maybe Text
+ Amazonka.Athena.Types: [$sel:description:NamedQuery'] :: NamedQuery -> Maybe Text
+ Amazonka.Athena.Types: [$sel:description:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types: [$sel:description:SessionSummary'] :: SessionSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:description:WorkGroup'] :: WorkGroup -> Maybe Text
+ Amazonka.Athena.Types: [$sel:description:WorkGroupSummary'] :: WorkGroupSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:dpuExecutionInMillis:CalculationStatistics'] :: CalculationStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:dpuExecutionInMillis:SessionStatistics'] :: SessionStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:effectiveEngineVersion:EngineVersion'] :: EngineVersion -> Maybe Text
+ Amazonka.Athena.Types: [$sel:enabled:ResultReuseByAgeConfiguration'] :: ResultReuseByAgeConfiguration -> Bool
+ Amazonka.Athena.Types: [$sel:encryptionConfiguration:ResultConfiguration'] :: ResultConfiguration -> Maybe EncryptionConfiguration
+ Amazonka.Athena.Types: [$sel:encryptionConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe EncryptionConfiguration
+ Amazonka.Athena.Types: [$sel:encryptionConfiguration:SessionConfiguration'] :: SessionConfiguration -> Maybe EncryptionConfiguration
+ Amazonka.Athena.Types: [$sel:encryptionOption:EncryptionConfiguration'] :: EncryptionConfiguration -> EncryptionOption
+ Amazonka.Athena.Types: [$sel:endDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:enforceWorkGroupConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:enforceWorkGroupConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:engineExecutionTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:engineExecutionTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:engineVersion:QueryExecution'] :: QueryExecution -> Maybe EngineVersion
+ Amazonka.Athena.Types: [$sel:engineVersion:SessionSummary'] :: SessionSummary -> Maybe EngineVersion
+ Amazonka.Athena.Types: [$sel:engineVersion:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe EngineVersion
+ Amazonka.Athena.Types: [$sel:engineVersion:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe EngineVersion
+ Amazonka.Athena.Types: [$sel:engineVersion:WorkGroupSummary'] :: WorkGroupSummary -> Maybe EngineVersion
+ Amazonka.Athena.Types: [$sel:errorCategory:AthenaError'] :: AthenaError -> Maybe Natural
+ Amazonka.Athena.Types: [$sel:errorCode:UnprocessedNamedQueryId'] :: UnprocessedNamedQueryId -> Maybe Text
+ Amazonka.Athena.Types: [$sel:errorCode:UnprocessedPreparedStatementName'] :: UnprocessedPreparedStatementName -> Maybe Text
+ Amazonka.Athena.Types: [$sel:errorCode:UnprocessedQueryExecutionId'] :: UnprocessedQueryExecutionId -> Maybe Text
+ Amazonka.Athena.Types: [$sel:errorMessage:AthenaError'] :: AthenaError -> Maybe Text
+ Amazonka.Athena.Types: [$sel:errorMessage:UnprocessedNamedQueryId'] :: UnprocessedNamedQueryId -> Maybe Text
+ Amazonka.Athena.Types: [$sel:errorMessage:UnprocessedPreparedStatementName'] :: UnprocessedPreparedStatementName -> Maybe Text
+ Amazonka.Athena.Types: [$sel:errorMessage:UnprocessedQueryExecutionId'] :: UnprocessedQueryExecutionId -> Maybe Text
+ Amazonka.Athena.Types: [$sel:errorType:AthenaError'] :: AthenaError -> Maybe Natural
+ Amazonka.Athena.Types: [$sel:executionParameters:QueryExecution'] :: QueryExecution -> Maybe (NonEmpty Text)
+ Amazonka.Athena.Types: [$sel:executionRole:SessionConfiguration'] :: SessionConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [$sel:executionRole:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [$sel:executionRole:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types: [$sel:executionTime:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:executorId:ExecutorsSummary'] :: ExecutorsSummary -> Text
+ Amazonka.Athena.Types: [$sel:executorSize:ExecutorsSummary'] :: ExecutorsSummary -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:executorState:ExecutorsSummary'] :: ExecutorsSummary -> Maybe ExecutorState
+ Amazonka.Athena.Types: [$sel:executorType:ExecutorsSummary'] :: ExecutorsSummary -> Maybe ExecutorType
+ Amazonka.Athena.Types: [$sel:expectedBucketOwner:ResultConfiguration'] :: ResultConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [$sel:expectedBucketOwner:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types: [$sel:identifier:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe Text
+ Amazonka.Athena.Types: [$sel:idleSinceDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:idleTimeoutSeconds:SessionConfiguration'] :: SessionConfiguration -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:inputBytes:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:inputBytes:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:inputRows:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:inputRows:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:key:Tag'] :: Tag -> Maybe Text
+ Amazonka.Athena.Types: [$sel:kmsKey:CustomerContentEncryptionConfiguration'] :: CustomerContentEncryptionConfiguration -> Text
+ Amazonka.Athena.Types: [$sel:kmsKey:EncryptionConfiguration'] :: EncryptionConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [$sel:label:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types: [$sel:lastAccessTime:TableMetadata'] :: TableMetadata -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:lastModifiedDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:lastModifiedTime:NotebookMetadata'] :: NotebookMetadata -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:lastModifiedTime:PreparedStatement'] :: PreparedStatement -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:lastModifiedTime:PreparedStatementSummary'] :: PreparedStatementSummary -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:maxAgeInMinutes:ResultReuseByAgeConfiguration'] :: ResultReuseByAgeConfiguration -> Maybe Natural
+ Amazonka.Athena.Types: [$sel:maxConcurrentDpus:EngineConfiguration'] :: EngineConfiguration -> Natural
+ Amazonka.Athena.Types: [$sel:name:Column'] :: Column -> Text
+ Amazonka.Athena.Types: [$sel:name:ColumnInfo'] :: ColumnInfo -> Text
+ Amazonka.Athena.Types: [$sel:name:DataCatalog'] :: DataCatalog -> Text
+ Amazonka.Athena.Types: [$sel:name:Database'] :: Database -> Text
+ Amazonka.Athena.Types: [$sel:name:FilterDefinition'] :: FilterDefinition -> Maybe Text
+ Amazonka.Athena.Types: [$sel:name:NamedQuery'] :: NamedQuery -> Text
+ Amazonka.Athena.Types: [$sel:name:NotebookMetadata'] :: NotebookMetadata -> Maybe Text
+ Amazonka.Athena.Types: [$sel:name:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe Text
+ Amazonka.Athena.Types: [$sel:name:TableMetadata'] :: TableMetadata -> Text
+ Amazonka.Athena.Types: [$sel:name:WorkGroup'] :: WorkGroup -> Text
+ Amazonka.Athena.Types: [$sel:name:WorkGroupSummary'] :: WorkGroupSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:namedQueryId:NamedQuery'] :: NamedQuery -> Maybe Text
+ Amazonka.Athena.Types: [$sel:namedQueryId:UnprocessedNamedQueryId'] :: UnprocessedNamedQueryId -> Maybe Text
+ Amazonka.Athena.Types: [$sel:notebookId:NotebookMetadata'] :: NotebookMetadata -> Maybe Text
+ Amazonka.Athena.Types: [$sel:notebookVersion:SessionSummary'] :: SessionSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:nullable:ColumnInfo'] :: ColumnInfo -> Maybe ColumnNullable
+ Amazonka.Athena.Types: [$sel:outputBytes:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:outputBytes:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:outputLocation:ResultConfiguration'] :: ResultConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [$sel:outputLocation:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types: [$sel:outputRows:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:outputRows:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:outputStage:QueryRuntimeStatistics'] :: QueryRuntimeStatistics -> Maybe QueryStage
+ Amazonka.Athena.Types: [$sel:parameters:DataCatalog'] :: DataCatalog -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types: [$sel:parameters:Database'] :: Database -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types: [$sel:parameters:TableMetadata'] :: TableMetadata -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types: [$sel:partitionKeys:TableMetadata'] :: TableMetadata -> Maybe [Column]
+ Amazonka.Athena.Types: [$sel:precision:ColumnInfo'] :: ColumnInfo -> Maybe Int
+ Amazonka.Athena.Types: [$sel:progress:CalculationStatistics'] :: CalculationStatistics -> Maybe Text
+ Amazonka.Athena.Types: [$sel:publishCloudWatchMetricsEnabled:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:publishCloudWatchMetricsEnabled:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:query:QueryExecution'] :: QueryExecution -> Maybe Text
+ Amazonka.Athena.Types: [$sel:queryExecutionContext:QueryExecution'] :: QueryExecution -> Maybe QueryExecutionContext
+ Amazonka.Athena.Types: [$sel:queryExecutionId:QueryExecution'] :: QueryExecution -> Maybe Text
+ Amazonka.Athena.Types: [$sel:queryExecutionId:UnprocessedQueryExecutionId'] :: UnprocessedQueryExecutionId -> Maybe Text
+ Amazonka.Athena.Types: [$sel:queryPlanningTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:queryPlanningTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:queryQueueTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:queryQueueTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:queryStagePlan:QueryStage'] :: QueryStage -> Maybe QueryStagePlanNode
+ Amazonka.Athena.Types: [$sel:queryStatement:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types: [$sel:queryString:NamedQuery'] :: NamedQuery -> Text
+ Amazonka.Athena.Types: [$sel:remoteSources:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe [Text]
+ Amazonka.Athena.Types: [$sel:removeAclConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:removeBytesScannedCutoffPerQuery:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:removeCustomerContentEncryptionConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:removeEncryptionConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:removeExpectedBucketOwner:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:removeOutputLocation:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:requesterPaysEnabled:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:requesterPaysEnabled:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:resultConfiguration:QueryExecution'] :: QueryExecution -> Maybe ResultConfiguration
+ Amazonka.Athena.Types: [$sel:resultConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe ResultConfiguration
+ Amazonka.Athena.Types: [$sel:resultConfigurationUpdates:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe ResultConfigurationUpdates
+ Amazonka.Athena.Types: [$sel:resultReuseByAgeConfiguration:ResultReuseConfiguration'] :: ResultReuseConfiguration -> Maybe ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types: [$sel:resultReuseConfiguration:QueryExecution'] :: QueryExecution -> Maybe ResultReuseConfiguration
+ Amazonka.Athena.Types: [$sel:resultReuseInformation:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe ResultReuseInformation
+ Amazonka.Athena.Types: [$sel:resultS3Uri:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types: [$sel:resultSetMetadata:ResultSet'] :: ResultSet -> Maybe ResultSetMetadata
+ Amazonka.Athena.Types: [$sel:resultType:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types: [$sel:retryable:AthenaError'] :: AthenaError -> Maybe Bool
+ Amazonka.Athena.Types: [$sel:reusedPreviousResult:ResultReuseInformation'] :: ResultReuseInformation -> Bool
+ Amazonka.Athena.Types: [$sel:rows:QueryRuntimeStatistics'] :: QueryRuntimeStatistics -> Maybe QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types: [$sel:rows:ResultSet'] :: ResultSet -> Maybe [Row]
+ Amazonka.Athena.Types: [$sel:s3AclOption:AclConfiguration'] :: AclConfiguration -> S3AclOption
+ Amazonka.Athena.Types: [$sel:scale:ColumnInfo'] :: ColumnInfo -> Maybe Int
+ Amazonka.Athena.Types: [$sel:schemaName:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types: [$sel:selectedEngineVersion:EngineVersion'] :: EngineVersion -> Maybe Text
+ Amazonka.Athena.Types: [$sel:serviceProcessingTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:serviceProcessingTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:sessionId:NotebookSessionSummary'] :: NotebookSessionSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:sessionId:SessionSummary'] :: SessionSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:stageId:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:startDateTime:ExecutorsSummary'] :: ExecutorsSummary -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:startDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:state:CalculationStatus'] :: CalculationStatus -> Maybe CalculationExecutionState
+ Amazonka.Athena.Types: [$sel:state:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe QueryExecutionState
+ Amazonka.Athena.Types: [$sel:state:QueryStage'] :: QueryStage -> Maybe Text
+ Amazonka.Athena.Types: [$sel:state:SessionStatus'] :: SessionStatus -> Maybe SessionState
+ Amazonka.Athena.Types: [$sel:state:WorkGroup'] :: WorkGroup -> Maybe WorkGroupState
+ Amazonka.Athena.Types: [$sel:state:WorkGroupSummary'] :: WorkGroupSummary -> Maybe WorkGroupState
+ Amazonka.Athena.Types: [$sel:stateChangeReason:CalculationStatus'] :: CalculationStatus -> Maybe Text
+ Amazonka.Athena.Types: [$sel:stateChangeReason:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe Text
+ Amazonka.Athena.Types: [$sel:stateChangeReason:SessionStatus'] :: SessionStatus -> Maybe Text
+ Amazonka.Athena.Types: [$sel:statementName:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types: [$sel:statementName:PreparedStatementSummary'] :: PreparedStatementSummary -> Maybe Text
+ Amazonka.Athena.Types: [$sel:statementName:UnprocessedPreparedStatementName'] :: UnprocessedPreparedStatementName -> Maybe Text
+ Amazonka.Athena.Types: [$sel:statementType:QueryExecution'] :: QueryExecution -> Maybe StatementType
+ Amazonka.Athena.Types: [$sel:statistics:QueryExecution'] :: QueryExecution -> Maybe QueryExecutionStatistics
+ Amazonka.Athena.Types: [$sel:status:CalculationSummary'] :: CalculationSummary -> Maybe CalculationStatus
+ Amazonka.Athena.Types: [$sel:status:QueryExecution'] :: QueryExecution -> Maybe QueryExecutionStatus
+ Amazonka.Athena.Types: [$sel:status:SessionSummary'] :: SessionSummary -> Maybe SessionStatus
+ Amazonka.Athena.Types: [$sel:stdErrorS3Uri:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types: [$sel:stdOutS3Uri:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types: [$sel:subStages:QueryStage'] :: QueryStage -> Maybe [QueryStage]
+ Amazonka.Athena.Types: [$sel:submissionDateTime:CalculationStatus'] :: CalculationStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:submissionDateTime:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe POSIX
+ Amazonka.Athena.Types: [$sel:supportedDPUSizes:ApplicationDPUSizes'] :: ApplicationDPUSizes -> Maybe [Int]
+ Amazonka.Athena.Types: [$sel:tableName:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types: [$sel:tableType:TableMetadata'] :: TableMetadata -> Maybe Text
+ Amazonka.Athena.Types: [$sel:terminationDateTime:ExecutorsSummary'] :: ExecutorsSummary -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:timeline:QueryRuntimeStatistics'] :: QueryRuntimeStatistics -> Maybe QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types: [$sel:totalExecutionTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:totalExecutionTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types: [$sel:type':Column'] :: Column -> Maybe Text
+ Amazonka.Athena.Types: [$sel:type':ColumnInfo'] :: ColumnInfo -> Text
+ Amazonka.Athena.Types: [$sel:type':DataCatalog'] :: DataCatalog -> DataCatalogType
+ Amazonka.Athena.Types: [$sel:type':DataCatalogSummary'] :: DataCatalogSummary -> Maybe DataCatalogType
+ Amazonka.Athena.Types: [$sel:type':NotebookMetadata'] :: NotebookMetadata -> Maybe NotebookType
+ Amazonka.Athena.Types: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.Athena.Types: [$sel:varCharValue:Datum'] :: Datum -> Maybe Text
+ Amazonka.Athena.Types: [$sel:workGroup:NamedQuery'] :: NamedQuery -> Maybe Text
+ Amazonka.Athena.Types: [$sel:workGroup:NotebookMetadata'] :: NotebookMetadata -> Maybe Text
+ Amazonka.Athena.Types: [$sel:workGroup:QueryExecution'] :: QueryExecution -> Maybe Text
+ Amazonka.Athena.Types: [$sel:workGroupName:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types: [$sel:workingDirectory:SessionConfiguration'] :: SessionConfiguration -> Maybe Text
+ Amazonka.Athena.Types: [fromCalculationExecutionState] :: CalculationExecutionState -> Text
+ Amazonka.Athena.Types: [fromColumnNullable] :: ColumnNullable -> Text
+ Amazonka.Athena.Types: [fromDataCatalogType] :: DataCatalogType -> Text
+ Amazonka.Athena.Types: [fromEncryptionOption] :: EncryptionOption -> Text
+ Amazonka.Athena.Types: [fromExecutorState] :: ExecutorState -> Text
+ Amazonka.Athena.Types: [fromExecutorType] :: ExecutorType -> Text
+ Amazonka.Athena.Types: [fromNotebookType] :: NotebookType -> Text
+ Amazonka.Athena.Types: [fromQueryExecutionState] :: QueryExecutionState -> Text
+ Amazonka.Athena.Types: [fromS3AclOption] :: S3AclOption -> Text
+ Amazonka.Athena.Types: [fromSessionState] :: SessionState -> Text
+ Amazonka.Athena.Types: [fromStatementType] :: StatementType -> Text
+ Amazonka.Athena.Types: [fromWorkGroupState] :: WorkGroupState -> Text
+ Amazonka.Athena.Types: _InternalServerException :: AsError a => Fold a ServiceError
+ Amazonka.Athena.Types: _InvalidRequestException :: AsError a => Fold a ServiceError
+ Amazonka.Athena.Types: _MetadataException :: AsError a => Fold a ServiceError
+ Amazonka.Athena.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Athena.Types: _SessionAlreadyExistsException :: AsError a => Fold a ServiceError
+ Amazonka.Athena.Types: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.Athena.Types: aclConfiguration_s3AclOption :: Lens' AclConfiguration S3AclOption
+ Amazonka.Athena.Types: applicationDPUSizes_applicationRuntimeId :: Lens' ApplicationDPUSizes (Maybe Text)
+ Amazonka.Athena.Types: applicationDPUSizes_supportedDPUSizes :: Lens' ApplicationDPUSizes (Maybe [Int])
+ Amazonka.Athena.Types: athenaError_errorCategory :: Lens' AthenaError (Maybe Natural)
+ Amazonka.Athena.Types: athenaError_errorMessage :: Lens' AthenaError (Maybe Text)
+ Amazonka.Athena.Types: athenaError_errorType :: Lens' AthenaError (Maybe Natural)
+ Amazonka.Athena.Types: athenaError_retryable :: Lens' AthenaError (Maybe Bool)
+ Amazonka.Athena.Types: calculationConfiguration_codeBlock :: Lens' CalculationConfiguration (Maybe Text)
+ Amazonka.Athena.Types: calculationResult_resultS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types: calculationResult_resultType :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types: calculationResult_stdErrorS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types: calculationResult_stdOutS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types: calculationStatistics_dpuExecutionInMillis :: Lens' CalculationStatistics (Maybe Integer)
+ Amazonka.Athena.Types: calculationStatistics_progress :: Lens' CalculationStatistics (Maybe Text)
+ Amazonka.Athena.Types: calculationStatus_completionDateTime :: Lens' CalculationStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: calculationStatus_state :: Lens' CalculationStatus (Maybe CalculationExecutionState)
+ Amazonka.Athena.Types: calculationStatus_stateChangeReason :: Lens' CalculationStatus (Maybe Text)
+ Amazonka.Athena.Types: calculationStatus_submissionDateTime :: Lens' CalculationStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: calculationSummary_calculationExecutionId :: Lens' CalculationSummary (Maybe Text)
+ Amazonka.Athena.Types: calculationSummary_description :: Lens' CalculationSummary (Maybe Text)
+ Amazonka.Athena.Types: calculationSummary_status :: Lens' CalculationSummary (Maybe CalculationStatus)
+ Amazonka.Athena.Types: columnInfo_caseSensitive :: Lens' ColumnInfo (Maybe Bool)
+ Amazonka.Athena.Types: columnInfo_catalogName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types: columnInfo_label :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types: columnInfo_name :: Lens' ColumnInfo Text
+ Amazonka.Athena.Types: columnInfo_nullable :: Lens' ColumnInfo (Maybe ColumnNullable)
+ Amazonka.Athena.Types: columnInfo_precision :: Lens' ColumnInfo (Maybe Int)
+ Amazonka.Athena.Types: columnInfo_scale :: Lens' ColumnInfo (Maybe Int)
+ Amazonka.Athena.Types: columnInfo_schemaName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types: columnInfo_tableName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types: columnInfo_type :: Lens' ColumnInfo Text
+ Amazonka.Athena.Types: column_comment :: Lens' Column (Maybe Text)
+ Amazonka.Athena.Types: column_name :: Lens' Column Text
+ Amazonka.Athena.Types: column_type :: Lens' Column (Maybe Text)
+ Amazonka.Athena.Types: customerContentEncryptionConfiguration_kmsKey :: Lens' CustomerContentEncryptionConfiguration Text
+ Amazonka.Athena.Types: data AclConfiguration
+ Amazonka.Athena.Types: data ApplicationDPUSizes
+ Amazonka.Athena.Types: data AthenaError
+ Amazonka.Athena.Types: data CalculationConfiguration
+ Amazonka.Athena.Types: data CalculationResult
+ Amazonka.Athena.Types: data CalculationStatistics
+ Amazonka.Athena.Types: data CalculationStatus
+ Amazonka.Athena.Types: data CalculationSummary
+ Amazonka.Athena.Types: data Column
+ Amazonka.Athena.Types: data ColumnInfo
+ Amazonka.Athena.Types: data CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types: data DataCatalog
+ Amazonka.Athena.Types: data DataCatalogSummary
+ Amazonka.Athena.Types: data Database
+ Amazonka.Athena.Types: data Datum
+ Amazonka.Athena.Types: data EncryptionConfiguration
+ Amazonka.Athena.Types: data EngineConfiguration
+ Amazonka.Athena.Types: data EngineVersion
+ Amazonka.Athena.Types: data ExecutorsSummary
+ Amazonka.Athena.Types: data FilterDefinition
+ Amazonka.Athena.Types: data NamedQuery
+ Amazonka.Athena.Types: data NotebookMetadata
+ Amazonka.Athena.Types: data NotebookSessionSummary
+ Amazonka.Athena.Types: data PreparedStatement
+ Amazonka.Athena.Types: data PreparedStatementSummary
+ Amazonka.Athena.Types: data QueryExecution
+ Amazonka.Athena.Types: data QueryExecutionContext
+ Amazonka.Athena.Types: data QueryExecutionStatistics
+ Amazonka.Athena.Types: data QueryExecutionStatus
+ Amazonka.Athena.Types: data QueryRuntimeStatistics
+ Amazonka.Athena.Types: data QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types: data QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types: data QueryStage
+ Amazonka.Athena.Types: data QueryStagePlanNode
+ Amazonka.Athena.Types: data ResultConfiguration
+ Amazonka.Athena.Types: data ResultConfigurationUpdates
+ Amazonka.Athena.Types: data ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types: data ResultReuseConfiguration
+ Amazonka.Athena.Types: data ResultReuseInformation
+ Amazonka.Athena.Types: data ResultSet
+ Amazonka.Athena.Types: data ResultSetMetadata
+ Amazonka.Athena.Types: data Row
+ Amazonka.Athena.Types: data SessionConfiguration
+ Amazonka.Athena.Types: data SessionStatistics
+ Amazonka.Athena.Types: data SessionStatus
+ Amazonka.Athena.Types: data SessionSummary
+ Amazonka.Athena.Types: data TableMetadata
+ Amazonka.Athena.Types: data Tag
+ Amazonka.Athena.Types: data UnprocessedNamedQueryId
+ Amazonka.Athena.Types: data UnprocessedPreparedStatementName
+ Amazonka.Athena.Types: data UnprocessedQueryExecutionId
+ Amazonka.Athena.Types: data WorkGroup
+ Amazonka.Athena.Types: data WorkGroupConfiguration
+ Amazonka.Athena.Types: data WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types: data WorkGroupSummary
+ Amazonka.Athena.Types: dataCatalogSummary_catalogName :: Lens' DataCatalogSummary (Maybe Text)
+ Amazonka.Athena.Types: dataCatalogSummary_type :: Lens' DataCatalogSummary (Maybe DataCatalogType)
+ Amazonka.Athena.Types: dataCatalog_description :: Lens' DataCatalog (Maybe Text)
+ Amazonka.Athena.Types: dataCatalog_name :: Lens' DataCatalog Text
+ Amazonka.Athena.Types: dataCatalog_parameters :: Lens' DataCatalog (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types: dataCatalog_type :: Lens' DataCatalog DataCatalogType
+ Amazonka.Athena.Types: database_description :: Lens' Database (Maybe Text)
+ Amazonka.Athena.Types: database_name :: Lens' Database Text
+ Amazonka.Athena.Types: database_parameters :: Lens' Database (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types: datum_varCharValue :: Lens' Datum (Maybe Text)
+ Amazonka.Athena.Types: defaultService :: Service
+ Amazonka.Athena.Types: encryptionConfiguration_encryptionOption :: Lens' EncryptionConfiguration EncryptionOption
+ Amazonka.Athena.Types: encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text)
+ Amazonka.Athena.Types: engineConfiguration_additionalConfigs :: Lens' EngineConfiguration (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types: engineConfiguration_coordinatorDpuSize :: Lens' EngineConfiguration (Maybe Natural)
+ Amazonka.Athena.Types: engineConfiguration_defaultExecutorDpuSize :: Lens' EngineConfiguration (Maybe Natural)
+ Amazonka.Athena.Types: engineConfiguration_maxConcurrentDpus :: Lens' EngineConfiguration Natural
+ Amazonka.Athena.Types: engineVersion_effectiveEngineVersion :: Lens' EngineVersion (Maybe Text)
+ Amazonka.Athena.Types: engineVersion_selectedEngineVersion :: Lens' EngineVersion (Maybe Text)
+ Amazonka.Athena.Types: executorsSummary_executorId :: Lens' ExecutorsSummary Text
+ Amazonka.Athena.Types: executorsSummary_executorSize :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Types: executorsSummary_executorState :: Lens' ExecutorsSummary (Maybe ExecutorState)
+ Amazonka.Athena.Types: executorsSummary_executorType :: Lens' ExecutorsSummary (Maybe ExecutorType)
+ Amazonka.Athena.Types: executorsSummary_startDateTime :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Types: executorsSummary_terminationDateTime :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Types: filterDefinition_name :: Lens' FilterDefinition (Maybe Text)
+ Amazonka.Athena.Types: namedQuery_database :: Lens' NamedQuery Text
+ Amazonka.Athena.Types: namedQuery_description :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Types: namedQuery_name :: Lens' NamedQuery Text
+ Amazonka.Athena.Types: namedQuery_namedQueryId :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Types: namedQuery_queryString :: Lens' NamedQuery Text
+ Amazonka.Athena.Types: namedQuery_workGroup :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Types: newAclConfiguration :: S3AclOption -> AclConfiguration
+ Amazonka.Athena.Types: newApplicationDPUSizes :: ApplicationDPUSizes
+ Amazonka.Athena.Types: newAthenaError :: AthenaError
+ Amazonka.Athena.Types: newCalculationConfiguration :: CalculationConfiguration
+ Amazonka.Athena.Types: newCalculationResult :: CalculationResult
+ Amazonka.Athena.Types: newCalculationStatistics :: CalculationStatistics
+ Amazonka.Athena.Types: newCalculationStatus :: CalculationStatus
+ Amazonka.Athena.Types: newCalculationSummary :: CalculationSummary
+ Amazonka.Athena.Types: newColumn :: Text -> Column
+ Amazonka.Athena.Types: newColumnInfo :: Text -> Text -> ColumnInfo
+ Amazonka.Athena.Types: newCustomerContentEncryptionConfiguration :: Text -> CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types: newDataCatalog :: Text -> DataCatalogType -> DataCatalog
+ Amazonka.Athena.Types: newDataCatalogSummary :: DataCatalogSummary
+ Amazonka.Athena.Types: newDatabase :: Text -> Database
+ Amazonka.Athena.Types: newDatum :: Datum
+ Amazonka.Athena.Types: newEncryptionConfiguration :: EncryptionOption -> EncryptionConfiguration
+ Amazonka.Athena.Types: newEngineConfiguration :: Natural -> EngineConfiguration
+ Amazonka.Athena.Types: newEngineVersion :: EngineVersion
+ Amazonka.Athena.Types: newExecutorsSummary :: Text -> ExecutorsSummary
+ Amazonka.Athena.Types: newFilterDefinition :: FilterDefinition
+ Amazonka.Athena.Types: newNamedQuery :: Text -> Text -> Text -> NamedQuery
+ Amazonka.Athena.Types: newNotebookMetadata :: NotebookMetadata
+ Amazonka.Athena.Types: newNotebookSessionSummary :: NotebookSessionSummary
+ Amazonka.Athena.Types: newPreparedStatement :: PreparedStatement
+ Amazonka.Athena.Types: newPreparedStatementSummary :: PreparedStatementSummary
+ Amazonka.Athena.Types: newQueryExecution :: QueryExecution
+ Amazonka.Athena.Types: newQueryExecutionContext :: QueryExecutionContext
+ Amazonka.Athena.Types: newQueryExecutionStatistics :: QueryExecutionStatistics
+ Amazonka.Athena.Types: newQueryExecutionStatus :: QueryExecutionStatus
+ Amazonka.Athena.Types: newQueryRuntimeStatistics :: QueryRuntimeStatistics
+ Amazonka.Athena.Types: newQueryRuntimeStatisticsRows :: QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types: newQueryRuntimeStatisticsTimeline :: QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types: newQueryStage :: QueryStage
+ Amazonka.Athena.Types: newQueryStagePlanNode :: QueryStagePlanNode
+ Amazonka.Athena.Types: newResultConfiguration :: ResultConfiguration
+ Amazonka.Athena.Types: newResultConfigurationUpdates :: ResultConfigurationUpdates
+ Amazonka.Athena.Types: newResultReuseByAgeConfiguration :: Bool -> ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types: newResultReuseConfiguration :: ResultReuseConfiguration
+ Amazonka.Athena.Types: newResultReuseInformation :: Bool -> ResultReuseInformation
+ Amazonka.Athena.Types: newResultSet :: ResultSet
+ Amazonka.Athena.Types: newResultSetMetadata :: ResultSetMetadata
+ Amazonka.Athena.Types: newRow :: Row
+ Amazonka.Athena.Types: newSessionConfiguration :: SessionConfiguration
+ Amazonka.Athena.Types: newSessionStatistics :: SessionStatistics
+ Amazonka.Athena.Types: newSessionStatus :: SessionStatus
+ Amazonka.Athena.Types: newSessionSummary :: SessionSummary
+ Amazonka.Athena.Types: newTableMetadata :: Text -> TableMetadata
+ Amazonka.Athena.Types: newTag :: Tag
+ Amazonka.Athena.Types: newUnprocessedNamedQueryId :: UnprocessedNamedQueryId
+ Amazonka.Athena.Types: newUnprocessedPreparedStatementName :: UnprocessedPreparedStatementName
+ Amazonka.Athena.Types: newUnprocessedQueryExecutionId :: UnprocessedQueryExecutionId
+ Amazonka.Athena.Types: newWorkGroup :: Text -> WorkGroup
+ Amazonka.Athena.Types: newWorkGroupConfiguration :: WorkGroupConfiguration
+ Amazonka.Athena.Types: newWorkGroupConfigurationUpdates :: WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types: newWorkGroupSummary :: WorkGroupSummary
+ Amazonka.Athena.Types: newtype CalculationExecutionState
+ Amazonka.Athena.Types: newtype ColumnNullable
+ Amazonka.Athena.Types: newtype DataCatalogType
+ Amazonka.Athena.Types: newtype EncryptionOption
+ Amazonka.Athena.Types: newtype ExecutorState
+ Amazonka.Athena.Types: newtype ExecutorType
+ Amazonka.Athena.Types: newtype NotebookType
+ Amazonka.Athena.Types: newtype QueryExecutionState
+ Amazonka.Athena.Types: newtype S3AclOption
+ Amazonka.Athena.Types: newtype SessionState
+ Amazonka.Athena.Types: newtype StatementType
+ Amazonka.Athena.Types: newtype WorkGroupState
+ Amazonka.Athena.Types: notebookMetadata_creationTime :: Lens' NotebookMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types: notebookMetadata_lastModifiedTime :: Lens' NotebookMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types: notebookMetadata_name :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Types: notebookMetadata_notebookId :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Types: notebookMetadata_type :: Lens' NotebookMetadata (Maybe NotebookType)
+ Amazonka.Athena.Types: notebookMetadata_workGroup :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Types: notebookSessionSummary_creationTime :: Lens' NotebookSessionSummary (Maybe UTCTime)
+ Amazonka.Athena.Types: notebookSessionSummary_sessionId :: Lens' NotebookSessionSummary (Maybe Text)
+ Amazonka.Athena.Types: pattern CalculationExecutionState_CANCELED :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern CalculationExecutionState_CANCELING :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern CalculationExecutionState_COMPLETED :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern CalculationExecutionState_CREATED :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern CalculationExecutionState_CREATING :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern CalculationExecutionState_FAILED :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern CalculationExecutionState_QUEUED :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern CalculationExecutionState_RUNNING :: CalculationExecutionState
+ Amazonka.Athena.Types: pattern ColumnNullable_NOT_NULL :: ColumnNullable
+ Amazonka.Athena.Types: pattern ColumnNullable_NULLABLE :: ColumnNullable
+ Amazonka.Athena.Types: pattern ColumnNullable_UNKNOWN :: ColumnNullable
+ Amazonka.Athena.Types: pattern DataCatalogType_GLUE :: DataCatalogType
+ Amazonka.Athena.Types: pattern DataCatalogType_HIVE :: DataCatalogType
+ Amazonka.Athena.Types: pattern DataCatalogType_LAMBDA :: DataCatalogType
+ Amazonka.Athena.Types: pattern EncryptionOption_CSE_KMS :: EncryptionOption
+ Amazonka.Athena.Types: pattern EncryptionOption_SSE_KMS :: EncryptionOption
+ Amazonka.Athena.Types: pattern EncryptionOption_SSE_S3 :: EncryptionOption
+ Amazonka.Athena.Types: pattern ExecutorState_CREATED :: ExecutorState
+ Amazonka.Athena.Types: pattern ExecutorState_CREATING :: ExecutorState
+ Amazonka.Athena.Types: pattern ExecutorState_FAILED :: ExecutorState
+ Amazonka.Athena.Types: pattern ExecutorState_REGISTERED :: ExecutorState
+ Amazonka.Athena.Types: pattern ExecutorState_TERMINATED :: ExecutorState
+ Amazonka.Athena.Types: pattern ExecutorState_TERMINATING :: ExecutorState
+ Amazonka.Athena.Types: pattern ExecutorType_COORDINATOR :: ExecutorType
+ Amazonka.Athena.Types: pattern ExecutorType_GATEWAY :: ExecutorType
+ Amazonka.Athena.Types: pattern ExecutorType_WORKER :: ExecutorType
+ Amazonka.Athena.Types: pattern NotebookType_IPYNB :: NotebookType
+ Amazonka.Athena.Types: pattern QueryExecutionState_CANCELLED :: QueryExecutionState
+ Amazonka.Athena.Types: pattern QueryExecutionState_FAILED :: QueryExecutionState
+ Amazonka.Athena.Types: pattern QueryExecutionState_QUEUED :: QueryExecutionState
+ Amazonka.Athena.Types: pattern QueryExecutionState_RUNNING :: QueryExecutionState
+ Amazonka.Athena.Types: pattern QueryExecutionState_SUCCEEDED :: QueryExecutionState
+ Amazonka.Athena.Types: pattern S3AclOption_BUCKET_OWNER_FULL_CONTROL :: S3AclOption
+ Amazonka.Athena.Types: pattern SessionState_BUSY :: SessionState
+ Amazonka.Athena.Types: pattern SessionState_CREATED :: SessionState
+ Amazonka.Athena.Types: pattern SessionState_CREATING :: SessionState
+ Amazonka.Athena.Types: pattern SessionState_DEGRADED :: SessionState
+ Amazonka.Athena.Types: pattern SessionState_FAILED :: SessionState
+ Amazonka.Athena.Types: pattern SessionState_IDLE :: SessionState
+ Amazonka.Athena.Types: pattern SessionState_TERMINATED :: SessionState
+ Amazonka.Athena.Types: pattern SessionState_TERMINATING :: SessionState
+ Amazonka.Athena.Types: pattern StatementType_DDL :: StatementType
+ Amazonka.Athena.Types: pattern StatementType_DML :: StatementType
+ Amazonka.Athena.Types: pattern StatementType_UTILITY :: StatementType
+ Amazonka.Athena.Types: pattern WorkGroupState_DISABLED :: WorkGroupState
+ Amazonka.Athena.Types: pattern WorkGroupState_ENABLED :: WorkGroupState
+ Amazonka.Athena.Types: preparedStatementSummary_lastModifiedTime :: Lens' PreparedStatementSummary (Maybe UTCTime)
+ Amazonka.Athena.Types: preparedStatementSummary_statementName :: Lens' PreparedStatementSummary (Maybe Text)
+ Amazonka.Athena.Types: preparedStatement_description :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types: preparedStatement_lastModifiedTime :: Lens' PreparedStatement (Maybe UTCTime)
+ Amazonka.Athena.Types: preparedStatement_queryStatement :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types: preparedStatement_statementName :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types: preparedStatement_workGroupName :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types: queryExecutionContext_catalog :: Lens' QueryExecutionContext (Maybe Text)
+ Amazonka.Athena.Types: queryExecutionContext_database :: Lens' QueryExecutionContext (Maybe Text)
+ Amazonka.Athena.Types: queryExecutionStatistics_dataManifestLocation :: Lens' QueryExecutionStatistics (Maybe Text)
+ Amazonka.Athena.Types: queryExecutionStatistics_dataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types: queryExecutionStatistics_engineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types: queryExecutionStatistics_queryPlanningTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types: queryExecutionStatistics_queryQueueTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types: queryExecutionStatistics_resultReuseInformation :: Lens' QueryExecutionStatistics (Maybe ResultReuseInformation)
+ Amazonka.Athena.Types: queryExecutionStatistics_serviceProcessingTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types: queryExecutionStatistics_totalExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types: queryExecutionStatus_athenaError :: Lens' QueryExecutionStatus (Maybe AthenaError)
+ Amazonka.Athena.Types: queryExecutionStatus_completionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: queryExecutionStatus_state :: Lens' QueryExecutionStatus (Maybe QueryExecutionState)
+ Amazonka.Athena.Types: queryExecutionStatus_stateChangeReason :: Lens' QueryExecutionStatus (Maybe Text)
+ Amazonka.Athena.Types: queryExecutionStatus_submissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: queryExecution_engineVersion :: Lens' QueryExecution (Maybe EngineVersion)
+ Amazonka.Athena.Types: queryExecution_executionParameters :: Lens' QueryExecution (Maybe (NonEmpty Text))
+ Amazonka.Athena.Types: queryExecution_query :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Types: queryExecution_queryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext)
+ Amazonka.Athena.Types: queryExecution_queryExecutionId :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Types: queryExecution_resultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration)
+ Amazonka.Athena.Types: queryExecution_resultReuseConfiguration :: Lens' QueryExecution (Maybe ResultReuseConfiguration)
+ Amazonka.Athena.Types: queryExecution_statementType :: Lens' QueryExecution (Maybe StatementType)
+ Amazonka.Athena.Types: queryExecution_statistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics)
+ Amazonka.Athena.Types: queryExecution_status :: Lens' QueryExecution (Maybe QueryExecutionStatus)
+ Amazonka.Athena.Types: queryExecution_workGroup :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Types: queryRuntimeStatisticsRows_inputBytes :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsRows_inputRows :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsRows_outputBytes :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsRows_outputRows :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsTimeline_queryQueueTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types: queryRuntimeStatistics_outputStage :: Lens' QueryRuntimeStatistics (Maybe QueryStage)
+ Amazonka.Athena.Types: queryRuntimeStatistics_rows :: Lens' QueryRuntimeStatistics (Maybe QueryRuntimeStatisticsRows)
+ Amazonka.Athena.Types: queryRuntimeStatistics_timeline :: Lens' QueryRuntimeStatistics (Maybe QueryRuntimeStatisticsTimeline)
+ Amazonka.Athena.Types: queryStagePlanNode_children :: Lens' QueryStagePlanNode (Maybe [QueryStagePlanNode])
+ Amazonka.Athena.Types: queryStagePlanNode_identifier :: Lens' QueryStagePlanNode (Maybe Text)
+ Amazonka.Athena.Types: queryStagePlanNode_name :: Lens' QueryStagePlanNode (Maybe Text)
+ Amazonka.Athena.Types: queryStagePlanNode_remoteSources :: Lens' QueryStagePlanNode (Maybe [Text])
+ Amazonka.Athena.Types: queryStage_executionTime :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types: queryStage_inputBytes :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types: queryStage_inputRows :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types: queryStage_outputBytes :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types: queryStage_outputRows :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types: queryStage_queryStagePlan :: Lens' QueryStage (Maybe QueryStagePlanNode)
+ Amazonka.Athena.Types: queryStage_stageId :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types: queryStage_state :: Lens' QueryStage (Maybe Text)
+ Amazonka.Athena.Types: queryStage_subStages :: Lens' QueryStage (Maybe [QueryStage])
+ Amazonka.Athena.Types: resultConfigurationUpdates_aclConfiguration :: Lens' ResultConfigurationUpdates (Maybe AclConfiguration)
+ Amazonka.Athena.Types: resultConfigurationUpdates_encryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Types: resultConfigurationUpdates_expectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types: resultConfigurationUpdates_outputLocation :: Lens' ResultConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types: resultConfigurationUpdates_removeAclConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: resultConfigurationUpdates_removeEncryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: resultConfigurationUpdates_removeExpectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: resultConfigurationUpdates_removeOutputLocation :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: resultConfiguration_aclConfiguration :: Lens' ResultConfiguration (Maybe AclConfiguration)
+ Amazonka.Athena.Types: resultConfiguration_encryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Types: resultConfiguration_expectedBucketOwner :: Lens' ResultConfiguration (Maybe Text)
+ Amazonka.Athena.Types: resultConfiguration_outputLocation :: Lens' ResultConfiguration (Maybe Text)
+ Amazonka.Athena.Types: resultReuseByAgeConfiguration_enabled :: Lens' ResultReuseByAgeConfiguration Bool
+ Amazonka.Athena.Types: resultReuseByAgeConfiguration_maxAgeInMinutes :: Lens' ResultReuseByAgeConfiguration (Maybe Natural)
+ Amazonka.Athena.Types: resultReuseConfiguration_resultReuseByAgeConfiguration :: Lens' ResultReuseConfiguration (Maybe ResultReuseByAgeConfiguration)
+ Amazonka.Athena.Types: resultReuseInformation_reusedPreviousResult :: Lens' ResultReuseInformation Bool
+ Amazonka.Athena.Types: resultSetMetadata_columnInfo :: Lens' ResultSetMetadata (Maybe [ColumnInfo])
+ Amazonka.Athena.Types: resultSet_resultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata)
+ Amazonka.Athena.Types: resultSet_rows :: Lens' ResultSet (Maybe [Row])
+ Amazonka.Athena.Types: row_data :: Lens' Row (Maybe [Datum])
+ Amazonka.Athena.Types: sessionConfiguration_encryptionConfiguration :: Lens' SessionConfiguration (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Types: sessionConfiguration_executionRole :: Lens' SessionConfiguration (Maybe Text)
+ Amazonka.Athena.Types: sessionConfiguration_idleTimeoutSeconds :: Lens' SessionConfiguration (Maybe Integer)
+ Amazonka.Athena.Types: sessionConfiguration_workingDirectory :: Lens' SessionConfiguration (Maybe Text)
+ Amazonka.Athena.Types: sessionStatistics_dpuExecutionInMillis :: Lens' SessionStatistics (Maybe Integer)
+ Amazonka.Athena.Types: sessionStatus_endDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: sessionStatus_idleSinceDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: sessionStatus_lastModifiedDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: sessionStatus_startDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types: sessionStatus_state :: Lens' SessionStatus (Maybe SessionState)
+ Amazonka.Athena.Types: sessionStatus_stateChangeReason :: Lens' SessionStatus (Maybe Text)
+ Amazonka.Athena.Types: sessionSummary_description :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Types: sessionSummary_engineVersion :: Lens' SessionSummary (Maybe EngineVersion)
+ Amazonka.Athena.Types: sessionSummary_notebookVersion :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Types: sessionSummary_sessionId :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Types: sessionSummary_status :: Lens' SessionSummary (Maybe SessionStatus)
+ Amazonka.Athena.Types: tableMetadata_columns :: Lens' TableMetadata (Maybe [Column])
+ Amazonka.Athena.Types: tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types: tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types: tableMetadata_name :: Lens' TableMetadata Text
+ Amazonka.Athena.Types: tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types: tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column])
+ Amazonka.Athena.Types: tableMetadata_tableType :: Lens' TableMetadata (Maybe Text)
+ Amazonka.Athena.Types: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.Athena.Types: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.Athena.Types: unprocessedNamedQueryId_errorCode :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Types: unprocessedNamedQueryId_errorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Types: unprocessedNamedQueryId_namedQueryId :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Types: unprocessedPreparedStatementName_errorCode :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Types: unprocessedPreparedStatementName_errorMessage :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Types: unprocessedPreparedStatementName_statementName :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Types: unprocessedQueryExecutionId_errorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Types: unprocessedQueryExecutionId_errorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Types: unprocessedQueryExecutionId_queryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_additionalConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Natural)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_customerContentEncryptionConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe CustomerContentEncryptionConfiguration)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_enforceWorkGroupConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_engineVersion :: Lens' WorkGroupConfigurationUpdates (Maybe EngineVersion)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_executionRole :: Lens' WorkGroupConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_requesterPaysEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfigurationUpdates_resultConfigurationUpdates :: Lens' WorkGroupConfigurationUpdates (Maybe ResultConfigurationUpdates)
+ Amazonka.Athena.Types: workGroupConfiguration_additionalConfiguration :: Lens' WorkGroupConfiguration (Maybe Text)
+ Amazonka.Athena.Types: workGroupConfiguration_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfiguration (Maybe Natural)
+ Amazonka.Athena.Types: workGroupConfiguration_customerContentEncryptionConfiguration :: Lens' WorkGroupConfiguration (Maybe CustomerContentEncryptionConfiguration)
+ Amazonka.Athena.Types: workGroupConfiguration_enforceWorkGroupConfiguration :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfiguration_engineVersion :: Lens' WorkGroupConfiguration (Maybe EngineVersion)
+ Amazonka.Athena.Types: workGroupConfiguration_executionRole :: Lens' WorkGroupConfiguration (Maybe Text)
+ Amazonka.Athena.Types: workGroupConfiguration_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfiguration_requesterPaysEnabled :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Types: workGroupConfiguration_resultConfiguration :: Lens' WorkGroupConfiguration (Maybe ResultConfiguration)
+ Amazonka.Athena.Types: workGroupSummary_creationTime :: Lens' WorkGroupSummary (Maybe UTCTime)
+ Amazonka.Athena.Types: workGroupSummary_description :: Lens' WorkGroupSummary (Maybe Text)
+ Amazonka.Athena.Types: workGroupSummary_engineVersion :: Lens' WorkGroupSummary (Maybe EngineVersion)
+ Amazonka.Athena.Types: workGroupSummary_name :: Lens' WorkGroupSummary (Maybe Text)
+ Amazonka.Athena.Types: workGroupSummary_state :: Lens' WorkGroupSummary (Maybe WorkGroupState)
+ Amazonka.Athena.Types: workGroup_configuration :: Lens' WorkGroup (Maybe WorkGroupConfiguration)
+ Amazonka.Athena.Types: workGroup_creationTime :: Lens' WorkGroup (Maybe UTCTime)
+ Amazonka.Athena.Types: workGroup_description :: Lens' WorkGroup (Maybe Text)
+ Amazonka.Athena.Types: workGroup_name :: Lens' WorkGroup Text
+ Amazonka.Athena.Types: workGroup_state :: Lens' WorkGroup (Maybe WorkGroupState)
+ Amazonka.Athena.Types.AclConfiguration: AclConfiguration' :: S3AclOption -> AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: [$sel:s3AclOption:AclConfiguration'] :: AclConfiguration -> S3AclOption
+ Amazonka.Athena.Types.AclConfiguration: aclConfiguration_s3AclOption :: Lens' AclConfiguration S3AclOption
+ Amazonka.Athena.Types.AclConfiguration: data AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.AclConfiguration.AclConfiguration
+ Amazonka.Athena.Types.AclConfiguration: newAclConfiguration :: S3AclOption -> AclConfiguration
+ Amazonka.Athena.Types.ApplicationDPUSizes: ApplicationDPUSizes' :: Maybe Text -> Maybe [Int] -> ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: [$sel:applicationRuntimeId:ApplicationDPUSizes'] :: ApplicationDPUSizes -> Maybe Text
+ Amazonka.Athena.Types.ApplicationDPUSizes: [$sel:supportedDPUSizes:ApplicationDPUSizes'] :: ApplicationDPUSizes -> Maybe [Int]
+ Amazonka.Athena.Types.ApplicationDPUSizes: applicationDPUSizes_applicationRuntimeId :: Lens' ApplicationDPUSizes (Maybe Text)
+ Amazonka.Athena.Types.ApplicationDPUSizes: applicationDPUSizes_supportedDPUSizes :: Lens' ApplicationDPUSizes (Maybe [Int])
+ Amazonka.Athena.Types.ApplicationDPUSizes: data ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ApplicationDPUSizes.ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ApplicationDPUSizes.ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ApplicationDPUSizes.ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: instance GHC.Classes.Eq Amazonka.Athena.Types.ApplicationDPUSizes.ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: instance GHC.Generics.Generic Amazonka.Athena.Types.ApplicationDPUSizes.ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: instance GHC.Read.Read Amazonka.Athena.Types.ApplicationDPUSizes.ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: instance GHC.Show.Show Amazonka.Athena.Types.ApplicationDPUSizes.ApplicationDPUSizes
+ Amazonka.Athena.Types.ApplicationDPUSizes: newApplicationDPUSizes :: ApplicationDPUSizes
+ Amazonka.Athena.Types.AthenaError: AthenaError' :: Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe Bool -> AthenaError
+ Amazonka.Athena.Types.AthenaError: [$sel:errorCategory:AthenaError'] :: AthenaError -> Maybe Natural
+ Amazonka.Athena.Types.AthenaError: [$sel:errorMessage:AthenaError'] :: AthenaError -> Maybe Text
+ Amazonka.Athena.Types.AthenaError: [$sel:errorType:AthenaError'] :: AthenaError -> Maybe Natural
+ Amazonka.Athena.Types.AthenaError: [$sel:retryable:AthenaError'] :: AthenaError -> Maybe Bool
+ Amazonka.Athena.Types.AthenaError: athenaError_errorCategory :: Lens' AthenaError (Maybe Natural)
+ Amazonka.Athena.Types.AthenaError: athenaError_errorMessage :: Lens' AthenaError (Maybe Text)
+ Amazonka.Athena.Types.AthenaError: athenaError_errorType :: Lens' AthenaError (Maybe Natural)
+ Amazonka.Athena.Types.AthenaError: athenaError_retryable :: Lens' AthenaError (Maybe Bool)
+ Amazonka.Athena.Types.AthenaError: data AthenaError
+ Amazonka.Athena.Types.AthenaError: instance Control.DeepSeq.NFData Amazonka.Athena.Types.AthenaError.AthenaError
+ Amazonka.Athena.Types.AthenaError: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.AthenaError.AthenaError
+ Amazonka.Athena.Types.AthenaError: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.AthenaError.AthenaError
+ Amazonka.Athena.Types.AthenaError: instance GHC.Classes.Eq Amazonka.Athena.Types.AthenaError.AthenaError
+ Amazonka.Athena.Types.AthenaError: instance GHC.Generics.Generic Amazonka.Athena.Types.AthenaError.AthenaError
+ Amazonka.Athena.Types.AthenaError: instance GHC.Read.Read Amazonka.Athena.Types.AthenaError.AthenaError
+ Amazonka.Athena.Types.AthenaError: instance GHC.Show.Show Amazonka.Athena.Types.AthenaError.AthenaError
+ Amazonka.Athena.Types.AthenaError: newAthenaError :: AthenaError
+ Amazonka.Athena.Types.CalculationConfiguration: CalculationConfiguration' :: Maybe Text -> CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: [$sel:codeBlock:CalculationConfiguration'] :: CalculationConfiguration -> Maybe Text
+ Amazonka.Athena.Types.CalculationConfiguration: calculationConfiguration_codeBlock :: Lens' CalculationConfiguration (Maybe Text)
+ Amazonka.Athena.Types.CalculationConfiguration: data CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.CalculationConfiguration.CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.CalculationConfiguration.CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.CalculationConfiguration.CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.CalculationConfiguration.CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.CalculationConfiguration.CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.CalculationConfiguration.CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.CalculationConfiguration.CalculationConfiguration
+ Amazonka.Athena.Types.CalculationConfiguration: newCalculationConfiguration :: CalculationConfiguration
+ Amazonka.Athena.Types.CalculationExecutionState: CalculationExecutionState' :: Text -> CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: [fromCalculationExecutionState] :: CalculationExecutionState -> Text
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Control.DeepSeq.NFData Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance GHC.Classes.Eq Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance GHC.Classes.Ord Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance GHC.Generics.Generic Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance GHC.Read.Read Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: instance GHC.Show.Show Amazonka.Athena.Types.CalculationExecutionState.CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: newtype CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_CANCELED :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_CANCELING :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_COMPLETED :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_CREATED :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_CREATING :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_FAILED :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_QUEUED :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationExecutionState: pattern CalculationExecutionState_RUNNING :: CalculationExecutionState
+ Amazonka.Athena.Types.CalculationResult: CalculationResult' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CalculationResult
+ Amazonka.Athena.Types.CalculationResult: [$sel:resultS3Uri:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types.CalculationResult: [$sel:resultType:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types.CalculationResult: [$sel:stdErrorS3Uri:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types.CalculationResult: [$sel:stdOutS3Uri:CalculationResult'] :: CalculationResult -> Maybe Text
+ Amazonka.Athena.Types.CalculationResult: calculationResult_resultS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types.CalculationResult: calculationResult_resultType :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types.CalculationResult: calculationResult_stdErrorS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types.CalculationResult: calculationResult_stdOutS3Uri :: Lens' CalculationResult (Maybe Text)
+ Amazonka.Athena.Types.CalculationResult: data CalculationResult
+ Amazonka.Athena.Types.CalculationResult: instance Control.DeepSeq.NFData Amazonka.Athena.Types.CalculationResult.CalculationResult
+ Amazonka.Athena.Types.CalculationResult: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.CalculationResult.CalculationResult
+ Amazonka.Athena.Types.CalculationResult: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.CalculationResult.CalculationResult
+ Amazonka.Athena.Types.CalculationResult: instance GHC.Classes.Eq Amazonka.Athena.Types.CalculationResult.CalculationResult
+ Amazonka.Athena.Types.CalculationResult: instance GHC.Generics.Generic Amazonka.Athena.Types.CalculationResult.CalculationResult
+ Amazonka.Athena.Types.CalculationResult: instance GHC.Read.Read Amazonka.Athena.Types.CalculationResult.CalculationResult
+ Amazonka.Athena.Types.CalculationResult: instance GHC.Show.Show Amazonka.Athena.Types.CalculationResult.CalculationResult
+ Amazonka.Athena.Types.CalculationResult: newCalculationResult :: CalculationResult
+ Amazonka.Athena.Types.CalculationStatistics: CalculationStatistics' :: Maybe Integer -> Maybe Text -> CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: [$sel:dpuExecutionInMillis:CalculationStatistics'] :: CalculationStatistics -> Maybe Integer
+ Amazonka.Athena.Types.CalculationStatistics: [$sel:progress:CalculationStatistics'] :: CalculationStatistics -> Maybe Text
+ Amazonka.Athena.Types.CalculationStatistics: calculationStatistics_dpuExecutionInMillis :: Lens' CalculationStatistics (Maybe Integer)
+ Amazonka.Athena.Types.CalculationStatistics: calculationStatistics_progress :: Lens' CalculationStatistics (Maybe Text)
+ Amazonka.Athena.Types.CalculationStatistics: data CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: instance Control.DeepSeq.NFData Amazonka.Athena.Types.CalculationStatistics.CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.CalculationStatistics.CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.CalculationStatistics.CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: instance GHC.Classes.Eq Amazonka.Athena.Types.CalculationStatistics.CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: instance GHC.Generics.Generic Amazonka.Athena.Types.CalculationStatistics.CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: instance GHC.Read.Read Amazonka.Athena.Types.CalculationStatistics.CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: instance GHC.Show.Show Amazonka.Athena.Types.CalculationStatistics.CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatistics: newCalculationStatistics :: CalculationStatistics
+ Amazonka.Athena.Types.CalculationStatus: CalculationStatus' :: Maybe POSIX -> Maybe CalculationExecutionState -> Maybe Text -> Maybe POSIX -> CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: [$sel:completionDateTime:CalculationStatus'] :: CalculationStatus -> Maybe POSIX
+ Amazonka.Athena.Types.CalculationStatus: [$sel:state:CalculationStatus'] :: CalculationStatus -> Maybe CalculationExecutionState
+ Amazonka.Athena.Types.CalculationStatus: [$sel:stateChangeReason:CalculationStatus'] :: CalculationStatus -> Maybe Text
+ Amazonka.Athena.Types.CalculationStatus: [$sel:submissionDateTime:CalculationStatus'] :: CalculationStatus -> Maybe POSIX
+ Amazonka.Athena.Types.CalculationStatus: calculationStatus_completionDateTime :: Lens' CalculationStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.CalculationStatus: calculationStatus_state :: Lens' CalculationStatus (Maybe CalculationExecutionState)
+ Amazonka.Athena.Types.CalculationStatus: calculationStatus_stateChangeReason :: Lens' CalculationStatus (Maybe Text)
+ Amazonka.Athena.Types.CalculationStatus: calculationStatus_submissionDateTime :: Lens' CalculationStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.CalculationStatus: data CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: instance Control.DeepSeq.NFData Amazonka.Athena.Types.CalculationStatus.CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.CalculationStatus.CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.CalculationStatus.CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: instance GHC.Classes.Eq Amazonka.Athena.Types.CalculationStatus.CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: instance GHC.Generics.Generic Amazonka.Athena.Types.CalculationStatus.CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: instance GHC.Read.Read Amazonka.Athena.Types.CalculationStatus.CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: instance GHC.Show.Show Amazonka.Athena.Types.CalculationStatus.CalculationStatus
+ Amazonka.Athena.Types.CalculationStatus: newCalculationStatus :: CalculationStatus
+ Amazonka.Athena.Types.CalculationSummary: CalculationSummary' :: Maybe Text -> Maybe Text -> Maybe CalculationStatus -> CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: [$sel:calculationExecutionId:CalculationSummary'] :: CalculationSummary -> Maybe Text
+ Amazonka.Athena.Types.CalculationSummary: [$sel:description:CalculationSummary'] :: CalculationSummary -> Maybe Text
+ Amazonka.Athena.Types.CalculationSummary: [$sel:status:CalculationSummary'] :: CalculationSummary -> Maybe CalculationStatus
+ Amazonka.Athena.Types.CalculationSummary: calculationSummary_calculationExecutionId :: Lens' CalculationSummary (Maybe Text)
+ Amazonka.Athena.Types.CalculationSummary: calculationSummary_description :: Lens' CalculationSummary (Maybe Text)
+ Amazonka.Athena.Types.CalculationSummary: calculationSummary_status :: Lens' CalculationSummary (Maybe CalculationStatus)
+ Amazonka.Athena.Types.CalculationSummary: data CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: instance Control.DeepSeq.NFData Amazonka.Athena.Types.CalculationSummary.CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.CalculationSummary.CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.CalculationSummary.CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: instance GHC.Classes.Eq Amazonka.Athena.Types.CalculationSummary.CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: instance GHC.Generics.Generic Amazonka.Athena.Types.CalculationSummary.CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: instance GHC.Read.Read Amazonka.Athena.Types.CalculationSummary.CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: instance GHC.Show.Show Amazonka.Athena.Types.CalculationSummary.CalculationSummary
+ Amazonka.Athena.Types.CalculationSummary: newCalculationSummary :: CalculationSummary
+ Amazonka.Athena.Types.Column: Column' :: Maybe Text -> Maybe Text -> Text -> Column
+ Amazonka.Athena.Types.Column: [$sel:comment:Column'] :: Column -> Maybe Text
+ Amazonka.Athena.Types.Column: [$sel:name:Column'] :: Column -> Text
+ Amazonka.Athena.Types.Column: [$sel:type':Column'] :: Column -> Maybe Text
+ Amazonka.Athena.Types.Column: column_comment :: Lens' Column (Maybe Text)
+ Amazonka.Athena.Types.Column: column_name :: Lens' Column Text
+ Amazonka.Athena.Types.Column: column_type :: Lens' Column (Maybe Text)
+ Amazonka.Athena.Types.Column: data Column
+ Amazonka.Athena.Types.Column: instance Control.DeepSeq.NFData Amazonka.Athena.Types.Column.Column
+ Amazonka.Athena.Types.Column: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.Column.Column
+ Amazonka.Athena.Types.Column: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.Column.Column
+ Amazonka.Athena.Types.Column: instance GHC.Classes.Eq Amazonka.Athena.Types.Column.Column
+ Amazonka.Athena.Types.Column: instance GHC.Generics.Generic Amazonka.Athena.Types.Column.Column
+ Amazonka.Athena.Types.Column: instance GHC.Read.Read Amazonka.Athena.Types.Column.Column
+ Amazonka.Athena.Types.Column: instance GHC.Show.Show Amazonka.Athena.Types.Column.Column
+ Amazonka.Athena.Types.Column: newColumn :: Text -> Column
+ Amazonka.Athena.Types.ColumnInfo: ColumnInfo' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe ColumnNullable -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> Text -> ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: [$sel:caseSensitive:ColumnInfo'] :: ColumnInfo -> Maybe Bool
+ Amazonka.Athena.Types.ColumnInfo: [$sel:catalogName:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types.ColumnInfo: [$sel:label:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types.ColumnInfo: [$sel:name:ColumnInfo'] :: ColumnInfo -> Text
+ Amazonka.Athena.Types.ColumnInfo: [$sel:nullable:ColumnInfo'] :: ColumnInfo -> Maybe ColumnNullable
+ Amazonka.Athena.Types.ColumnInfo: [$sel:precision:ColumnInfo'] :: ColumnInfo -> Maybe Int
+ Amazonka.Athena.Types.ColumnInfo: [$sel:scale:ColumnInfo'] :: ColumnInfo -> Maybe Int
+ Amazonka.Athena.Types.ColumnInfo: [$sel:schemaName:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types.ColumnInfo: [$sel:tableName:ColumnInfo'] :: ColumnInfo -> Maybe Text
+ Amazonka.Athena.Types.ColumnInfo: [$sel:type':ColumnInfo'] :: ColumnInfo -> Text
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_caseSensitive :: Lens' ColumnInfo (Maybe Bool)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_catalogName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_label :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_name :: Lens' ColumnInfo Text
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_nullable :: Lens' ColumnInfo (Maybe ColumnNullable)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_precision :: Lens' ColumnInfo (Maybe Int)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_scale :: Lens' ColumnInfo (Maybe Int)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_schemaName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_tableName :: Lens' ColumnInfo (Maybe Text)
+ Amazonka.Athena.Types.ColumnInfo: columnInfo_type :: Lens' ColumnInfo Text
+ Amazonka.Athena.Types.ColumnInfo: data ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ColumnInfo.ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ColumnInfo.ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ColumnInfo.ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: instance GHC.Classes.Eq Amazonka.Athena.Types.ColumnInfo.ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: instance GHC.Generics.Generic Amazonka.Athena.Types.ColumnInfo.ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: instance GHC.Read.Read Amazonka.Athena.Types.ColumnInfo.ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: instance GHC.Show.Show Amazonka.Athena.Types.ColumnInfo.ColumnInfo
+ Amazonka.Athena.Types.ColumnInfo: newColumnInfo :: Text -> Text -> ColumnInfo
+ Amazonka.Athena.Types.ColumnNullable: ColumnNullable' :: Text -> ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: [fromColumnNullable] :: ColumnNullable -> Text
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance GHC.Classes.Eq Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance GHC.Classes.Ord Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance GHC.Generics.Generic Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance GHC.Read.Read Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: instance GHC.Show.Show Amazonka.Athena.Types.ColumnNullable.ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: newtype ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: pattern ColumnNullable_NOT_NULL :: ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: pattern ColumnNullable_NULLABLE :: ColumnNullable
+ Amazonka.Athena.Types.ColumnNullable: pattern ColumnNullable_UNKNOWN :: ColumnNullable
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: CustomerContentEncryptionConfiguration' :: Text -> CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: [$sel:kmsKey:CustomerContentEncryptionConfiguration'] :: CustomerContentEncryptionConfiguration -> Text
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: customerContentEncryptionConfiguration_kmsKey :: Lens' CustomerContentEncryptionConfiguration Text
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: data CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.CustomerContentEncryptionConfiguration.CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration: newCustomerContentEncryptionConfiguration :: Text -> CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.DataCatalog: DataCatalog' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> DataCatalogType -> DataCatalog
+ Amazonka.Athena.Types.DataCatalog: [$sel:description:DataCatalog'] :: DataCatalog -> Maybe Text
+ Amazonka.Athena.Types.DataCatalog: [$sel:name:DataCatalog'] :: DataCatalog -> Text
+ Amazonka.Athena.Types.DataCatalog: [$sel:parameters:DataCatalog'] :: DataCatalog -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types.DataCatalog: [$sel:type':DataCatalog'] :: DataCatalog -> DataCatalogType
+ Amazonka.Athena.Types.DataCatalog: data DataCatalog
+ Amazonka.Athena.Types.DataCatalog: dataCatalog_description :: Lens' DataCatalog (Maybe Text)
+ Amazonka.Athena.Types.DataCatalog: dataCatalog_name :: Lens' DataCatalog Text
+ Amazonka.Athena.Types.DataCatalog: dataCatalog_parameters :: Lens' DataCatalog (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types.DataCatalog: dataCatalog_type :: Lens' DataCatalog DataCatalogType
+ Amazonka.Athena.Types.DataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.Types.DataCatalog.DataCatalog
+ Amazonka.Athena.Types.DataCatalog: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.DataCatalog.DataCatalog
+ Amazonka.Athena.Types.DataCatalog: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.DataCatalog.DataCatalog
+ Amazonka.Athena.Types.DataCatalog: instance GHC.Classes.Eq Amazonka.Athena.Types.DataCatalog.DataCatalog
+ Amazonka.Athena.Types.DataCatalog: instance GHC.Generics.Generic Amazonka.Athena.Types.DataCatalog.DataCatalog
+ Amazonka.Athena.Types.DataCatalog: instance GHC.Read.Read Amazonka.Athena.Types.DataCatalog.DataCatalog
+ Amazonka.Athena.Types.DataCatalog: instance GHC.Show.Show Amazonka.Athena.Types.DataCatalog.DataCatalog
+ Amazonka.Athena.Types.DataCatalog: newDataCatalog :: Text -> DataCatalogType -> DataCatalog
+ Amazonka.Athena.Types.DataCatalogSummary: DataCatalogSummary' :: Maybe Text -> Maybe DataCatalogType -> DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: [$sel:catalogName:DataCatalogSummary'] :: DataCatalogSummary -> Maybe Text
+ Amazonka.Athena.Types.DataCatalogSummary: [$sel:type':DataCatalogSummary'] :: DataCatalogSummary -> Maybe DataCatalogType
+ Amazonka.Athena.Types.DataCatalogSummary: data DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: dataCatalogSummary_catalogName :: Lens' DataCatalogSummary (Maybe Text)
+ Amazonka.Athena.Types.DataCatalogSummary: dataCatalogSummary_type :: Lens' DataCatalogSummary (Maybe DataCatalogType)
+ Amazonka.Athena.Types.DataCatalogSummary: instance Control.DeepSeq.NFData Amazonka.Athena.Types.DataCatalogSummary.DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.DataCatalogSummary.DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.DataCatalogSummary.DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: instance GHC.Classes.Eq Amazonka.Athena.Types.DataCatalogSummary.DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: instance GHC.Generics.Generic Amazonka.Athena.Types.DataCatalogSummary.DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: instance GHC.Read.Read Amazonka.Athena.Types.DataCatalogSummary.DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: instance GHC.Show.Show Amazonka.Athena.Types.DataCatalogSummary.DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogSummary: newDataCatalogSummary :: DataCatalogSummary
+ Amazonka.Athena.Types.DataCatalogType: DataCatalogType' :: Text -> DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: [fromDataCatalogType] :: DataCatalogType -> Text
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Control.DeepSeq.NFData Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance GHC.Classes.Eq Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance GHC.Classes.Ord Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance GHC.Generics.Generic Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance GHC.Read.Read Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: instance GHC.Show.Show Amazonka.Athena.Types.DataCatalogType.DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: newtype DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: pattern DataCatalogType_GLUE :: DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: pattern DataCatalogType_HIVE :: DataCatalogType
+ Amazonka.Athena.Types.DataCatalogType: pattern DataCatalogType_LAMBDA :: DataCatalogType
+ Amazonka.Athena.Types.Database: Database' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> Database
+ Amazonka.Athena.Types.Database: [$sel:description:Database'] :: Database -> Maybe Text
+ Amazonka.Athena.Types.Database: [$sel:name:Database'] :: Database -> Text
+ Amazonka.Athena.Types.Database: [$sel:parameters:Database'] :: Database -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types.Database: data Database
+ Amazonka.Athena.Types.Database: database_description :: Lens' Database (Maybe Text)
+ Amazonka.Athena.Types.Database: database_name :: Lens' Database Text
+ Amazonka.Athena.Types.Database: database_parameters :: Lens' Database (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types.Database: instance Control.DeepSeq.NFData Amazonka.Athena.Types.Database.Database
+ Amazonka.Athena.Types.Database: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.Database.Database
+ Amazonka.Athena.Types.Database: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.Database.Database
+ Amazonka.Athena.Types.Database: instance GHC.Classes.Eq Amazonka.Athena.Types.Database.Database
+ Amazonka.Athena.Types.Database: instance GHC.Generics.Generic Amazonka.Athena.Types.Database.Database
+ Amazonka.Athena.Types.Database: instance GHC.Read.Read Amazonka.Athena.Types.Database.Database
+ Amazonka.Athena.Types.Database: instance GHC.Show.Show Amazonka.Athena.Types.Database.Database
+ Amazonka.Athena.Types.Database: newDatabase :: Text -> Database
+ Amazonka.Athena.Types.Datum: Datum' :: Maybe Text -> Datum
+ Amazonka.Athena.Types.Datum: [$sel:varCharValue:Datum'] :: Datum -> Maybe Text
+ Amazonka.Athena.Types.Datum: data Datum
+ Amazonka.Athena.Types.Datum: datum_varCharValue :: Lens' Datum (Maybe Text)
+ Amazonka.Athena.Types.Datum: instance Control.DeepSeq.NFData Amazonka.Athena.Types.Datum.Datum
+ Amazonka.Athena.Types.Datum: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.Datum.Datum
+ Amazonka.Athena.Types.Datum: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.Datum.Datum
+ Amazonka.Athena.Types.Datum: instance GHC.Classes.Eq Amazonka.Athena.Types.Datum.Datum
+ Amazonka.Athena.Types.Datum: instance GHC.Generics.Generic Amazonka.Athena.Types.Datum.Datum
+ Amazonka.Athena.Types.Datum: instance GHC.Read.Read Amazonka.Athena.Types.Datum.Datum
+ Amazonka.Athena.Types.Datum: instance GHC.Show.Show Amazonka.Athena.Types.Datum.Datum
+ Amazonka.Athena.Types.Datum: newDatum :: Datum
+ Amazonka.Athena.Types.EncryptionConfiguration: EncryptionConfiguration' :: Maybe Text -> EncryptionOption -> EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: [$sel:encryptionOption:EncryptionConfiguration'] :: EncryptionConfiguration -> EncryptionOption
+ Amazonka.Athena.Types.EncryptionConfiguration: [$sel:kmsKey:EncryptionConfiguration'] :: EncryptionConfiguration -> Maybe Text
+ Amazonka.Athena.Types.EncryptionConfiguration: data EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: encryptionConfiguration_encryptionOption :: Lens' EncryptionConfiguration EncryptionOption
+ Amazonka.Athena.Types.EncryptionConfiguration: encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text)
+ Amazonka.Athena.Types.EncryptionConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.EncryptionConfiguration.EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionConfiguration: newEncryptionConfiguration :: EncryptionOption -> EncryptionConfiguration
+ Amazonka.Athena.Types.EncryptionOption: EncryptionOption' :: Text -> EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: [fromEncryptionOption] :: EncryptionOption -> Text
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Control.DeepSeq.NFData Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance GHC.Classes.Eq Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance GHC.Classes.Ord Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance GHC.Generics.Generic Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance GHC.Read.Read Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: instance GHC.Show.Show Amazonka.Athena.Types.EncryptionOption.EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: newtype EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: pattern EncryptionOption_CSE_KMS :: EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: pattern EncryptionOption_SSE_KMS :: EncryptionOption
+ Amazonka.Athena.Types.EncryptionOption: pattern EncryptionOption_SSE_S3 :: EncryptionOption
+ Amazonka.Athena.Types.EngineConfiguration: EngineConfiguration' :: Maybe (HashMap Text Text) -> Maybe Natural -> Maybe Natural -> Natural -> EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: [$sel:additionalConfigs:EngineConfiguration'] :: EngineConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types.EngineConfiguration: [$sel:coordinatorDpuSize:EngineConfiguration'] :: EngineConfiguration -> Maybe Natural
+ Amazonka.Athena.Types.EngineConfiguration: [$sel:defaultExecutorDpuSize:EngineConfiguration'] :: EngineConfiguration -> Maybe Natural
+ Amazonka.Athena.Types.EngineConfiguration: [$sel:maxConcurrentDpus:EngineConfiguration'] :: EngineConfiguration -> Natural
+ Amazonka.Athena.Types.EngineConfiguration: data EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: engineConfiguration_additionalConfigs :: Lens' EngineConfiguration (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types.EngineConfiguration: engineConfiguration_coordinatorDpuSize :: Lens' EngineConfiguration (Maybe Natural)
+ Amazonka.Athena.Types.EngineConfiguration: engineConfiguration_defaultExecutorDpuSize :: Lens' EngineConfiguration (Maybe Natural)
+ Amazonka.Athena.Types.EngineConfiguration: engineConfiguration_maxConcurrentDpus :: Lens' EngineConfiguration Natural
+ Amazonka.Athena.Types.EngineConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.EngineConfiguration.EngineConfiguration
+ Amazonka.Athena.Types.EngineConfiguration: newEngineConfiguration :: Natural -> EngineConfiguration
+ Amazonka.Athena.Types.EngineVersion: EngineVersion' :: Maybe Text -> Maybe Text -> EngineVersion
+ Amazonka.Athena.Types.EngineVersion: [$sel:effectiveEngineVersion:EngineVersion'] :: EngineVersion -> Maybe Text
+ Amazonka.Athena.Types.EngineVersion: [$sel:selectedEngineVersion:EngineVersion'] :: EngineVersion -> Maybe Text
+ Amazonka.Athena.Types.EngineVersion: data EngineVersion
+ Amazonka.Athena.Types.EngineVersion: engineVersion_effectiveEngineVersion :: Lens' EngineVersion (Maybe Text)
+ Amazonka.Athena.Types.EngineVersion: engineVersion_selectedEngineVersion :: Lens' EngineVersion (Maybe Text)
+ Amazonka.Athena.Types.EngineVersion: instance Control.DeepSeq.NFData Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: instance GHC.Classes.Eq Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: instance GHC.Generics.Generic Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: instance GHC.Read.Read Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: instance GHC.Show.Show Amazonka.Athena.Types.EngineVersion.EngineVersion
+ Amazonka.Athena.Types.EngineVersion: newEngineVersion :: EngineVersion
+ Amazonka.Athena.Types.ExecutorState: ExecutorState' :: Text -> ExecutorState
+ Amazonka.Athena.Types.ExecutorState: [fromExecutorState] :: ExecutorState -> Text
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance GHC.Classes.Eq Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance GHC.Classes.Ord Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance GHC.Generics.Generic Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance GHC.Read.Read Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: instance GHC.Show.Show Amazonka.Athena.Types.ExecutorState.ExecutorState
+ Amazonka.Athena.Types.ExecutorState: newtype ExecutorState
+ Amazonka.Athena.Types.ExecutorState: pattern ExecutorState_CREATED :: ExecutorState
+ Amazonka.Athena.Types.ExecutorState: pattern ExecutorState_CREATING :: ExecutorState
+ Amazonka.Athena.Types.ExecutorState: pattern ExecutorState_FAILED :: ExecutorState
+ Amazonka.Athena.Types.ExecutorState: pattern ExecutorState_REGISTERED :: ExecutorState
+ Amazonka.Athena.Types.ExecutorState: pattern ExecutorState_TERMINATED :: ExecutorState
+ Amazonka.Athena.Types.ExecutorState: pattern ExecutorState_TERMINATING :: ExecutorState
+ Amazonka.Athena.Types.ExecutorType: ExecutorType' :: Text -> ExecutorType
+ Amazonka.Athena.Types.ExecutorType: [fromExecutorType] :: ExecutorType -> Text
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance GHC.Classes.Eq Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance GHC.Classes.Ord Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance GHC.Generics.Generic Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance GHC.Read.Read Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: instance GHC.Show.Show Amazonka.Athena.Types.ExecutorType.ExecutorType
+ Amazonka.Athena.Types.ExecutorType: newtype ExecutorType
+ Amazonka.Athena.Types.ExecutorType: pattern ExecutorType_COORDINATOR :: ExecutorType
+ Amazonka.Athena.Types.ExecutorType: pattern ExecutorType_GATEWAY :: ExecutorType
+ Amazonka.Athena.Types.ExecutorType: pattern ExecutorType_WORKER :: ExecutorType
+ Amazonka.Athena.Types.ExecutorsSummary: ExecutorsSummary' :: Maybe Integer -> Maybe ExecutorState -> Maybe ExecutorType -> Maybe Integer -> Maybe Integer -> Text -> ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: [$sel:executorId:ExecutorsSummary'] :: ExecutorsSummary -> Text
+ Amazonka.Athena.Types.ExecutorsSummary: [$sel:executorSize:ExecutorsSummary'] :: ExecutorsSummary -> Maybe Integer
+ Amazonka.Athena.Types.ExecutorsSummary: [$sel:executorState:ExecutorsSummary'] :: ExecutorsSummary -> Maybe ExecutorState
+ Amazonka.Athena.Types.ExecutorsSummary: [$sel:executorType:ExecutorsSummary'] :: ExecutorsSummary -> Maybe ExecutorType
+ Amazonka.Athena.Types.ExecutorsSummary: [$sel:startDateTime:ExecutorsSummary'] :: ExecutorsSummary -> Maybe Integer
+ Amazonka.Athena.Types.ExecutorsSummary: [$sel:terminationDateTime:ExecutorsSummary'] :: ExecutorsSummary -> Maybe Integer
+ Amazonka.Athena.Types.ExecutorsSummary: data ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: executorsSummary_executorId :: Lens' ExecutorsSummary Text
+ Amazonka.Athena.Types.ExecutorsSummary: executorsSummary_executorSize :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Types.ExecutorsSummary: executorsSummary_executorState :: Lens' ExecutorsSummary (Maybe ExecutorState)
+ Amazonka.Athena.Types.ExecutorsSummary: executorsSummary_executorType :: Lens' ExecutorsSummary (Maybe ExecutorType)
+ Amazonka.Athena.Types.ExecutorsSummary: executorsSummary_startDateTime :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Types.ExecutorsSummary: executorsSummary_terminationDateTime :: Lens' ExecutorsSummary (Maybe Integer)
+ Amazonka.Athena.Types.ExecutorsSummary: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ExecutorsSummary.ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ExecutorsSummary.ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ExecutorsSummary.ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: instance GHC.Classes.Eq Amazonka.Athena.Types.ExecutorsSummary.ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: instance GHC.Generics.Generic Amazonka.Athena.Types.ExecutorsSummary.ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: instance GHC.Read.Read Amazonka.Athena.Types.ExecutorsSummary.ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: instance GHC.Show.Show Amazonka.Athena.Types.ExecutorsSummary.ExecutorsSummary
+ Amazonka.Athena.Types.ExecutorsSummary: newExecutorsSummary :: Text -> ExecutorsSummary
+ Amazonka.Athena.Types.FilterDefinition: FilterDefinition' :: Maybe Text -> FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: [$sel:name:FilterDefinition'] :: FilterDefinition -> Maybe Text
+ Amazonka.Athena.Types.FilterDefinition: data FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: filterDefinition_name :: Lens' FilterDefinition (Maybe Text)
+ Amazonka.Athena.Types.FilterDefinition: instance Control.DeepSeq.NFData Amazonka.Athena.Types.FilterDefinition.FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.FilterDefinition.FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.FilterDefinition.FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: instance GHC.Classes.Eq Amazonka.Athena.Types.FilterDefinition.FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: instance GHC.Generics.Generic Amazonka.Athena.Types.FilterDefinition.FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: instance GHC.Read.Read Amazonka.Athena.Types.FilterDefinition.FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: instance GHC.Show.Show Amazonka.Athena.Types.FilterDefinition.FilterDefinition
+ Amazonka.Athena.Types.FilterDefinition: newFilterDefinition :: FilterDefinition
+ Amazonka.Athena.Types.NamedQuery: NamedQuery' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> NamedQuery
+ Amazonka.Athena.Types.NamedQuery: [$sel:database:NamedQuery'] :: NamedQuery -> Text
+ Amazonka.Athena.Types.NamedQuery: [$sel:description:NamedQuery'] :: NamedQuery -> Maybe Text
+ Amazonka.Athena.Types.NamedQuery: [$sel:name:NamedQuery'] :: NamedQuery -> Text
+ Amazonka.Athena.Types.NamedQuery: [$sel:namedQueryId:NamedQuery'] :: NamedQuery -> Maybe Text
+ Amazonka.Athena.Types.NamedQuery: [$sel:queryString:NamedQuery'] :: NamedQuery -> Text
+ Amazonka.Athena.Types.NamedQuery: [$sel:workGroup:NamedQuery'] :: NamedQuery -> Maybe Text
+ Amazonka.Athena.Types.NamedQuery: data NamedQuery
+ Amazonka.Athena.Types.NamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.Types.NamedQuery.NamedQuery
+ Amazonka.Athena.Types.NamedQuery: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.NamedQuery.NamedQuery
+ Amazonka.Athena.Types.NamedQuery: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.NamedQuery.NamedQuery
+ Amazonka.Athena.Types.NamedQuery: instance GHC.Classes.Eq Amazonka.Athena.Types.NamedQuery.NamedQuery
+ Amazonka.Athena.Types.NamedQuery: instance GHC.Generics.Generic Amazonka.Athena.Types.NamedQuery.NamedQuery
+ Amazonka.Athena.Types.NamedQuery: instance GHC.Read.Read Amazonka.Athena.Types.NamedQuery.NamedQuery
+ Amazonka.Athena.Types.NamedQuery: instance GHC.Show.Show Amazonka.Athena.Types.NamedQuery.NamedQuery
+ Amazonka.Athena.Types.NamedQuery: namedQuery_database :: Lens' NamedQuery Text
+ Amazonka.Athena.Types.NamedQuery: namedQuery_description :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Types.NamedQuery: namedQuery_name :: Lens' NamedQuery Text
+ Amazonka.Athena.Types.NamedQuery: namedQuery_namedQueryId :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Types.NamedQuery: namedQuery_queryString :: Lens' NamedQuery Text
+ Amazonka.Athena.Types.NamedQuery: namedQuery_workGroup :: Lens' NamedQuery (Maybe Text)
+ Amazonka.Athena.Types.NamedQuery: newNamedQuery :: Text -> Text -> Text -> NamedQuery
+ Amazonka.Athena.Types.NotebookMetadata: NotebookMetadata' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe NotebookType -> Maybe Text -> NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: [$sel:creationTime:NotebookMetadata'] :: NotebookMetadata -> Maybe POSIX
+ Amazonka.Athena.Types.NotebookMetadata: [$sel:lastModifiedTime:NotebookMetadata'] :: NotebookMetadata -> Maybe POSIX
+ Amazonka.Athena.Types.NotebookMetadata: [$sel:name:NotebookMetadata'] :: NotebookMetadata -> Maybe Text
+ Amazonka.Athena.Types.NotebookMetadata: [$sel:notebookId:NotebookMetadata'] :: NotebookMetadata -> Maybe Text
+ Amazonka.Athena.Types.NotebookMetadata: [$sel:type':NotebookMetadata'] :: NotebookMetadata -> Maybe NotebookType
+ Amazonka.Athena.Types.NotebookMetadata: [$sel:workGroup:NotebookMetadata'] :: NotebookMetadata -> Maybe Text
+ Amazonka.Athena.Types.NotebookMetadata: data NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.Types.NotebookMetadata.NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.NotebookMetadata.NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.NotebookMetadata.NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: instance GHC.Classes.Eq Amazonka.Athena.Types.NotebookMetadata.NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: instance GHC.Generics.Generic Amazonka.Athena.Types.NotebookMetadata.NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: instance GHC.Read.Read Amazonka.Athena.Types.NotebookMetadata.NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: instance GHC.Show.Show Amazonka.Athena.Types.NotebookMetadata.NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: newNotebookMetadata :: NotebookMetadata
+ Amazonka.Athena.Types.NotebookMetadata: notebookMetadata_creationTime :: Lens' NotebookMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types.NotebookMetadata: notebookMetadata_lastModifiedTime :: Lens' NotebookMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types.NotebookMetadata: notebookMetadata_name :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Types.NotebookMetadata: notebookMetadata_notebookId :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Types.NotebookMetadata: notebookMetadata_type :: Lens' NotebookMetadata (Maybe NotebookType)
+ Amazonka.Athena.Types.NotebookMetadata: notebookMetadata_workGroup :: Lens' NotebookMetadata (Maybe Text)
+ Amazonka.Athena.Types.NotebookSessionSummary: NotebookSessionSummary' :: Maybe POSIX -> Maybe Text -> NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: [$sel:creationTime:NotebookSessionSummary'] :: NotebookSessionSummary -> Maybe POSIX
+ Amazonka.Athena.Types.NotebookSessionSummary: [$sel:sessionId:NotebookSessionSummary'] :: NotebookSessionSummary -> Maybe Text
+ Amazonka.Athena.Types.NotebookSessionSummary: data NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: instance Control.DeepSeq.NFData Amazonka.Athena.Types.NotebookSessionSummary.NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.NotebookSessionSummary.NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.NotebookSessionSummary.NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: instance GHC.Classes.Eq Amazonka.Athena.Types.NotebookSessionSummary.NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: instance GHC.Generics.Generic Amazonka.Athena.Types.NotebookSessionSummary.NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: instance GHC.Read.Read Amazonka.Athena.Types.NotebookSessionSummary.NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: instance GHC.Show.Show Amazonka.Athena.Types.NotebookSessionSummary.NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: newNotebookSessionSummary :: NotebookSessionSummary
+ Amazonka.Athena.Types.NotebookSessionSummary: notebookSessionSummary_creationTime :: Lens' NotebookSessionSummary (Maybe UTCTime)
+ Amazonka.Athena.Types.NotebookSessionSummary: notebookSessionSummary_sessionId :: Lens' NotebookSessionSummary (Maybe Text)
+ Amazonka.Athena.Types.NotebookType: NotebookType' :: Text -> NotebookType
+ Amazonka.Athena.Types.NotebookType: [fromNotebookType] :: NotebookType -> Text
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Control.DeepSeq.NFData Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance GHC.Classes.Eq Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance GHC.Classes.Ord Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance GHC.Generics.Generic Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance GHC.Read.Read Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: instance GHC.Show.Show Amazonka.Athena.Types.NotebookType.NotebookType
+ Amazonka.Athena.Types.NotebookType: newtype NotebookType
+ Amazonka.Athena.Types.NotebookType: pattern NotebookType_IPYNB :: NotebookType
+ Amazonka.Athena.Types.PreparedStatement: PreparedStatement' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: [$sel:description:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types.PreparedStatement: [$sel:lastModifiedTime:PreparedStatement'] :: PreparedStatement -> Maybe POSIX
+ Amazonka.Athena.Types.PreparedStatement: [$sel:queryStatement:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types.PreparedStatement: [$sel:statementName:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types.PreparedStatement: [$sel:workGroupName:PreparedStatement'] :: PreparedStatement -> Maybe Text
+ Amazonka.Athena.Types.PreparedStatement: data PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.Types.PreparedStatement.PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.PreparedStatement.PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.PreparedStatement.PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.Types.PreparedStatement.PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.Types.PreparedStatement.PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: instance GHC.Read.Read Amazonka.Athena.Types.PreparedStatement.PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: instance GHC.Show.Show Amazonka.Athena.Types.PreparedStatement.PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: newPreparedStatement :: PreparedStatement
+ Amazonka.Athena.Types.PreparedStatement: preparedStatement_description :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types.PreparedStatement: preparedStatement_lastModifiedTime :: Lens' PreparedStatement (Maybe UTCTime)
+ Amazonka.Athena.Types.PreparedStatement: preparedStatement_queryStatement :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types.PreparedStatement: preparedStatement_statementName :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types.PreparedStatement: preparedStatement_workGroupName :: Lens' PreparedStatement (Maybe Text)
+ Amazonka.Athena.Types.PreparedStatementSummary: PreparedStatementSummary' :: Maybe POSIX -> Maybe Text -> PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: [$sel:lastModifiedTime:PreparedStatementSummary'] :: PreparedStatementSummary -> Maybe POSIX
+ Amazonka.Athena.Types.PreparedStatementSummary: [$sel:statementName:PreparedStatementSummary'] :: PreparedStatementSummary -> Maybe Text
+ Amazonka.Athena.Types.PreparedStatementSummary: data PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: instance Control.DeepSeq.NFData Amazonka.Athena.Types.PreparedStatementSummary.PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.PreparedStatementSummary.PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.PreparedStatementSummary.PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: instance GHC.Classes.Eq Amazonka.Athena.Types.PreparedStatementSummary.PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: instance GHC.Generics.Generic Amazonka.Athena.Types.PreparedStatementSummary.PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: instance GHC.Read.Read Amazonka.Athena.Types.PreparedStatementSummary.PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: instance GHC.Show.Show Amazonka.Athena.Types.PreparedStatementSummary.PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: newPreparedStatementSummary :: PreparedStatementSummary
+ Amazonka.Athena.Types.PreparedStatementSummary: preparedStatementSummary_lastModifiedTime :: Lens' PreparedStatementSummary (Maybe UTCTime)
+ Amazonka.Athena.Types.PreparedStatementSummary: preparedStatementSummary_statementName :: Lens' PreparedStatementSummary (Maybe Text)
+ Amazonka.Athena.Types.QueryExecution: QueryExecution' :: Maybe EngineVersion -> Maybe (NonEmpty Text) -> Maybe Text -> Maybe QueryExecutionContext -> Maybe Text -> Maybe ResultConfiguration -> Maybe ResultReuseConfiguration -> Maybe StatementType -> Maybe QueryExecutionStatistics -> Maybe QueryExecutionStatus -> Maybe Text -> QueryExecution
+ Amazonka.Athena.Types.QueryExecution: [$sel:engineVersion:QueryExecution'] :: QueryExecution -> Maybe EngineVersion
+ Amazonka.Athena.Types.QueryExecution: [$sel:executionParameters:QueryExecution'] :: QueryExecution -> Maybe (NonEmpty Text)
+ Amazonka.Athena.Types.QueryExecution: [$sel:query:QueryExecution'] :: QueryExecution -> Maybe Text
+ Amazonka.Athena.Types.QueryExecution: [$sel:queryExecutionContext:QueryExecution'] :: QueryExecution -> Maybe QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecution: [$sel:queryExecutionId:QueryExecution'] :: QueryExecution -> Maybe Text
+ Amazonka.Athena.Types.QueryExecution: [$sel:resultConfiguration:QueryExecution'] :: QueryExecution -> Maybe ResultConfiguration
+ Amazonka.Athena.Types.QueryExecution: [$sel:resultReuseConfiguration:QueryExecution'] :: QueryExecution -> Maybe ResultReuseConfiguration
+ Amazonka.Athena.Types.QueryExecution: [$sel:statementType:QueryExecution'] :: QueryExecution -> Maybe StatementType
+ Amazonka.Athena.Types.QueryExecution: [$sel:statistics:QueryExecution'] :: QueryExecution -> Maybe QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecution: [$sel:status:QueryExecution'] :: QueryExecution -> Maybe QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecution: [$sel:workGroup:QueryExecution'] :: QueryExecution -> Maybe Text
+ Amazonka.Athena.Types.QueryExecution: data QueryExecution
+ Amazonka.Athena.Types.QueryExecution: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryExecution.QueryExecution
+ Amazonka.Athena.Types.QueryExecution: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryExecution.QueryExecution
+ Amazonka.Athena.Types.QueryExecution: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryExecution.QueryExecution
+ Amazonka.Athena.Types.QueryExecution: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryExecution.QueryExecution
+ Amazonka.Athena.Types.QueryExecution: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryExecution.QueryExecution
+ Amazonka.Athena.Types.QueryExecution: instance GHC.Read.Read Amazonka.Athena.Types.QueryExecution.QueryExecution
+ Amazonka.Athena.Types.QueryExecution: instance GHC.Show.Show Amazonka.Athena.Types.QueryExecution.QueryExecution
+ Amazonka.Athena.Types.QueryExecution: newQueryExecution :: QueryExecution
+ Amazonka.Athena.Types.QueryExecution: queryExecution_engineVersion :: Lens' QueryExecution (Maybe EngineVersion)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_executionParameters :: Lens' QueryExecution (Maybe (NonEmpty Text))
+ Amazonka.Athena.Types.QueryExecution: queryExecution_query :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_queryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_queryExecutionId :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_resultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_resultReuseConfiguration :: Lens' QueryExecution (Maybe ResultReuseConfiguration)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_statementType :: Lens' QueryExecution (Maybe StatementType)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_statistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_status :: Lens' QueryExecution (Maybe QueryExecutionStatus)
+ Amazonka.Athena.Types.QueryExecution: queryExecution_workGroup :: Lens' QueryExecution (Maybe Text)
+ Amazonka.Athena.Types.QueryExecutionContext: QueryExecutionContext' :: Maybe Text -> Maybe Text -> QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: [$sel:catalog:QueryExecutionContext'] :: QueryExecutionContext -> Maybe Text
+ Amazonka.Athena.Types.QueryExecutionContext: [$sel:database:QueryExecutionContext'] :: QueryExecutionContext -> Maybe Text
+ Amazonka.Athena.Types.QueryExecutionContext: data QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance GHC.Read.Read Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: instance GHC.Show.Show Amazonka.Athena.Types.QueryExecutionContext.QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: newQueryExecutionContext :: QueryExecutionContext
+ Amazonka.Athena.Types.QueryExecutionContext: queryExecutionContext_catalog :: Lens' QueryExecutionContext (Maybe Text)
+ Amazonka.Athena.Types.QueryExecutionContext: queryExecutionContext_database :: Lens' QueryExecutionContext (Maybe Text)
+ Amazonka.Athena.Types.QueryExecutionState: QueryExecutionState' :: Text -> QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: [fromQueryExecutionState] :: QueryExecutionState -> Text
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance GHC.Classes.Ord Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance GHC.Read.Read Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: instance GHC.Show.Show Amazonka.Athena.Types.QueryExecutionState.QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: newtype QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: pattern QueryExecutionState_CANCELLED :: QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: pattern QueryExecutionState_FAILED :: QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: pattern QueryExecutionState_QUEUED :: QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: pattern QueryExecutionState_RUNNING :: QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionState: pattern QueryExecutionState_SUCCEEDED :: QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionStatistics: QueryExecutionStatistics' :: Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe ResultReuseInformation -> Maybe Integer -> Maybe Integer -> QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:dataManifestLocation:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Text
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:dataScannedInBytes:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:engineExecutionTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:queryPlanningTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:queryQueueTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:resultReuseInformation:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe ResultReuseInformation
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:serviceProcessingTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types.QueryExecutionStatistics: [$sel:totalExecutionTimeInMillis:QueryExecutionStatistics'] :: QueryExecutionStatistics -> Maybe Integer
+ Amazonka.Athena.Types.QueryExecutionStatistics: data QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryExecutionStatistics.QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryExecutionStatistics.QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryExecutionStatistics.QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryExecutionStatistics.QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryExecutionStatistics.QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: instance GHC.Read.Read Amazonka.Athena.Types.QueryExecutionStatistics.QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: instance GHC.Show.Show Amazonka.Athena.Types.QueryExecutionStatistics.QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: newQueryExecutionStatistics :: QueryExecutionStatistics
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_dataManifestLocation :: Lens' QueryExecutionStatistics (Maybe Text)
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_dataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_engineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_queryPlanningTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_queryQueueTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_resultReuseInformation :: Lens' QueryExecutionStatistics (Maybe ResultReuseInformation)
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_serviceProcessingTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types.QueryExecutionStatistics: queryExecutionStatistics_totalExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)
+ Amazonka.Athena.Types.QueryExecutionStatus: QueryExecutionStatus' :: Maybe AthenaError -> Maybe POSIX -> Maybe QueryExecutionState -> Maybe Text -> Maybe POSIX -> QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: [$sel:athenaError:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe AthenaError
+ Amazonka.Athena.Types.QueryExecutionStatus: [$sel:completionDateTime:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe POSIX
+ Amazonka.Athena.Types.QueryExecutionStatus: [$sel:state:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe QueryExecutionState
+ Amazonka.Athena.Types.QueryExecutionStatus: [$sel:stateChangeReason:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe Text
+ Amazonka.Athena.Types.QueryExecutionStatus: [$sel:submissionDateTime:QueryExecutionStatus'] :: QueryExecutionStatus -> Maybe POSIX
+ Amazonka.Athena.Types.QueryExecutionStatus: data QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryExecutionStatus.QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryExecutionStatus.QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryExecutionStatus.QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryExecutionStatus.QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryExecutionStatus.QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: instance GHC.Read.Read Amazonka.Athena.Types.QueryExecutionStatus.QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: instance GHC.Show.Show Amazonka.Athena.Types.QueryExecutionStatus.QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: newQueryExecutionStatus :: QueryExecutionStatus
+ Amazonka.Athena.Types.QueryExecutionStatus: queryExecutionStatus_athenaError :: Lens' QueryExecutionStatus (Maybe AthenaError)
+ Amazonka.Athena.Types.QueryExecutionStatus: queryExecutionStatus_completionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.QueryExecutionStatus: queryExecutionStatus_state :: Lens' QueryExecutionStatus (Maybe QueryExecutionState)
+ Amazonka.Athena.Types.QueryExecutionStatus: queryExecutionStatus_stateChangeReason :: Lens' QueryExecutionStatus (Maybe Text)
+ Amazonka.Athena.Types.QueryExecutionStatus: queryExecutionStatus_submissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.QueryRuntimeStatistics: QueryRuntimeStatistics' :: Maybe QueryStage -> Maybe QueryRuntimeStatisticsRows -> Maybe QueryRuntimeStatisticsTimeline -> QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: [$sel:outputStage:QueryRuntimeStatistics'] :: QueryRuntimeStatistics -> Maybe QueryStage
+ Amazonka.Athena.Types.QueryRuntimeStatistics: [$sel:rows:QueryRuntimeStatistics'] :: QueryRuntimeStatistics -> Maybe QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatistics: [$sel:timeline:QueryRuntimeStatistics'] :: QueryRuntimeStatistics -> Maybe QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatistics: data QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryRuntimeStatistics.QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryRuntimeStatistics.QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryRuntimeStatistics.QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryRuntimeStatistics.QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryRuntimeStatistics.QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: instance GHC.Read.Read Amazonka.Athena.Types.QueryRuntimeStatistics.QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: instance GHC.Show.Show Amazonka.Athena.Types.QueryRuntimeStatistics.QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: newQueryRuntimeStatistics :: QueryRuntimeStatistics
+ Amazonka.Athena.Types.QueryRuntimeStatistics: queryRuntimeStatistics_outputStage :: Lens' QueryRuntimeStatistics (Maybe QueryStage)
+ Amazonka.Athena.Types.QueryRuntimeStatistics: queryRuntimeStatistics_rows :: Lens' QueryRuntimeStatistics (Maybe QueryRuntimeStatisticsRows)
+ Amazonka.Athena.Types.QueryRuntimeStatistics: queryRuntimeStatistics_timeline :: Lens' QueryRuntimeStatistics (Maybe QueryRuntimeStatisticsTimeline)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: QueryRuntimeStatisticsRows' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: [$sel:inputBytes:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: [$sel:inputRows:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: [$sel:outputBytes:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: [$sel:outputRows:QueryRuntimeStatisticsRows'] :: QueryRuntimeStatisticsRows -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: data QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryRuntimeStatisticsRows.QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryRuntimeStatisticsRows.QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryRuntimeStatisticsRows.QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryRuntimeStatisticsRows.QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryRuntimeStatisticsRows.QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: instance GHC.Read.Read Amazonka.Athena.Types.QueryRuntimeStatisticsRows.QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: instance GHC.Show.Show Amazonka.Athena.Types.QueryRuntimeStatisticsRows.QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: newQueryRuntimeStatisticsRows :: QueryRuntimeStatisticsRows
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: queryRuntimeStatisticsRows_inputBytes :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: queryRuntimeStatisticsRows_inputRows :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: queryRuntimeStatisticsRows_outputBytes :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows: queryRuntimeStatisticsRows_outputRows :: Lens' QueryRuntimeStatisticsRows (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: QueryRuntimeStatisticsTimeline' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: [$sel:engineExecutionTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: [$sel:queryPlanningTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: [$sel:queryQueueTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: [$sel:serviceProcessingTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: [$sel:totalExecutionTimeInMillis:QueryRuntimeStatisticsTimeline'] :: QueryRuntimeStatisticsTimeline -> Maybe Integer
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: data QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline.QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline.QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline.QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline.QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline.QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: instance GHC.Read.Read Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline.QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: instance GHC.Show.Show Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline.QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: newQueryRuntimeStatisticsTimeline :: QueryRuntimeStatisticsTimeline
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: queryRuntimeStatisticsTimeline_queryQueueTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline: queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis :: Lens' QueryRuntimeStatisticsTimeline (Maybe Integer)
+ Amazonka.Athena.Types.QueryStage: QueryStage' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe QueryStagePlanNode -> Maybe Integer -> Maybe Text -> Maybe [QueryStage] -> QueryStage
+ Amazonka.Athena.Types.QueryStage: [$sel:executionTime:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types.QueryStage: [$sel:inputBytes:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types.QueryStage: [$sel:inputRows:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types.QueryStage: [$sel:outputBytes:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types.QueryStage: [$sel:outputRows:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types.QueryStage: [$sel:queryStagePlan:QueryStage'] :: QueryStage -> Maybe QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStage: [$sel:stageId:QueryStage'] :: QueryStage -> Maybe Integer
+ Amazonka.Athena.Types.QueryStage: [$sel:state:QueryStage'] :: QueryStage -> Maybe Text
+ Amazonka.Athena.Types.QueryStage: [$sel:subStages:QueryStage'] :: QueryStage -> Maybe [QueryStage]
+ Amazonka.Athena.Types.QueryStage: data QueryStage
+ Amazonka.Athena.Types.QueryStage: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryStage.QueryStage
+ Amazonka.Athena.Types.QueryStage: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryStage.QueryStage
+ Amazonka.Athena.Types.QueryStage: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryStage.QueryStage
+ Amazonka.Athena.Types.QueryStage: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryStage.QueryStage
+ Amazonka.Athena.Types.QueryStage: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryStage.QueryStage
+ Amazonka.Athena.Types.QueryStage: instance GHC.Read.Read Amazonka.Athena.Types.QueryStage.QueryStage
+ Amazonka.Athena.Types.QueryStage: instance GHC.Show.Show Amazonka.Athena.Types.QueryStage.QueryStage
+ Amazonka.Athena.Types.QueryStage: newQueryStage :: QueryStage
+ Amazonka.Athena.Types.QueryStage: queryStage_executionTime :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types.QueryStage: queryStage_inputBytes :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types.QueryStage: queryStage_inputRows :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types.QueryStage: queryStage_outputBytes :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types.QueryStage: queryStage_outputRows :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types.QueryStage: queryStage_queryStagePlan :: Lens' QueryStage (Maybe QueryStagePlanNode)
+ Amazonka.Athena.Types.QueryStage: queryStage_stageId :: Lens' QueryStage (Maybe Integer)
+ Amazonka.Athena.Types.QueryStage: queryStage_state :: Lens' QueryStage (Maybe Text)
+ Amazonka.Athena.Types.QueryStage: queryStage_subStages :: Lens' QueryStage (Maybe [QueryStage])
+ Amazonka.Athena.Types.QueryStagePlanNode: QueryStagePlanNode' :: Maybe [QueryStagePlanNode] -> Maybe Text -> Maybe Text -> Maybe [Text] -> QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: [$sel:children:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe [QueryStagePlanNode]
+ Amazonka.Athena.Types.QueryStagePlanNode: [$sel:identifier:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe Text
+ Amazonka.Athena.Types.QueryStagePlanNode: [$sel:name:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe Text
+ Amazonka.Athena.Types.QueryStagePlanNode: [$sel:remoteSources:QueryStagePlanNode'] :: QueryStagePlanNode -> Maybe [Text]
+ Amazonka.Athena.Types.QueryStagePlanNode: data QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: instance Control.DeepSeq.NFData Amazonka.Athena.Types.QueryStagePlanNode.QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.QueryStagePlanNode.QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.QueryStagePlanNode.QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: instance GHC.Classes.Eq Amazonka.Athena.Types.QueryStagePlanNode.QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: instance GHC.Generics.Generic Amazonka.Athena.Types.QueryStagePlanNode.QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: instance GHC.Read.Read Amazonka.Athena.Types.QueryStagePlanNode.QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: instance GHC.Show.Show Amazonka.Athena.Types.QueryStagePlanNode.QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: newQueryStagePlanNode :: QueryStagePlanNode
+ Amazonka.Athena.Types.QueryStagePlanNode: queryStagePlanNode_children :: Lens' QueryStagePlanNode (Maybe [QueryStagePlanNode])
+ Amazonka.Athena.Types.QueryStagePlanNode: queryStagePlanNode_identifier :: Lens' QueryStagePlanNode (Maybe Text)
+ Amazonka.Athena.Types.QueryStagePlanNode: queryStagePlanNode_name :: Lens' QueryStagePlanNode (Maybe Text)
+ Amazonka.Athena.Types.QueryStagePlanNode: queryStagePlanNode_remoteSources :: Lens' QueryStagePlanNode (Maybe [Text])
+ Amazonka.Athena.Types.ResultConfiguration: ResultConfiguration' :: Maybe AclConfiguration -> Maybe EncryptionConfiguration -> Maybe Text -> Maybe Text -> ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: [$sel:aclConfiguration:ResultConfiguration'] :: ResultConfiguration -> Maybe AclConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: [$sel:encryptionConfiguration:ResultConfiguration'] :: ResultConfiguration -> Maybe EncryptionConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: [$sel:expectedBucketOwner:ResultConfiguration'] :: ResultConfiguration -> Maybe Text
+ Amazonka.Athena.Types.ResultConfiguration: [$sel:outputLocation:ResultConfiguration'] :: ResultConfiguration -> Maybe Text
+ Amazonka.Athena.Types.ResultConfiguration: data ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.ResultConfiguration.ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: newResultConfiguration :: ResultConfiguration
+ Amazonka.Athena.Types.ResultConfiguration: resultConfiguration_aclConfiguration :: Lens' ResultConfiguration (Maybe AclConfiguration)
+ Amazonka.Athena.Types.ResultConfiguration: resultConfiguration_encryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Types.ResultConfiguration: resultConfiguration_expectedBucketOwner :: Lens' ResultConfiguration (Maybe Text)
+ Amazonka.Athena.Types.ResultConfiguration: resultConfiguration_outputLocation :: Lens' ResultConfiguration (Maybe Text)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: ResultConfigurationUpdates' :: Maybe AclConfiguration -> Maybe EncryptionConfiguration -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:aclConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe AclConfiguration
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:encryptionConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe EncryptionConfiguration
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:expectedBucketOwner:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:outputLocation:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:removeAclConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:removeEncryptionConfiguration:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:removeExpectedBucketOwner:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.ResultConfigurationUpdates: [$sel:removeOutputLocation:ResultConfigurationUpdates'] :: ResultConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.ResultConfigurationUpdates: data ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ResultConfigurationUpdates.ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.ResultConfigurationUpdates.ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ResultConfigurationUpdates.ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: instance GHC.Classes.Eq Amazonka.Athena.Types.ResultConfigurationUpdates.ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: instance GHC.Generics.Generic Amazonka.Athena.Types.ResultConfigurationUpdates.ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: instance GHC.Read.Read Amazonka.Athena.Types.ResultConfigurationUpdates.ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: instance GHC.Show.Show Amazonka.Athena.Types.ResultConfigurationUpdates.ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: newResultConfigurationUpdates :: ResultConfigurationUpdates
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_aclConfiguration :: Lens' ResultConfigurationUpdates (Maybe AclConfiguration)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_encryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_expectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_outputLocation :: Lens' ResultConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_removeAclConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_removeEncryptionConfiguration :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_removeExpectedBucketOwner :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.ResultConfigurationUpdates: resultConfigurationUpdates_removeOutputLocation :: Lens' ResultConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: ResultReuseByAgeConfiguration' :: Maybe Natural -> Bool -> ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: [$sel:enabled:ResultReuseByAgeConfiguration'] :: ResultReuseByAgeConfiguration -> Bool
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: [$sel:maxAgeInMinutes:ResultReuseByAgeConfiguration'] :: ResultReuseByAgeConfiguration -> Maybe Natural
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: data ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.ResultReuseByAgeConfiguration.ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: newResultReuseByAgeConfiguration :: Bool -> ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: resultReuseByAgeConfiguration_enabled :: Lens' ResultReuseByAgeConfiguration Bool
+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration: resultReuseByAgeConfiguration_maxAgeInMinutes :: Lens' ResultReuseByAgeConfiguration (Maybe Natural)
+ Amazonka.Athena.Types.ResultReuseConfiguration: ResultReuseConfiguration' :: Maybe ResultReuseByAgeConfiguration -> ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: [$sel:resultReuseByAgeConfiguration:ResultReuseConfiguration'] :: ResultReuseConfiguration -> Maybe ResultReuseByAgeConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: data ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.ResultReuseConfiguration.ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: newResultReuseConfiguration :: ResultReuseConfiguration
+ Amazonka.Athena.Types.ResultReuseConfiguration: resultReuseConfiguration_resultReuseByAgeConfiguration :: Lens' ResultReuseConfiguration (Maybe ResultReuseByAgeConfiguration)
+ Amazonka.Athena.Types.ResultReuseInformation: ResultReuseInformation' :: Bool -> ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: [$sel:reusedPreviousResult:ResultReuseInformation'] :: ResultReuseInformation -> Bool
+ Amazonka.Athena.Types.ResultReuseInformation: data ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ResultReuseInformation.ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ResultReuseInformation.ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ResultReuseInformation.ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: instance GHC.Classes.Eq Amazonka.Athena.Types.ResultReuseInformation.ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: instance GHC.Generics.Generic Amazonka.Athena.Types.ResultReuseInformation.ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: instance GHC.Read.Read Amazonka.Athena.Types.ResultReuseInformation.ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: instance GHC.Show.Show Amazonka.Athena.Types.ResultReuseInformation.ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: newResultReuseInformation :: Bool -> ResultReuseInformation
+ Amazonka.Athena.Types.ResultReuseInformation: resultReuseInformation_reusedPreviousResult :: Lens' ResultReuseInformation Bool
+ Amazonka.Athena.Types.ResultSet: ResultSet' :: Maybe ResultSetMetadata -> Maybe [Row] -> ResultSet
+ Amazonka.Athena.Types.ResultSet: [$sel:resultSetMetadata:ResultSet'] :: ResultSet -> Maybe ResultSetMetadata
+ Amazonka.Athena.Types.ResultSet: [$sel:rows:ResultSet'] :: ResultSet -> Maybe [Row]
+ Amazonka.Athena.Types.ResultSet: data ResultSet
+ Amazonka.Athena.Types.ResultSet: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ResultSet.ResultSet
+ Amazonka.Athena.Types.ResultSet: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ResultSet.ResultSet
+ Amazonka.Athena.Types.ResultSet: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ResultSet.ResultSet
+ Amazonka.Athena.Types.ResultSet: instance GHC.Classes.Eq Amazonka.Athena.Types.ResultSet.ResultSet
+ Amazonka.Athena.Types.ResultSet: instance GHC.Generics.Generic Amazonka.Athena.Types.ResultSet.ResultSet
+ Amazonka.Athena.Types.ResultSet: instance GHC.Read.Read Amazonka.Athena.Types.ResultSet.ResultSet
+ Amazonka.Athena.Types.ResultSet: instance GHC.Show.Show Amazonka.Athena.Types.ResultSet.ResultSet
+ Amazonka.Athena.Types.ResultSet: newResultSet :: ResultSet
+ Amazonka.Athena.Types.ResultSet: resultSet_resultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata)
+ Amazonka.Athena.Types.ResultSet: resultSet_rows :: Lens' ResultSet (Maybe [Row])
+ Amazonka.Athena.Types.ResultSetMetadata: ResultSetMetadata' :: Maybe [ColumnInfo] -> ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: [$sel:columnInfo:ResultSetMetadata'] :: ResultSetMetadata -> Maybe [ColumnInfo]
+ Amazonka.Athena.Types.ResultSetMetadata: data ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.Types.ResultSetMetadata.ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.ResultSetMetadata.ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.ResultSetMetadata.ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: instance GHC.Classes.Eq Amazonka.Athena.Types.ResultSetMetadata.ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: instance GHC.Generics.Generic Amazonka.Athena.Types.ResultSetMetadata.ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: instance GHC.Read.Read Amazonka.Athena.Types.ResultSetMetadata.ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: instance GHC.Show.Show Amazonka.Athena.Types.ResultSetMetadata.ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: newResultSetMetadata :: ResultSetMetadata
+ Amazonka.Athena.Types.ResultSetMetadata: resultSetMetadata_columnInfo :: Lens' ResultSetMetadata (Maybe [ColumnInfo])
+ Amazonka.Athena.Types.Row: Row' :: Maybe [Datum] -> Row
+ Amazonka.Athena.Types.Row: [$sel:data':Row'] :: Row -> Maybe [Datum]
+ Amazonka.Athena.Types.Row: data Row
+ Amazonka.Athena.Types.Row: instance Control.DeepSeq.NFData Amazonka.Athena.Types.Row.Row
+ Amazonka.Athena.Types.Row: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.Row.Row
+ Amazonka.Athena.Types.Row: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.Row.Row
+ Amazonka.Athena.Types.Row: instance GHC.Classes.Eq Amazonka.Athena.Types.Row.Row
+ Amazonka.Athena.Types.Row: instance GHC.Generics.Generic Amazonka.Athena.Types.Row.Row
+ Amazonka.Athena.Types.Row: instance GHC.Read.Read Amazonka.Athena.Types.Row.Row
+ Amazonka.Athena.Types.Row: instance GHC.Show.Show Amazonka.Athena.Types.Row.Row
+ Amazonka.Athena.Types.Row: newRow :: Row
+ Amazonka.Athena.Types.Row: row_data :: Lens' Row (Maybe [Datum])
+ Amazonka.Athena.Types.S3AclOption: S3AclOption' :: Text -> S3AclOption
+ Amazonka.Athena.Types.S3AclOption: [fromS3AclOption] :: S3AclOption -> Text
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Control.DeepSeq.NFData Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance GHC.Classes.Eq Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance GHC.Classes.Ord Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance GHC.Generics.Generic Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance GHC.Read.Read Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: instance GHC.Show.Show Amazonka.Athena.Types.S3AclOption.S3AclOption
+ Amazonka.Athena.Types.S3AclOption: newtype S3AclOption
+ Amazonka.Athena.Types.S3AclOption: pattern S3AclOption_BUCKET_OWNER_FULL_CONTROL :: S3AclOption
+ Amazonka.Athena.Types.SessionConfiguration: SessionConfiguration' :: Maybe EncryptionConfiguration -> Maybe Text -> Maybe Integer -> Maybe Text -> SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: [$sel:encryptionConfiguration:SessionConfiguration'] :: SessionConfiguration -> Maybe EncryptionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: [$sel:executionRole:SessionConfiguration'] :: SessionConfiguration -> Maybe Text
+ Amazonka.Athena.Types.SessionConfiguration: [$sel:idleTimeoutSeconds:SessionConfiguration'] :: SessionConfiguration -> Maybe Integer
+ Amazonka.Athena.Types.SessionConfiguration: [$sel:workingDirectory:SessionConfiguration'] :: SessionConfiguration -> Maybe Text
+ Amazonka.Athena.Types.SessionConfiguration: data SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.SessionConfiguration.SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.SessionConfiguration.SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.SessionConfiguration.SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.SessionConfiguration.SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.SessionConfiguration.SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.SessionConfiguration.SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.SessionConfiguration.SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: newSessionConfiguration :: SessionConfiguration
+ Amazonka.Athena.Types.SessionConfiguration: sessionConfiguration_encryptionConfiguration :: Lens' SessionConfiguration (Maybe EncryptionConfiguration)
+ Amazonka.Athena.Types.SessionConfiguration: sessionConfiguration_executionRole :: Lens' SessionConfiguration (Maybe Text)
+ Amazonka.Athena.Types.SessionConfiguration: sessionConfiguration_idleTimeoutSeconds :: Lens' SessionConfiguration (Maybe Integer)
+ Amazonka.Athena.Types.SessionConfiguration: sessionConfiguration_workingDirectory :: Lens' SessionConfiguration (Maybe Text)
+ Amazonka.Athena.Types.SessionState: SessionState' :: Text -> SessionState
+ Amazonka.Athena.Types.SessionState: [fromSessionState] :: SessionState -> Text
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Control.DeepSeq.NFData Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance GHC.Classes.Eq Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance GHC.Classes.Ord Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance GHC.Generics.Generic Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance GHC.Read.Read Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: instance GHC.Show.Show Amazonka.Athena.Types.SessionState.SessionState
+ Amazonka.Athena.Types.SessionState: newtype SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_BUSY :: SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_CREATED :: SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_CREATING :: SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_DEGRADED :: SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_FAILED :: SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_IDLE :: SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_TERMINATED :: SessionState
+ Amazonka.Athena.Types.SessionState: pattern SessionState_TERMINATING :: SessionState
+ Amazonka.Athena.Types.SessionStatistics: SessionStatistics' :: Maybe Integer -> SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: [$sel:dpuExecutionInMillis:SessionStatistics'] :: SessionStatistics -> Maybe Integer
+ Amazonka.Athena.Types.SessionStatistics: data SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: instance Control.DeepSeq.NFData Amazonka.Athena.Types.SessionStatistics.SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.SessionStatistics.SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.SessionStatistics.SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: instance GHC.Classes.Eq Amazonka.Athena.Types.SessionStatistics.SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: instance GHC.Generics.Generic Amazonka.Athena.Types.SessionStatistics.SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: instance GHC.Read.Read Amazonka.Athena.Types.SessionStatistics.SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: instance GHC.Show.Show Amazonka.Athena.Types.SessionStatistics.SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: newSessionStatistics :: SessionStatistics
+ Amazonka.Athena.Types.SessionStatistics: sessionStatistics_dpuExecutionInMillis :: Lens' SessionStatistics (Maybe Integer)
+ Amazonka.Athena.Types.SessionStatus: SessionStatus' :: Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe SessionState -> Maybe Text -> SessionStatus
+ Amazonka.Athena.Types.SessionStatus: [$sel:endDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types.SessionStatus: [$sel:idleSinceDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types.SessionStatus: [$sel:lastModifiedDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types.SessionStatus: [$sel:startDateTime:SessionStatus'] :: SessionStatus -> Maybe POSIX
+ Amazonka.Athena.Types.SessionStatus: [$sel:state:SessionStatus'] :: SessionStatus -> Maybe SessionState
+ Amazonka.Athena.Types.SessionStatus: [$sel:stateChangeReason:SessionStatus'] :: SessionStatus -> Maybe Text
+ Amazonka.Athena.Types.SessionStatus: data SessionStatus
+ Amazonka.Athena.Types.SessionStatus: instance Control.DeepSeq.NFData Amazonka.Athena.Types.SessionStatus.SessionStatus
+ Amazonka.Athena.Types.SessionStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.SessionStatus.SessionStatus
+ Amazonka.Athena.Types.SessionStatus: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.SessionStatus.SessionStatus
+ Amazonka.Athena.Types.SessionStatus: instance GHC.Classes.Eq Amazonka.Athena.Types.SessionStatus.SessionStatus
+ Amazonka.Athena.Types.SessionStatus: instance GHC.Generics.Generic Amazonka.Athena.Types.SessionStatus.SessionStatus
+ Amazonka.Athena.Types.SessionStatus: instance GHC.Read.Read Amazonka.Athena.Types.SessionStatus.SessionStatus
+ Amazonka.Athena.Types.SessionStatus: instance GHC.Show.Show Amazonka.Athena.Types.SessionStatus.SessionStatus
+ Amazonka.Athena.Types.SessionStatus: newSessionStatus :: SessionStatus
+ Amazonka.Athena.Types.SessionStatus: sessionStatus_endDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.SessionStatus: sessionStatus_idleSinceDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.SessionStatus: sessionStatus_lastModifiedDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.SessionStatus: sessionStatus_startDateTime :: Lens' SessionStatus (Maybe UTCTime)
+ Amazonka.Athena.Types.SessionStatus: sessionStatus_state :: Lens' SessionStatus (Maybe SessionState)
+ Amazonka.Athena.Types.SessionStatus: sessionStatus_stateChangeReason :: Lens' SessionStatus (Maybe Text)
+ Amazonka.Athena.Types.SessionSummary: SessionSummary' :: Maybe Text -> Maybe EngineVersion -> Maybe Text -> Maybe Text -> Maybe SessionStatus -> SessionSummary
+ Amazonka.Athena.Types.SessionSummary: [$sel:description:SessionSummary'] :: SessionSummary -> Maybe Text
+ Amazonka.Athena.Types.SessionSummary: [$sel:engineVersion:SessionSummary'] :: SessionSummary -> Maybe EngineVersion
+ Amazonka.Athena.Types.SessionSummary: [$sel:notebookVersion:SessionSummary'] :: SessionSummary -> Maybe Text
+ Amazonka.Athena.Types.SessionSummary: [$sel:sessionId:SessionSummary'] :: SessionSummary -> Maybe Text
+ Amazonka.Athena.Types.SessionSummary: [$sel:status:SessionSummary'] :: SessionSummary -> Maybe SessionStatus
+ Amazonka.Athena.Types.SessionSummary: data SessionSummary
+ Amazonka.Athena.Types.SessionSummary: instance Control.DeepSeq.NFData Amazonka.Athena.Types.SessionSummary.SessionSummary
+ Amazonka.Athena.Types.SessionSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.SessionSummary.SessionSummary
+ Amazonka.Athena.Types.SessionSummary: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.SessionSummary.SessionSummary
+ Amazonka.Athena.Types.SessionSummary: instance GHC.Classes.Eq Amazonka.Athena.Types.SessionSummary.SessionSummary
+ Amazonka.Athena.Types.SessionSummary: instance GHC.Generics.Generic Amazonka.Athena.Types.SessionSummary.SessionSummary
+ Amazonka.Athena.Types.SessionSummary: instance GHC.Read.Read Amazonka.Athena.Types.SessionSummary.SessionSummary
+ Amazonka.Athena.Types.SessionSummary: instance GHC.Show.Show Amazonka.Athena.Types.SessionSummary.SessionSummary
+ Amazonka.Athena.Types.SessionSummary: newSessionSummary :: SessionSummary
+ Amazonka.Athena.Types.SessionSummary: sessionSummary_description :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Types.SessionSummary: sessionSummary_engineVersion :: Lens' SessionSummary (Maybe EngineVersion)
+ Amazonka.Athena.Types.SessionSummary: sessionSummary_notebookVersion :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Types.SessionSummary: sessionSummary_sessionId :: Lens' SessionSummary (Maybe Text)
+ Amazonka.Athena.Types.SessionSummary: sessionSummary_status :: Lens' SessionSummary (Maybe SessionStatus)
+ Amazonka.Athena.Types.StatementType: StatementType' :: Text -> StatementType
+ Amazonka.Athena.Types.StatementType: [fromStatementType] :: StatementType -> Text
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Control.DeepSeq.NFData Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance GHC.Classes.Eq Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance GHC.Classes.Ord Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance GHC.Generics.Generic Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance GHC.Read.Read Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: instance GHC.Show.Show Amazonka.Athena.Types.StatementType.StatementType
+ Amazonka.Athena.Types.StatementType: newtype StatementType
+ Amazonka.Athena.Types.StatementType: pattern StatementType_DDL :: StatementType
+ Amazonka.Athena.Types.StatementType: pattern StatementType_DML :: StatementType
+ Amazonka.Athena.Types.StatementType: pattern StatementType_UTILITY :: StatementType
+ Amazonka.Athena.Types.TableMetadata: TableMetadata' :: Maybe [Column] -> Maybe POSIX -> Maybe POSIX -> Maybe (HashMap Text Text) -> Maybe [Column] -> Maybe Text -> Text -> TableMetadata
+ Amazonka.Athena.Types.TableMetadata: [$sel:columns:TableMetadata'] :: TableMetadata -> Maybe [Column]
+ Amazonka.Athena.Types.TableMetadata: [$sel:createTime:TableMetadata'] :: TableMetadata -> Maybe POSIX
+ Amazonka.Athena.Types.TableMetadata: [$sel:lastAccessTime:TableMetadata'] :: TableMetadata -> Maybe POSIX
+ Amazonka.Athena.Types.TableMetadata: [$sel:name:TableMetadata'] :: TableMetadata -> Text
+ Amazonka.Athena.Types.TableMetadata: [$sel:parameters:TableMetadata'] :: TableMetadata -> Maybe (HashMap Text Text)
+ Amazonka.Athena.Types.TableMetadata: [$sel:partitionKeys:TableMetadata'] :: TableMetadata -> Maybe [Column]
+ Amazonka.Athena.Types.TableMetadata: [$sel:tableType:TableMetadata'] :: TableMetadata -> Maybe Text
+ Amazonka.Athena.Types.TableMetadata: data TableMetadata
+ Amazonka.Athena.Types.TableMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.Types.TableMetadata.TableMetadata
+ Amazonka.Athena.Types.TableMetadata: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.TableMetadata.TableMetadata
+ Amazonka.Athena.Types.TableMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.TableMetadata.TableMetadata
+ Amazonka.Athena.Types.TableMetadata: instance GHC.Classes.Eq Amazonka.Athena.Types.TableMetadata.TableMetadata
+ Amazonka.Athena.Types.TableMetadata: instance GHC.Generics.Generic Amazonka.Athena.Types.TableMetadata.TableMetadata
+ Amazonka.Athena.Types.TableMetadata: instance GHC.Read.Read Amazonka.Athena.Types.TableMetadata.TableMetadata
+ Amazonka.Athena.Types.TableMetadata: instance GHC.Show.Show Amazonka.Athena.Types.TableMetadata.TableMetadata
+ Amazonka.Athena.Types.TableMetadata: newTableMetadata :: Text -> TableMetadata
+ Amazonka.Athena.Types.TableMetadata: tableMetadata_columns :: Lens' TableMetadata (Maybe [Column])
+ Amazonka.Athena.Types.TableMetadata: tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types.TableMetadata: tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime)
+ Amazonka.Athena.Types.TableMetadata: tableMetadata_name :: Lens' TableMetadata Text
+ Amazonka.Athena.Types.TableMetadata: tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text))
+ Amazonka.Athena.Types.TableMetadata: tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column])
+ Amazonka.Athena.Types.TableMetadata: tableMetadata_tableType :: Lens' TableMetadata (Maybe Text)
+ Amazonka.Athena.Types.Tag: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.Athena.Types.Tag: [$sel:key:Tag'] :: Tag -> Maybe Text
+ Amazonka.Athena.Types.Tag: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.Athena.Types.Tag: data Tag
+ Amazonka.Athena.Types.Tag: instance Control.DeepSeq.NFData Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: instance GHC.Classes.Eq Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: instance GHC.Generics.Generic Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: instance GHC.Read.Read Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: instance GHC.Show.Show Amazonka.Athena.Types.Tag.Tag
+ Amazonka.Athena.Types.Tag: newTag :: Tag
+ Amazonka.Athena.Types.Tag: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.Athena.Types.Tag: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: UnprocessedNamedQueryId' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: [$sel:errorCode:UnprocessedNamedQueryId'] :: UnprocessedNamedQueryId -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: [$sel:errorMessage:UnprocessedNamedQueryId'] :: UnprocessedNamedQueryId -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: [$sel:namedQueryId:UnprocessedNamedQueryId'] :: UnprocessedNamedQueryId -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: data UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: instance Control.DeepSeq.NFData Amazonka.Athena.Types.UnprocessedNamedQueryId.UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.UnprocessedNamedQueryId.UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.UnprocessedNamedQueryId.UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: instance GHC.Classes.Eq Amazonka.Athena.Types.UnprocessedNamedQueryId.UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: instance GHC.Generics.Generic Amazonka.Athena.Types.UnprocessedNamedQueryId.UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: instance GHC.Read.Read Amazonka.Athena.Types.UnprocessedNamedQueryId.UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: instance GHC.Show.Show Amazonka.Athena.Types.UnprocessedNamedQueryId.UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: newUnprocessedNamedQueryId :: UnprocessedNamedQueryId
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: unprocessedNamedQueryId_errorCode :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: unprocessedNamedQueryId_errorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedNamedQueryId: unprocessedNamedQueryId_namedQueryId :: Lens' UnprocessedNamedQueryId (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: UnprocessedPreparedStatementName' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: [$sel:errorCode:UnprocessedPreparedStatementName'] :: UnprocessedPreparedStatementName -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: [$sel:errorMessage:UnprocessedPreparedStatementName'] :: UnprocessedPreparedStatementName -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: [$sel:statementName:UnprocessedPreparedStatementName'] :: UnprocessedPreparedStatementName -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: data UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: instance Control.DeepSeq.NFData Amazonka.Athena.Types.UnprocessedPreparedStatementName.UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.UnprocessedPreparedStatementName.UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.UnprocessedPreparedStatementName.UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: instance GHC.Classes.Eq Amazonka.Athena.Types.UnprocessedPreparedStatementName.UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: instance GHC.Generics.Generic Amazonka.Athena.Types.UnprocessedPreparedStatementName.UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: instance GHC.Read.Read Amazonka.Athena.Types.UnprocessedPreparedStatementName.UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: instance GHC.Show.Show Amazonka.Athena.Types.UnprocessedPreparedStatementName.UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: newUnprocessedPreparedStatementName :: UnprocessedPreparedStatementName
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: unprocessedPreparedStatementName_errorCode :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: unprocessedPreparedStatementName_errorMessage :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedPreparedStatementName: unprocessedPreparedStatementName_statementName :: Lens' UnprocessedPreparedStatementName (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: UnprocessedQueryExecutionId' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: [$sel:errorCode:UnprocessedQueryExecutionId'] :: UnprocessedQueryExecutionId -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: [$sel:errorMessage:UnprocessedQueryExecutionId'] :: UnprocessedQueryExecutionId -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: [$sel:queryExecutionId:UnprocessedQueryExecutionId'] :: UnprocessedQueryExecutionId -> Maybe Text
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: data UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: instance Control.DeepSeq.NFData Amazonka.Athena.Types.UnprocessedQueryExecutionId.UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.UnprocessedQueryExecutionId.UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.UnprocessedQueryExecutionId.UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: instance GHC.Classes.Eq Amazonka.Athena.Types.UnprocessedQueryExecutionId.UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: instance GHC.Generics.Generic Amazonka.Athena.Types.UnprocessedQueryExecutionId.UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: instance GHC.Read.Read Amazonka.Athena.Types.UnprocessedQueryExecutionId.UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: instance GHC.Show.Show Amazonka.Athena.Types.UnprocessedQueryExecutionId.UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: newUnprocessedQueryExecutionId :: UnprocessedQueryExecutionId
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: unprocessedQueryExecutionId_errorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: unprocessedQueryExecutionId_errorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Types.UnprocessedQueryExecutionId: unprocessedQueryExecutionId_queryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text)
+ Amazonka.Athena.Types.WorkGroup: WorkGroup' :: Maybe WorkGroupConfiguration -> Maybe POSIX -> Maybe Text -> Maybe WorkGroupState -> Text -> WorkGroup
+ Amazonka.Athena.Types.WorkGroup: [$sel:configuration:WorkGroup'] :: WorkGroup -> Maybe WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroup: [$sel:creationTime:WorkGroup'] :: WorkGroup -> Maybe POSIX
+ Amazonka.Athena.Types.WorkGroup: [$sel:description:WorkGroup'] :: WorkGroup -> Maybe Text
+ Amazonka.Athena.Types.WorkGroup: [$sel:name:WorkGroup'] :: WorkGroup -> Text
+ Amazonka.Athena.Types.WorkGroup: [$sel:state:WorkGroup'] :: WorkGroup -> Maybe WorkGroupState
+ Amazonka.Athena.Types.WorkGroup: data WorkGroup
+ Amazonka.Athena.Types.WorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.Types.WorkGroup.WorkGroup
+ Amazonka.Athena.Types.WorkGroup: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.WorkGroup.WorkGroup
+ Amazonka.Athena.Types.WorkGroup: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.WorkGroup.WorkGroup
+ Amazonka.Athena.Types.WorkGroup: instance GHC.Classes.Eq Amazonka.Athena.Types.WorkGroup.WorkGroup
+ Amazonka.Athena.Types.WorkGroup: instance GHC.Generics.Generic Amazonka.Athena.Types.WorkGroup.WorkGroup
+ Amazonka.Athena.Types.WorkGroup: instance GHC.Read.Read Amazonka.Athena.Types.WorkGroup.WorkGroup
+ Amazonka.Athena.Types.WorkGroup: instance GHC.Show.Show Amazonka.Athena.Types.WorkGroup.WorkGroup
+ Amazonka.Athena.Types.WorkGroup: newWorkGroup :: Text -> WorkGroup
+ Amazonka.Athena.Types.WorkGroup: workGroup_configuration :: Lens' WorkGroup (Maybe WorkGroupConfiguration)
+ Amazonka.Athena.Types.WorkGroup: workGroup_creationTime :: Lens' WorkGroup (Maybe UTCTime)
+ Amazonka.Athena.Types.WorkGroup: workGroup_description :: Lens' WorkGroup (Maybe Text)
+ Amazonka.Athena.Types.WorkGroup: workGroup_name :: Lens' WorkGroup Text
+ Amazonka.Athena.Types.WorkGroup: workGroup_state :: Lens' WorkGroup (Maybe WorkGroupState)
+ Amazonka.Athena.Types.WorkGroupConfiguration: WorkGroupConfiguration' :: Maybe Text -> Maybe Natural -> Maybe CustomerContentEncryptionConfiguration -> Maybe Bool -> Maybe EngineVersion -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe ResultConfiguration -> WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:additionalConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Text
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:bytesScannedCutoffPerQuery:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Natural
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:customerContentEncryptionConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:enforceWorkGroupConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:engineVersion:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe EngineVersion
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:executionRole:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Text
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:publishCloudWatchMetricsEnabled:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:requesterPaysEnabled:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfiguration: [$sel:resultConfiguration:WorkGroupConfiguration'] :: WorkGroupConfiguration -> Maybe ResultConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: data WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance Control.DeepSeq.NFData Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance GHC.Classes.Eq Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance GHC.Generics.Generic Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance GHC.Read.Read Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: instance GHC.Show.Show Amazonka.Athena.Types.WorkGroupConfiguration.WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: newWorkGroupConfiguration :: WorkGroupConfiguration
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_additionalConfiguration :: Lens' WorkGroupConfiguration (Maybe Text)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfiguration (Maybe Natural)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_customerContentEncryptionConfiguration :: Lens' WorkGroupConfiguration (Maybe CustomerContentEncryptionConfiguration)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_enforceWorkGroupConfiguration :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_engineVersion :: Lens' WorkGroupConfiguration (Maybe EngineVersion)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_executionRole :: Lens' WorkGroupConfiguration (Maybe Text)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_requesterPaysEnabled :: Lens' WorkGroupConfiguration (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfiguration: workGroupConfiguration_resultConfiguration :: Lens' WorkGroupConfiguration (Maybe ResultConfiguration)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: WorkGroupConfigurationUpdates' :: Maybe Text -> Maybe Natural -> Maybe CustomerContentEncryptionConfiguration -> Maybe Bool -> Maybe EngineVersion -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe ResultConfigurationUpdates -> WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:additionalConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:bytesScannedCutoffPerQuery:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Natural
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:customerContentEncryptionConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe CustomerContentEncryptionConfiguration
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:enforceWorkGroupConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:engineVersion:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe EngineVersion
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:executionRole:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Text
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:publishCloudWatchMetricsEnabled:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:removeBytesScannedCutoffPerQuery:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:removeCustomerContentEncryptionConfiguration:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:requesterPaysEnabled:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe Bool
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: [$sel:resultConfigurationUpdates:WorkGroupConfigurationUpdates'] :: WorkGroupConfigurationUpdates -> Maybe ResultConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: data WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: instance Control.DeepSeq.NFData Amazonka.Athena.Types.WorkGroupConfigurationUpdates.WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.WorkGroupConfigurationUpdates.WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.WorkGroupConfigurationUpdates.WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: instance GHC.Classes.Eq Amazonka.Athena.Types.WorkGroupConfigurationUpdates.WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: instance GHC.Generics.Generic Amazonka.Athena.Types.WorkGroupConfigurationUpdates.WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: instance GHC.Read.Read Amazonka.Athena.Types.WorkGroupConfigurationUpdates.WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: instance GHC.Show.Show Amazonka.Athena.Types.WorkGroupConfigurationUpdates.WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: newWorkGroupConfigurationUpdates :: WorkGroupConfigurationUpdates
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_additionalConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_bytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Natural)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_customerContentEncryptionConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe CustomerContentEncryptionConfiguration)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_enforceWorkGroupConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_engineVersion :: Lens' WorkGroupConfigurationUpdates (Maybe EngineVersion)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_executionRole :: Lens' WorkGroupConfigurationUpdates (Maybe Text)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_requesterPaysEnabled :: Lens' WorkGroupConfigurationUpdates (Maybe Bool)
+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates: workGroupConfigurationUpdates_resultConfigurationUpdates :: Lens' WorkGroupConfigurationUpdates (Maybe ResultConfigurationUpdates)
+ Amazonka.Athena.Types.WorkGroupState: WorkGroupState' :: Text -> WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: [fromWorkGroupState] :: WorkGroupState -> Text
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.Headers.ToHeader Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.Log.ToLog Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.Text.FromText Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.Text.ToText Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.XML.FromXML Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Amazonka.Data.XML.ToXML Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Control.DeepSeq.NFData Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance GHC.Classes.Eq Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance GHC.Classes.Ord Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance GHC.Generics.Generic Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance GHC.Read.Read Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: instance GHC.Show.Show Amazonka.Athena.Types.WorkGroupState.WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: newtype WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: pattern WorkGroupState_DISABLED :: WorkGroupState
+ Amazonka.Athena.Types.WorkGroupState: pattern WorkGroupState_ENABLED :: WorkGroupState
+ Amazonka.Athena.Types.WorkGroupSummary: WorkGroupSummary' :: Maybe POSIX -> Maybe Text -> Maybe EngineVersion -> Maybe Text -> Maybe WorkGroupState -> WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: [$sel:creationTime:WorkGroupSummary'] :: WorkGroupSummary -> Maybe POSIX
+ Amazonka.Athena.Types.WorkGroupSummary: [$sel:description:WorkGroupSummary'] :: WorkGroupSummary -> Maybe Text
+ Amazonka.Athena.Types.WorkGroupSummary: [$sel:engineVersion:WorkGroupSummary'] :: WorkGroupSummary -> Maybe EngineVersion
+ Amazonka.Athena.Types.WorkGroupSummary: [$sel:name:WorkGroupSummary'] :: WorkGroupSummary -> Maybe Text
+ Amazonka.Athena.Types.WorkGroupSummary: [$sel:state:WorkGroupSummary'] :: WorkGroupSummary -> Maybe WorkGroupState
+ Amazonka.Athena.Types.WorkGroupSummary: data WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: instance Control.DeepSeq.NFData Amazonka.Athena.Types.WorkGroupSummary.WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Athena.Types.WorkGroupSummary.WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: instance Data.Hashable.Class.Hashable Amazonka.Athena.Types.WorkGroupSummary.WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: instance GHC.Classes.Eq Amazonka.Athena.Types.WorkGroupSummary.WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: instance GHC.Generics.Generic Amazonka.Athena.Types.WorkGroupSummary.WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: instance GHC.Read.Read Amazonka.Athena.Types.WorkGroupSummary.WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: instance GHC.Show.Show Amazonka.Athena.Types.WorkGroupSummary.WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: newWorkGroupSummary :: WorkGroupSummary
+ Amazonka.Athena.Types.WorkGroupSummary: workGroupSummary_creationTime :: Lens' WorkGroupSummary (Maybe UTCTime)
+ Amazonka.Athena.Types.WorkGroupSummary: workGroupSummary_description :: Lens' WorkGroupSummary (Maybe Text)
+ Amazonka.Athena.Types.WorkGroupSummary: workGroupSummary_engineVersion :: Lens' WorkGroupSummary (Maybe EngineVersion)
+ Amazonka.Athena.Types.WorkGroupSummary: workGroupSummary_name :: Lens' WorkGroupSummary (Maybe Text)
+ Amazonka.Athena.Types.WorkGroupSummary: workGroupSummary_state :: Lens' WorkGroupSummary (Maybe WorkGroupState)
+ Amazonka.Athena.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.Athena.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.Athena.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.Athena.UntagResource: [$sel:resourceARN:UntagResource'] :: UntagResource -> Text
+ Amazonka.Athena.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.Athena.UntagResource: data UntagResource
+ Amazonka.Athena.UntagResource: data UntagResourceResponse
+ Amazonka.Athena.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance Control.DeepSeq.NFData Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance Control.DeepSeq.NFData Amazonka.Athena.UntagResource.UntagResourceResponse
+ Amazonka.Athena.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance GHC.Classes.Eq Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance GHC.Classes.Eq Amazonka.Athena.UntagResource.UntagResourceResponse
+ Amazonka.Athena.UntagResource: instance GHC.Generics.Generic Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance GHC.Generics.Generic Amazonka.Athena.UntagResource.UntagResourceResponse
+ Amazonka.Athena.UntagResource: instance GHC.Read.Read Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance GHC.Read.Read Amazonka.Athena.UntagResource.UntagResourceResponse
+ Amazonka.Athena.UntagResource: instance GHC.Show.Show Amazonka.Athena.UntagResource.UntagResource
+ Amazonka.Athena.UntagResource: instance GHC.Show.Show Amazonka.Athena.UntagResource.UntagResourceResponse
+ Amazonka.Athena.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.Athena.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.Athena.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.Athena.UntagResource: untagResource_resourceARN :: Lens' UntagResource Text
+ Amazonka.Athena.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.Athena.UpdateDataCatalog: UpdateDataCatalog' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> DataCatalogType -> UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: UpdateDataCatalogResponse' :: Int -> UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: [$sel:description:UpdateDataCatalog'] :: UpdateDataCatalog -> Maybe Text
+ Amazonka.Athena.UpdateDataCatalog: [$sel:httpStatus:UpdateDataCatalogResponse'] :: UpdateDataCatalogResponse -> Int
+ Amazonka.Athena.UpdateDataCatalog: [$sel:name:UpdateDataCatalog'] :: UpdateDataCatalog -> Text
+ Amazonka.Athena.UpdateDataCatalog: [$sel:parameters:UpdateDataCatalog'] :: UpdateDataCatalog -> Maybe (HashMap Text Text)
+ Amazonka.Athena.UpdateDataCatalog: [$sel:type':UpdateDataCatalog'] :: UpdateDataCatalog -> DataCatalogType
+ Amazonka.Athena.UpdateDataCatalog: data UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: data UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance Amazonka.Data.Path.ToPath Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance Amazonka.Types.AWSRequest Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance Data.Hashable.Class.Hashable Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Classes.Eq Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Generics.Generic Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Read.Read Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Read.Read Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Show.Show Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: instance GHC.Show.Show Amazonka.Athena.UpdateDataCatalog.UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: newUpdateDataCatalog :: Text -> DataCatalogType -> UpdateDataCatalog
+ Amazonka.Athena.UpdateDataCatalog: newUpdateDataCatalogResponse :: Int -> UpdateDataCatalogResponse
+ Amazonka.Athena.UpdateDataCatalog: updateDataCatalogResponse_httpStatus :: Lens' UpdateDataCatalogResponse Int
+ Amazonka.Athena.UpdateDataCatalog: updateDataCatalog_description :: Lens' UpdateDataCatalog (Maybe Text)
+ Amazonka.Athena.UpdateDataCatalog: updateDataCatalog_name :: Lens' UpdateDataCatalog Text
+ Amazonka.Athena.UpdateDataCatalog: updateDataCatalog_parameters :: Lens' UpdateDataCatalog (Maybe (HashMap Text Text))
+ Amazonka.Athena.UpdateDataCatalog: updateDataCatalog_type :: Lens' UpdateDataCatalog DataCatalogType
+ Amazonka.Athena.UpdateNamedQuery: UpdateNamedQuery' :: Maybe Text -> Text -> Text -> Text -> UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: UpdateNamedQueryResponse' :: Int -> UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: [$sel:description:UpdateNamedQuery'] :: UpdateNamedQuery -> Maybe Text
+ Amazonka.Athena.UpdateNamedQuery: [$sel:httpStatus:UpdateNamedQueryResponse'] :: UpdateNamedQueryResponse -> Int
+ Amazonka.Athena.UpdateNamedQuery: [$sel:name:UpdateNamedQuery'] :: UpdateNamedQuery -> Text
+ Amazonka.Athena.UpdateNamedQuery: [$sel:namedQueryId:UpdateNamedQuery'] :: UpdateNamedQuery -> Text
+ Amazonka.Athena.UpdateNamedQuery: [$sel:queryString:UpdateNamedQuery'] :: UpdateNamedQuery -> Text
+ Amazonka.Athena.UpdateNamedQuery: data UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: data UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance Amazonka.Data.Path.ToPath Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance Amazonka.Types.AWSRequest Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateNamedQuery.UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance Data.Hashable.Class.Hashable Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Classes.Eq Amazonka.Athena.UpdateNamedQuery.UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Generics.Generic Amazonka.Athena.UpdateNamedQuery.UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Read.Read Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Read.Read Amazonka.Athena.UpdateNamedQuery.UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Show.Show Amazonka.Athena.UpdateNamedQuery.UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: instance GHC.Show.Show Amazonka.Athena.UpdateNamedQuery.UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: newUpdateNamedQuery :: Text -> Text -> Text -> UpdateNamedQuery
+ Amazonka.Athena.UpdateNamedQuery: newUpdateNamedQueryResponse :: Int -> UpdateNamedQueryResponse
+ Amazonka.Athena.UpdateNamedQuery: updateNamedQueryResponse_httpStatus :: Lens' UpdateNamedQueryResponse Int
+ Amazonka.Athena.UpdateNamedQuery: updateNamedQuery_description :: Lens' UpdateNamedQuery (Maybe Text)
+ Amazonka.Athena.UpdateNamedQuery: updateNamedQuery_name :: Lens' UpdateNamedQuery Text
+ Amazonka.Athena.UpdateNamedQuery: updateNamedQuery_namedQueryId :: Lens' UpdateNamedQuery Text
+ Amazonka.Athena.UpdateNamedQuery: updateNamedQuery_queryString :: Lens' UpdateNamedQuery Text
+ Amazonka.Athena.UpdateNotebook: UpdateNotebook' :: Maybe Text -> Maybe Text -> Text -> Text -> NotebookType -> UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: UpdateNotebookResponse' :: Int -> UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: [$sel:clientRequestToken:UpdateNotebook'] :: UpdateNotebook -> Maybe Text
+ Amazonka.Athena.UpdateNotebook: [$sel:httpStatus:UpdateNotebookResponse'] :: UpdateNotebookResponse -> Int
+ Amazonka.Athena.UpdateNotebook: [$sel:notebookId:UpdateNotebook'] :: UpdateNotebook -> Text
+ Amazonka.Athena.UpdateNotebook: [$sel:payload:UpdateNotebook'] :: UpdateNotebook -> Text
+ Amazonka.Athena.UpdateNotebook: [$sel:sessionId:UpdateNotebook'] :: UpdateNotebook -> Maybe Text
+ Amazonka.Athena.UpdateNotebook: [$sel:type':UpdateNotebook'] :: UpdateNotebook -> NotebookType
+ Amazonka.Athena.UpdateNotebook: data UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: data UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance Amazonka.Data.Path.ToPath Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance Amazonka.Types.AWSRequest Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateNotebook.UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance Data.Hashable.Class.Hashable Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance GHC.Classes.Eq Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance GHC.Classes.Eq Amazonka.Athena.UpdateNotebook.UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: instance GHC.Generics.Generic Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance GHC.Generics.Generic Amazonka.Athena.UpdateNotebook.UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: instance GHC.Read.Read Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance GHC.Read.Read Amazonka.Athena.UpdateNotebook.UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: instance GHC.Show.Show Amazonka.Athena.UpdateNotebook.UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: instance GHC.Show.Show Amazonka.Athena.UpdateNotebook.UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: newUpdateNotebook :: Text -> Text -> NotebookType -> UpdateNotebook
+ Amazonka.Athena.UpdateNotebook: newUpdateNotebookResponse :: Int -> UpdateNotebookResponse
+ Amazonka.Athena.UpdateNotebook: updateNotebookResponse_httpStatus :: Lens' UpdateNotebookResponse Int
+ Amazonka.Athena.UpdateNotebook: updateNotebook_clientRequestToken :: Lens' UpdateNotebook (Maybe Text)
+ Amazonka.Athena.UpdateNotebook: updateNotebook_notebookId :: Lens' UpdateNotebook Text
+ Amazonka.Athena.UpdateNotebook: updateNotebook_payload :: Lens' UpdateNotebook Text
+ Amazonka.Athena.UpdateNotebook: updateNotebook_sessionId :: Lens' UpdateNotebook (Maybe Text)
+ Amazonka.Athena.UpdateNotebook: updateNotebook_type :: Lens' UpdateNotebook NotebookType
+ Amazonka.Athena.UpdateNotebookMetadata: UpdateNotebookMetadata' :: Maybe Text -> Text -> Text -> UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: UpdateNotebookMetadataResponse' :: Int -> UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: [$sel:clientRequestToken:UpdateNotebookMetadata'] :: UpdateNotebookMetadata -> Maybe Text
+ Amazonka.Athena.UpdateNotebookMetadata: [$sel:httpStatus:UpdateNotebookMetadataResponse'] :: UpdateNotebookMetadataResponse -> Int
+ Amazonka.Athena.UpdateNotebookMetadata: [$sel:name:UpdateNotebookMetadata'] :: UpdateNotebookMetadata -> Text
+ Amazonka.Athena.UpdateNotebookMetadata: [$sel:notebookId:UpdateNotebookMetadata'] :: UpdateNotebookMetadata -> Text
+ Amazonka.Athena.UpdateNotebookMetadata: data UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: data UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance Amazonka.Data.Path.ToPath Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance Amazonka.Types.AWSRequest Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance Data.Hashable.Class.Hashable Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Classes.Eq Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Classes.Eq Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Generics.Generic Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Generics.Generic Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Read.Read Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Read.Read Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Show.Show Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: instance GHC.Show.Show Amazonka.Athena.UpdateNotebookMetadata.UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: newUpdateNotebookMetadata :: Text -> Text -> UpdateNotebookMetadata
+ Amazonka.Athena.UpdateNotebookMetadata: newUpdateNotebookMetadataResponse :: Int -> UpdateNotebookMetadataResponse
+ Amazonka.Athena.UpdateNotebookMetadata: updateNotebookMetadataResponse_httpStatus :: Lens' UpdateNotebookMetadataResponse Int
+ Amazonka.Athena.UpdateNotebookMetadata: updateNotebookMetadata_clientRequestToken :: Lens' UpdateNotebookMetadata (Maybe Text)
+ Amazonka.Athena.UpdateNotebookMetadata: updateNotebookMetadata_name :: Lens' UpdateNotebookMetadata Text
+ Amazonka.Athena.UpdateNotebookMetadata: updateNotebookMetadata_notebookId :: Lens' UpdateNotebookMetadata Text
+ Amazonka.Athena.UpdatePreparedStatement: UpdatePreparedStatement' :: Maybe Text -> Text -> Text -> Text -> UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: UpdatePreparedStatementResponse' :: Int -> UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: [$sel:description:UpdatePreparedStatement'] :: UpdatePreparedStatement -> Maybe Text
+ Amazonka.Athena.UpdatePreparedStatement: [$sel:httpStatus:UpdatePreparedStatementResponse'] :: UpdatePreparedStatementResponse -> Int
+ Amazonka.Athena.UpdatePreparedStatement: [$sel:queryStatement:UpdatePreparedStatement'] :: UpdatePreparedStatement -> Text
+ Amazonka.Athena.UpdatePreparedStatement: [$sel:statementName:UpdatePreparedStatement'] :: UpdatePreparedStatement -> Text
+ Amazonka.Athena.UpdatePreparedStatement: [$sel:workGroup:UpdatePreparedStatement'] :: UpdatePreparedStatement -> Text
+ Amazonka.Athena.UpdatePreparedStatement: data UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: data UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance Amazonka.Data.Path.ToPath Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance Amazonka.Types.AWSRequest Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance Control.DeepSeq.NFData Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance Data.Hashable.Class.Hashable Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Classes.Eq Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Generics.Generic Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Read.Read Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Read.Read Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Show.Show Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: instance GHC.Show.Show Amazonka.Athena.UpdatePreparedStatement.UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: newUpdatePreparedStatement :: Text -> Text -> Text -> UpdatePreparedStatement
+ Amazonka.Athena.UpdatePreparedStatement: newUpdatePreparedStatementResponse :: Int -> UpdatePreparedStatementResponse
+ Amazonka.Athena.UpdatePreparedStatement: updatePreparedStatementResponse_httpStatus :: Lens' UpdatePreparedStatementResponse Int
+ Amazonka.Athena.UpdatePreparedStatement: updatePreparedStatement_description :: Lens' UpdatePreparedStatement (Maybe Text)
+ Amazonka.Athena.UpdatePreparedStatement: updatePreparedStatement_queryStatement :: Lens' UpdatePreparedStatement Text
+ Amazonka.Athena.UpdatePreparedStatement: updatePreparedStatement_statementName :: Lens' UpdatePreparedStatement Text
+ Amazonka.Athena.UpdatePreparedStatement: updatePreparedStatement_workGroup :: Lens' UpdatePreparedStatement Text
+ Amazonka.Athena.UpdateWorkGroup: UpdateWorkGroup' :: Maybe WorkGroupConfigurationUpdates -> Maybe Text -> Maybe WorkGroupState -> Text -> UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: UpdateWorkGroupResponse' :: Int -> UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: [$sel:configurationUpdates:UpdateWorkGroup'] :: UpdateWorkGroup -> Maybe WorkGroupConfigurationUpdates
+ Amazonka.Athena.UpdateWorkGroup: [$sel:description:UpdateWorkGroup'] :: UpdateWorkGroup -> Maybe Text
+ Amazonka.Athena.UpdateWorkGroup: [$sel:httpStatus:UpdateWorkGroupResponse'] :: UpdateWorkGroupResponse -> Int
+ Amazonka.Athena.UpdateWorkGroup: [$sel:state:UpdateWorkGroup'] :: UpdateWorkGroup -> Maybe WorkGroupState
+ Amazonka.Athena.UpdateWorkGroup: [$sel:workGroup:UpdateWorkGroup'] :: UpdateWorkGroup -> Text
+ Amazonka.Athena.UpdateWorkGroup: data UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: data UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance Amazonka.Data.Path.ToPath Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance Amazonka.Data.Query.ToQuery Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance Amazonka.Types.AWSRequest Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance Control.DeepSeq.NFData Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance Data.Hashable.Class.Hashable Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Classes.Eq Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Generics.Generic Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Read.Read Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Read.Read Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Show.Show Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: instance GHC.Show.Show Amazonka.Athena.UpdateWorkGroup.UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: newUpdateWorkGroup :: Text -> UpdateWorkGroup
+ Amazonka.Athena.UpdateWorkGroup: newUpdateWorkGroupResponse :: Int -> UpdateWorkGroupResponse
+ Amazonka.Athena.UpdateWorkGroup: updateWorkGroupResponse_httpStatus :: Lens' UpdateWorkGroupResponse Int
+ Amazonka.Athena.UpdateWorkGroup: updateWorkGroup_configurationUpdates :: Lens' UpdateWorkGroup (Maybe WorkGroupConfigurationUpdates)
+ Amazonka.Athena.UpdateWorkGroup: updateWorkGroup_description :: Lens' UpdateWorkGroup (Maybe Text)
+ Amazonka.Athena.UpdateWorkGroup: updateWorkGroup_state :: Lens' UpdateWorkGroup (Maybe WorkGroupState)
+ Amazonka.Athena.UpdateWorkGroup: updateWorkGroup_workGroup :: Lens' UpdateWorkGroup Text
Files
- README.md +3/−4
- Setup.hs +0/−2
- amazonka-athena.cabal +199/−85
- fixture/BatchGetPreparedStatement.yaml +10/−0
- fixture/BatchGetPreparedStatementResponse.proto +0/−0
- fixture/CreateDataCatalog.yaml +10/−0
- fixture/CreateDataCatalogResponse.proto +0/−0
- fixture/CreateNotebook.yaml +10/−0
- fixture/CreateNotebookResponse.proto +0/−0
- fixture/CreatePreparedStatement.yaml +10/−0
- fixture/CreatePreparedStatementResponse.proto +0/−0
- fixture/CreatePresignedNotebookUrl.yaml +10/−0
- fixture/CreatePresignedNotebookUrlResponse.proto +0/−0
- fixture/CreateWorkGroup.yaml +10/−0
- fixture/CreateWorkGroupResponse.proto +0/−0
- fixture/DeleteDataCatalog.yaml +10/−0
- fixture/DeleteDataCatalogResponse.proto +0/−0
- fixture/DeleteNotebook.yaml +10/−0
- fixture/DeleteNotebookResponse.proto +0/−0
- fixture/DeletePreparedStatement.yaml +10/−0
- fixture/DeletePreparedStatementResponse.proto +0/−0
- fixture/DeleteWorkGroup.yaml +10/−0
- fixture/DeleteWorkGroupResponse.proto +0/−0
- fixture/ExportNotebook.yaml +10/−0
- fixture/ExportNotebookResponse.proto +0/−0
- fixture/GetCalculationExecution.yaml +10/−0
- fixture/GetCalculationExecutionCode.yaml +10/−0
- fixture/GetCalculationExecutionCodeResponse.proto +0/−0
- fixture/GetCalculationExecutionResponse.proto +0/−0
- fixture/GetCalculationExecutionStatus.yaml +10/−0
- fixture/GetCalculationExecutionStatusResponse.proto +0/−0
- fixture/GetDataCatalog.yaml +10/−0
- fixture/GetDataCatalogResponse.proto +0/−0
- fixture/GetDatabase.yaml +10/−0
- fixture/GetDatabaseResponse.proto +0/−0
- fixture/GetNotebookMetadata.yaml +10/−0
- fixture/GetNotebookMetadataResponse.proto +0/−0
- fixture/GetPreparedStatement.yaml +10/−0
- fixture/GetPreparedStatementResponse.proto +0/−0
- fixture/GetQueryRuntimeStatistics.yaml +10/−0
- fixture/GetQueryRuntimeStatisticsResponse.proto +0/−0
- fixture/GetSession.yaml +10/−0
- fixture/GetSessionResponse.proto +0/−0
- fixture/GetSessionStatus.yaml +10/−0
- fixture/GetSessionStatusResponse.proto +0/−0
- fixture/GetTableMetadata.yaml +10/−0
- fixture/GetTableMetadataResponse.proto +0/−0
- fixture/GetWorkGroup.yaml +10/−0
- fixture/GetWorkGroupResponse.proto +0/−0
- fixture/ImportNotebook.yaml +10/−0
- fixture/ImportNotebookResponse.proto +0/−0
- fixture/ListApplicationDPUSizes.yaml +10/−0
- fixture/ListApplicationDPUSizesResponse.proto +0/−0
- fixture/ListCalculationExecutions.yaml +10/−0
- fixture/ListCalculationExecutionsResponse.proto +0/−0
- fixture/ListDataCatalogs.yaml +10/−0
- fixture/ListDataCatalogsResponse.proto +0/−0
- fixture/ListDatabases.yaml +10/−0
- fixture/ListDatabasesResponse.proto +0/−0
- fixture/ListEngineVersions.yaml +10/−0
- fixture/ListEngineVersionsResponse.proto +0/−0
- fixture/ListExecutors.yaml +10/−0
- fixture/ListExecutorsResponse.proto +0/−0
- fixture/ListNotebookMetadata.yaml +10/−0
- fixture/ListNotebookMetadataResponse.proto +0/−0
- fixture/ListNotebookSessions.yaml +10/−0
- fixture/ListNotebookSessionsResponse.proto +0/−0
- fixture/ListPreparedStatements.yaml +10/−0
- fixture/ListPreparedStatementsResponse.proto +0/−0
- fixture/ListSessions.yaml +10/−0
- fixture/ListSessionsResponse.proto +0/−0
- fixture/ListTableMetadata.yaml +10/−0
- fixture/ListTableMetadataResponse.proto +0/−0
- fixture/ListTagsForResource.yaml +10/−0
- fixture/ListTagsForResourceResponse.proto +0/−0
- fixture/ListWorkGroups.yaml +10/−0
- fixture/ListWorkGroupsResponse.proto +0/−0
- fixture/StartCalculationExecution.yaml +10/−0
- fixture/StartCalculationExecutionResponse.proto +0/−0
- fixture/StartSession.yaml +10/−0
- fixture/StartSessionResponse.proto +0/−0
- fixture/StopCalculationExecution.yaml +10/−0
- fixture/StopCalculationExecutionResponse.proto +0/−0
- fixture/TagResource.yaml +10/−0
- fixture/TagResourceResponse.proto +0/−0
- fixture/TerminateSession.yaml +10/−0
- fixture/TerminateSessionResponse.proto +0/−0
- fixture/UntagResource.yaml +10/−0
- fixture/UntagResourceResponse.proto +0/−0
- fixture/UpdateDataCatalog.yaml +10/−0
- fixture/UpdateDataCatalogResponse.proto +0/−0
- fixture/UpdateNamedQuery.yaml +10/−0
- fixture/UpdateNamedQueryResponse.proto +0/−0
- fixture/UpdateNotebook.yaml +10/−0
- fixture/UpdateNotebookMetadata.yaml +10/−0
- fixture/UpdateNotebookMetadataResponse.proto +0/−0
- fixture/UpdateNotebookResponse.proto +0/−0
- fixture/UpdatePreparedStatement.yaml +10/−0
- fixture/UpdatePreparedStatementResponse.proto +0/−0
- fixture/UpdateWorkGroup.yaml +10/−0
- fixture/UpdateWorkGroupResponse.proto +0/−0
- gen/Amazonka/Athena.hs +773/−0
- gen/Amazonka/Athena/BatchGetNamedQuery.hs +200/−0
- gen/Amazonka/Athena/BatchGetPreparedStatement.hs +220/−0
- gen/Amazonka/Athena/BatchGetQueryExecution.hs +204/−0
- gen/Amazonka/Athena/CreateDataCatalog.hs +355/−0
- gen/Amazonka/Athena/CreateNamedQuery.hs +279/−0
- gen/Amazonka/Athena/CreateNotebook.hs +232/−0
- gen/Amazonka/Athena/CreatePreparedStatement.hs +212/−0
- gen/Amazonka/Athena/CreatePresignedNotebookUrl.hs +215/−0
- gen/Amazonka/Athena/CreateWorkGroup.hs +224/−0
- gen/Amazonka/Athena/DeleteDataCatalog.hs +156/−0
- gen/Amazonka/Athena/DeleteNamedQuery.hs +161/−0
- gen/Amazonka/Athena/DeleteNotebook.hs +153/−0
- gen/Amazonka/Athena/DeletePreparedStatement.hs +184/−0
- gen/Amazonka/Athena/DeleteWorkGroup.hs +177/−0
- gen/Amazonka/Athena/ExportNotebook.hs +183/−0
- gen/Amazonka/Athena/GetCalculationExecution.hs +260/−0
- gen/Amazonka/Athena/GetCalculationExecutionCode.hs +181/−0
- gen/Amazonka/Athena/GetCalculationExecutionStatus.hs +198/−0
- gen/Amazonka/Athena/GetDataCatalog.hs +168/−0
- gen/Amazonka/Athena/GetDatabase.hs +183/−0
- gen/Amazonka/Athena/GetNamedQuery.hs +167/−0
- gen/Amazonka/Athena/GetNotebookMetadata.hs +168/−0
- gen/Amazonka/Athena/GetPreparedStatement.hs +191/−0
- gen/Amazonka/Athena/GetQueryExecution.hs +177/−0
- gen/Amazonka/Athena/GetQueryResults.hs +283/−0
- gen/Amazonka/Athena/GetQueryRuntimeStatistics.hs +182/−0
- gen/Amazonka/Athena/GetSession.hs +266/−0
- gen/Amazonka/Athena/GetSessionStatus.hs +180/−0
- gen/Amazonka/Athena/GetTableMetadata.hs +209/−0
- gen/Amazonka/Athena/GetWorkGroup.hs +163/−0
- gen/Amazonka/Athena/ImportNotebook.hs +256/−0
- gen/Amazonka/Athena/Lens.hs +883/−0
- gen/Amazonka/Athena/ListApplicationDPUSizes.hs +216/−0
- gen/Amazonka/Athena/ListCalculationExecutions.hs +305/−0
- gen/Amazonka/Athena/ListDataCatalogs.hs +241/−0
- gen/Amazonka/Athena/ListDatabases.hs +251/−0
- gen/Amazonka/Athena/ListEngineVersions.hs +215/−0
- gen/Amazonka/Athena/ListExecutors.hs +303/−0
- gen/Amazonka/Athena/ListNamedQueries.hs +265/−0
- gen/Amazonka/Athena/ListNotebookMetadata.hs +243/−0
- gen/Amazonka/Athena/ListNotebookSessions.hs +235/−0
- gen/Amazonka/Athena/ListPreparedStatements.hs +236/−0
- gen/Amazonka/Athena/ListQueryExecutions.hs +256/−0
- gen/Amazonka/Athena/ListSessions.hs +299/−0
- gen/Amazonka/Athena/ListTableMetadata.hs +291/−0
- gen/Amazonka/Athena/ListTagsForResource.hs +245/−0
- gen/Amazonka/Athena/ListWorkGroups.hs +217/−0
- gen/Amazonka/Athena/StartCalculationExecution.hs +323/−0
- gen/Amazonka/Athena/StartQueryExecution.hs +317/−0
- gen/Amazonka/Athena/StartSession.hs +348/−0
- gen/Amazonka/Athena/StopCalculationExecution.hs +235/−0
- gen/Amazonka/Athena/StopQueryExecution.hs +167/−0
- gen/Amazonka/Athena/TagResource.hs +184/−0
- gen/Amazonka/Athena/TerminateSession.hs +228/−0
- gen/Amazonka/Athena/Types.hs +691/−0
- gen/Amazonka/Athena/Types/AclConfiguration.hs +104/−0
- gen/Amazonka/Athena/Types/ApplicationDPUSizes.hs +91/−0
- gen/Amazonka/Athena/Types/AthenaError.hs +143/−0
- gen/Amazonka/Athena/Types/CalculationConfiguration.hs +70/−0
- gen/Amazonka/Athena/Types/CalculationExecutionState.hs +101/−0
- gen/Amazonka/Athena/Types/CalculationResult.hs +111/−0
- gen/Amazonka/Athena/Types/CalculationStatistics.hs +88/−0
- gen/Amazonka/Athena/Types/CalculationStatus.hs +170/−0
- gen/Amazonka/Athena/Types/CalculationSummary.hs +98/−0
- gen/Amazonka/Athena/Types/Column.hs +98/−0
- gen/Amazonka/Athena/Types/ColumnInfo.hs +191/−0
- gen/Amazonka/Athena/Types/ColumnNullable.hs +76/−0
- gen/Amazonka/Athena/Types/CustomerContentEncryptionConfiguration.hs +96/−0
- gen/Amazonka/Athena/Types/DataCatalog.hs +237/−0
- gen/Amazonka/Athena/Types/DataCatalogSummary.hs +95/−0
- gen/Amazonka/Athena/Types/DataCatalogType.hs +76/−0
- gen/Amazonka/Athena/Types/Database.hs +98/−0
- gen/Amazonka/Athena/Types/Datum.hs +66/−0
- gen/Amazonka/Athena/Types/EncryptionConfiguration.hs +122/−0
- gen/Amazonka/Athena/Types/EncryptionOption.hs +76/−0
- gen/Amazonka/Athena/Types/EngineConfiguration.hs +157/−0
- gen/Amazonka/Athena/Types/EngineVersion.hs +121/−0
- gen/Amazonka/Athena/Types/ExecutorState.hs +91/−0
- gen/Amazonka/Athena/Types/ExecutorType.hs +76/−0
- gen/Amazonka/Athena/Types/ExecutorsSummary.hs +187/−0
- gen/Amazonka/Athena/Types/FilterDefinition.hs +66/−0
- gen/Amazonka/Athena/Types/NamedQuery.hs +139/−0
- gen/Amazonka/Athena/Types/NotebookMetadata.hs +134/−0
- gen/Amazonka/Athena/Types/NotebookSessionSummary.hs +85/−0
- gen/Amazonka/Athena/Types/NotebookType.hs +66/−0
- gen/Amazonka/Athena/Types/PreparedStatement.hs +120/−0
- gen/Amazonka/Athena/Types/PreparedStatementSummary.hs +85/−0
- gen/Amazonka/Athena/Types/QueryExecution.hs +238/−0
- gen/Amazonka/Athena/Types/QueryExecutionContext.hs +97/−0
- gen/Amazonka/Athena/Types/QueryExecutionState.hs +86/−0
- gen/Amazonka/Athena/Types/QueryExecutionStatistics.hs +201/−0
- gen/Amazonka/Athena/Types/QueryExecutionStatus.hs +154/−0
- gen/Amazonka/Athena/Types/QueryRuntimeStatistics.hs +106/−0
- gen/Amazonka/Athena/Types/QueryRuntimeStatisticsRows.hs +110/−0
- gen/Amazonka/Athena/Types/QueryRuntimeStatisticsTimeline.hs +150/−0
- gen/Amazonka/Athena/Types/QueryStage.hs +174/−0
- gen/Amazonka/Athena/Types/QueryStagePlanNode.hs +118/−0
- gen/Amazonka/Athena/Types/ResultConfiguration.hs +240/−0
- gen/Amazonka/Athena/Types/ResultConfigurationUpdates.hs +308/−0
- gen/Amazonka/Athena/Types/ResultReuseByAgeConfiguration.hs +107/−0
- gen/Amazonka/Athena/Types/ResultReuseConfiguration.hs +86/−0
- gen/Amazonka/Athena/Types/ResultReuseInformation.hs +78/−0
- gen/Amazonka/Athena/Types/ResultSet.hs +91/−0
- gen/Amazonka/Athena/Types/ResultSetMetadata.hs +71/−0
- gen/Amazonka/Athena/Types/Row.hs +68/−0
- gen/Amazonka/Athena/Types/S3AclOption.hs +66/−0
- gen/Amazonka/Athena/Types/SessionConfiguration.hs +109/−0
- gen/Amazonka/Athena/Types/SessionState.hs +101/−0
- gen/Amazonka/Athena/Types/SessionStatistics.hs +72/−0
- gen/Amazonka/Athena/Types/SessionStatus.hs +196/−0
- gen/Amazonka/Athena/Types/SessionSummary.hs +125/−0
- gen/Amazonka/Athena/Types/StatementType.hs +76/−0
- gen/Amazonka/Athena/Types/TableMetadata.hs +147/−0
- gen/Amazonka/Athena/Types/Tag.hs +119/−0
- gen/Amazonka/Athena/Types/UnprocessedNamedQueryId.hs +103/−0
- gen/Amazonka/Athena/Types/UnprocessedPreparedStatementName.hs +144/−0
- gen/Amazonka/Athena/Types/UnprocessedQueryExecutionId.hs +103/−0
- gen/Amazonka/Athena/Types/WorkGroup.hs +158/−0
- gen/Amazonka/Athena/Types/WorkGroupConfiguration.hs +276/−0
- gen/Amazonka/Athena/Types/WorkGroupConfigurationUpdates.hs +279/−0
- gen/Amazonka/Athena/Types/WorkGroupState.hs +71/−0
- gen/Amazonka/Athena/Types/WorkGroupSummary.hs +129/−0
- gen/Amazonka/Athena/UntagResource.hs +172/−0
- gen/Amazonka/Athena/UpdateDataCatalog.hs +286/−0
- gen/Amazonka/Athena/UpdateNamedQuery.hs +208/−0
- gen/Amazonka/Athena/UpdateNotebook.hs +237/−0
- gen/Amazonka/Athena/UpdateNotebookMetadata.hs +215/−0
- gen/Amazonka/Athena/UpdatePreparedStatement.hs +212/−0
- gen/Amazonka/Athena/UpdateWorkGroup.hs +204/−0
- gen/Amazonka/Athena/Waiters.hs +24/−0
- gen/Network/AWS/Athena.hs +0/−228
- gen/Network/AWS/Athena/BatchGetNamedQuery.hs +0/−147
- gen/Network/AWS/Athena/BatchGetQueryExecution.hs +0/−150
- gen/Network/AWS/Athena/CreateNamedQuery.hs +0/−180
- gen/Network/AWS/Athena/DeleteNamedQuery.hs +0/−125
- gen/Network/AWS/Athena/GetNamedQuery.hs +0/−133
- gen/Network/AWS/Athena/GetQueryExecution.hs +0/−133
- gen/Network/AWS/Athena/GetQueryResults.hs +0/−178
- gen/Network/AWS/Athena/ListNamedQueries.hs +0/−165
- gen/Network/AWS/Athena/ListQueryExecutions.hs +0/−166
- gen/Network/AWS/Athena/StartQueryExecution.hs +0/−171
- gen/Network/AWS/Athena/StopQueryExecution.hs +0/−126
- gen/Network/AWS/Athena/Types.hs +0/−196
- gen/Network/AWS/Athena/Types/Product.hs +0/−810
- gen/Network/AWS/Athena/Types/Sum.hs +0/−119
- gen/Network/AWS/Athena/Waiters.hs +0/−21
- test/Main.hs +11/−9
- test/Test/AWS/Athena.hs +0/−20
- test/Test/AWS/Athena/Internal.hs +0/−9
- test/Test/AWS/Gen/Athena.hs +0/−237
- test/Test/Amazonka/Athena.hs +20/−0
- test/Test/Amazonka/Athena/Internal.hs +8/−0
- test/Test/Amazonka/Gen/Athena.hs +1238/−0
README.md view
@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2017-05-18@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.Athena](http://hackage.haskell.org/package/amazonka-athena/docs/Network-AWS-Athena.html)+See [Amazonka.Athena](http://hackage.haskell.org/package/amazonka-athena/docs/Amazonka-Athena.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-athena.cabal view
@@ -1,96 +1,210 @@-name: amazonka-athena-version: 1.6.1-synopsis: Amazon Athena SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-athena+version: 2.0+synopsis: Amazon Athena SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.Athena" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2017-05-18@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.Athena.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.Athena" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-athena+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-athena library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.Athena- , Network.AWS.Athena.BatchGetNamedQuery- , Network.AWS.Athena.BatchGetQueryExecution- , Network.AWS.Athena.CreateNamedQuery- , Network.AWS.Athena.DeleteNamedQuery- , Network.AWS.Athena.GetNamedQuery- , Network.AWS.Athena.GetQueryExecution- , Network.AWS.Athena.GetQueryResults- , Network.AWS.Athena.ListNamedQueries- , Network.AWS.Athena.ListQueryExecutions- , Network.AWS.Athena.StartQueryExecution- , Network.AWS.Athena.StopQueryExecution- , Network.AWS.Athena.Types- , Network.AWS.Athena.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.Athena.Types.Product- , Network.AWS.Athena.Types.Sum+ exposed-modules:+ Amazonka.Athena+ Amazonka.Athena.BatchGetNamedQuery+ Amazonka.Athena.BatchGetPreparedStatement+ Amazonka.Athena.BatchGetQueryExecution+ Amazonka.Athena.CreateDataCatalog+ Amazonka.Athena.CreateNamedQuery+ Amazonka.Athena.CreateNotebook+ Amazonka.Athena.CreatePreparedStatement+ Amazonka.Athena.CreatePresignedNotebookUrl+ Amazonka.Athena.CreateWorkGroup+ Amazonka.Athena.DeleteDataCatalog+ Amazonka.Athena.DeleteNamedQuery+ Amazonka.Athena.DeleteNotebook+ Amazonka.Athena.DeletePreparedStatement+ Amazonka.Athena.DeleteWorkGroup+ Amazonka.Athena.ExportNotebook+ Amazonka.Athena.GetCalculationExecution+ Amazonka.Athena.GetCalculationExecutionCode+ Amazonka.Athena.GetCalculationExecutionStatus+ Amazonka.Athena.GetDatabase+ Amazonka.Athena.GetDataCatalog+ Amazonka.Athena.GetNamedQuery+ Amazonka.Athena.GetNotebookMetadata+ Amazonka.Athena.GetPreparedStatement+ Amazonka.Athena.GetQueryExecution+ Amazonka.Athena.GetQueryResults+ Amazonka.Athena.GetQueryRuntimeStatistics+ Amazonka.Athena.GetSession+ Amazonka.Athena.GetSessionStatus+ Amazonka.Athena.GetTableMetadata+ Amazonka.Athena.GetWorkGroup+ Amazonka.Athena.ImportNotebook+ Amazonka.Athena.Lens+ Amazonka.Athena.ListApplicationDPUSizes+ Amazonka.Athena.ListCalculationExecutions+ Amazonka.Athena.ListDatabases+ Amazonka.Athena.ListDataCatalogs+ Amazonka.Athena.ListEngineVersions+ Amazonka.Athena.ListExecutors+ Amazonka.Athena.ListNamedQueries+ Amazonka.Athena.ListNotebookMetadata+ Amazonka.Athena.ListNotebookSessions+ Amazonka.Athena.ListPreparedStatements+ Amazonka.Athena.ListQueryExecutions+ Amazonka.Athena.ListSessions+ Amazonka.Athena.ListTableMetadata+ Amazonka.Athena.ListTagsForResource+ Amazonka.Athena.ListWorkGroups+ Amazonka.Athena.StartCalculationExecution+ Amazonka.Athena.StartQueryExecution+ Amazonka.Athena.StartSession+ Amazonka.Athena.StopCalculationExecution+ Amazonka.Athena.StopQueryExecution+ Amazonka.Athena.TagResource+ Amazonka.Athena.TerminateSession+ Amazonka.Athena.Types+ Amazonka.Athena.Types.AclConfiguration+ Amazonka.Athena.Types.ApplicationDPUSizes+ Amazonka.Athena.Types.AthenaError+ Amazonka.Athena.Types.CalculationConfiguration+ Amazonka.Athena.Types.CalculationExecutionState+ Amazonka.Athena.Types.CalculationResult+ Amazonka.Athena.Types.CalculationStatistics+ Amazonka.Athena.Types.CalculationStatus+ Amazonka.Athena.Types.CalculationSummary+ Amazonka.Athena.Types.Column+ Amazonka.Athena.Types.ColumnInfo+ Amazonka.Athena.Types.ColumnNullable+ Amazonka.Athena.Types.CustomerContentEncryptionConfiguration+ Amazonka.Athena.Types.Database+ Amazonka.Athena.Types.DataCatalog+ Amazonka.Athena.Types.DataCatalogSummary+ Amazonka.Athena.Types.DataCatalogType+ Amazonka.Athena.Types.Datum+ Amazonka.Athena.Types.EncryptionConfiguration+ Amazonka.Athena.Types.EncryptionOption+ Amazonka.Athena.Types.EngineConfiguration+ Amazonka.Athena.Types.EngineVersion+ Amazonka.Athena.Types.ExecutorsSummary+ Amazonka.Athena.Types.ExecutorState+ Amazonka.Athena.Types.ExecutorType+ Amazonka.Athena.Types.FilterDefinition+ Amazonka.Athena.Types.NamedQuery+ Amazonka.Athena.Types.NotebookMetadata+ Amazonka.Athena.Types.NotebookSessionSummary+ Amazonka.Athena.Types.NotebookType+ Amazonka.Athena.Types.PreparedStatement+ Amazonka.Athena.Types.PreparedStatementSummary+ Amazonka.Athena.Types.QueryExecution+ Amazonka.Athena.Types.QueryExecutionContext+ Amazonka.Athena.Types.QueryExecutionState+ Amazonka.Athena.Types.QueryExecutionStatistics+ Amazonka.Athena.Types.QueryExecutionStatus+ Amazonka.Athena.Types.QueryRuntimeStatistics+ Amazonka.Athena.Types.QueryRuntimeStatisticsRows+ Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline+ Amazonka.Athena.Types.QueryStage+ Amazonka.Athena.Types.QueryStagePlanNode+ Amazonka.Athena.Types.ResultConfiguration+ Amazonka.Athena.Types.ResultConfigurationUpdates+ Amazonka.Athena.Types.ResultReuseByAgeConfiguration+ Amazonka.Athena.Types.ResultReuseConfiguration+ Amazonka.Athena.Types.ResultReuseInformation+ Amazonka.Athena.Types.ResultSet+ Amazonka.Athena.Types.ResultSetMetadata+ Amazonka.Athena.Types.Row+ Amazonka.Athena.Types.S3AclOption+ Amazonka.Athena.Types.SessionConfiguration+ Amazonka.Athena.Types.SessionState+ Amazonka.Athena.Types.SessionStatistics+ Amazonka.Athena.Types.SessionStatus+ Amazonka.Athena.Types.SessionSummary+ Amazonka.Athena.Types.StatementType+ Amazonka.Athena.Types.TableMetadata+ Amazonka.Athena.Types.Tag+ Amazonka.Athena.Types.UnprocessedNamedQueryId+ Amazonka.Athena.Types.UnprocessedPreparedStatementName+ Amazonka.Athena.Types.UnprocessedQueryExecutionId+ Amazonka.Athena.Types.WorkGroup+ Amazonka.Athena.Types.WorkGroupConfiguration+ Amazonka.Athena.Types.WorkGroupConfigurationUpdates+ Amazonka.Athena.Types.WorkGroupState+ Amazonka.Athena.Types.WorkGroupSummary+ Amazonka.Athena.UntagResource+ Amazonka.Athena.UpdateDataCatalog+ Amazonka.Athena.UpdateNamedQuery+ Amazonka.Athena.UpdateNotebook+ Amazonka.Athena.UpdateNotebookMetadata+ Amazonka.Athena.UpdatePreparedStatement+ Amazonka.Athena.UpdateWorkGroup+ Amazonka.Athena.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-athena-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.Athena- , Test.AWS.Gen.Athena- , Test.AWS.Athena.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.Athena+ Test.Amazonka.Athena.Internal+ Test.Amazonka.Gen.Athena - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-athena- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-athena+ , amazonka-core >=2.0 && <2.1+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
+ fixture/BatchGetPreparedStatement.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/BatchGetPreparedStatementResponse.proto view
+ fixture/CreateDataCatalog.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateDataCatalogResponse.proto view
+ fixture/CreateNotebook.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateNotebookResponse.proto view
+ fixture/CreatePreparedStatement.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreatePreparedStatementResponse.proto view
+ fixture/CreatePresignedNotebookUrl.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreatePresignedNotebookUrlResponse.proto view
+ fixture/CreateWorkGroup.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateWorkGroupResponse.proto view
+ fixture/DeleteDataCatalog.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteDataCatalogResponse.proto view
+ fixture/DeleteNotebook.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteNotebookResponse.proto view
+ fixture/DeletePreparedStatement.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeletePreparedStatementResponse.proto view
+ fixture/DeleteWorkGroup.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteWorkGroupResponse.proto view
+ fixture/ExportNotebook.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ExportNotebookResponse.proto view
+ fixture/GetCalculationExecution.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetCalculationExecutionCode.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetCalculationExecutionCodeResponse.proto view
+ fixture/GetCalculationExecutionResponse.proto view
+ fixture/GetCalculationExecutionStatus.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetCalculationExecutionStatusResponse.proto view
+ fixture/GetDataCatalog.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetDataCatalogResponse.proto view
+ fixture/GetDatabase.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetDatabaseResponse.proto view
+ fixture/GetNotebookMetadata.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetNotebookMetadataResponse.proto view
+ fixture/GetPreparedStatement.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetPreparedStatementResponse.proto view
+ fixture/GetQueryRuntimeStatistics.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetQueryRuntimeStatisticsResponse.proto view
+ fixture/GetSession.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetSessionResponse.proto view
+ fixture/GetSessionStatus.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetSessionStatusResponse.proto view
+ fixture/GetTableMetadata.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetTableMetadataResponse.proto view
+ fixture/GetWorkGroup.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetWorkGroupResponse.proto view
+ fixture/ImportNotebook.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ImportNotebookResponse.proto view
+ fixture/ListApplicationDPUSizes.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListApplicationDPUSizesResponse.proto view
+ fixture/ListCalculationExecutions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListCalculationExecutionsResponse.proto view
+ fixture/ListDataCatalogs.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListDataCatalogsResponse.proto view
+ fixture/ListDatabases.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListDatabasesResponse.proto view
+ fixture/ListEngineVersions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListEngineVersionsResponse.proto view
+ fixture/ListExecutors.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListExecutorsResponse.proto view
+ fixture/ListNotebookMetadata.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListNotebookMetadataResponse.proto view
+ fixture/ListNotebookSessions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListNotebookSessionsResponse.proto view
+ fixture/ListPreparedStatements.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListPreparedStatementsResponse.proto view
+ fixture/ListSessions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListSessionsResponse.proto view
+ fixture/ListTableMetadata.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTableMetadataResponse.proto view
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResourceResponse.proto view
+ fixture/ListWorkGroups.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListWorkGroupsResponse.proto view
+ fixture/StartCalculationExecution.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/StartCalculationExecutionResponse.proto view
+ fixture/StartSession.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/StartSessionResponse.proto view
+ fixture/StopCalculationExecution.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/StopCalculationExecutionResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TagResourceResponse.proto view
+ fixture/TerminateSession.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TerminateSessionResponse.proto view
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResourceResponse.proto view
+ fixture/UpdateDataCatalog.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateDataCatalogResponse.proto view
+ fixture/UpdateNamedQuery.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateNamedQueryResponse.proto view
+ fixture/UpdateNotebook.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateNotebookMetadata.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateNotebookMetadataResponse.proto view
+ fixture/UpdateNotebookResponse.proto view
+ fixture/UpdatePreparedStatement.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdatePreparedStatementResponse.proto view
+ fixture/UpdateWorkGroup.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/athena/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: athena.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateWorkGroupResponse.proto view
+ gen/Amazonka/Athena.hs view
@@ -0,0 +1,773 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.Athena+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2017-05-18@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- 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+-- <http://docs.aws.amazon.com/athena/latest/ug/what-is.html What is Amazon Athena>+-- in the /Amazon Athena User Guide/.+--+-- If you connect to Athena using the JDBC driver, use version 1.1.0 of the+-- driver or later with the Amazon Athena API. Earlier version drivers do+-- not support the API. For more information and to download the driver,+-- see+-- <https://docs.aws.amazon.com/athena/latest/ug/connect-with-jdbc.html Accessing Amazon Athena with JDBC>.+--+-- For code samples using the Amazon Web Services SDK for Java, see+-- <https://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples>+-- in the /Amazon Athena User Guide/.+module Amazonka.Athena+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** InternalServerException+ _InternalServerException,++ -- ** InvalidRequestException+ _InvalidRequestException,++ -- ** MetadataException+ _MetadataException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- ** SessionAlreadyExistsException+ _SessionAlreadyExistsException,++ -- ** TooManyRequestsException+ _TooManyRequestsException,++ -- * Waiters+ -- $waiters++ -- * Operations+ -- $operations++ -- ** BatchGetNamedQuery+ BatchGetNamedQuery (BatchGetNamedQuery'),+ newBatchGetNamedQuery,+ BatchGetNamedQueryResponse (BatchGetNamedQueryResponse'),+ newBatchGetNamedQueryResponse,++ -- ** BatchGetPreparedStatement+ BatchGetPreparedStatement (BatchGetPreparedStatement'),+ newBatchGetPreparedStatement,+ BatchGetPreparedStatementResponse (BatchGetPreparedStatementResponse'),+ newBatchGetPreparedStatementResponse,++ -- ** BatchGetQueryExecution+ BatchGetQueryExecution (BatchGetQueryExecution'),+ newBatchGetQueryExecution,+ BatchGetQueryExecutionResponse (BatchGetQueryExecutionResponse'),+ newBatchGetQueryExecutionResponse,++ -- ** CreateDataCatalog+ CreateDataCatalog (CreateDataCatalog'),+ newCreateDataCatalog,+ CreateDataCatalogResponse (CreateDataCatalogResponse'),+ newCreateDataCatalogResponse,++ -- ** CreateNamedQuery+ CreateNamedQuery (CreateNamedQuery'),+ newCreateNamedQuery,+ CreateNamedQueryResponse (CreateNamedQueryResponse'),+ newCreateNamedQueryResponse,++ -- ** CreateNotebook+ CreateNotebook (CreateNotebook'),+ newCreateNotebook,+ CreateNotebookResponse (CreateNotebookResponse'),+ newCreateNotebookResponse,++ -- ** CreatePreparedStatement+ CreatePreparedStatement (CreatePreparedStatement'),+ newCreatePreparedStatement,+ CreatePreparedStatementResponse (CreatePreparedStatementResponse'),+ newCreatePreparedStatementResponse,++ -- ** CreatePresignedNotebookUrl+ CreatePresignedNotebookUrl (CreatePresignedNotebookUrl'),+ newCreatePresignedNotebookUrl,+ CreatePresignedNotebookUrlResponse (CreatePresignedNotebookUrlResponse'),+ newCreatePresignedNotebookUrlResponse,++ -- ** CreateWorkGroup+ CreateWorkGroup (CreateWorkGroup'),+ newCreateWorkGroup,+ CreateWorkGroupResponse (CreateWorkGroupResponse'),+ newCreateWorkGroupResponse,++ -- ** DeleteDataCatalog+ DeleteDataCatalog (DeleteDataCatalog'),+ newDeleteDataCatalog,+ DeleteDataCatalogResponse (DeleteDataCatalogResponse'),+ newDeleteDataCatalogResponse,++ -- ** DeleteNamedQuery+ DeleteNamedQuery (DeleteNamedQuery'),+ newDeleteNamedQuery,+ DeleteNamedQueryResponse (DeleteNamedQueryResponse'),+ newDeleteNamedQueryResponse,++ -- ** DeleteNotebook+ DeleteNotebook (DeleteNotebook'),+ newDeleteNotebook,+ DeleteNotebookResponse (DeleteNotebookResponse'),+ newDeleteNotebookResponse,++ -- ** DeletePreparedStatement+ DeletePreparedStatement (DeletePreparedStatement'),+ newDeletePreparedStatement,+ DeletePreparedStatementResponse (DeletePreparedStatementResponse'),+ newDeletePreparedStatementResponse,++ -- ** DeleteWorkGroup+ DeleteWorkGroup (DeleteWorkGroup'),+ newDeleteWorkGroup,+ DeleteWorkGroupResponse (DeleteWorkGroupResponse'),+ newDeleteWorkGroupResponse,++ -- ** ExportNotebook+ ExportNotebook (ExportNotebook'),+ newExportNotebook,+ ExportNotebookResponse (ExportNotebookResponse'),+ newExportNotebookResponse,++ -- ** GetCalculationExecution+ GetCalculationExecution (GetCalculationExecution'),+ newGetCalculationExecution,+ GetCalculationExecutionResponse (GetCalculationExecutionResponse'),+ newGetCalculationExecutionResponse,++ -- ** GetCalculationExecutionCode+ GetCalculationExecutionCode (GetCalculationExecutionCode'),+ newGetCalculationExecutionCode,+ GetCalculationExecutionCodeResponse (GetCalculationExecutionCodeResponse'),+ newGetCalculationExecutionCodeResponse,++ -- ** GetCalculationExecutionStatus+ GetCalculationExecutionStatus (GetCalculationExecutionStatus'),+ newGetCalculationExecutionStatus,+ GetCalculationExecutionStatusResponse (GetCalculationExecutionStatusResponse'),+ newGetCalculationExecutionStatusResponse,++ -- ** GetDataCatalog+ GetDataCatalog (GetDataCatalog'),+ newGetDataCatalog,+ GetDataCatalogResponse (GetDataCatalogResponse'),+ newGetDataCatalogResponse,++ -- ** GetDatabase+ GetDatabase (GetDatabase'),+ newGetDatabase,+ GetDatabaseResponse (GetDatabaseResponse'),+ newGetDatabaseResponse,++ -- ** GetNamedQuery+ GetNamedQuery (GetNamedQuery'),+ newGetNamedQuery,+ GetNamedQueryResponse (GetNamedQueryResponse'),+ newGetNamedQueryResponse,++ -- ** GetNotebookMetadata+ GetNotebookMetadata (GetNotebookMetadata'),+ newGetNotebookMetadata,+ GetNotebookMetadataResponse (GetNotebookMetadataResponse'),+ newGetNotebookMetadataResponse,++ -- ** GetPreparedStatement+ GetPreparedStatement (GetPreparedStatement'),+ newGetPreparedStatement,+ GetPreparedStatementResponse (GetPreparedStatementResponse'),+ newGetPreparedStatementResponse,++ -- ** GetQueryExecution+ GetQueryExecution (GetQueryExecution'),+ newGetQueryExecution,+ GetQueryExecutionResponse (GetQueryExecutionResponse'),+ newGetQueryExecutionResponse,++ -- ** GetQueryResults (Paginated)+ GetQueryResults (GetQueryResults'),+ newGetQueryResults,+ GetQueryResultsResponse (GetQueryResultsResponse'),+ newGetQueryResultsResponse,++ -- ** GetQueryRuntimeStatistics+ GetQueryRuntimeStatistics (GetQueryRuntimeStatistics'),+ newGetQueryRuntimeStatistics,+ GetQueryRuntimeStatisticsResponse (GetQueryRuntimeStatisticsResponse'),+ newGetQueryRuntimeStatisticsResponse,++ -- ** GetSession+ GetSession (GetSession'),+ newGetSession,+ GetSessionResponse (GetSessionResponse'),+ newGetSessionResponse,++ -- ** GetSessionStatus+ GetSessionStatus (GetSessionStatus'),+ newGetSessionStatus,+ GetSessionStatusResponse (GetSessionStatusResponse'),+ newGetSessionStatusResponse,++ -- ** GetTableMetadata+ GetTableMetadata (GetTableMetadata'),+ newGetTableMetadata,+ GetTableMetadataResponse (GetTableMetadataResponse'),+ newGetTableMetadataResponse,++ -- ** GetWorkGroup+ GetWorkGroup (GetWorkGroup'),+ newGetWorkGroup,+ GetWorkGroupResponse (GetWorkGroupResponse'),+ newGetWorkGroupResponse,++ -- ** ImportNotebook+ ImportNotebook (ImportNotebook'),+ newImportNotebook,+ ImportNotebookResponse (ImportNotebookResponse'),+ newImportNotebookResponse,++ -- ** ListApplicationDPUSizes+ ListApplicationDPUSizes (ListApplicationDPUSizes'),+ newListApplicationDPUSizes,+ ListApplicationDPUSizesResponse (ListApplicationDPUSizesResponse'),+ newListApplicationDPUSizesResponse,++ -- ** ListCalculationExecutions+ ListCalculationExecutions (ListCalculationExecutions'),+ newListCalculationExecutions,+ ListCalculationExecutionsResponse (ListCalculationExecutionsResponse'),+ newListCalculationExecutionsResponse,++ -- ** ListDataCatalogs (Paginated)+ ListDataCatalogs (ListDataCatalogs'),+ newListDataCatalogs,+ ListDataCatalogsResponse (ListDataCatalogsResponse'),+ newListDataCatalogsResponse,++ -- ** ListDatabases (Paginated)+ ListDatabases (ListDatabases'),+ newListDatabases,+ ListDatabasesResponse (ListDatabasesResponse'),+ newListDatabasesResponse,++ -- ** ListEngineVersions+ ListEngineVersions (ListEngineVersions'),+ newListEngineVersions,+ ListEngineVersionsResponse (ListEngineVersionsResponse'),+ newListEngineVersionsResponse,++ -- ** ListExecutors+ ListExecutors (ListExecutors'),+ newListExecutors,+ ListExecutorsResponse (ListExecutorsResponse'),+ newListExecutorsResponse,++ -- ** ListNamedQueries (Paginated)+ ListNamedQueries (ListNamedQueries'),+ newListNamedQueries,+ ListNamedQueriesResponse (ListNamedQueriesResponse'),+ newListNamedQueriesResponse,++ -- ** ListNotebookMetadata+ ListNotebookMetadata (ListNotebookMetadata'),+ newListNotebookMetadata,+ ListNotebookMetadataResponse (ListNotebookMetadataResponse'),+ newListNotebookMetadataResponse,++ -- ** ListNotebookSessions+ ListNotebookSessions (ListNotebookSessions'),+ newListNotebookSessions,+ ListNotebookSessionsResponse (ListNotebookSessionsResponse'),+ newListNotebookSessionsResponse,++ -- ** ListPreparedStatements+ ListPreparedStatements (ListPreparedStatements'),+ newListPreparedStatements,+ ListPreparedStatementsResponse (ListPreparedStatementsResponse'),+ newListPreparedStatementsResponse,++ -- ** ListQueryExecutions (Paginated)+ ListQueryExecutions (ListQueryExecutions'),+ newListQueryExecutions,+ ListQueryExecutionsResponse (ListQueryExecutionsResponse'),+ newListQueryExecutionsResponse,++ -- ** ListSessions+ ListSessions (ListSessions'),+ newListSessions,+ ListSessionsResponse (ListSessionsResponse'),+ newListSessionsResponse,++ -- ** ListTableMetadata (Paginated)+ ListTableMetadata (ListTableMetadata'),+ newListTableMetadata,+ ListTableMetadataResponse (ListTableMetadataResponse'),+ newListTableMetadataResponse,++ -- ** ListTagsForResource (Paginated)+ ListTagsForResource (ListTagsForResource'),+ newListTagsForResource,+ ListTagsForResourceResponse (ListTagsForResourceResponse'),+ newListTagsForResourceResponse,++ -- ** ListWorkGroups+ ListWorkGroups (ListWorkGroups'),+ newListWorkGroups,+ ListWorkGroupsResponse (ListWorkGroupsResponse'),+ newListWorkGroupsResponse,++ -- ** StartCalculationExecution+ StartCalculationExecution (StartCalculationExecution'),+ newStartCalculationExecution,+ StartCalculationExecutionResponse (StartCalculationExecutionResponse'),+ newStartCalculationExecutionResponse,++ -- ** StartQueryExecution+ StartQueryExecution (StartQueryExecution'),+ newStartQueryExecution,+ StartQueryExecutionResponse (StartQueryExecutionResponse'),+ newStartQueryExecutionResponse,++ -- ** StartSession+ StartSession (StartSession'),+ newStartSession,+ StartSessionResponse (StartSessionResponse'),+ newStartSessionResponse,++ -- ** StopCalculationExecution+ StopCalculationExecution (StopCalculationExecution'),+ newStopCalculationExecution,+ StopCalculationExecutionResponse (StopCalculationExecutionResponse'),+ newStopCalculationExecutionResponse,++ -- ** StopQueryExecution+ StopQueryExecution (StopQueryExecution'),+ newStopQueryExecution,+ StopQueryExecutionResponse (StopQueryExecutionResponse'),+ newStopQueryExecutionResponse,++ -- ** TagResource+ TagResource (TagResource'),+ newTagResource,+ TagResourceResponse (TagResourceResponse'),+ newTagResourceResponse,++ -- ** TerminateSession+ TerminateSession (TerminateSession'),+ newTerminateSession,+ TerminateSessionResponse (TerminateSessionResponse'),+ newTerminateSessionResponse,++ -- ** UntagResource+ UntagResource (UntagResource'),+ newUntagResource,+ UntagResourceResponse (UntagResourceResponse'),+ newUntagResourceResponse,++ -- ** UpdateDataCatalog+ UpdateDataCatalog (UpdateDataCatalog'),+ newUpdateDataCatalog,+ UpdateDataCatalogResponse (UpdateDataCatalogResponse'),+ newUpdateDataCatalogResponse,++ -- ** UpdateNamedQuery+ UpdateNamedQuery (UpdateNamedQuery'),+ newUpdateNamedQuery,+ UpdateNamedQueryResponse (UpdateNamedQueryResponse'),+ newUpdateNamedQueryResponse,++ -- ** UpdateNotebook+ UpdateNotebook (UpdateNotebook'),+ newUpdateNotebook,+ UpdateNotebookResponse (UpdateNotebookResponse'),+ newUpdateNotebookResponse,++ -- ** UpdateNotebookMetadata+ UpdateNotebookMetadata (UpdateNotebookMetadata'),+ newUpdateNotebookMetadata,+ UpdateNotebookMetadataResponse (UpdateNotebookMetadataResponse'),+ newUpdateNotebookMetadataResponse,++ -- ** UpdatePreparedStatement+ UpdatePreparedStatement (UpdatePreparedStatement'),+ newUpdatePreparedStatement,+ UpdatePreparedStatementResponse (UpdatePreparedStatementResponse'),+ newUpdatePreparedStatementResponse,++ -- ** UpdateWorkGroup+ UpdateWorkGroup (UpdateWorkGroup'),+ newUpdateWorkGroup,+ UpdateWorkGroupResponse (UpdateWorkGroupResponse'),+ newUpdateWorkGroupResponse,++ -- * Types++ -- ** CalculationExecutionState+ CalculationExecutionState (..),++ -- ** ColumnNullable+ ColumnNullable (..),++ -- ** DataCatalogType+ DataCatalogType (..),++ -- ** EncryptionOption+ EncryptionOption (..),++ -- ** ExecutorState+ ExecutorState (..),++ -- ** ExecutorType+ ExecutorType (..),++ -- ** NotebookType+ NotebookType (..),++ -- ** QueryExecutionState+ QueryExecutionState (..),++ -- ** S3AclOption+ S3AclOption (..),++ -- ** SessionState+ SessionState (..),++ -- ** StatementType+ StatementType (..),++ -- ** WorkGroupState+ WorkGroupState (..),++ -- ** AclConfiguration+ AclConfiguration (AclConfiguration'),+ newAclConfiguration,++ -- ** ApplicationDPUSizes+ ApplicationDPUSizes (ApplicationDPUSizes'),+ newApplicationDPUSizes,++ -- ** AthenaError+ AthenaError (AthenaError'),+ newAthenaError,++ -- ** CalculationConfiguration+ CalculationConfiguration (CalculationConfiguration'),+ newCalculationConfiguration,++ -- ** CalculationResult+ CalculationResult (CalculationResult'),+ newCalculationResult,++ -- ** CalculationStatistics+ CalculationStatistics (CalculationStatistics'),+ newCalculationStatistics,++ -- ** CalculationStatus+ CalculationStatus (CalculationStatus'),+ newCalculationStatus,++ -- ** CalculationSummary+ CalculationSummary (CalculationSummary'),+ newCalculationSummary,++ -- ** Column+ Column (Column'),+ newColumn,++ -- ** ColumnInfo+ ColumnInfo (ColumnInfo'),+ newColumnInfo,++ -- ** CustomerContentEncryptionConfiguration+ CustomerContentEncryptionConfiguration (CustomerContentEncryptionConfiguration'),+ newCustomerContentEncryptionConfiguration,++ -- ** DataCatalog+ DataCatalog (DataCatalog'),+ newDataCatalog,++ -- ** DataCatalogSummary+ DataCatalogSummary (DataCatalogSummary'),+ newDataCatalogSummary,++ -- ** Database+ Database (Database'),+ newDatabase,++ -- ** Datum+ Datum (Datum'),+ newDatum,++ -- ** EncryptionConfiguration+ EncryptionConfiguration (EncryptionConfiguration'),+ newEncryptionConfiguration,++ -- ** EngineConfiguration+ EngineConfiguration (EngineConfiguration'),+ newEngineConfiguration,++ -- ** EngineVersion+ EngineVersion (EngineVersion'),+ newEngineVersion,++ -- ** ExecutorsSummary+ ExecutorsSummary (ExecutorsSummary'),+ newExecutorsSummary,++ -- ** FilterDefinition+ FilterDefinition (FilterDefinition'),+ newFilterDefinition,++ -- ** NamedQuery+ NamedQuery (NamedQuery'),+ newNamedQuery,++ -- ** NotebookMetadata+ NotebookMetadata (NotebookMetadata'),+ newNotebookMetadata,++ -- ** NotebookSessionSummary+ NotebookSessionSummary (NotebookSessionSummary'),+ newNotebookSessionSummary,++ -- ** PreparedStatement+ PreparedStatement (PreparedStatement'),+ newPreparedStatement,++ -- ** PreparedStatementSummary+ PreparedStatementSummary (PreparedStatementSummary'),+ newPreparedStatementSummary,++ -- ** QueryExecution+ QueryExecution (QueryExecution'),+ newQueryExecution,++ -- ** QueryExecutionContext+ QueryExecutionContext (QueryExecutionContext'),+ newQueryExecutionContext,++ -- ** QueryExecutionStatistics+ QueryExecutionStatistics (QueryExecutionStatistics'),+ newQueryExecutionStatistics,++ -- ** QueryExecutionStatus+ QueryExecutionStatus (QueryExecutionStatus'),+ newQueryExecutionStatus,++ -- ** QueryRuntimeStatistics+ QueryRuntimeStatistics (QueryRuntimeStatistics'),+ newQueryRuntimeStatistics,++ -- ** QueryRuntimeStatisticsRows+ QueryRuntimeStatisticsRows (QueryRuntimeStatisticsRows'),+ newQueryRuntimeStatisticsRows,++ -- ** QueryRuntimeStatisticsTimeline+ QueryRuntimeStatisticsTimeline (QueryRuntimeStatisticsTimeline'),+ newQueryRuntimeStatisticsTimeline,++ -- ** QueryStage+ QueryStage (QueryStage'),+ newQueryStage,++ -- ** QueryStagePlanNode+ QueryStagePlanNode (QueryStagePlanNode'),+ newQueryStagePlanNode,++ -- ** ResultConfiguration+ ResultConfiguration (ResultConfiguration'),+ newResultConfiguration,++ -- ** ResultConfigurationUpdates+ ResultConfigurationUpdates (ResultConfigurationUpdates'),+ newResultConfigurationUpdates,++ -- ** ResultReuseByAgeConfiguration+ ResultReuseByAgeConfiguration (ResultReuseByAgeConfiguration'),+ newResultReuseByAgeConfiguration,++ -- ** ResultReuseConfiguration+ ResultReuseConfiguration (ResultReuseConfiguration'),+ newResultReuseConfiguration,++ -- ** ResultReuseInformation+ ResultReuseInformation (ResultReuseInformation'),+ newResultReuseInformation,++ -- ** ResultSet+ ResultSet (ResultSet'),+ newResultSet,++ -- ** ResultSetMetadata+ ResultSetMetadata (ResultSetMetadata'),+ newResultSetMetadata,++ -- ** Row+ Row (Row'),+ newRow,++ -- ** SessionConfiguration+ SessionConfiguration (SessionConfiguration'),+ newSessionConfiguration,++ -- ** SessionStatistics+ SessionStatistics (SessionStatistics'),+ newSessionStatistics,++ -- ** SessionStatus+ SessionStatus (SessionStatus'),+ newSessionStatus,++ -- ** SessionSummary+ SessionSummary (SessionSummary'),+ newSessionSummary,++ -- ** TableMetadata+ TableMetadata (TableMetadata'),+ newTableMetadata,++ -- ** Tag+ Tag (Tag'),+ newTag,++ -- ** UnprocessedNamedQueryId+ UnprocessedNamedQueryId (UnprocessedNamedQueryId'),+ newUnprocessedNamedQueryId,++ -- ** UnprocessedPreparedStatementName+ UnprocessedPreparedStatementName (UnprocessedPreparedStatementName'),+ newUnprocessedPreparedStatementName,++ -- ** UnprocessedQueryExecutionId+ UnprocessedQueryExecutionId (UnprocessedQueryExecutionId'),+ newUnprocessedQueryExecutionId,++ -- ** WorkGroup+ WorkGroup (WorkGroup'),+ newWorkGroup,++ -- ** WorkGroupConfiguration+ WorkGroupConfiguration (WorkGroupConfiguration'),+ newWorkGroupConfiguration,++ -- ** WorkGroupConfigurationUpdates+ WorkGroupConfigurationUpdates (WorkGroupConfigurationUpdates'),+ newWorkGroupConfigurationUpdates,++ -- ** WorkGroupSummary+ WorkGroupSummary (WorkGroupSummary'),+ newWorkGroupSummary,+ )+where++import Amazonka.Athena.BatchGetNamedQuery+import Amazonka.Athena.BatchGetPreparedStatement+import Amazonka.Athena.BatchGetQueryExecution+import Amazonka.Athena.CreateDataCatalog+import Amazonka.Athena.CreateNamedQuery+import Amazonka.Athena.CreateNotebook+import Amazonka.Athena.CreatePreparedStatement+import Amazonka.Athena.CreatePresignedNotebookUrl+import Amazonka.Athena.CreateWorkGroup+import Amazonka.Athena.DeleteDataCatalog+import Amazonka.Athena.DeleteNamedQuery+import Amazonka.Athena.DeleteNotebook+import Amazonka.Athena.DeletePreparedStatement+import Amazonka.Athena.DeleteWorkGroup+import Amazonka.Athena.ExportNotebook+import Amazonka.Athena.GetCalculationExecution+import Amazonka.Athena.GetCalculationExecutionCode+import Amazonka.Athena.GetCalculationExecutionStatus+import Amazonka.Athena.GetDataCatalog+import Amazonka.Athena.GetDatabase+import Amazonka.Athena.GetNamedQuery+import Amazonka.Athena.GetNotebookMetadata+import Amazonka.Athena.GetPreparedStatement+import Amazonka.Athena.GetQueryExecution+import Amazonka.Athena.GetQueryResults+import Amazonka.Athena.GetQueryRuntimeStatistics+import Amazonka.Athena.GetSession+import Amazonka.Athena.GetSessionStatus+import Amazonka.Athena.GetTableMetadata+import Amazonka.Athena.GetWorkGroup+import Amazonka.Athena.ImportNotebook+import Amazonka.Athena.Lens+import Amazonka.Athena.ListApplicationDPUSizes+import Amazonka.Athena.ListCalculationExecutions+import Amazonka.Athena.ListDataCatalogs+import Amazonka.Athena.ListDatabases+import Amazonka.Athena.ListEngineVersions+import Amazonka.Athena.ListExecutors+import Amazonka.Athena.ListNamedQueries+import Amazonka.Athena.ListNotebookMetadata+import Amazonka.Athena.ListNotebookSessions+import Amazonka.Athena.ListPreparedStatements+import Amazonka.Athena.ListQueryExecutions+import Amazonka.Athena.ListSessions+import Amazonka.Athena.ListTableMetadata+import Amazonka.Athena.ListTagsForResource+import Amazonka.Athena.ListWorkGroups+import Amazonka.Athena.StartCalculationExecution+import Amazonka.Athena.StartQueryExecution+import Amazonka.Athena.StartSession+import Amazonka.Athena.StopCalculationExecution+import Amazonka.Athena.StopQueryExecution+import Amazonka.Athena.TagResource+import Amazonka.Athena.TerminateSession+import Amazonka.Athena.Types+import Amazonka.Athena.UntagResource+import Amazonka.Athena.UpdateDataCatalog+import Amazonka.Athena.UpdateNamedQuery+import Amazonka.Athena.UpdateNotebook+import Amazonka.Athena.UpdateNotebookMetadata+import Amazonka.Athena.UpdatePreparedStatement+import Amazonka.Athena.UpdateWorkGroup+import Amazonka.Athena.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'Athena'.++-- $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.++-- $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.
+ gen/Amazonka/Athena/BatchGetNamedQuery.hs view
@@ -0,0 +1,200 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.BatchGetNamedQuery+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the details of a single named query or a list of up to 50+-- queries, which you provide as an array of query ID strings. Requires you+-- to have access to the workgroup in which the queries were saved. Use+-- ListNamedQueriesInput to get the list of named query IDs in the+-- specified workgroup. If information could not be retrieved for a+-- submitted query ID, information about the query ID submitted is listed+-- under UnprocessedNamedQueryId. Named queries differ from executed+-- queries. Use BatchGetQueryExecutionInput to get details about each+-- unique query execution, and ListQueryExecutionsInput to get a list of+-- query execution IDs.+module Amazonka.Athena.BatchGetNamedQuery+ ( -- * Creating a Request+ BatchGetNamedQuery (..),+ newBatchGetNamedQuery,++ -- * Request Lenses+ batchGetNamedQuery_namedQueryIds,++ -- * Destructuring the Response+ BatchGetNamedQueryResponse (..),+ newBatchGetNamedQueryResponse,++ -- * Response Lenses+ batchGetNamedQueryResponse_namedQueries,+ batchGetNamedQueryResponse_unprocessedNamedQueryIds,+ batchGetNamedQueryResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains an array of named query IDs.+--+-- /See:/ 'newBatchGetNamedQuery' smart constructor.+data BatchGetNamedQuery = BatchGetNamedQuery'+ { -- | An array of query IDs.+ namedQueryIds :: Prelude.NonEmpty Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchGetNamedQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'namedQueryIds', 'batchGetNamedQuery_namedQueryIds' - An array of query IDs.+newBatchGetNamedQuery ::+ -- | 'namedQueryIds'+ Prelude.NonEmpty Prelude.Text ->+ BatchGetNamedQuery+newBatchGetNamedQuery pNamedQueryIds_ =+ BatchGetNamedQuery'+ { namedQueryIds =+ Lens.coerced Lens.# pNamedQueryIds_+ }++-- | An array of query IDs.+batchGetNamedQuery_namedQueryIds :: Lens.Lens' BatchGetNamedQuery (Prelude.NonEmpty Prelude.Text)+batchGetNamedQuery_namedQueryIds = Lens.lens (\BatchGetNamedQuery' {namedQueryIds} -> namedQueryIds) (\s@BatchGetNamedQuery' {} a -> s {namedQueryIds = a} :: BatchGetNamedQuery) Prelude.. Lens.coerced++instance Core.AWSRequest BatchGetNamedQuery where+ type+ AWSResponse BatchGetNamedQuery =+ BatchGetNamedQueryResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ BatchGetNamedQueryResponse'+ Prelude.<$> (x Data..?> "NamedQueries" Core..!@ Prelude.mempty)+ Prelude.<*> ( x+ Data..?> "UnprocessedNamedQueryIds"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable BatchGetNamedQuery where+ hashWithSalt _salt BatchGetNamedQuery' {..} =+ _salt `Prelude.hashWithSalt` namedQueryIds++instance Prelude.NFData BatchGetNamedQuery where+ rnf BatchGetNamedQuery' {..} =+ Prelude.rnf namedQueryIds++instance Data.ToHeaders BatchGetNamedQuery where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.BatchGetNamedQuery" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON BatchGetNamedQuery where+ toJSON BatchGetNamedQuery' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("NamedQueryIds" Data..= namedQueryIds)+ ]+ )++instance Data.ToPath BatchGetNamedQuery where+ toPath = Prelude.const "/"++instance Data.ToQuery BatchGetNamedQuery where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newBatchGetNamedQueryResponse' smart constructor.+data BatchGetNamedQueryResponse = BatchGetNamedQueryResponse'+ { -- | Information about the named query IDs submitted.+ namedQueries :: Prelude.Maybe [NamedQuery],+ -- | Information about provided query IDs.+ unprocessedNamedQueryIds :: Prelude.Maybe [UnprocessedNamedQueryId],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchGetNamedQueryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'namedQueries', 'batchGetNamedQueryResponse_namedQueries' - Information about the named query IDs submitted.+--+-- 'unprocessedNamedQueryIds', 'batchGetNamedQueryResponse_unprocessedNamedQueryIds' - Information about provided query IDs.+--+-- 'httpStatus', 'batchGetNamedQueryResponse_httpStatus' - The response's http status code.+newBatchGetNamedQueryResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ BatchGetNamedQueryResponse+newBatchGetNamedQueryResponse pHttpStatus_ =+ BatchGetNamedQueryResponse'+ { namedQueries =+ Prelude.Nothing,+ unprocessedNamedQueryIds = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Information about the named query IDs submitted.+batchGetNamedQueryResponse_namedQueries :: Lens.Lens' BatchGetNamedQueryResponse (Prelude.Maybe [NamedQuery])+batchGetNamedQueryResponse_namedQueries = Lens.lens (\BatchGetNamedQueryResponse' {namedQueries} -> namedQueries) (\s@BatchGetNamedQueryResponse' {} a -> s {namedQueries = a} :: BatchGetNamedQueryResponse) Prelude.. Lens.mapping Lens.coerced++-- | Information about provided query IDs.+batchGetNamedQueryResponse_unprocessedNamedQueryIds :: Lens.Lens' BatchGetNamedQueryResponse (Prelude.Maybe [UnprocessedNamedQueryId])+batchGetNamedQueryResponse_unprocessedNamedQueryIds = Lens.lens (\BatchGetNamedQueryResponse' {unprocessedNamedQueryIds} -> unprocessedNamedQueryIds) (\s@BatchGetNamedQueryResponse' {} a -> s {unprocessedNamedQueryIds = a} :: BatchGetNamedQueryResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+batchGetNamedQueryResponse_httpStatus :: Lens.Lens' BatchGetNamedQueryResponse Prelude.Int+batchGetNamedQueryResponse_httpStatus = Lens.lens (\BatchGetNamedQueryResponse' {httpStatus} -> httpStatus) (\s@BatchGetNamedQueryResponse' {} a -> s {httpStatus = a} :: BatchGetNamedQueryResponse)++instance Prelude.NFData BatchGetNamedQueryResponse where+ rnf BatchGetNamedQueryResponse' {..} =+ Prelude.rnf namedQueries+ `Prelude.seq` Prelude.rnf unprocessedNamedQueryIds+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/BatchGetPreparedStatement.hs view
@@ -0,0 +1,220 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.BatchGetPreparedStatement+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the details of a single prepared statement or a list of up to+-- 256 prepared statements for the array of prepared statement names that+-- you provide. Requires you to have access to the workgroup to which the+-- prepared statements belong. If a prepared statement cannot be retrieved+-- for the name specified, the statement is listed in+-- @UnprocessedPreparedStatementNames@.+module Amazonka.Athena.BatchGetPreparedStatement+ ( -- * Creating a Request+ BatchGetPreparedStatement (..),+ newBatchGetPreparedStatement,++ -- * Request Lenses+ batchGetPreparedStatement_preparedStatementNames,+ batchGetPreparedStatement_workGroup,++ -- * Destructuring the Response+ BatchGetPreparedStatementResponse (..),+ newBatchGetPreparedStatementResponse,++ -- * Response Lenses+ batchGetPreparedStatementResponse_preparedStatements,+ batchGetPreparedStatementResponse_unprocessedPreparedStatementNames,+ batchGetPreparedStatementResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newBatchGetPreparedStatement' smart constructor.+data BatchGetPreparedStatement = BatchGetPreparedStatement'+ { -- | A list of prepared statement names to return.+ preparedStatementNames :: [Prelude.Text],+ -- | The name of the workgroup to which the prepared statements belong.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchGetPreparedStatement' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'preparedStatementNames', 'batchGetPreparedStatement_preparedStatementNames' - A list of prepared statement names to return.+--+-- 'workGroup', 'batchGetPreparedStatement_workGroup' - The name of the workgroup to which the prepared statements belong.+newBatchGetPreparedStatement ::+ -- | 'workGroup'+ Prelude.Text ->+ BatchGetPreparedStatement+newBatchGetPreparedStatement pWorkGroup_ =+ BatchGetPreparedStatement'+ { preparedStatementNames =+ Prelude.mempty,+ workGroup = pWorkGroup_+ }++-- | A list of prepared statement names to return.+batchGetPreparedStatement_preparedStatementNames :: Lens.Lens' BatchGetPreparedStatement [Prelude.Text]+batchGetPreparedStatement_preparedStatementNames = Lens.lens (\BatchGetPreparedStatement' {preparedStatementNames} -> preparedStatementNames) (\s@BatchGetPreparedStatement' {} a -> s {preparedStatementNames = a} :: BatchGetPreparedStatement) Prelude.. Lens.coerced++-- | The name of the workgroup to which the prepared statements belong.+batchGetPreparedStatement_workGroup :: Lens.Lens' BatchGetPreparedStatement Prelude.Text+batchGetPreparedStatement_workGroup = Lens.lens (\BatchGetPreparedStatement' {workGroup} -> workGroup) (\s@BatchGetPreparedStatement' {} a -> s {workGroup = a} :: BatchGetPreparedStatement)++instance Core.AWSRequest BatchGetPreparedStatement where+ type+ AWSResponse BatchGetPreparedStatement =+ BatchGetPreparedStatementResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ BatchGetPreparedStatementResponse'+ Prelude.<$> ( x+ Data..?> "PreparedStatements"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> ( x+ Data..?> "UnprocessedPreparedStatementNames"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable BatchGetPreparedStatement where+ hashWithSalt _salt BatchGetPreparedStatement' {..} =+ _salt+ `Prelude.hashWithSalt` preparedStatementNames+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData BatchGetPreparedStatement where+ rnf BatchGetPreparedStatement' {..} =+ Prelude.rnf preparedStatementNames+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders BatchGetPreparedStatement where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.BatchGetPreparedStatement" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON BatchGetPreparedStatement where+ toJSON BatchGetPreparedStatement' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "PreparedStatementNames"+ Data..= preparedStatementNames+ ),+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath BatchGetPreparedStatement where+ toPath = Prelude.const "/"++instance Data.ToQuery BatchGetPreparedStatement where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newBatchGetPreparedStatementResponse' smart constructor.+data BatchGetPreparedStatementResponse = BatchGetPreparedStatementResponse'+ { -- | The list of prepared statements returned.+ preparedStatements :: Prelude.Maybe [PreparedStatement],+ -- | A list of one or more prepared statements that were requested but could+ -- not be returned.+ unprocessedPreparedStatementNames :: Prelude.Maybe [UnprocessedPreparedStatementName],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchGetPreparedStatementResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'preparedStatements', 'batchGetPreparedStatementResponse_preparedStatements' - The list of prepared statements returned.+--+-- 'unprocessedPreparedStatementNames', 'batchGetPreparedStatementResponse_unprocessedPreparedStatementNames' - A list of one or more prepared statements that were requested but could+-- not be returned.+--+-- 'httpStatus', 'batchGetPreparedStatementResponse_httpStatus' - The response's http status code.+newBatchGetPreparedStatementResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ BatchGetPreparedStatementResponse+newBatchGetPreparedStatementResponse pHttpStatus_ =+ BatchGetPreparedStatementResponse'+ { preparedStatements =+ Prelude.Nothing,+ unprocessedPreparedStatementNames =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of prepared statements returned.+batchGetPreparedStatementResponse_preparedStatements :: Lens.Lens' BatchGetPreparedStatementResponse (Prelude.Maybe [PreparedStatement])+batchGetPreparedStatementResponse_preparedStatements = Lens.lens (\BatchGetPreparedStatementResponse' {preparedStatements} -> preparedStatements) (\s@BatchGetPreparedStatementResponse' {} a -> s {preparedStatements = a} :: BatchGetPreparedStatementResponse) Prelude.. Lens.mapping Lens.coerced++-- | A list of one or more prepared statements that were requested but could+-- not be returned.+batchGetPreparedStatementResponse_unprocessedPreparedStatementNames :: Lens.Lens' BatchGetPreparedStatementResponse (Prelude.Maybe [UnprocessedPreparedStatementName])+batchGetPreparedStatementResponse_unprocessedPreparedStatementNames = Lens.lens (\BatchGetPreparedStatementResponse' {unprocessedPreparedStatementNames} -> unprocessedPreparedStatementNames) (\s@BatchGetPreparedStatementResponse' {} a -> s {unprocessedPreparedStatementNames = a} :: BatchGetPreparedStatementResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+batchGetPreparedStatementResponse_httpStatus :: Lens.Lens' BatchGetPreparedStatementResponse Prelude.Int+batchGetPreparedStatementResponse_httpStatus = Lens.lens (\BatchGetPreparedStatementResponse' {httpStatus} -> httpStatus) (\s@BatchGetPreparedStatementResponse' {} a -> s {httpStatus = a} :: BatchGetPreparedStatementResponse)++instance+ Prelude.NFData+ BatchGetPreparedStatementResponse+ where+ rnf BatchGetPreparedStatementResponse' {..} =+ Prelude.rnf preparedStatements+ `Prelude.seq` Prelude.rnf unprocessedPreparedStatementNames+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/BatchGetQueryExecution.hs view
@@ -0,0 +1,204 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.BatchGetQueryExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the details of a single query execution or a list of up to 50+-- query executions, which you provide as an array of query execution ID+-- strings. Requires you to have access to the workgroup in which the+-- queries ran. To get a list of query execution IDs, use+-- ListQueryExecutionsInput$WorkGroup. Query executions differ from named+-- (saved) queries. Use BatchGetNamedQueryInput to get details about named+-- queries.+module Amazonka.Athena.BatchGetQueryExecution+ ( -- * Creating a Request+ BatchGetQueryExecution (..),+ newBatchGetQueryExecution,++ -- * Request Lenses+ batchGetQueryExecution_queryExecutionIds,++ -- * Destructuring the Response+ BatchGetQueryExecutionResponse (..),+ newBatchGetQueryExecutionResponse,++ -- * Response Lenses+ batchGetQueryExecutionResponse_queryExecutions,+ batchGetQueryExecutionResponse_unprocessedQueryExecutionIds,+ batchGetQueryExecutionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains an array of query execution IDs.+--+-- /See:/ 'newBatchGetQueryExecution' smart constructor.+data BatchGetQueryExecution = BatchGetQueryExecution'+ { -- | An array of query execution IDs.+ queryExecutionIds :: Prelude.NonEmpty Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchGetQueryExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryExecutionIds', 'batchGetQueryExecution_queryExecutionIds' - An array of query execution IDs.+newBatchGetQueryExecution ::+ -- | 'queryExecutionIds'+ Prelude.NonEmpty Prelude.Text ->+ BatchGetQueryExecution+newBatchGetQueryExecution pQueryExecutionIds_ =+ BatchGetQueryExecution'+ { queryExecutionIds =+ Lens.coerced Lens.# pQueryExecutionIds_+ }++-- | An array of query execution IDs.+batchGetQueryExecution_queryExecutionIds :: Lens.Lens' BatchGetQueryExecution (Prelude.NonEmpty Prelude.Text)+batchGetQueryExecution_queryExecutionIds = Lens.lens (\BatchGetQueryExecution' {queryExecutionIds} -> queryExecutionIds) (\s@BatchGetQueryExecution' {} a -> s {queryExecutionIds = a} :: BatchGetQueryExecution) Prelude.. Lens.coerced++instance Core.AWSRequest BatchGetQueryExecution where+ type+ AWSResponse BatchGetQueryExecution =+ BatchGetQueryExecutionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ BatchGetQueryExecutionResponse'+ Prelude.<$> ( x+ Data..?> "QueryExecutions"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> ( x+ Data..?> "UnprocessedQueryExecutionIds"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable BatchGetQueryExecution where+ hashWithSalt _salt BatchGetQueryExecution' {..} =+ _salt `Prelude.hashWithSalt` queryExecutionIds++instance Prelude.NFData BatchGetQueryExecution where+ rnf BatchGetQueryExecution' {..} =+ Prelude.rnf queryExecutionIds++instance Data.ToHeaders BatchGetQueryExecution where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.BatchGetQueryExecution" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON BatchGetQueryExecution where+ toJSON BatchGetQueryExecution' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("QueryExecutionIds" Data..= queryExecutionIds)+ ]+ )++instance Data.ToPath BatchGetQueryExecution where+ toPath = Prelude.const "/"++instance Data.ToQuery BatchGetQueryExecution where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newBatchGetQueryExecutionResponse' smart constructor.+data BatchGetQueryExecutionResponse = BatchGetQueryExecutionResponse'+ { -- | Information about a query execution.+ queryExecutions :: Prelude.Maybe [QueryExecution],+ -- | Information about the query executions that failed to run.+ unprocessedQueryExecutionIds :: Prelude.Maybe [UnprocessedQueryExecutionId],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchGetQueryExecutionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryExecutions', 'batchGetQueryExecutionResponse_queryExecutions' - Information about a query execution.+--+-- 'unprocessedQueryExecutionIds', 'batchGetQueryExecutionResponse_unprocessedQueryExecutionIds' - Information about the query executions that failed to run.+--+-- 'httpStatus', 'batchGetQueryExecutionResponse_httpStatus' - The response's http status code.+newBatchGetQueryExecutionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ BatchGetQueryExecutionResponse+newBatchGetQueryExecutionResponse pHttpStatus_ =+ BatchGetQueryExecutionResponse'+ { queryExecutions =+ Prelude.Nothing,+ unprocessedQueryExecutionIds =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Information about a query execution.+batchGetQueryExecutionResponse_queryExecutions :: Lens.Lens' BatchGetQueryExecutionResponse (Prelude.Maybe [QueryExecution])+batchGetQueryExecutionResponse_queryExecutions = Lens.lens (\BatchGetQueryExecutionResponse' {queryExecutions} -> queryExecutions) (\s@BatchGetQueryExecutionResponse' {} a -> s {queryExecutions = a} :: BatchGetQueryExecutionResponse) Prelude.. Lens.mapping Lens.coerced++-- | Information about the query executions that failed to run.+batchGetQueryExecutionResponse_unprocessedQueryExecutionIds :: Lens.Lens' BatchGetQueryExecutionResponse (Prelude.Maybe [UnprocessedQueryExecutionId])+batchGetQueryExecutionResponse_unprocessedQueryExecutionIds = Lens.lens (\BatchGetQueryExecutionResponse' {unprocessedQueryExecutionIds} -> unprocessedQueryExecutionIds) (\s@BatchGetQueryExecutionResponse' {} a -> s {unprocessedQueryExecutionIds = a} :: BatchGetQueryExecutionResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+batchGetQueryExecutionResponse_httpStatus :: Lens.Lens' BatchGetQueryExecutionResponse Prelude.Int+batchGetQueryExecutionResponse_httpStatus = Lens.lens (\BatchGetQueryExecutionResponse' {httpStatus} -> httpStatus) (\s@BatchGetQueryExecutionResponse' {} a -> s {httpStatus = a} :: BatchGetQueryExecutionResponse)++instance+ Prelude.NFData+ BatchGetQueryExecutionResponse+ where+ rnf BatchGetQueryExecutionResponse' {..} =+ Prelude.rnf queryExecutions+ `Prelude.seq` Prelude.rnf unprocessedQueryExecutionIds+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/CreateDataCatalog.hs view
@@ -0,0 +1,355 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.CreateDataCatalog+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates (registers) a data catalog with the specified name and+-- properties. Catalogs created are visible to all users of the same Amazon+-- Web Services account.+module Amazonka.Athena.CreateDataCatalog+ ( -- * Creating a Request+ CreateDataCatalog (..),+ newCreateDataCatalog,++ -- * Request Lenses+ createDataCatalog_description,+ createDataCatalog_parameters,+ createDataCatalog_tags,+ createDataCatalog_name,+ createDataCatalog_type,++ -- * Destructuring the Response+ CreateDataCatalogResponse (..),+ newCreateDataCatalogResponse,++ -- * Response Lenses+ createDataCatalogResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateDataCatalog' smart constructor.+data CreateDataCatalog = CreateDataCatalog'+ { -- | A description of the data catalog to be created.+ description :: Prelude.Maybe Prelude.Text,+ -- | Specifies the Lambda function or functions to use for creating the data+ -- catalog. This is a mapping whose values depend on the catalog type.+ --+ -- - For the @HIVE@ data catalog type, use the following syntax. The+ -- @metadata-function@ parameter is required. @The sdk-version@+ -- parameter is optional and defaults to the currently supported+ -- version.+ --+ -- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+ --+ -- - For the @LAMBDA@ data catalog type, use one of the following sets of+ -- required parameters, but not both.+ --+ -- - If you have one Lambda function that processes metadata and+ -- another for reading the actual data, use the following syntax.+ -- Both parameters are required.+ --+ -- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+ --+ -- - If you have a composite Lambda function that processes both+ -- metadata and data, use the following syntax to specify your+ -- Lambda function.+ --+ -- @function=@/@lambda_arn@/@ @+ --+ -- - The @GLUE@ type takes a catalog ID parameter and is required. The+ -- @ @/@catalog_id@/@ @ is the account ID of the Amazon Web Services+ -- account to which the Glue Data Catalog belongs.+ --+ -- @catalog-id=@/@catalog_id@/@ @+ --+ -- - The @GLUE@ data catalog type also applies to the default+ -- @AwsDataCatalog@ that already exists in your account, of which+ -- you can have only one and cannot modify.+ --+ -- - Queries that specify a Glue Data Catalog other than the default+ -- @AwsDataCatalog@ must be run on Athena engine version 2.+ --+ -- - In Regions where Athena engine version 2 is not available,+ -- creating new Glue data catalogs results in an @INVALID_INPUT@+ -- error.+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | A list of comma separated tags to add to the data catalog that is+ -- created.+ tags :: Prelude.Maybe [Tag],+ -- | The name of the data catalog to create. The catalog name must be unique+ -- for the Amazon Web Services account and can use a maximum of 127+ -- alphanumeric, underscore, at sign, or hyphen characters. The remainder+ -- of the length constraint of 256 is reserved for use by Athena.+ name :: Prelude.Text,+ -- | The type of data catalog to create: @LAMBDA@ for a federated catalog,+ -- @HIVE@ for an external hive metastore, or @GLUE@ for an Glue Data+ -- Catalog.+ type' :: DataCatalogType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataCatalog' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createDataCatalog_description' - A description of the data catalog to be created.+--+-- 'parameters', 'createDataCatalog_parameters' - Specifies the Lambda function or functions to use for creating the data+-- catalog. This is a mapping whose values depend on the catalog type.+--+-- - For the @HIVE@ data catalog type, use the following syntax. The+-- @metadata-function@ parameter is required. @The sdk-version@+-- parameter is optional and defaults to the currently supported+-- version.+--+-- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+--+-- - For the @LAMBDA@ data catalog type, use one of the following sets of+-- required parameters, but not both.+--+-- - If you have one Lambda function that processes metadata and+-- another for reading the actual data, use the following syntax.+-- Both parameters are required.+--+-- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+--+-- - If you have a composite Lambda function that processes both+-- metadata and data, use the following syntax to specify your+-- Lambda function.+--+-- @function=@/@lambda_arn@/@ @+--+-- - The @GLUE@ type takes a catalog ID parameter and is required. The+-- @ @/@catalog_id@/@ @ is the account ID of the Amazon Web Services+-- account to which the Glue Data Catalog belongs.+--+-- @catalog-id=@/@catalog_id@/@ @+--+-- - The @GLUE@ data catalog type also applies to the default+-- @AwsDataCatalog@ that already exists in your account, of which+-- you can have only one and cannot modify.+--+-- - Queries that specify a Glue Data Catalog other than the default+-- @AwsDataCatalog@ must be run on Athena engine version 2.+--+-- - In Regions where Athena engine version 2 is not available,+-- creating new Glue data catalogs results in an @INVALID_INPUT@+-- error.+--+-- 'tags', 'createDataCatalog_tags' - A list of comma separated tags to add to the data catalog that is+-- created.+--+-- 'name', 'createDataCatalog_name' - The name of the data catalog to create. The catalog name must be unique+-- for the Amazon Web Services account and can use a maximum of 127+-- alphanumeric, underscore, at sign, or hyphen characters. The remainder+-- of the length constraint of 256 is reserved for use by Athena.+--+-- 'type'', 'createDataCatalog_type' - The type of data catalog to create: @LAMBDA@ for a federated catalog,+-- @HIVE@ for an external hive metastore, or @GLUE@ for an Glue Data+-- Catalog.+newCreateDataCatalog ::+ -- | 'name'+ Prelude.Text ->+ -- | 'type''+ DataCatalogType ->+ CreateDataCatalog+newCreateDataCatalog pName_ pType_ =+ CreateDataCatalog'+ { description = Prelude.Nothing,+ parameters = Prelude.Nothing,+ tags = Prelude.Nothing,+ name = pName_,+ type' = pType_+ }++-- | A description of the data catalog to be created.+createDataCatalog_description :: Lens.Lens' CreateDataCatalog (Prelude.Maybe Prelude.Text)+createDataCatalog_description = Lens.lens (\CreateDataCatalog' {description} -> description) (\s@CreateDataCatalog' {} a -> s {description = a} :: CreateDataCatalog)++-- | Specifies the Lambda function or functions to use for creating the data+-- catalog. This is a mapping whose values depend on the catalog type.+--+-- - For the @HIVE@ data catalog type, use the following syntax. The+-- @metadata-function@ parameter is required. @The sdk-version@+-- parameter is optional and defaults to the currently supported+-- version.+--+-- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+--+-- - For the @LAMBDA@ data catalog type, use one of the following sets of+-- required parameters, but not both.+--+-- - If you have one Lambda function that processes metadata and+-- another for reading the actual data, use the following syntax.+-- Both parameters are required.+--+-- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+--+-- - If you have a composite Lambda function that processes both+-- metadata and data, use the following syntax to specify your+-- Lambda function.+--+-- @function=@/@lambda_arn@/@ @+--+-- - The @GLUE@ type takes a catalog ID parameter and is required. The+-- @ @/@catalog_id@/@ @ is the account ID of the Amazon Web Services+-- account to which the Glue Data Catalog belongs.+--+-- @catalog-id=@/@catalog_id@/@ @+--+-- - The @GLUE@ data catalog type also applies to the default+-- @AwsDataCatalog@ that already exists in your account, of which+-- you can have only one and cannot modify.+--+-- - Queries that specify a Glue Data Catalog other than the default+-- @AwsDataCatalog@ must be run on Athena engine version 2.+--+-- - In Regions where Athena engine version 2 is not available,+-- creating new Glue data catalogs results in an @INVALID_INPUT@+-- error.+createDataCatalog_parameters :: Lens.Lens' CreateDataCatalog (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createDataCatalog_parameters = Lens.lens (\CreateDataCatalog' {parameters} -> parameters) (\s@CreateDataCatalog' {} a -> s {parameters = a} :: CreateDataCatalog) Prelude.. Lens.mapping Lens.coerced++-- | A list of comma separated tags to add to the data catalog that is+-- created.+createDataCatalog_tags :: Lens.Lens' CreateDataCatalog (Prelude.Maybe [Tag])+createDataCatalog_tags = Lens.lens (\CreateDataCatalog' {tags} -> tags) (\s@CreateDataCatalog' {} a -> s {tags = a} :: CreateDataCatalog) Prelude.. Lens.mapping Lens.coerced++-- | The name of the data catalog to create. The catalog name must be unique+-- for the Amazon Web Services account and can use a maximum of 127+-- alphanumeric, underscore, at sign, or hyphen characters. The remainder+-- of the length constraint of 256 is reserved for use by Athena.+createDataCatalog_name :: Lens.Lens' CreateDataCatalog Prelude.Text+createDataCatalog_name = Lens.lens (\CreateDataCatalog' {name} -> name) (\s@CreateDataCatalog' {} a -> s {name = a} :: CreateDataCatalog)++-- | The type of data catalog to create: @LAMBDA@ for a federated catalog,+-- @HIVE@ for an external hive metastore, or @GLUE@ for an Glue Data+-- Catalog.+createDataCatalog_type :: Lens.Lens' CreateDataCatalog DataCatalogType+createDataCatalog_type = Lens.lens (\CreateDataCatalog' {type'} -> type') (\s@CreateDataCatalog' {} a -> s {type' = a} :: CreateDataCatalog)++instance Core.AWSRequest CreateDataCatalog where+ type+ AWSResponse CreateDataCatalog =+ CreateDataCatalogResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ CreateDataCatalogResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateDataCatalog where+ hashWithSalt _salt CreateDataCatalog' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'++instance Prelude.NFData CreateDataCatalog where+ rnf CreateDataCatalog' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders CreateDataCatalog where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.CreateDataCatalog" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateDataCatalog where+ toJSON CreateDataCatalog' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("Parameters" Data..=) Prelude.<$> parameters,+ ("Tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Type" Data..= type')+ ]+ )++instance Data.ToPath CreateDataCatalog where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateDataCatalog where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateDataCatalogResponse' smart constructor.+data CreateDataCatalogResponse = CreateDataCatalogResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataCatalogResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createDataCatalogResponse_httpStatus' - The response's http status code.+newCreateDataCatalogResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateDataCatalogResponse+newCreateDataCatalogResponse pHttpStatus_ =+ CreateDataCatalogResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+createDataCatalogResponse_httpStatus :: Lens.Lens' CreateDataCatalogResponse Prelude.Int+createDataCatalogResponse_httpStatus = Lens.lens (\CreateDataCatalogResponse' {httpStatus} -> httpStatus) (\s@CreateDataCatalogResponse' {} a -> s {httpStatus = a} :: CreateDataCatalogResponse)++instance Prelude.NFData CreateDataCatalogResponse where+ rnf CreateDataCatalogResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/CreateNamedQuery.hs view
@@ -0,0 +1,279 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.CreateNamedQuery+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a named query in the specified workgroup. Requires that you have+-- access to the workgroup.+--+-- For code samples using the Amazon Web Services SDK for Java, see+-- <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples>+-- in the /Amazon Athena User Guide/.+module Amazonka.Athena.CreateNamedQuery+ ( -- * Creating a Request+ CreateNamedQuery (..),+ newCreateNamedQuery,++ -- * Request Lenses+ createNamedQuery_clientRequestToken,+ createNamedQuery_description,+ createNamedQuery_workGroup,+ createNamedQuery_name,+ createNamedQuery_database,+ createNamedQuery_queryString,++ -- * Destructuring the Response+ CreateNamedQueryResponse (..),+ newCreateNamedQueryResponse,++ -- * Response Lenses+ createNamedQueryResponse_namedQueryId,+ createNamedQueryResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateNamedQuery' smart constructor.+data CreateNamedQuery = CreateNamedQuery'+ { -- | A unique case-sensitive string used to ensure the request to create the+ -- query is idempotent (executes only once). If another @CreateNamedQuery@+ -- request is received, the same response is returned and another query is+ -- not created. If a parameter has changed, for example, the @QueryString@,+ -- an error is returned.+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for users. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | The query description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name of the workgroup in which the named query is being created.+ workGroup :: Prelude.Maybe Prelude.Text,+ -- | The query name.+ name :: Prelude.Text,+ -- | The database to which the query belongs.+ database :: Prelude.Text,+ -- | The contents of the query with all query statements.+ queryString :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateNamedQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientRequestToken', 'createNamedQuery_clientRequestToken' - A unique case-sensitive string used to ensure the request to create the+-- query is idempotent (executes only once). If another @CreateNamedQuery@+-- request is received, the same response is returned and another query is+-- not created. If a parameter has changed, for example, the @QueryString@,+-- an error is returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'description', 'createNamedQuery_description' - The query description.+--+-- 'workGroup', 'createNamedQuery_workGroup' - The name of the workgroup in which the named query is being created.+--+-- 'name', 'createNamedQuery_name' - The query name.+--+-- 'database', 'createNamedQuery_database' - The database to which the query belongs.+--+-- 'queryString', 'createNamedQuery_queryString' - The contents of the query with all query statements.+newCreateNamedQuery ::+ -- | 'name'+ Prelude.Text ->+ -- | 'database'+ Prelude.Text ->+ -- | 'queryString'+ Prelude.Text ->+ CreateNamedQuery+newCreateNamedQuery pName_ pDatabase_ pQueryString_ =+ CreateNamedQuery'+ { clientRequestToken =+ Prelude.Nothing,+ description = Prelude.Nothing,+ workGroup = Prelude.Nothing,+ name = pName_,+ database = pDatabase_,+ queryString = pQueryString_+ }++-- | A unique case-sensitive string used to ensure the request to create the+-- query is idempotent (executes only once). If another @CreateNamedQuery@+-- request is received, the same response is returned and another query is+-- not created. If a parameter has changed, for example, the @QueryString@,+-- an error is returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+createNamedQuery_clientRequestToken :: Lens.Lens' CreateNamedQuery (Prelude.Maybe Prelude.Text)+createNamedQuery_clientRequestToken = Lens.lens (\CreateNamedQuery' {clientRequestToken} -> clientRequestToken) (\s@CreateNamedQuery' {} a -> s {clientRequestToken = a} :: CreateNamedQuery)++-- | The query description.+createNamedQuery_description :: Lens.Lens' CreateNamedQuery (Prelude.Maybe Prelude.Text)+createNamedQuery_description = Lens.lens (\CreateNamedQuery' {description} -> description) (\s@CreateNamedQuery' {} a -> s {description = a} :: CreateNamedQuery)++-- | The name of the workgroup in which the named query is being created.+createNamedQuery_workGroup :: Lens.Lens' CreateNamedQuery (Prelude.Maybe Prelude.Text)+createNamedQuery_workGroup = Lens.lens (\CreateNamedQuery' {workGroup} -> workGroup) (\s@CreateNamedQuery' {} a -> s {workGroup = a} :: CreateNamedQuery)++-- | The query name.+createNamedQuery_name :: Lens.Lens' CreateNamedQuery Prelude.Text+createNamedQuery_name = Lens.lens (\CreateNamedQuery' {name} -> name) (\s@CreateNamedQuery' {} a -> s {name = a} :: CreateNamedQuery)++-- | The database to which the query belongs.+createNamedQuery_database :: Lens.Lens' CreateNamedQuery Prelude.Text+createNamedQuery_database = Lens.lens (\CreateNamedQuery' {database} -> database) (\s@CreateNamedQuery' {} a -> s {database = a} :: CreateNamedQuery)++-- | The contents of the query with all query statements.+createNamedQuery_queryString :: Lens.Lens' CreateNamedQuery Prelude.Text+createNamedQuery_queryString = Lens.lens (\CreateNamedQuery' {queryString} -> queryString) (\s@CreateNamedQuery' {} a -> s {queryString = a} :: CreateNamedQuery)++instance Core.AWSRequest CreateNamedQuery where+ type+ AWSResponse CreateNamedQuery =+ CreateNamedQueryResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateNamedQueryResponse'+ Prelude.<$> (x Data..?> "NamedQueryId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateNamedQuery where+ hashWithSalt _salt CreateNamedQuery' {..} =+ _salt+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` database+ `Prelude.hashWithSalt` queryString++instance Prelude.NFData CreateNamedQuery where+ rnf CreateNamedQuery' {..} =+ Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf database+ `Prelude.seq` Prelude.rnf queryString++instance Data.ToHeaders CreateNamedQuery where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.CreateNamedQuery" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateNamedQuery where+ toJSON CreateNamedQuery' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ ("Description" Data..=) Prelude.<$> description,+ ("WorkGroup" Data..=) Prelude.<$> workGroup,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Database" Data..= database),+ Prelude.Just ("QueryString" Data..= queryString)+ ]+ )++instance Data.ToPath CreateNamedQuery where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateNamedQuery where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateNamedQueryResponse' smart constructor.+data CreateNamedQueryResponse = CreateNamedQueryResponse'+ { -- | The unique ID of the query.+ namedQueryId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateNamedQueryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'namedQueryId', 'createNamedQueryResponse_namedQueryId' - The unique ID of the query.+--+-- 'httpStatus', 'createNamedQueryResponse_httpStatus' - The response's http status code.+newCreateNamedQueryResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateNamedQueryResponse+newCreateNamedQueryResponse pHttpStatus_ =+ CreateNamedQueryResponse'+ { namedQueryId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The unique ID of the query.+createNamedQueryResponse_namedQueryId :: Lens.Lens' CreateNamedQueryResponse (Prelude.Maybe Prelude.Text)+createNamedQueryResponse_namedQueryId = Lens.lens (\CreateNamedQueryResponse' {namedQueryId} -> namedQueryId) (\s@CreateNamedQueryResponse' {} a -> s {namedQueryId = a} :: CreateNamedQueryResponse)++-- | The response's http status code.+createNamedQueryResponse_httpStatus :: Lens.Lens' CreateNamedQueryResponse Prelude.Int+createNamedQueryResponse_httpStatus = Lens.lens (\CreateNamedQueryResponse' {httpStatus} -> httpStatus) (\s@CreateNamedQueryResponse' {} a -> s {httpStatus = a} :: CreateNamedQueryResponse)++instance Prelude.NFData CreateNamedQueryResponse where+ rnf CreateNamedQueryResponse' {..} =+ Prelude.rnf namedQueryId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/CreateNotebook.hs view
@@ -0,0 +1,232 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.CreateNotebook+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an empty @ipynb@ file in the specified Apache Spark enabled+-- workgroup. Throws an error if a file in the workgroup with the same name+-- already exists.+module Amazonka.Athena.CreateNotebook+ ( -- * Creating a Request+ CreateNotebook (..),+ newCreateNotebook,++ -- * Request Lenses+ createNotebook_clientRequestToken,+ createNotebook_workGroup,+ createNotebook_name,++ -- * Destructuring the Response+ CreateNotebookResponse (..),+ newCreateNotebookResponse,++ -- * Response Lenses+ createNotebookResponse_notebookId,+ createNotebookResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateNotebook' smart constructor.+data CreateNotebook = CreateNotebook'+ { -- | A unique case-sensitive string used to ensure the request to create the+ -- notebook is idempotent (executes only once).+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for you. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the Spark enabled workgroup in which the notebook will be+ -- created.+ workGroup :: Prelude.Text,+ -- | The name of the @ipynb@ file to be created in the Spark workgroup,+ -- without the @.ipynb@ extension.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateNotebook' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientRequestToken', 'createNotebook_clientRequestToken' - A unique case-sensitive string used to ensure the request to create the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'workGroup', 'createNotebook_workGroup' - The name of the Spark enabled workgroup in which the notebook will be+-- created.+--+-- 'name', 'createNotebook_name' - The name of the @ipynb@ file to be created in the Spark workgroup,+-- without the @.ipynb@ extension.+newCreateNotebook ::+ -- | 'workGroup'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ CreateNotebook+newCreateNotebook pWorkGroup_ pName_ =+ CreateNotebook'+ { clientRequestToken =+ Prelude.Nothing,+ workGroup = pWorkGroup_,+ name = pName_+ }++-- | A unique case-sensitive string used to ensure the request to create the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+createNotebook_clientRequestToken :: Lens.Lens' CreateNotebook (Prelude.Maybe Prelude.Text)+createNotebook_clientRequestToken = Lens.lens (\CreateNotebook' {clientRequestToken} -> clientRequestToken) (\s@CreateNotebook' {} a -> s {clientRequestToken = a} :: CreateNotebook)++-- | The name of the Spark enabled workgroup in which the notebook will be+-- created.+createNotebook_workGroup :: Lens.Lens' CreateNotebook Prelude.Text+createNotebook_workGroup = Lens.lens (\CreateNotebook' {workGroup} -> workGroup) (\s@CreateNotebook' {} a -> s {workGroup = a} :: CreateNotebook)++-- | The name of the @ipynb@ file to be created in the Spark workgroup,+-- without the @.ipynb@ extension.+createNotebook_name :: Lens.Lens' CreateNotebook Prelude.Text+createNotebook_name = Lens.lens (\CreateNotebook' {name} -> name) (\s@CreateNotebook' {} a -> s {name = a} :: CreateNotebook)++instance Core.AWSRequest CreateNotebook where+ type+ AWSResponse CreateNotebook =+ CreateNotebookResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateNotebookResponse'+ Prelude.<$> (x Data..?> "NotebookId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateNotebook where+ hashWithSalt _salt CreateNotebook' {..} =+ _salt+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` name++instance Prelude.NFData CreateNotebook where+ rnf CreateNotebook' {..} =+ Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders CreateNotebook where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.CreateNotebook" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateNotebook where+ toJSON CreateNotebook' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ Prelude.Just ("WorkGroup" Data..= workGroup),+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath CreateNotebook where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateNotebook where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateNotebookResponse' smart constructor.+data CreateNotebookResponse = CreateNotebookResponse'+ { -- | A unique identifier for the notebook.+ notebookId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateNotebookResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notebookId', 'createNotebookResponse_notebookId' - A unique identifier for the notebook.+--+-- 'httpStatus', 'createNotebookResponse_httpStatus' - The response's http status code.+newCreateNotebookResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateNotebookResponse+newCreateNotebookResponse pHttpStatus_ =+ CreateNotebookResponse'+ { notebookId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A unique identifier for the notebook.+createNotebookResponse_notebookId :: Lens.Lens' CreateNotebookResponse (Prelude.Maybe Prelude.Text)+createNotebookResponse_notebookId = Lens.lens (\CreateNotebookResponse' {notebookId} -> notebookId) (\s@CreateNotebookResponse' {} a -> s {notebookId = a} :: CreateNotebookResponse)++-- | The response's http status code.+createNotebookResponse_httpStatus :: Lens.Lens' CreateNotebookResponse Prelude.Int+createNotebookResponse_httpStatus = Lens.lens (\CreateNotebookResponse' {httpStatus} -> httpStatus) (\s@CreateNotebookResponse' {} a -> s {httpStatus = a} :: CreateNotebookResponse)++instance Prelude.NFData CreateNotebookResponse where+ rnf CreateNotebookResponse' {..} =+ Prelude.rnf notebookId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/CreatePreparedStatement.hs view
@@ -0,0 +1,212 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.CreatePreparedStatement+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a prepared statement for use with SQL queries in Athena.+module Amazonka.Athena.CreatePreparedStatement+ ( -- * Creating a Request+ CreatePreparedStatement (..),+ newCreatePreparedStatement,++ -- * Request Lenses+ createPreparedStatement_description,+ createPreparedStatement_statementName,+ createPreparedStatement_workGroup,+ createPreparedStatement_queryStatement,++ -- * Destructuring the Response+ CreatePreparedStatementResponse (..),+ newCreatePreparedStatementResponse,++ -- * Response Lenses+ createPreparedStatementResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreatePreparedStatement' smart constructor.+data CreatePreparedStatement = CreatePreparedStatement'+ { -- | The description of the prepared statement.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name of the prepared statement.+ statementName :: Prelude.Text,+ -- | The name of the workgroup to which the prepared statement belongs.+ workGroup :: Prelude.Text,+ -- | The query string for the prepared statement.+ queryStatement :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePreparedStatement' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createPreparedStatement_description' - The description of the prepared statement.+--+-- 'statementName', 'createPreparedStatement_statementName' - The name of the prepared statement.+--+-- 'workGroup', 'createPreparedStatement_workGroup' - The name of the workgroup to which the prepared statement belongs.+--+-- 'queryStatement', 'createPreparedStatement_queryStatement' - The query string for the prepared statement.+newCreatePreparedStatement ::+ -- | 'statementName'+ Prelude.Text ->+ -- | 'workGroup'+ Prelude.Text ->+ -- | 'queryStatement'+ Prelude.Text ->+ CreatePreparedStatement+newCreatePreparedStatement+ pStatementName_+ pWorkGroup_+ pQueryStatement_ =+ CreatePreparedStatement'+ { description =+ Prelude.Nothing,+ statementName = pStatementName_,+ workGroup = pWorkGroup_,+ queryStatement = pQueryStatement_+ }++-- | The description of the prepared statement.+createPreparedStatement_description :: Lens.Lens' CreatePreparedStatement (Prelude.Maybe Prelude.Text)+createPreparedStatement_description = Lens.lens (\CreatePreparedStatement' {description} -> description) (\s@CreatePreparedStatement' {} a -> s {description = a} :: CreatePreparedStatement)++-- | The name of the prepared statement.+createPreparedStatement_statementName :: Lens.Lens' CreatePreparedStatement Prelude.Text+createPreparedStatement_statementName = Lens.lens (\CreatePreparedStatement' {statementName} -> statementName) (\s@CreatePreparedStatement' {} a -> s {statementName = a} :: CreatePreparedStatement)++-- | The name of the workgroup to which the prepared statement belongs.+createPreparedStatement_workGroup :: Lens.Lens' CreatePreparedStatement Prelude.Text+createPreparedStatement_workGroup = Lens.lens (\CreatePreparedStatement' {workGroup} -> workGroup) (\s@CreatePreparedStatement' {} a -> s {workGroup = a} :: CreatePreparedStatement)++-- | The query string for the prepared statement.+createPreparedStatement_queryStatement :: Lens.Lens' CreatePreparedStatement Prelude.Text+createPreparedStatement_queryStatement = Lens.lens (\CreatePreparedStatement' {queryStatement} -> queryStatement) (\s@CreatePreparedStatement' {} a -> s {queryStatement = a} :: CreatePreparedStatement)++instance Core.AWSRequest CreatePreparedStatement where+ type+ AWSResponse CreatePreparedStatement =+ CreatePreparedStatementResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ CreatePreparedStatementResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreatePreparedStatement where+ hashWithSalt _salt CreatePreparedStatement' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` statementName+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` queryStatement++instance Prelude.NFData CreatePreparedStatement where+ rnf CreatePreparedStatement' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf statementName+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf queryStatement++instance Data.ToHeaders CreatePreparedStatement where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.CreatePreparedStatement" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreatePreparedStatement where+ toJSON CreatePreparedStatement' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("StatementName" Data..= statementName),+ Prelude.Just ("WorkGroup" Data..= workGroup),+ Prelude.Just+ ("QueryStatement" Data..= queryStatement)+ ]+ )++instance Data.ToPath CreatePreparedStatement where+ toPath = Prelude.const "/"++instance Data.ToQuery CreatePreparedStatement where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreatePreparedStatementResponse' smart constructor.+data CreatePreparedStatementResponse = CreatePreparedStatementResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePreparedStatementResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createPreparedStatementResponse_httpStatus' - The response's http status code.+newCreatePreparedStatementResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreatePreparedStatementResponse+newCreatePreparedStatementResponse pHttpStatus_ =+ CreatePreparedStatementResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+createPreparedStatementResponse_httpStatus :: Lens.Lens' CreatePreparedStatementResponse Prelude.Int+createPreparedStatementResponse_httpStatus = Lens.lens (\CreatePreparedStatementResponse' {httpStatus} -> httpStatus) (\s@CreatePreparedStatementResponse' {} a -> s {httpStatus = a} :: CreatePreparedStatementResponse)++instance+ Prelude.NFData+ CreatePreparedStatementResponse+ where+ rnf CreatePreparedStatementResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/CreatePresignedNotebookUrl.hs view
@@ -0,0 +1,215 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.CreatePresignedNotebookUrl+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an authentication token and the URL at which the notebook can be+-- accessed. During programmatic access, @CreatePresignedNotebookUrl@ must+-- be called every 10 minutes to refresh the authentication token.+module Amazonka.Athena.CreatePresignedNotebookUrl+ ( -- * Creating a Request+ CreatePresignedNotebookUrl (..),+ newCreatePresignedNotebookUrl,++ -- * Request Lenses+ createPresignedNotebookUrl_sessionId,++ -- * Destructuring the Response+ CreatePresignedNotebookUrlResponse (..),+ newCreatePresignedNotebookUrlResponse,++ -- * Response Lenses+ createPresignedNotebookUrlResponse_httpStatus,+ createPresignedNotebookUrlResponse_notebookUrl,+ createPresignedNotebookUrlResponse_authToken,+ createPresignedNotebookUrlResponse_authTokenExpirationTime,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreatePresignedNotebookUrl' smart constructor.+data CreatePresignedNotebookUrl = CreatePresignedNotebookUrl'+ { -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePresignedNotebookUrl' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sessionId', 'createPresignedNotebookUrl_sessionId' - The session ID.+newCreatePresignedNotebookUrl ::+ -- | 'sessionId'+ Prelude.Text ->+ CreatePresignedNotebookUrl+newCreatePresignedNotebookUrl pSessionId_ =+ CreatePresignedNotebookUrl'+ { sessionId =+ pSessionId_+ }++-- | The session ID.+createPresignedNotebookUrl_sessionId :: Lens.Lens' CreatePresignedNotebookUrl Prelude.Text+createPresignedNotebookUrl_sessionId = Lens.lens (\CreatePresignedNotebookUrl' {sessionId} -> sessionId) (\s@CreatePresignedNotebookUrl' {} a -> s {sessionId = a} :: CreatePresignedNotebookUrl)++instance Core.AWSRequest CreatePresignedNotebookUrl where+ type+ AWSResponse CreatePresignedNotebookUrl =+ CreatePresignedNotebookUrlResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreatePresignedNotebookUrlResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "NotebookUrl")+ Prelude.<*> (x Data..:> "AuthToken")+ Prelude.<*> (x Data..:> "AuthTokenExpirationTime")+ )++instance Prelude.Hashable CreatePresignedNotebookUrl where+ hashWithSalt _salt CreatePresignedNotebookUrl' {..} =+ _salt `Prelude.hashWithSalt` sessionId++instance Prelude.NFData CreatePresignedNotebookUrl where+ rnf CreatePresignedNotebookUrl' {..} =+ Prelude.rnf sessionId++instance Data.ToHeaders CreatePresignedNotebookUrl where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.CreatePresignedNotebookUrl" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreatePresignedNotebookUrl where+ toJSON CreatePresignedNotebookUrl' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("SessionId" Data..= sessionId)]+ )++instance Data.ToPath CreatePresignedNotebookUrl where+ toPath = Prelude.const "/"++instance Data.ToQuery CreatePresignedNotebookUrl where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreatePresignedNotebookUrlResponse' smart constructor.+data CreatePresignedNotebookUrlResponse = CreatePresignedNotebookUrlResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The URL of the notebook. The URL includes the authentication token and+ -- notebook file name and points directly to the opened notebook.+ notebookUrl :: Prelude.Text,+ -- | The authentication token for the notebook.+ authToken :: Prelude.Text,+ -- | The UTC epoch time when the authentication token expires.+ authTokenExpirationTime :: Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePresignedNotebookUrlResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createPresignedNotebookUrlResponse_httpStatus' - The response's http status code.+--+-- 'notebookUrl', 'createPresignedNotebookUrlResponse_notebookUrl' - The URL of the notebook. The URL includes the authentication token and+-- notebook file name and points directly to the opened notebook.+--+-- 'authToken', 'createPresignedNotebookUrlResponse_authToken' - The authentication token for the notebook.+--+-- 'authTokenExpirationTime', 'createPresignedNotebookUrlResponse_authTokenExpirationTime' - The UTC epoch time when the authentication token expires.+newCreatePresignedNotebookUrlResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'notebookUrl'+ Prelude.Text ->+ -- | 'authToken'+ Prelude.Text ->+ -- | 'authTokenExpirationTime'+ Prelude.Integer ->+ CreatePresignedNotebookUrlResponse+newCreatePresignedNotebookUrlResponse+ pHttpStatus_+ pNotebookUrl_+ pAuthToken_+ pAuthTokenExpirationTime_ =+ CreatePresignedNotebookUrlResponse'+ { httpStatus =+ pHttpStatus_,+ notebookUrl = pNotebookUrl_,+ authToken = pAuthToken_,+ authTokenExpirationTime =+ pAuthTokenExpirationTime_+ }++-- | The response's http status code.+createPresignedNotebookUrlResponse_httpStatus :: Lens.Lens' CreatePresignedNotebookUrlResponse Prelude.Int+createPresignedNotebookUrlResponse_httpStatus = Lens.lens (\CreatePresignedNotebookUrlResponse' {httpStatus} -> httpStatus) (\s@CreatePresignedNotebookUrlResponse' {} a -> s {httpStatus = a} :: CreatePresignedNotebookUrlResponse)++-- | The URL of the notebook. The URL includes the authentication token and+-- notebook file name and points directly to the opened notebook.+createPresignedNotebookUrlResponse_notebookUrl :: Lens.Lens' CreatePresignedNotebookUrlResponse Prelude.Text+createPresignedNotebookUrlResponse_notebookUrl = Lens.lens (\CreatePresignedNotebookUrlResponse' {notebookUrl} -> notebookUrl) (\s@CreatePresignedNotebookUrlResponse' {} a -> s {notebookUrl = a} :: CreatePresignedNotebookUrlResponse)++-- | The authentication token for the notebook.+createPresignedNotebookUrlResponse_authToken :: Lens.Lens' CreatePresignedNotebookUrlResponse Prelude.Text+createPresignedNotebookUrlResponse_authToken = Lens.lens (\CreatePresignedNotebookUrlResponse' {authToken} -> authToken) (\s@CreatePresignedNotebookUrlResponse' {} a -> s {authToken = a} :: CreatePresignedNotebookUrlResponse)++-- | The UTC epoch time when the authentication token expires.+createPresignedNotebookUrlResponse_authTokenExpirationTime :: Lens.Lens' CreatePresignedNotebookUrlResponse Prelude.Integer+createPresignedNotebookUrlResponse_authTokenExpirationTime = Lens.lens (\CreatePresignedNotebookUrlResponse' {authTokenExpirationTime} -> authTokenExpirationTime) (\s@CreatePresignedNotebookUrlResponse' {} a -> s {authTokenExpirationTime = a} :: CreatePresignedNotebookUrlResponse)++instance+ Prelude.NFData+ CreatePresignedNotebookUrlResponse+ where+ rnf CreatePresignedNotebookUrlResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf notebookUrl+ `Prelude.seq` Prelude.rnf authToken+ `Prelude.seq` Prelude.rnf authTokenExpirationTime
+ gen/Amazonka/Athena/CreateWorkGroup.hs view
@@ -0,0 +1,224 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.CreateWorkGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a workgroup with the specified name. Only one of+-- @Configurations@ or @Configuration@ can be specified; @Configurations@+-- for a workgroup with multi engine support (for example, an Apache Spark+-- enabled workgroup) or @Configuration@ for an Athena SQL workgroup.+module Amazonka.Athena.CreateWorkGroup+ ( -- * Creating a Request+ CreateWorkGroup (..),+ newCreateWorkGroup,++ -- * Request Lenses+ createWorkGroup_configuration,+ createWorkGroup_description,+ createWorkGroup_tags,+ createWorkGroup_name,++ -- * Destructuring the Response+ CreateWorkGroupResponse (..),+ newCreateWorkGroupResponse,++ -- * Response Lenses+ createWorkGroupResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateWorkGroup' smart constructor.+data CreateWorkGroup = CreateWorkGroup'+ { -- | Contains configuration information for creating an Athena SQL workgroup,+ -- which includes the location in Amazon S3 where query results are stored,+ -- the encryption configuration, if any, used for encrypting query results,+ -- whether the Amazon CloudWatch Metrics are enabled for the workgroup, the+ -- limit for the amount of bytes scanned (cutoff) per query, if it is+ -- specified, and whether workgroup\'s settings (specified with+ -- @EnforceWorkGroupConfiguration@) in the @WorkGroupConfiguration@+ -- override client-side settings. See+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+ configuration :: Prelude.Maybe WorkGroupConfiguration,+ -- | The workgroup description.+ description :: Prelude.Maybe Prelude.Text,+ -- | A list of comma separated tags to add to the workgroup that is created.+ tags :: Prelude.Maybe [Tag],+ -- | The workgroup name.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateWorkGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'configuration', 'createWorkGroup_configuration' - Contains configuration information for creating an Athena SQL workgroup,+-- which includes the location in Amazon S3 where query results are stored,+-- the encryption configuration, if any, used for encrypting query results,+-- whether the Amazon CloudWatch Metrics are enabled for the workgroup, the+-- limit for the amount of bytes scanned (cutoff) per query, if it is+-- specified, and whether workgroup\'s settings (specified with+-- @EnforceWorkGroupConfiguration@) in the @WorkGroupConfiguration@+-- override client-side settings. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+--+-- 'description', 'createWorkGroup_description' - The workgroup description.+--+-- 'tags', 'createWorkGroup_tags' - A list of comma separated tags to add to the workgroup that is created.+--+-- 'name', 'createWorkGroup_name' - The workgroup name.+newCreateWorkGroup ::+ -- | 'name'+ Prelude.Text ->+ CreateWorkGroup+newCreateWorkGroup pName_ =+ CreateWorkGroup'+ { configuration = Prelude.Nothing,+ description = Prelude.Nothing,+ tags = Prelude.Nothing,+ name = pName_+ }++-- | Contains configuration information for creating an Athena SQL workgroup,+-- which includes the location in Amazon S3 where query results are stored,+-- the encryption configuration, if any, used for encrypting query results,+-- whether the Amazon CloudWatch Metrics are enabled for the workgroup, the+-- limit for the amount of bytes scanned (cutoff) per query, if it is+-- specified, and whether workgroup\'s settings (specified with+-- @EnforceWorkGroupConfiguration@) in the @WorkGroupConfiguration@+-- override client-side settings. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+createWorkGroup_configuration :: Lens.Lens' CreateWorkGroup (Prelude.Maybe WorkGroupConfiguration)+createWorkGroup_configuration = Lens.lens (\CreateWorkGroup' {configuration} -> configuration) (\s@CreateWorkGroup' {} a -> s {configuration = a} :: CreateWorkGroup)++-- | The workgroup description.+createWorkGroup_description :: Lens.Lens' CreateWorkGroup (Prelude.Maybe Prelude.Text)+createWorkGroup_description = Lens.lens (\CreateWorkGroup' {description} -> description) (\s@CreateWorkGroup' {} a -> s {description = a} :: CreateWorkGroup)++-- | A list of comma separated tags to add to the workgroup that is created.+createWorkGroup_tags :: Lens.Lens' CreateWorkGroup (Prelude.Maybe [Tag])+createWorkGroup_tags = Lens.lens (\CreateWorkGroup' {tags} -> tags) (\s@CreateWorkGroup' {} a -> s {tags = a} :: CreateWorkGroup) Prelude.. Lens.mapping Lens.coerced++-- | The workgroup name.+createWorkGroup_name :: Lens.Lens' CreateWorkGroup Prelude.Text+createWorkGroup_name = Lens.lens (\CreateWorkGroup' {name} -> name) (\s@CreateWorkGroup' {} a -> s {name = a} :: CreateWorkGroup)++instance Core.AWSRequest CreateWorkGroup where+ type+ AWSResponse CreateWorkGroup =+ CreateWorkGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ CreateWorkGroupResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateWorkGroup where+ hashWithSalt _salt CreateWorkGroup' {..} =+ _salt+ `Prelude.hashWithSalt` configuration+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` name++instance Prelude.NFData CreateWorkGroup where+ rnf CreateWorkGroup' {..} =+ Prelude.rnf configuration+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders CreateWorkGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.CreateWorkGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateWorkGroup where+ toJSON CreateWorkGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Configuration" Data..=) Prelude.<$> configuration,+ ("Description" Data..=) Prelude.<$> description,+ ("Tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath CreateWorkGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateWorkGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateWorkGroupResponse' smart constructor.+data CreateWorkGroupResponse = CreateWorkGroupResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateWorkGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createWorkGroupResponse_httpStatus' - The response's http status code.+newCreateWorkGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateWorkGroupResponse+newCreateWorkGroupResponse pHttpStatus_ =+ CreateWorkGroupResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+createWorkGroupResponse_httpStatus :: Lens.Lens' CreateWorkGroupResponse Prelude.Int+createWorkGroupResponse_httpStatus = Lens.lens (\CreateWorkGroupResponse' {httpStatus} -> httpStatus) (\s@CreateWorkGroupResponse' {} a -> s {httpStatus = a} :: CreateWorkGroupResponse)++instance Prelude.NFData CreateWorkGroupResponse where+ rnf CreateWorkGroupResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/DeleteDataCatalog.hs view
@@ -0,0 +1,156 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.DeleteDataCatalog+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a data catalog.+module Amazonka.Athena.DeleteDataCatalog+ ( -- * Creating a Request+ DeleteDataCatalog (..),+ newDeleteDataCatalog,++ -- * Request Lenses+ deleteDataCatalog_name,++ -- * Destructuring the Response+ DeleteDataCatalogResponse (..),+ newDeleteDataCatalogResponse,++ -- * Response Lenses+ deleteDataCatalogResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteDataCatalog' smart constructor.+data DeleteDataCatalog = DeleteDataCatalog'+ { -- | The name of the data catalog to delete.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteDataCatalog' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteDataCatalog_name' - The name of the data catalog to delete.+newDeleteDataCatalog ::+ -- | 'name'+ Prelude.Text ->+ DeleteDataCatalog+newDeleteDataCatalog pName_ =+ DeleteDataCatalog' {name = pName_}++-- | The name of the data catalog to delete.+deleteDataCatalog_name :: Lens.Lens' DeleteDataCatalog Prelude.Text+deleteDataCatalog_name = Lens.lens (\DeleteDataCatalog' {name} -> name) (\s@DeleteDataCatalog' {} a -> s {name = a} :: DeleteDataCatalog)++instance Core.AWSRequest DeleteDataCatalog where+ type+ AWSResponse DeleteDataCatalog =+ DeleteDataCatalogResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteDataCatalogResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteDataCatalog where+ hashWithSalt _salt DeleteDataCatalog' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteDataCatalog where+ rnf DeleteDataCatalog' {..} = Prelude.rnf name++instance Data.ToHeaders DeleteDataCatalog where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.DeleteDataCatalog" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteDataCatalog where+ toJSON DeleteDataCatalog' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DeleteDataCatalog where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteDataCatalog where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteDataCatalogResponse' smart constructor.+data DeleteDataCatalogResponse = DeleteDataCatalogResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteDataCatalogResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteDataCatalogResponse_httpStatus' - The response's http status code.+newDeleteDataCatalogResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteDataCatalogResponse+newDeleteDataCatalogResponse pHttpStatus_ =+ DeleteDataCatalogResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteDataCatalogResponse_httpStatus :: Lens.Lens' DeleteDataCatalogResponse Prelude.Int+deleteDataCatalogResponse_httpStatus = Lens.lens (\DeleteDataCatalogResponse' {httpStatus} -> httpStatus) (\s@DeleteDataCatalogResponse' {} a -> s {httpStatus = a} :: DeleteDataCatalogResponse)++instance Prelude.NFData DeleteDataCatalogResponse where+ rnf DeleteDataCatalogResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/DeleteNamedQuery.hs view
@@ -0,0 +1,161 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.DeleteNamedQuery+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the named query if you have access to the workgroup in which the+-- query was saved.+--+-- For code samples using the Amazon Web Services SDK for Java, see+-- <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples>+-- in the /Amazon Athena User Guide/.+module Amazonka.Athena.DeleteNamedQuery+ ( -- * Creating a Request+ DeleteNamedQuery (..),+ newDeleteNamedQuery,++ -- * Request Lenses+ deleteNamedQuery_namedQueryId,++ -- * Destructuring the Response+ DeleteNamedQueryResponse (..),+ newDeleteNamedQueryResponse,++ -- * Response Lenses+ deleteNamedQueryResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteNamedQuery' smart constructor.+data DeleteNamedQuery = DeleteNamedQuery'+ { -- | The unique ID of the query to delete.+ namedQueryId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteNamedQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'namedQueryId', 'deleteNamedQuery_namedQueryId' - The unique ID of the query to delete.+newDeleteNamedQuery ::+ -- | 'namedQueryId'+ Prelude.Text ->+ DeleteNamedQuery+newDeleteNamedQuery pNamedQueryId_ =+ DeleteNamedQuery' {namedQueryId = pNamedQueryId_}++-- | The unique ID of the query to delete.+deleteNamedQuery_namedQueryId :: Lens.Lens' DeleteNamedQuery Prelude.Text+deleteNamedQuery_namedQueryId = Lens.lens (\DeleteNamedQuery' {namedQueryId} -> namedQueryId) (\s@DeleteNamedQuery' {} a -> s {namedQueryId = a} :: DeleteNamedQuery)++instance Core.AWSRequest DeleteNamedQuery where+ type+ AWSResponse DeleteNamedQuery =+ DeleteNamedQueryResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteNamedQueryResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteNamedQuery where+ hashWithSalt _salt DeleteNamedQuery' {..} =+ _salt `Prelude.hashWithSalt` namedQueryId++instance Prelude.NFData DeleteNamedQuery where+ rnf DeleteNamedQuery' {..} = Prelude.rnf namedQueryId++instance Data.ToHeaders DeleteNamedQuery where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.DeleteNamedQuery" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteNamedQuery where+ toJSON DeleteNamedQuery' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("NamedQueryId" Data..= namedQueryId)]+ )++instance Data.ToPath DeleteNamedQuery where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteNamedQuery where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteNamedQueryResponse' smart constructor.+data DeleteNamedQueryResponse = DeleteNamedQueryResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteNamedQueryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteNamedQueryResponse_httpStatus' - The response's http status code.+newDeleteNamedQueryResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteNamedQueryResponse+newDeleteNamedQueryResponse pHttpStatus_ =+ DeleteNamedQueryResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteNamedQueryResponse_httpStatus :: Lens.Lens' DeleteNamedQueryResponse Prelude.Int+deleteNamedQueryResponse_httpStatus = Lens.lens (\DeleteNamedQueryResponse' {httpStatus} -> httpStatus) (\s@DeleteNamedQueryResponse' {} a -> s {httpStatus = a} :: DeleteNamedQueryResponse)++instance Prelude.NFData DeleteNamedQueryResponse where+ rnf DeleteNamedQueryResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/DeleteNotebook.hs view
@@ -0,0 +1,153 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.DeleteNotebook+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified notebook.+module Amazonka.Athena.DeleteNotebook+ ( -- * Creating a Request+ DeleteNotebook (..),+ newDeleteNotebook,++ -- * Request Lenses+ deleteNotebook_notebookId,++ -- * Destructuring the Response+ DeleteNotebookResponse (..),+ newDeleteNotebookResponse,++ -- * Response Lenses+ deleteNotebookResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteNotebook' smart constructor.+data DeleteNotebook = DeleteNotebook'+ { -- | The ID of the notebook to delete.+ notebookId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteNotebook' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notebookId', 'deleteNotebook_notebookId' - The ID of the notebook to delete.+newDeleteNotebook ::+ -- | 'notebookId'+ Prelude.Text ->+ DeleteNotebook+newDeleteNotebook pNotebookId_ =+ DeleteNotebook' {notebookId = pNotebookId_}++-- | The ID of the notebook to delete.+deleteNotebook_notebookId :: Lens.Lens' DeleteNotebook Prelude.Text+deleteNotebook_notebookId = Lens.lens (\DeleteNotebook' {notebookId} -> notebookId) (\s@DeleteNotebook' {} a -> s {notebookId = a} :: DeleteNotebook)++instance Core.AWSRequest DeleteNotebook where+ type+ AWSResponse DeleteNotebook =+ DeleteNotebookResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteNotebookResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteNotebook where+ hashWithSalt _salt DeleteNotebook' {..} =+ _salt `Prelude.hashWithSalt` notebookId++instance Prelude.NFData DeleteNotebook where+ rnf DeleteNotebook' {..} = Prelude.rnf notebookId++instance Data.ToHeaders DeleteNotebook where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.DeleteNotebook" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteNotebook where+ toJSON DeleteNotebook' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("NotebookId" Data..= notebookId)]+ )++instance Data.ToPath DeleteNotebook where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteNotebook where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteNotebookResponse' smart constructor.+data DeleteNotebookResponse = DeleteNotebookResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteNotebookResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteNotebookResponse_httpStatus' - The response's http status code.+newDeleteNotebookResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteNotebookResponse+newDeleteNotebookResponse pHttpStatus_ =+ DeleteNotebookResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteNotebookResponse_httpStatus :: Lens.Lens' DeleteNotebookResponse Prelude.Int+deleteNotebookResponse_httpStatus = Lens.lens (\DeleteNotebookResponse' {httpStatus} -> httpStatus) (\s@DeleteNotebookResponse' {} a -> s {httpStatus = a} :: DeleteNotebookResponse)++instance Prelude.NFData DeleteNotebookResponse where+ rnf DeleteNotebookResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/DeletePreparedStatement.hs view
@@ -0,0 +1,184 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.DeletePreparedStatement+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the prepared statement with the specified name from the+-- specified workgroup.+module Amazonka.Athena.DeletePreparedStatement+ ( -- * Creating a Request+ DeletePreparedStatement (..),+ newDeletePreparedStatement,++ -- * Request Lenses+ deletePreparedStatement_statementName,+ deletePreparedStatement_workGroup,++ -- * Destructuring the Response+ DeletePreparedStatementResponse (..),+ newDeletePreparedStatementResponse,++ -- * Response Lenses+ deletePreparedStatementResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeletePreparedStatement' smart constructor.+data DeletePreparedStatement = DeletePreparedStatement'+ { -- | The name of the prepared statement to delete.+ statementName :: Prelude.Text,+ -- | The workgroup to which the statement to be deleted belongs.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeletePreparedStatement' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'statementName', 'deletePreparedStatement_statementName' - The name of the prepared statement to delete.+--+-- 'workGroup', 'deletePreparedStatement_workGroup' - The workgroup to which the statement to be deleted belongs.+newDeletePreparedStatement ::+ -- | 'statementName'+ Prelude.Text ->+ -- | 'workGroup'+ Prelude.Text ->+ DeletePreparedStatement+newDeletePreparedStatement+ pStatementName_+ pWorkGroup_ =+ DeletePreparedStatement'+ { statementName =+ pStatementName_,+ workGroup = pWorkGroup_+ }++-- | The name of the prepared statement to delete.+deletePreparedStatement_statementName :: Lens.Lens' DeletePreparedStatement Prelude.Text+deletePreparedStatement_statementName = Lens.lens (\DeletePreparedStatement' {statementName} -> statementName) (\s@DeletePreparedStatement' {} a -> s {statementName = a} :: DeletePreparedStatement)++-- | The workgroup to which the statement to be deleted belongs.+deletePreparedStatement_workGroup :: Lens.Lens' DeletePreparedStatement Prelude.Text+deletePreparedStatement_workGroup = Lens.lens (\DeletePreparedStatement' {workGroup} -> workGroup) (\s@DeletePreparedStatement' {} a -> s {workGroup = a} :: DeletePreparedStatement)++instance Core.AWSRequest DeletePreparedStatement where+ type+ AWSResponse DeletePreparedStatement =+ DeletePreparedStatementResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeletePreparedStatementResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeletePreparedStatement where+ hashWithSalt _salt DeletePreparedStatement' {..} =+ _salt+ `Prelude.hashWithSalt` statementName+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData DeletePreparedStatement where+ rnf DeletePreparedStatement' {..} =+ Prelude.rnf statementName+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders DeletePreparedStatement where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.DeletePreparedStatement" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeletePreparedStatement where+ toJSON DeletePreparedStatement' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("StatementName" Data..= statementName),+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath DeletePreparedStatement where+ toPath = Prelude.const "/"++instance Data.ToQuery DeletePreparedStatement where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeletePreparedStatementResponse' smart constructor.+data DeletePreparedStatementResponse = DeletePreparedStatementResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeletePreparedStatementResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deletePreparedStatementResponse_httpStatus' - The response's http status code.+newDeletePreparedStatementResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeletePreparedStatementResponse+newDeletePreparedStatementResponse pHttpStatus_ =+ DeletePreparedStatementResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deletePreparedStatementResponse_httpStatus :: Lens.Lens' DeletePreparedStatementResponse Prelude.Int+deletePreparedStatementResponse_httpStatus = Lens.lens (\DeletePreparedStatementResponse' {httpStatus} -> httpStatus) (\s@DeletePreparedStatementResponse' {} a -> s {httpStatus = a} :: DeletePreparedStatementResponse)++instance+ Prelude.NFData+ DeletePreparedStatementResponse+ where+ rnf DeletePreparedStatementResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/DeleteWorkGroup.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.DeleteWorkGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the workgroup with the specified name. The primary workgroup+-- cannot be deleted.+module Amazonka.Athena.DeleteWorkGroup+ ( -- * Creating a Request+ DeleteWorkGroup (..),+ newDeleteWorkGroup,++ -- * Request Lenses+ deleteWorkGroup_recursiveDeleteOption,+ deleteWorkGroup_workGroup,++ -- * Destructuring the Response+ DeleteWorkGroupResponse (..),+ newDeleteWorkGroupResponse,++ -- * Response Lenses+ deleteWorkGroupResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteWorkGroup' smart constructor.+data DeleteWorkGroup = DeleteWorkGroup'+ { -- | The option to delete the workgroup and its contents even if the+ -- workgroup contains any named queries or query executions.+ recursiveDeleteOption :: Prelude.Maybe Prelude.Bool,+ -- | The unique name of the workgroup to delete.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteWorkGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'recursiveDeleteOption', 'deleteWorkGroup_recursiveDeleteOption' - The option to delete the workgroup and its contents even if the+-- workgroup contains any named queries or query executions.+--+-- 'workGroup', 'deleteWorkGroup_workGroup' - The unique name of the workgroup to delete.+newDeleteWorkGroup ::+ -- | 'workGroup'+ Prelude.Text ->+ DeleteWorkGroup+newDeleteWorkGroup pWorkGroup_ =+ DeleteWorkGroup'+ { recursiveDeleteOption =+ Prelude.Nothing,+ workGroup = pWorkGroup_+ }++-- | The option to delete the workgroup and its contents even if the+-- workgroup contains any named queries or query executions.+deleteWorkGroup_recursiveDeleteOption :: Lens.Lens' DeleteWorkGroup (Prelude.Maybe Prelude.Bool)+deleteWorkGroup_recursiveDeleteOption = Lens.lens (\DeleteWorkGroup' {recursiveDeleteOption} -> recursiveDeleteOption) (\s@DeleteWorkGroup' {} a -> s {recursiveDeleteOption = a} :: DeleteWorkGroup)++-- | The unique name of the workgroup to delete.+deleteWorkGroup_workGroup :: Lens.Lens' DeleteWorkGroup Prelude.Text+deleteWorkGroup_workGroup = Lens.lens (\DeleteWorkGroup' {workGroup} -> workGroup) (\s@DeleteWorkGroup' {} a -> s {workGroup = a} :: DeleteWorkGroup)++instance Core.AWSRequest DeleteWorkGroup where+ type+ AWSResponse DeleteWorkGroup =+ DeleteWorkGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteWorkGroupResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteWorkGroup where+ hashWithSalt _salt DeleteWorkGroup' {..} =+ _salt+ `Prelude.hashWithSalt` recursiveDeleteOption+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData DeleteWorkGroup where+ rnf DeleteWorkGroup' {..} =+ Prelude.rnf recursiveDeleteOption+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders DeleteWorkGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.DeleteWorkGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteWorkGroup where+ toJSON DeleteWorkGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("RecursiveDeleteOption" Data..=)+ Prelude.<$> recursiveDeleteOption,+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath DeleteWorkGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteWorkGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteWorkGroupResponse' smart constructor.+data DeleteWorkGroupResponse = DeleteWorkGroupResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteWorkGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteWorkGroupResponse_httpStatus' - The response's http status code.+newDeleteWorkGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteWorkGroupResponse+newDeleteWorkGroupResponse pHttpStatus_ =+ DeleteWorkGroupResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteWorkGroupResponse_httpStatus :: Lens.Lens' DeleteWorkGroupResponse Prelude.Int+deleteWorkGroupResponse_httpStatus = Lens.lens (\DeleteWorkGroupResponse' {httpStatus} -> httpStatus) (\s@DeleteWorkGroupResponse' {} a -> s {httpStatus = a} :: DeleteWorkGroupResponse)++instance Prelude.NFData DeleteWorkGroupResponse where+ rnf DeleteWorkGroupResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ExportNotebook.hs view
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ExportNotebook+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Exports the specified notebook and its metadata.+module Amazonka.Athena.ExportNotebook+ ( -- * Creating a Request+ ExportNotebook (..),+ newExportNotebook,++ -- * Request Lenses+ exportNotebook_notebookId,++ -- * Destructuring the Response+ ExportNotebookResponse (..),+ newExportNotebookResponse,++ -- * Response Lenses+ exportNotebookResponse_notebookMetadata,+ exportNotebookResponse_payload,+ exportNotebookResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newExportNotebook' smart constructor.+data ExportNotebook = ExportNotebook'+ { -- | The ID of the notebook to export.+ notebookId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExportNotebook' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notebookId', 'exportNotebook_notebookId' - The ID of the notebook to export.+newExportNotebook ::+ -- | 'notebookId'+ Prelude.Text ->+ ExportNotebook+newExportNotebook pNotebookId_ =+ ExportNotebook' {notebookId = pNotebookId_}++-- | The ID of the notebook to export.+exportNotebook_notebookId :: Lens.Lens' ExportNotebook Prelude.Text+exportNotebook_notebookId = Lens.lens (\ExportNotebook' {notebookId} -> notebookId) (\s@ExportNotebook' {} a -> s {notebookId = a} :: ExportNotebook)++instance Core.AWSRequest ExportNotebook where+ type+ AWSResponse ExportNotebook =+ ExportNotebookResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ExportNotebookResponse'+ Prelude.<$> (x Data..?> "NotebookMetadata")+ Prelude.<*> (x Data..?> "Payload")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ExportNotebook where+ hashWithSalt _salt ExportNotebook' {..} =+ _salt `Prelude.hashWithSalt` notebookId++instance Prelude.NFData ExportNotebook where+ rnf ExportNotebook' {..} = Prelude.rnf notebookId++instance Data.ToHeaders ExportNotebook where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ExportNotebook" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ExportNotebook where+ toJSON ExportNotebook' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("NotebookId" Data..= notebookId)]+ )++instance Data.ToPath ExportNotebook where+ toPath = Prelude.const "/"++instance Data.ToQuery ExportNotebook where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newExportNotebookResponse' smart constructor.+data ExportNotebookResponse = ExportNotebookResponse'+ { -- | The notebook metadata, including notebook ID, notebook name, and+ -- workgroup name.+ notebookMetadata :: Prelude.Maybe NotebookMetadata,+ -- | The content of the exported notebook.+ payload :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExportNotebookResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notebookMetadata', 'exportNotebookResponse_notebookMetadata' - The notebook metadata, including notebook ID, notebook name, and+-- workgroup name.+--+-- 'payload', 'exportNotebookResponse_payload' - The content of the exported notebook.+--+-- 'httpStatus', 'exportNotebookResponse_httpStatus' - The response's http status code.+newExportNotebookResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ExportNotebookResponse+newExportNotebookResponse pHttpStatus_ =+ ExportNotebookResponse'+ { notebookMetadata =+ Prelude.Nothing,+ payload = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The notebook metadata, including notebook ID, notebook name, and+-- workgroup name.+exportNotebookResponse_notebookMetadata :: Lens.Lens' ExportNotebookResponse (Prelude.Maybe NotebookMetadata)+exportNotebookResponse_notebookMetadata = Lens.lens (\ExportNotebookResponse' {notebookMetadata} -> notebookMetadata) (\s@ExportNotebookResponse' {} a -> s {notebookMetadata = a} :: ExportNotebookResponse)++-- | The content of the exported notebook.+exportNotebookResponse_payload :: Lens.Lens' ExportNotebookResponse (Prelude.Maybe Prelude.Text)+exportNotebookResponse_payload = Lens.lens (\ExportNotebookResponse' {payload} -> payload) (\s@ExportNotebookResponse' {} a -> s {payload = a} :: ExportNotebookResponse)++-- | The response's http status code.+exportNotebookResponse_httpStatus :: Lens.Lens' ExportNotebookResponse Prelude.Int+exportNotebookResponse_httpStatus = Lens.lens (\ExportNotebookResponse' {httpStatus} -> httpStatus) (\s@ExportNotebookResponse' {} a -> s {httpStatus = a} :: ExportNotebookResponse)++instance Prelude.NFData ExportNotebookResponse where+ rnf ExportNotebookResponse' {..} =+ Prelude.rnf notebookMetadata+ `Prelude.seq` Prelude.rnf payload+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetCalculationExecution.hs view
@@ -0,0 +1,260 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetCalculationExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes a previously submitted calculation execution.+module Amazonka.Athena.GetCalculationExecution+ ( -- * Creating a Request+ GetCalculationExecution (..),+ newGetCalculationExecution,++ -- * Request Lenses+ getCalculationExecution_calculationExecutionId,++ -- * Destructuring the Response+ GetCalculationExecutionResponse (..),+ newGetCalculationExecutionResponse,++ -- * Response Lenses+ getCalculationExecutionResponse_calculationExecutionId,+ getCalculationExecutionResponse_description,+ getCalculationExecutionResponse_result,+ getCalculationExecutionResponse_sessionId,+ getCalculationExecutionResponse_statistics,+ getCalculationExecutionResponse_status,+ getCalculationExecutionResponse_workingDirectory,+ getCalculationExecutionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetCalculationExecution' smart constructor.+data GetCalculationExecution = GetCalculationExecution'+ { -- | The calculation execution UUID.+ calculationExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCalculationExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationExecutionId', 'getCalculationExecution_calculationExecutionId' - The calculation execution UUID.+newGetCalculationExecution ::+ -- | 'calculationExecutionId'+ Prelude.Text ->+ GetCalculationExecution+newGetCalculationExecution pCalculationExecutionId_ =+ GetCalculationExecution'+ { calculationExecutionId =+ pCalculationExecutionId_+ }++-- | The calculation execution UUID.+getCalculationExecution_calculationExecutionId :: Lens.Lens' GetCalculationExecution Prelude.Text+getCalculationExecution_calculationExecutionId = Lens.lens (\GetCalculationExecution' {calculationExecutionId} -> calculationExecutionId) (\s@GetCalculationExecution' {} a -> s {calculationExecutionId = a} :: GetCalculationExecution)++instance Core.AWSRequest GetCalculationExecution where+ type+ AWSResponse GetCalculationExecution =+ GetCalculationExecutionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetCalculationExecutionResponse'+ Prelude.<$> (x Data..?> "CalculationExecutionId")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "Result")+ Prelude.<*> (x Data..?> "SessionId")+ Prelude.<*> (x Data..?> "Statistics")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (x Data..?> "WorkingDirectory")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetCalculationExecution where+ hashWithSalt _salt GetCalculationExecution' {..} =+ _salt `Prelude.hashWithSalt` calculationExecutionId++instance Prelude.NFData GetCalculationExecution where+ rnf GetCalculationExecution' {..} =+ Prelude.rnf calculationExecutionId++instance Data.ToHeaders GetCalculationExecution where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetCalculationExecution" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetCalculationExecution where+ toJSON GetCalculationExecution' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "CalculationExecutionId"+ Data..= calculationExecutionId+ )+ ]+ )++instance Data.ToPath GetCalculationExecution where+ toPath = Prelude.const "/"++instance Data.ToQuery GetCalculationExecution where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetCalculationExecutionResponse' smart constructor.+data GetCalculationExecutionResponse = GetCalculationExecutionResponse'+ { -- | The calculation execution UUID.+ calculationExecutionId :: Prelude.Maybe Prelude.Text,+ -- | The description of the calculation execution.+ description :: Prelude.Maybe Prelude.Text,+ -- | Contains result information. This field is populated only if the+ -- calculation is completed.+ result :: Prelude.Maybe CalculationResult,+ -- | The session ID that the calculation ran in.+ sessionId :: Prelude.Maybe Prelude.Text,+ -- | Contains information about the data processing unit (DPU) execution time+ -- and progress. This field is populated only when statistics are+ -- available.+ statistics :: Prelude.Maybe CalculationStatistics,+ -- | Contains information about the status of the calculation.+ status :: Prelude.Maybe CalculationStatus,+ -- | The Amazon S3 location in which calculation results are stored.+ workingDirectory :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCalculationExecutionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationExecutionId', 'getCalculationExecutionResponse_calculationExecutionId' - The calculation execution UUID.+--+-- 'description', 'getCalculationExecutionResponse_description' - The description of the calculation execution.+--+-- 'result', 'getCalculationExecutionResponse_result' - Contains result information. This field is populated only if the+-- calculation is completed.+--+-- 'sessionId', 'getCalculationExecutionResponse_sessionId' - The session ID that the calculation ran in.+--+-- 'statistics', 'getCalculationExecutionResponse_statistics' - Contains information about the data processing unit (DPU) execution time+-- and progress. This field is populated only when statistics are+-- available.+--+-- 'status', 'getCalculationExecutionResponse_status' - Contains information about the status of the calculation.+--+-- 'workingDirectory', 'getCalculationExecutionResponse_workingDirectory' - The Amazon S3 location in which calculation results are stored.+--+-- 'httpStatus', 'getCalculationExecutionResponse_httpStatus' - The response's http status code.+newGetCalculationExecutionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetCalculationExecutionResponse+newGetCalculationExecutionResponse pHttpStatus_ =+ GetCalculationExecutionResponse'+ { calculationExecutionId =+ Prelude.Nothing,+ description = Prelude.Nothing,+ result = Prelude.Nothing,+ sessionId = Prelude.Nothing,+ statistics = Prelude.Nothing,+ status = Prelude.Nothing,+ workingDirectory = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The calculation execution UUID.+getCalculationExecutionResponse_calculationExecutionId :: Lens.Lens' GetCalculationExecutionResponse (Prelude.Maybe Prelude.Text)+getCalculationExecutionResponse_calculationExecutionId = Lens.lens (\GetCalculationExecutionResponse' {calculationExecutionId} -> calculationExecutionId) (\s@GetCalculationExecutionResponse' {} a -> s {calculationExecutionId = a} :: GetCalculationExecutionResponse)++-- | The description of the calculation execution.+getCalculationExecutionResponse_description :: Lens.Lens' GetCalculationExecutionResponse (Prelude.Maybe Prelude.Text)+getCalculationExecutionResponse_description = Lens.lens (\GetCalculationExecutionResponse' {description} -> description) (\s@GetCalculationExecutionResponse' {} a -> s {description = a} :: GetCalculationExecutionResponse)++-- | Contains result information. This field is populated only if the+-- calculation is completed.+getCalculationExecutionResponse_result :: Lens.Lens' GetCalculationExecutionResponse (Prelude.Maybe CalculationResult)+getCalculationExecutionResponse_result = Lens.lens (\GetCalculationExecutionResponse' {result} -> result) (\s@GetCalculationExecutionResponse' {} a -> s {result = a} :: GetCalculationExecutionResponse)++-- | The session ID that the calculation ran in.+getCalculationExecutionResponse_sessionId :: Lens.Lens' GetCalculationExecutionResponse (Prelude.Maybe Prelude.Text)+getCalculationExecutionResponse_sessionId = Lens.lens (\GetCalculationExecutionResponse' {sessionId} -> sessionId) (\s@GetCalculationExecutionResponse' {} a -> s {sessionId = a} :: GetCalculationExecutionResponse)++-- | Contains information about the data processing unit (DPU) execution time+-- and progress. This field is populated only when statistics are+-- available.+getCalculationExecutionResponse_statistics :: Lens.Lens' GetCalculationExecutionResponse (Prelude.Maybe CalculationStatistics)+getCalculationExecutionResponse_statistics = Lens.lens (\GetCalculationExecutionResponse' {statistics} -> statistics) (\s@GetCalculationExecutionResponse' {} a -> s {statistics = a} :: GetCalculationExecutionResponse)++-- | Contains information about the status of the calculation.+getCalculationExecutionResponse_status :: Lens.Lens' GetCalculationExecutionResponse (Prelude.Maybe CalculationStatus)+getCalculationExecutionResponse_status = Lens.lens (\GetCalculationExecutionResponse' {status} -> status) (\s@GetCalculationExecutionResponse' {} a -> s {status = a} :: GetCalculationExecutionResponse)++-- | The Amazon S3 location in which calculation results are stored.+getCalculationExecutionResponse_workingDirectory :: Lens.Lens' GetCalculationExecutionResponse (Prelude.Maybe Prelude.Text)+getCalculationExecutionResponse_workingDirectory = Lens.lens (\GetCalculationExecutionResponse' {workingDirectory} -> workingDirectory) (\s@GetCalculationExecutionResponse' {} a -> s {workingDirectory = a} :: GetCalculationExecutionResponse)++-- | The response's http status code.+getCalculationExecutionResponse_httpStatus :: Lens.Lens' GetCalculationExecutionResponse Prelude.Int+getCalculationExecutionResponse_httpStatus = Lens.lens (\GetCalculationExecutionResponse' {httpStatus} -> httpStatus) (\s@GetCalculationExecutionResponse' {} a -> s {httpStatus = a} :: GetCalculationExecutionResponse)++instance+ Prelude.NFData+ GetCalculationExecutionResponse+ where+ rnf GetCalculationExecutionResponse' {..} =+ Prelude.rnf calculationExecutionId+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf result+ `Prelude.seq` Prelude.rnf sessionId+ `Prelude.seq` Prelude.rnf statistics+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf workingDirectory+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetCalculationExecutionCode.hs view
@@ -0,0 +1,181 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetCalculationExecutionCode+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves a pre-signed URL to a copy of the code that was executed for+-- the calculation.+module Amazonka.Athena.GetCalculationExecutionCode+ ( -- * Creating a Request+ GetCalculationExecutionCode (..),+ newGetCalculationExecutionCode,++ -- * Request Lenses+ getCalculationExecutionCode_calculationExecutionId,++ -- * Destructuring the Response+ GetCalculationExecutionCodeResponse (..),+ newGetCalculationExecutionCodeResponse,++ -- * Response Lenses+ getCalculationExecutionCodeResponse_codeBlock,+ getCalculationExecutionCodeResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetCalculationExecutionCode' smart constructor.+data GetCalculationExecutionCode = GetCalculationExecutionCode'+ { -- | The calculation execution UUID.+ calculationExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCalculationExecutionCode' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationExecutionId', 'getCalculationExecutionCode_calculationExecutionId' - The calculation execution UUID.+newGetCalculationExecutionCode ::+ -- | 'calculationExecutionId'+ Prelude.Text ->+ GetCalculationExecutionCode+newGetCalculationExecutionCode+ pCalculationExecutionId_ =+ GetCalculationExecutionCode'+ { calculationExecutionId =+ pCalculationExecutionId_+ }++-- | The calculation execution UUID.+getCalculationExecutionCode_calculationExecutionId :: Lens.Lens' GetCalculationExecutionCode Prelude.Text+getCalculationExecutionCode_calculationExecutionId = Lens.lens (\GetCalculationExecutionCode' {calculationExecutionId} -> calculationExecutionId) (\s@GetCalculationExecutionCode' {} a -> s {calculationExecutionId = a} :: GetCalculationExecutionCode)++instance Core.AWSRequest GetCalculationExecutionCode where+ type+ AWSResponse GetCalculationExecutionCode =+ GetCalculationExecutionCodeResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetCalculationExecutionCodeResponse'+ Prelude.<$> (x Data..?> "CodeBlock")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetCalculationExecutionCode where+ hashWithSalt _salt GetCalculationExecutionCode' {..} =+ _salt `Prelude.hashWithSalt` calculationExecutionId++instance Prelude.NFData GetCalculationExecutionCode where+ rnf GetCalculationExecutionCode' {..} =+ Prelude.rnf calculationExecutionId++instance Data.ToHeaders GetCalculationExecutionCode where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetCalculationExecutionCode" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetCalculationExecutionCode where+ toJSON GetCalculationExecutionCode' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "CalculationExecutionId"+ Data..= calculationExecutionId+ )+ ]+ )++instance Data.ToPath GetCalculationExecutionCode where+ toPath = Prelude.const "/"++instance Data.ToQuery GetCalculationExecutionCode where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetCalculationExecutionCodeResponse' smart constructor.+data GetCalculationExecutionCodeResponse = GetCalculationExecutionCodeResponse'+ { -- | A pre-signed URL to the code that executed the calculation.+ codeBlock :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCalculationExecutionCodeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'codeBlock', 'getCalculationExecutionCodeResponse_codeBlock' - A pre-signed URL to the code that executed the calculation.+--+-- 'httpStatus', 'getCalculationExecutionCodeResponse_httpStatus' - The response's http status code.+newGetCalculationExecutionCodeResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetCalculationExecutionCodeResponse+newGetCalculationExecutionCodeResponse pHttpStatus_ =+ GetCalculationExecutionCodeResponse'+ { codeBlock =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A pre-signed URL to the code that executed the calculation.+getCalculationExecutionCodeResponse_codeBlock :: Lens.Lens' GetCalculationExecutionCodeResponse (Prelude.Maybe Prelude.Text)+getCalculationExecutionCodeResponse_codeBlock = Lens.lens (\GetCalculationExecutionCodeResponse' {codeBlock} -> codeBlock) (\s@GetCalculationExecutionCodeResponse' {} a -> s {codeBlock = a} :: GetCalculationExecutionCodeResponse)++-- | The response's http status code.+getCalculationExecutionCodeResponse_httpStatus :: Lens.Lens' GetCalculationExecutionCodeResponse Prelude.Int+getCalculationExecutionCodeResponse_httpStatus = Lens.lens (\GetCalculationExecutionCodeResponse' {httpStatus} -> httpStatus) (\s@GetCalculationExecutionCodeResponse' {} a -> s {httpStatus = a} :: GetCalculationExecutionCodeResponse)++instance+ Prelude.NFData+ GetCalculationExecutionCodeResponse+ where+ rnf GetCalculationExecutionCodeResponse' {..} =+ Prelude.rnf codeBlock+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetCalculationExecutionStatus.hs view
@@ -0,0 +1,198 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetCalculationExecutionStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the status of a current calculation.+module Amazonka.Athena.GetCalculationExecutionStatus+ ( -- * Creating a Request+ GetCalculationExecutionStatus (..),+ newGetCalculationExecutionStatus,++ -- * Request Lenses+ getCalculationExecutionStatus_calculationExecutionId,++ -- * Destructuring the Response+ GetCalculationExecutionStatusResponse (..),+ newGetCalculationExecutionStatusResponse,++ -- * Response Lenses+ getCalculationExecutionStatusResponse_statistics,+ getCalculationExecutionStatusResponse_status,+ getCalculationExecutionStatusResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetCalculationExecutionStatus' smart constructor.+data GetCalculationExecutionStatus = GetCalculationExecutionStatus'+ { -- | The calculation execution UUID.+ calculationExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCalculationExecutionStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationExecutionId', 'getCalculationExecutionStatus_calculationExecutionId' - The calculation execution UUID.+newGetCalculationExecutionStatus ::+ -- | 'calculationExecutionId'+ Prelude.Text ->+ GetCalculationExecutionStatus+newGetCalculationExecutionStatus+ pCalculationExecutionId_ =+ GetCalculationExecutionStatus'+ { calculationExecutionId =+ pCalculationExecutionId_+ }++-- | The calculation execution UUID.+getCalculationExecutionStatus_calculationExecutionId :: Lens.Lens' GetCalculationExecutionStatus Prelude.Text+getCalculationExecutionStatus_calculationExecutionId = Lens.lens (\GetCalculationExecutionStatus' {calculationExecutionId} -> calculationExecutionId) (\s@GetCalculationExecutionStatus' {} a -> s {calculationExecutionId = a} :: GetCalculationExecutionStatus)++instance+ Core.AWSRequest+ GetCalculationExecutionStatus+ where+ type+ AWSResponse GetCalculationExecutionStatus =+ GetCalculationExecutionStatusResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetCalculationExecutionStatusResponse'+ Prelude.<$> (x Data..?> "Statistics")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ GetCalculationExecutionStatus+ where+ hashWithSalt _salt GetCalculationExecutionStatus' {..} =+ _salt `Prelude.hashWithSalt` calculationExecutionId++instance Prelude.NFData GetCalculationExecutionStatus where+ rnf GetCalculationExecutionStatus' {..} =+ Prelude.rnf calculationExecutionId++instance Data.ToHeaders GetCalculationExecutionStatus where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetCalculationExecutionStatus" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetCalculationExecutionStatus where+ toJSON GetCalculationExecutionStatus' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "CalculationExecutionId"+ Data..= calculationExecutionId+ )+ ]+ )++instance Data.ToPath GetCalculationExecutionStatus where+ toPath = Prelude.const "/"++instance Data.ToQuery GetCalculationExecutionStatus where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetCalculationExecutionStatusResponse' smart constructor.+data GetCalculationExecutionStatusResponse = GetCalculationExecutionStatusResponse'+ { -- | Contains information about the DPU execution time and progress.+ statistics :: Prelude.Maybe CalculationStatistics,+ -- | Contains information about the calculation execution status.+ status :: Prelude.Maybe CalculationStatus,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCalculationExecutionStatusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'statistics', 'getCalculationExecutionStatusResponse_statistics' - Contains information about the DPU execution time and progress.+--+-- 'status', 'getCalculationExecutionStatusResponse_status' - Contains information about the calculation execution status.+--+-- 'httpStatus', 'getCalculationExecutionStatusResponse_httpStatus' - The response's http status code.+newGetCalculationExecutionStatusResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetCalculationExecutionStatusResponse+newGetCalculationExecutionStatusResponse pHttpStatus_ =+ GetCalculationExecutionStatusResponse'+ { statistics =+ Prelude.Nothing,+ status = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Contains information about the DPU execution time and progress.+getCalculationExecutionStatusResponse_statistics :: Lens.Lens' GetCalculationExecutionStatusResponse (Prelude.Maybe CalculationStatistics)+getCalculationExecutionStatusResponse_statistics = Lens.lens (\GetCalculationExecutionStatusResponse' {statistics} -> statistics) (\s@GetCalculationExecutionStatusResponse' {} a -> s {statistics = a} :: GetCalculationExecutionStatusResponse)++-- | Contains information about the calculation execution status.+getCalculationExecutionStatusResponse_status :: Lens.Lens' GetCalculationExecutionStatusResponse (Prelude.Maybe CalculationStatus)+getCalculationExecutionStatusResponse_status = Lens.lens (\GetCalculationExecutionStatusResponse' {status} -> status) (\s@GetCalculationExecutionStatusResponse' {} a -> s {status = a} :: GetCalculationExecutionStatusResponse)++-- | The response's http status code.+getCalculationExecutionStatusResponse_httpStatus :: Lens.Lens' GetCalculationExecutionStatusResponse Prelude.Int+getCalculationExecutionStatusResponse_httpStatus = Lens.lens (\GetCalculationExecutionStatusResponse' {httpStatus} -> httpStatus) (\s@GetCalculationExecutionStatusResponse' {} a -> s {httpStatus = a} :: GetCalculationExecutionStatusResponse)++instance+ Prelude.NFData+ GetCalculationExecutionStatusResponse+ where+ rnf GetCalculationExecutionStatusResponse' {..} =+ Prelude.rnf statistics+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetDataCatalog.hs view
@@ -0,0 +1,168 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetDataCatalog+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the specified data catalog.+module Amazonka.Athena.GetDataCatalog+ ( -- * Creating a Request+ GetDataCatalog (..),+ newGetDataCatalog,++ -- * Request Lenses+ getDataCatalog_name,++ -- * Destructuring the Response+ GetDataCatalogResponse (..),+ newGetDataCatalogResponse,++ -- * Response Lenses+ getDataCatalogResponse_dataCatalog,+ getDataCatalogResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetDataCatalog' smart constructor.+data GetDataCatalog = GetDataCatalog'+ { -- | The name of the data catalog to return.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDataCatalog' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'getDataCatalog_name' - The name of the data catalog to return.+newGetDataCatalog ::+ -- | 'name'+ Prelude.Text ->+ GetDataCatalog+newGetDataCatalog pName_ =+ GetDataCatalog' {name = pName_}++-- | The name of the data catalog to return.+getDataCatalog_name :: Lens.Lens' GetDataCatalog Prelude.Text+getDataCatalog_name = Lens.lens (\GetDataCatalog' {name} -> name) (\s@GetDataCatalog' {} a -> s {name = a} :: GetDataCatalog)++instance Core.AWSRequest GetDataCatalog where+ type+ AWSResponse GetDataCatalog =+ GetDataCatalogResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetDataCatalogResponse'+ Prelude.<$> (x Data..?> "DataCatalog")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetDataCatalog where+ hashWithSalt _salt GetDataCatalog' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData GetDataCatalog where+ rnf GetDataCatalog' {..} = Prelude.rnf name++instance Data.ToHeaders GetDataCatalog where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetDataCatalog" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetDataCatalog where+ toJSON GetDataCatalog' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath GetDataCatalog where+ toPath = Prelude.const "/"++instance Data.ToQuery GetDataCatalog where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetDataCatalogResponse' smart constructor.+data GetDataCatalogResponse = GetDataCatalogResponse'+ { -- | The data catalog returned.+ dataCatalog :: Prelude.Maybe DataCatalog,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDataCatalogResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataCatalog', 'getDataCatalogResponse_dataCatalog' - The data catalog returned.+--+-- 'httpStatus', 'getDataCatalogResponse_httpStatus' - The response's http status code.+newGetDataCatalogResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetDataCatalogResponse+newGetDataCatalogResponse pHttpStatus_ =+ GetDataCatalogResponse'+ { dataCatalog =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The data catalog returned.+getDataCatalogResponse_dataCatalog :: Lens.Lens' GetDataCatalogResponse (Prelude.Maybe DataCatalog)+getDataCatalogResponse_dataCatalog = Lens.lens (\GetDataCatalogResponse' {dataCatalog} -> dataCatalog) (\s@GetDataCatalogResponse' {} a -> s {dataCatalog = a} :: GetDataCatalogResponse)++-- | The response's http status code.+getDataCatalogResponse_httpStatus :: Lens.Lens' GetDataCatalogResponse Prelude.Int+getDataCatalogResponse_httpStatus = Lens.lens (\GetDataCatalogResponse' {httpStatus} -> httpStatus) (\s@GetDataCatalogResponse' {} a -> s {httpStatus = a} :: GetDataCatalogResponse)++instance Prelude.NFData GetDataCatalogResponse where+ rnf GetDataCatalogResponse' {..} =+ Prelude.rnf dataCatalog+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetDatabase.hs view
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetDatabase+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a database object for the specified database and data catalog.+module Amazonka.Athena.GetDatabase+ ( -- * Creating a Request+ GetDatabase (..),+ newGetDatabase,++ -- * Request Lenses+ getDatabase_catalogName,+ getDatabase_databaseName,++ -- * Destructuring the Response+ GetDatabaseResponse (..),+ newGetDatabaseResponse,++ -- * Response Lenses+ getDatabaseResponse_database,+ getDatabaseResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetDatabase' smart constructor.+data GetDatabase = GetDatabase'+ { -- | The name of the data catalog that contains the database to return.+ catalogName :: Prelude.Text,+ -- | The name of the database to return.+ databaseName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDatabase' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'catalogName', 'getDatabase_catalogName' - The name of the data catalog that contains the database to return.+--+-- 'databaseName', 'getDatabase_databaseName' - The name of the database to return.+newGetDatabase ::+ -- | 'catalogName'+ Prelude.Text ->+ -- | 'databaseName'+ Prelude.Text ->+ GetDatabase+newGetDatabase pCatalogName_ pDatabaseName_ =+ GetDatabase'+ { catalogName = pCatalogName_,+ databaseName = pDatabaseName_+ }++-- | The name of the data catalog that contains the database to return.+getDatabase_catalogName :: Lens.Lens' GetDatabase Prelude.Text+getDatabase_catalogName = Lens.lens (\GetDatabase' {catalogName} -> catalogName) (\s@GetDatabase' {} a -> s {catalogName = a} :: GetDatabase)++-- | The name of the database to return.+getDatabase_databaseName :: Lens.Lens' GetDatabase Prelude.Text+getDatabase_databaseName = Lens.lens (\GetDatabase' {databaseName} -> databaseName) (\s@GetDatabase' {} a -> s {databaseName = a} :: GetDatabase)++instance Core.AWSRequest GetDatabase where+ type AWSResponse GetDatabase = GetDatabaseResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetDatabaseResponse'+ Prelude.<$> (x Data..?> "Database")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetDatabase where+ hashWithSalt _salt GetDatabase' {..} =+ _salt+ `Prelude.hashWithSalt` catalogName+ `Prelude.hashWithSalt` databaseName++instance Prelude.NFData GetDatabase where+ rnf GetDatabase' {..} =+ Prelude.rnf catalogName+ `Prelude.seq` Prelude.rnf databaseName++instance Data.ToHeaders GetDatabase where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.GetDatabase" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetDatabase where+ toJSON GetDatabase' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("CatalogName" Data..= catalogName),+ Prelude.Just ("DatabaseName" Data..= databaseName)+ ]+ )++instance Data.ToPath GetDatabase where+ toPath = Prelude.const "/"++instance Data.ToQuery GetDatabase where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetDatabaseResponse' smart constructor.+data GetDatabaseResponse = GetDatabaseResponse'+ { -- | The database returned.+ database :: Prelude.Maybe Database,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDatabaseResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'database', 'getDatabaseResponse_database' - The database returned.+--+-- 'httpStatus', 'getDatabaseResponse_httpStatus' - The response's http status code.+newGetDatabaseResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetDatabaseResponse+newGetDatabaseResponse pHttpStatus_ =+ GetDatabaseResponse'+ { database = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The database returned.+getDatabaseResponse_database :: Lens.Lens' GetDatabaseResponse (Prelude.Maybe Database)+getDatabaseResponse_database = Lens.lens (\GetDatabaseResponse' {database} -> database) (\s@GetDatabaseResponse' {} a -> s {database = a} :: GetDatabaseResponse)++-- | The response's http status code.+getDatabaseResponse_httpStatus :: Lens.Lens' GetDatabaseResponse Prelude.Int+getDatabaseResponse_httpStatus = Lens.lens (\GetDatabaseResponse' {httpStatus} -> httpStatus) (\s@GetDatabaseResponse' {} a -> s {httpStatus = a} :: GetDatabaseResponse)++instance Prelude.NFData GetDatabaseResponse where+ rnf GetDatabaseResponse' {..} =+ Prelude.rnf database+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetNamedQuery.hs view
@@ -0,0 +1,167 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetNamedQuery+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about a single query. Requires that you have access+-- to the workgroup in which the query was saved.+module Amazonka.Athena.GetNamedQuery+ ( -- * Creating a Request+ GetNamedQuery (..),+ newGetNamedQuery,++ -- * Request Lenses+ getNamedQuery_namedQueryId,++ -- * Destructuring the Response+ GetNamedQueryResponse (..),+ newGetNamedQueryResponse,++ -- * Response Lenses+ getNamedQueryResponse_namedQuery,+ getNamedQueryResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetNamedQuery' smart constructor.+data GetNamedQuery = GetNamedQuery'+ { -- | The unique ID of the query. Use ListNamedQueries to get query IDs.+ namedQueryId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetNamedQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'namedQueryId', 'getNamedQuery_namedQueryId' - The unique ID of the query. Use ListNamedQueries to get query IDs.+newGetNamedQuery ::+ -- | 'namedQueryId'+ Prelude.Text ->+ GetNamedQuery+newGetNamedQuery pNamedQueryId_ =+ GetNamedQuery' {namedQueryId = pNamedQueryId_}++-- | The unique ID of the query. Use ListNamedQueries to get query IDs.+getNamedQuery_namedQueryId :: Lens.Lens' GetNamedQuery Prelude.Text+getNamedQuery_namedQueryId = Lens.lens (\GetNamedQuery' {namedQueryId} -> namedQueryId) (\s@GetNamedQuery' {} a -> s {namedQueryId = a} :: GetNamedQuery)++instance Core.AWSRequest GetNamedQuery where+ type+ AWSResponse GetNamedQuery =+ GetNamedQueryResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetNamedQueryResponse'+ Prelude.<$> (x Data..?> "NamedQuery")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetNamedQuery where+ hashWithSalt _salt GetNamedQuery' {..} =+ _salt `Prelude.hashWithSalt` namedQueryId++instance Prelude.NFData GetNamedQuery where+ rnf GetNamedQuery' {..} = Prelude.rnf namedQueryId++instance Data.ToHeaders GetNamedQuery where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.GetNamedQuery" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetNamedQuery where+ toJSON GetNamedQuery' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("NamedQueryId" Data..= namedQueryId)]+ )++instance Data.ToPath GetNamedQuery where+ toPath = Prelude.const "/"++instance Data.ToQuery GetNamedQuery where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetNamedQueryResponse' smart constructor.+data GetNamedQueryResponse = GetNamedQueryResponse'+ { -- | Information about the query.+ namedQuery :: Prelude.Maybe NamedQuery,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetNamedQueryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'namedQuery', 'getNamedQueryResponse_namedQuery' - Information about the query.+--+-- 'httpStatus', 'getNamedQueryResponse_httpStatus' - The response's http status code.+newGetNamedQueryResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetNamedQueryResponse+newGetNamedQueryResponse pHttpStatus_ =+ GetNamedQueryResponse'+ { namedQuery =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Information about the query.+getNamedQueryResponse_namedQuery :: Lens.Lens' GetNamedQueryResponse (Prelude.Maybe NamedQuery)+getNamedQueryResponse_namedQuery = Lens.lens (\GetNamedQueryResponse' {namedQuery} -> namedQuery) (\s@GetNamedQueryResponse' {} a -> s {namedQuery = a} :: GetNamedQueryResponse)++-- | The response's http status code.+getNamedQueryResponse_httpStatus :: Lens.Lens' GetNamedQueryResponse Prelude.Int+getNamedQueryResponse_httpStatus = Lens.lens (\GetNamedQueryResponse' {httpStatus} -> httpStatus) (\s@GetNamedQueryResponse' {} a -> s {httpStatus = a} :: GetNamedQueryResponse)++instance Prelude.NFData GetNamedQueryResponse where+ rnf GetNamedQueryResponse' {..} =+ Prelude.rnf namedQuery+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetNotebookMetadata.hs view
@@ -0,0 +1,168 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetNotebookMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves notebook metadata for the specified notebook ID.+module Amazonka.Athena.GetNotebookMetadata+ ( -- * Creating a Request+ GetNotebookMetadata (..),+ newGetNotebookMetadata,++ -- * Request Lenses+ getNotebookMetadata_notebookId,++ -- * Destructuring the Response+ GetNotebookMetadataResponse (..),+ newGetNotebookMetadataResponse,++ -- * Response Lenses+ getNotebookMetadataResponse_notebookMetadata,+ getNotebookMetadataResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetNotebookMetadata' smart constructor.+data GetNotebookMetadata = GetNotebookMetadata'+ { -- | The ID of the notebook whose metadata is to be retrieved.+ notebookId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetNotebookMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notebookId', 'getNotebookMetadata_notebookId' - The ID of the notebook whose metadata is to be retrieved.+newGetNotebookMetadata ::+ -- | 'notebookId'+ Prelude.Text ->+ GetNotebookMetadata+newGetNotebookMetadata pNotebookId_ =+ GetNotebookMetadata' {notebookId = pNotebookId_}++-- | The ID of the notebook whose metadata is to be retrieved.+getNotebookMetadata_notebookId :: Lens.Lens' GetNotebookMetadata Prelude.Text+getNotebookMetadata_notebookId = Lens.lens (\GetNotebookMetadata' {notebookId} -> notebookId) (\s@GetNotebookMetadata' {} a -> s {notebookId = a} :: GetNotebookMetadata)++instance Core.AWSRequest GetNotebookMetadata where+ type+ AWSResponse GetNotebookMetadata =+ GetNotebookMetadataResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetNotebookMetadataResponse'+ Prelude.<$> (x Data..?> "NotebookMetadata")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetNotebookMetadata where+ hashWithSalt _salt GetNotebookMetadata' {..} =+ _salt `Prelude.hashWithSalt` notebookId++instance Prelude.NFData GetNotebookMetadata where+ rnf GetNotebookMetadata' {..} = Prelude.rnf notebookId++instance Data.ToHeaders GetNotebookMetadata where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetNotebookMetadata" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetNotebookMetadata where+ toJSON GetNotebookMetadata' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("NotebookId" Data..= notebookId)]+ )++instance Data.ToPath GetNotebookMetadata where+ toPath = Prelude.const "/"++instance Data.ToQuery GetNotebookMetadata where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetNotebookMetadataResponse' smart constructor.+data GetNotebookMetadataResponse = GetNotebookMetadataResponse'+ { -- | The metadata that is returned for the specified notebook ID.+ notebookMetadata :: Prelude.Maybe NotebookMetadata,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetNotebookMetadataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notebookMetadata', 'getNotebookMetadataResponse_notebookMetadata' - The metadata that is returned for the specified notebook ID.+--+-- 'httpStatus', 'getNotebookMetadataResponse_httpStatus' - The response's http status code.+newGetNotebookMetadataResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetNotebookMetadataResponse+newGetNotebookMetadataResponse pHttpStatus_ =+ GetNotebookMetadataResponse'+ { notebookMetadata =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The metadata that is returned for the specified notebook ID.+getNotebookMetadataResponse_notebookMetadata :: Lens.Lens' GetNotebookMetadataResponse (Prelude.Maybe NotebookMetadata)+getNotebookMetadataResponse_notebookMetadata = Lens.lens (\GetNotebookMetadataResponse' {notebookMetadata} -> notebookMetadata) (\s@GetNotebookMetadataResponse' {} a -> s {notebookMetadata = a} :: GetNotebookMetadataResponse)++-- | The response's http status code.+getNotebookMetadataResponse_httpStatus :: Lens.Lens' GetNotebookMetadataResponse Prelude.Int+getNotebookMetadataResponse_httpStatus = Lens.lens (\GetNotebookMetadataResponse' {httpStatus} -> httpStatus) (\s@GetNotebookMetadataResponse' {} a -> s {httpStatus = a} :: GetNotebookMetadataResponse)++instance Prelude.NFData GetNotebookMetadataResponse where+ rnf GetNotebookMetadataResponse' {..} =+ Prelude.rnf notebookMetadata+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetPreparedStatement.hs view
@@ -0,0 +1,191 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetPreparedStatement+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves the prepared statement with the specified name from the+-- specified workgroup.+module Amazonka.Athena.GetPreparedStatement+ ( -- * Creating a Request+ GetPreparedStatement (..),+ newGetPreparedStatement,++ -- * Request Lenses+ getPreparedStatement_statementName,+ getPreparedStatement_workGroup,++ -- * Destructuring the Response+ GetPreparedStatementResponse (..),+ newGetPreparedStatementResponse,++ -- * Response Lenses+ getPreparedStatementResponse_preparedStatement,+ getPreparedStatementResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetPreparedStatement' smart constructor.+data GetPreparedStatement = GetPreparedStatement'+ { -- | The name of the prepared statement to retrieve.+ statementName :: Prelude.Text,+ -- | The workgroup to which the statement to be retrieved belongs.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetPreparedStatement' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'statementName', 'getPreparedStatement_statementName' - The name of the prepared statement to retrieve.+--+-- 'workGroup', 'getPreparedStatement_workGroup' - The workgroup to which the statement to be retrieved belongs.+newGetPreparedStatement ::+ -- | 'statementName'+ Prelude.Text ->+ -- | 'workGroup'+ Prelude.Text ->+ GetPreparedStatement+newGetPreparedStatement pStatementName_ pWorkGroup_ =+ GetPreparedStatement'+ { statementName =+ pStatementName_,+ workGroup = pWorkGroup_+ }++-- | The name of the prepared statement to retrieve.+getPreparedStatement_statementName :: Lens.Lens' GetPreparedStatement Prelude.Text+getPreparedStatement_statementName = Lens.lens (\GetPreparedStatement' {statementName} -> statementName) (\s@GetPreparedStatement' {} a -> s {statementName = a} :: GetPreparedStatement)++-- | The workgroup to which the statement to be retrieved belongs.+getPreparedStatement_workGroup :: Lens.Lens' GetPreparedStatement Prelude.Text+getPreparedStatement_workGroup = Lens.lens (\GetPreparedStatement' {workGroup} -> workGroup) (\s@GetPreparedStatement' {} a -> s {workGroup = a} :: GetPreparedStatement)++instance Core.AWSRequest GetPreparedStatement where+ type+ AWSResponse GetPreparedStatement =+ GetPreparedStatementResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetPreparedStatementResponse'+ Prelude.<$> (x Data..?> "PreparedStatement")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetPreparedStatement where+ hashWithSalt _salt GetPreparedStatement' {..} =+ _salt+ `Prelude.hashWithSalt` statementName+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData GetPreparedStatement where+ rnf GetPreparedStatement' {..} =+ Prelude.rnf statementName+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders GetPreparedStatement where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetPreparedStatement" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetPreparedStatement where+ toJSON GetPreparedStatement' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("StatementName" Data..= statementName),+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath GetPreparedStatement where+ toPath = Prelude.const "/"++instance Data.ToQuery GetPreparedStatement where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetPreparedStatementResponse' smart constructor.+data GetPreparedStatementResponse = GetPreparedStatementResponse'+ { -- | The name of the prepared statement that was retrieved.+ preparedStatement :: Prelude.Maybe PreparedStatement,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetPreparedStatementResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'preparedStatement', 'getPreparedStatementResponse_preparedStatement' - The name of the prepared statement that was retrieved.+--+-- 'httpStatus', 'getPreparedStatementResponse_httpStatus' - The response's http status code.+newGetPreparedStatementResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetPreparedStatementResponse+newGetPreparedStatementResponse pHttpStatus_ =+ GetPreparedStatementResponse'+ { preparedStatement =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The name of the prepared statement that was retrieved.+getPreparedStatementResponse_preparedStatement :: Lens.Lens' GetPreparedStatementResponse (Prelude.Maybe PreparedStatement)+getPreparedStatementResponse_preparedStatement = Lens.lens (\GetPreparedStatementResponse' {preparedStatement} -> preparedStatement) (\s@GetPreparedStatementResponse' {} a -> s {preparedStatement = a} :: GetPreparedStatementResponse)++-- | The response's http status code.+getPreparedStatementResponse_httpStatus :: Lens.Lens' GetPreparedStatementResponse Prelude.Int+getPreparedStatementResponse_httpStatus = Lens.lens (\GetPreparedStatementResponse' {httpStatus} -> httpStatus) (\s@GetPreparedStatementResponse' {} a -> s {httpStatus = a} :: GetPreparedStatementResponse)++instance Prelude.NFData GetPreparedStatementResponse where+ rnf GetPreparedStatementResponse' {..} =+ Prelude.rnf preparedStatement+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetQueryExecution.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetQueryExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about a single execution of a query if you have+-- access to the workgroup in which the query ran. Each time a query+-- executes, information about the query execution is saved with a unique+-- ID.+module Amazonka.Athena.GetQueryExecution+ ( -- * Creating a Request+ GetQueryExecution (..),+ newGetQueryExecution,++ -- * Request Lenses+ getQueryExecution_queryExecutionId,++ -- * Destructuring the Response+ GetQueryExecutionResponse (..),+ newGetQueryExecutionResponse,++ -- * Response Lenses+ getQueryExecutionResponse_queryExecution,+ getQueryExecutionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetQueryExecution' smart constructor.+data GetQueryExecution = GetQueryExecution'+ { -- | The unique ID of the query execution.+ queryExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueryExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryExecutionId', 'getQueryExecution_queryExecutionId' - The unique ID of the query execution.+newGetQueryExecution ::+ -- | 'queryExecutionId'+ Prelude.Text ->+ GetQueryExecution+newGetQueryExecution pQueryExecutionId_ =+ GetQueryExecution'+ { queryExecutionId =+ pQueryExecutionId_+ }++-- | The unique ID of the query execution.+getQueryExecution_queryExecutionId :: Lens.Lens' GetQueryExecution Prelude.Text+getQueryExecution_queryExecutionId = Lens.lens (\GetQueryExecution' {queryExecutionId} -> queryExecutionId) (\s@GetQueryExecution' {} a -> s {queryExecutionId = a} :: GetQueryExecution)++instance Core.AWSRequest GetQueryExecution where+ type+ AWSResponse GetQueryExecution =+ GetQueryExecutionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetQueryExecutionResponse'+ Prelude.<$> (x Data..?> "QueryExecution")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetQueryExecution where+ hashWithSalt _salt GetQueryExecution' {..} =+ _salt `Prelude.hashWithSalt` queryExecutionId++instance Prelude.NFData GetQueryExecution where+ rnf GetQueryExecution' {..} =+ Prelude.rnf queryExecutionId++instance Data.ToHeaders GetQueryExecution where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetQueryExecution" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetQueryExecution where+ toJSON GetQueryExecution' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("QueryExecutionId" Data..= queryExecutionId)+ ]+ )++instance Data.ToPath GetQueryExecution where+ toPath = Prelude.const "/"++instance Data.ToQuery GetQueryExecution where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetQueryExecutionResponse' smart constructor.+data GetQueryExecutionResponse = GetQueryExecutionResponse'+ { -- | Information about the query execution.+ queryExecution :: Prelude.Maybe QueryExecution,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueryExecutionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryExecution', 'getQueryExecutionResponse_queryExecution' - Information about the query execution.+--+-- 'httpStatus', 'getQueryExecutionResponse_httpStatus' - The response's http status code.+newGetQueryExecutionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetQueryExecutionResponse+newGetQueryExecutionResponse pHttpStatus_ =+ GetQueryExecutionResponse'+ { queryExecution =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Information about the query execution.+getQueryExecutionResponse_queryExecution :: Lens.Lens' GetQueryExecutionResponse (Prelude.Maybe QueryExecution)+getQueryExecutionResponse_queryExecution = Lens.lens (\GetQueryExecutionResponse' {queryExecution} -> queryExecution) (\s@GetQueryExecutionResponse' {} a -> s {queryExecution = a} :: GetQueryExecutionResponse)++-- | The response's http status code.+getQueryExecutionResponse_httpStatus :: Lens.Lens' GetQueryExecutionResponse Prelude.Int+getQueryExecutionResponse_httpStatus = Lens.lens (\GetQueryExecutionResponse' {httpStatus} -> httpStatus) (\s@GetQueryExecutionResponse' {} a -> s {httpStatus = a} :: GetQueryExecutionResponse)++instance Prelude.NFData GetQueryExecutionResponse where+ rnf GetQueryExecutionResponse' {..} =+ Prelude.rnf queryExecution+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetQueryResults.hs view
@@ -0,0 +1,283 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetQueryResults+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Streams the results of a single query execution specified by+-- @QueryExecutionId@ from the Athena query results location in Amazon S3.+-- For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>+-- in the /Amazon Athena User Guide/. This request does not execute the+-- query but returns results. Use StartQueryExecution to run a query.+--+-- To stream query results successfully, the IAM principal with permission+-- to call @GetQueryResults@ also must have permissions to the Amazon S3+-- @GetObject@ action for the Athena query results location.+--+-- IAM principals with permission to the Amazon S3 @GetObject@ action for+-- the query results location are able to retrieve query results from+-- Amazon S3 even if permission to the @GetQueryResults@ action is denied.+-- To restrict user or role access, ensure that Amazon S3 permissions to+-- the Athena query location are denied.+--+-- This operation returns paginated results.+module Amazonka.Athena.GetQueryResults+ ( -- * Creating a Request+ GetQueryResults (..),+ newGetQueryResults,++ -- * Request Lenses+ getQueryResults_maxResults,+ getQueryResults_nextToken,+ getQueryResults_queryExecutionId,++ -- * Destructuring the Response+ GetQueryResultsResponse (..),+ newGetQueryResultsResponse,++ -- * Response Lenses+ getQueryResultsResponse_nextToken,+ getQueryResultsResponse_resultSet,+ getQueryResultsResponse_updateCount,+ getQueryResultsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetQueryResults' smart constructor.+data GetQueryResults = GetQueryResults'+ { -- | The maximum number of results (rows) to return in this request.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The unique ID of the query execution.+ queryExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueryResults' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'getQueryResults_maxResults' - The maximum number of results (rows) to return in this request.+--+-- 'nextToken', 'getQueryResults_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'queryExecutionId', 'getQueryResults_queryExecutionId' - The unique ID of the query execution.+newGetQueryResults ::+ -- | 'queryExecutionId'+ Prelude.Text ->+ GetQueryResults+newGetQueryResults pQueryExecutionId_ =+ GetQueryResults'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ queryExecutionId = pQueryExecutionId_+ }++-- | The maximum number of results (rows) to return in this request.+getQueryResults_maxResults :: Lens.Lens' GetQueryResults (Prelude.Maybe Prelude.Natural)+getQueryResults_maxResults = Lens.lens (\GetQueryResults' {maxResults} -> maxResults) (\s@GetQueryResults' {} a -> s {maxResults = a} :: GetQueryResults)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+getQueryResults_nextToken :: Lens.Lens' GetQueryResults (Prelude.Maybe Prelude.Text)+getQueryResults_nextToken = Lens.lens (\GetQueryResults' {nextToken} -> nextToken) (\s@GetQueryResults' {} a -> s {nextToken = a} :: GetQueryResults)++-- | The unique ID of the query execution.+getQueryResults_queryExecutionId :: Lens.Lens' GetQueryResults Prelude.Text+getQueryResults_queryExecutionId = Lens.lens (\GetQueryResults' {queryExecutionId} -> queryExecutionId) (\s@GetQueryResults' {} a -> s {queryExecutionId = a} :: GetQueryResults)++instance Core.AWSPager GetQueryResults where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? getQueryResultsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? getQueryResultsResponse_resultSet+ Prelude.. Lens._Just+ Prelude.. resultSet_rows+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& getQueryResults_nextToken+ Lens..~ rs+ Lens.^? getQueryResultsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest GetQueryResults where+ type+ AWSResponse GetQueryResults =+ GetQueryResultsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetQueryResultsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "ResultSet")+ Prelude.<*> (x Data..?> "UpdateCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetQueryResults where+ hashWithSalt _salt GetQueryResults' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` queryExecutionId++instance Prelude.NFData GetQueryResults where+ rnf GetQueryResults' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf queryExecutionId++instance Data.ToHeaders GetQueryResults where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetQueryResults" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetQueryResults where+ toJSON GetQueryResults' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("QueryExecutionId" Data..= queryExecutionId)+ ]+ )++instance Data.ToPath GetQueryResults where+ toPath = Prelude.const "/"++instance Data.ToQuery GetQueryResults where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetQueryResultsResponse' smart constructor.+data GetQueryResultsResponse = GetQueryResultsResponse'+ { -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The results of the query execution.+ resultSet :: Prelude.Maybe ResultSet,+ -- | The number of rows inserted with a @CREATE TABLE AS SELECT@ statement.+ updateCount :: Prelude.Maybe Prelude.Integer,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueryResultsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'getQueryResultsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'resultSet', 'getQueryResultsResponse_resultSet' - The results of the query execution.+--+-- 'updateCount', 'getQueryResultsResponse_updateCount' - The number of rows inserted with a @CREATE TABLE AS SELECT@ statement.+--+-- 'httpStatus', 'getQueryResultsResponse_httpStatus' - The response's http status code.+newGetQueryResultsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetQueryResultsResponse+newGetQueryResultsResponse pHttpStatus_ =+ GetQueryResultsResponse'+ { nextToken =+ Prelude.Nothing,+ resultSet = Prelude.Nothing,+ updateCount = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+getQueryResultsResponse_nextToken :: Lens.Lens' GetQueryResultsResponse (Prelude.Maybe Prelude.Text)+getQueryResultsResponse_nextToken = Lens.lens (\GetQueryResultsResponse' {nextToken} -> nextToken) (\s@GetQueryResultsResponse' {} a -> s {nextToken = a} :: GetQueryResultsResponse)++-- | The results of the query execution.+getQueryResultsResponse_resultSet :: Lens.Lens' GetQueryResultsResponse (Prelude.Maybe ResultSet)+getQueryResultsResponse_resultSet = Lens.lens (\GetQueryResultsResponse' {resultSet} -> resultSet) (\s@GetQueryResultsResponse' {} a -> s {resultSet = a} :: GetQueryResultsResponse)++-- | The number of rows inserted with a @CREATE TABLE AS SELECT@ statement.+getQueryResultsResponse_updateCount :: Lens.Lens' GetQueryResultsResponse (Prelude.Maybe Prelude.Integer)+getQueryResultsResponse_updateCount = Lens.lens (\GetQueryResultsResponse' {updateCount} -> updateCount) (\s@GetQueryResultsResponse' {} a -> s {updateCount = a} :: GetQueryResultsResponse)++-- | The response's http status code.+getQueryResultsResponse_httpStatus :: Lens.Lens' GetQueryResultsResponse Prelude.Int+getQueryResultsResponse_httpStatus = Lens.lens (\GetQueryResultsResponse' {httpStatus} -> httpStatus) (\s@GetQueryResultsResponse' {} a -> s {httpStatus = a} :: GetQueryResultsResponse)++instance Prelude.NFData GetQueryResultsResponse where+ rnf GetQueryResultsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf resultSet+ `Prelude.seq` Prelude.rnf updateCount+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetQueryRuntimeStatistics.hs view
@@ -0,0 +1,182 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetQueryRuntimeStatistics+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns query execution runtime statistics related to a single execution+-- of a query if you have access to the workgroup in which the query ran.+-- Query execution runtime statistics are returned only when+-- QueryExecutionStatus$State is in a SUCCEEDED or FAILED state.+-- Stage-level input and output row count and data size statistics are not+-- shown when a query has row-level filters defined in Lake Formation.+module Amazonka.Athena.GetQueryRuntimeStatistics+ ( -- * Creating a Request+ GetQueryRuntimeStatistics (..),+ newGetQueryRuntimeStatistics,++ -- * Request Lenses+ getQueryRuntimeStatistics_queryExecutionId,++ -- * Destructuring the Response+ GetQueryRuntimeStatisticsResponse (..),+ newGetQueryRuntimeStatisticsResponse,++ -- * Response Lenses+ getQueryRuntimeStatisticsResponse_queryRuntimeStatistics,+ getQueryRuntimeStatisticsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetQueryRuntimeStatistics' smart constructor.+data GetQueryRuntimeStatistics = GetQueryRuntimeStatistics'+ { -- | The unique ID of the query execution.+ queryExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueryRuntimeStatistics' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryExecutionId', 'getQueryRuntimeStatistics_queryExecutionId' - The unique ID of the query execution.+newGetQueryRuntimeStatistics ::+ -- | 'queryExecutionId'+ Prelude.Text ->+ GetQueryRuntimeStatistics+newGetQueryRuntimeStatistics pQueryExecutionId_ =+ GetQueryRuntimeStatistics'+ { queryExecutionId =+ pQueryExecutionId_+ }++-- | The unique ID of the query execution.+getQueryRuntimeStatistics_queryExecutionId :: Lens.Lens' GetQueryRuntimeStatistics Prelude.Text+getQueryRuntimeStatistics_queryExecutionId = Lens.lens (\GetQueryRuntimeStatistics' {queryExecutionId} -> queryExecutionId) (\s@GetQueryRuntimeStatistics' {} a -> s {queryExecutionId = a} :: GetQueryRuntimeStatistics)++instance Core.AWSRequest GetQueryRuntimeStatistics where+ type+ AWSResponse GetQueryRuntimeStatistics =+ GetQueryRuntimeStatisticsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetQueryRuntimeStatisticsResponse'+ Prelude.<$> (x Data..?> "QueryRuntimeStatistics")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetQueryRuntimeStatistics where+ hashWithSalt _salt GetQueryRuntimeStatistics' {..} =+ _salt `Prelude.hashWithSalt` queryExecutionId++instance Prelude.NFData GetQueryRuntimeStatistics where+ rnf GetQueryRuntimeStatistics' {..} =+ Prelude.rnf queryExecutionId++instance Data.ToHeaders GetQueryRuntimeStatistics where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetQueryRuntimeStatistics" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetQueryRuntimeStatistics where+ toJSON GetQueryRuntimeStatistics' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("QueryExecutionId" Data..= queryExecutionId)+ ]+ )++instance Data.ToPath GetQueryRuntimeStatistics where+ toPath = Prelude.const "/"++instance Data.ToQuery GetQueryRuntimeStatistics where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetQueryRuntimeStatisticsResponse' smart constructor.+data GetQueryRuntimeStatisticsResponse = GetQueryRuntimeStatisticsResponse'+ { -- | Runtime statistics about the query execution.+ queryRuntimeStatistics :: Prelude.Maybe QueryRuntimeStatistics,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetQueryRuntimeStatisticsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryRuntimeStatistics', 'getQueryRuntimeStatisticsResponse_queryRuntimeStatistics' - Runtime statistics about the query execution.+--+-- 'httpStatus', 'getQueryRuntimeStatisticsResponse_httpStatus' - The response's http status code.+newGetQueryRuntimeStatisticsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetQueryRuntimeStatisticsResponse+newGetQueryRuntimeStatisticsResponse pHttpStatus_ =+ GetQueryRuntimeStatisticsResponse'+ { queryRuntimeStatistics =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Runtime statistics about the query execution.+getQueryRuntimeStatisticsResponse_queryRuntimeStatistics :: Lens.Lens' GetQueryRuntimeStatisticsResponse (Prelude.Maybe QueryRuntimeStatistics)+getQueryRuntimeStatisticsResponse_queryRuntimeStatistics = Lens.lens (\GetQueryRuntimeStatisticsResponse' {queryRuntimeStatistics} -> queryRuntimeStatistics) (\s@GetQueryRuntimeStatisticsResponse' {} a -> s {queryRuntimeStatistics = a} :: GetQueryRuntimeStatisticsResponse)++-- | The response's http status code.+getQueryRuntimeStatisticsResponse_httpStatus :: Lens.Lens' GetQueryRuntimeStatisticsResponse Prelude.Int+getQueryRuntimeStatisticsResponse_httpStatus = Lens.lens (\GetQueryRuntimeStatisticsResponse' {httpStatus} -> httpStatus) (\s@GetQueryRuntimeStatisticsResponse' {} a -> s {httpStatus = a} :: GetQueryRuntimeStatisticsResponse)++instance+ Prelude.NFData+ GetQueryRuntimeStatisticsResponse+ where+ rnf GetQueryRuntimeStatisticsResponse' {..} =+ Prelude.rnf queryRuntimeStatistics+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetSession.hs view
@@ -0,0 +1,266 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetSession+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the full details of a previously created session, including the+-- session status and configuration.+module Amazonka.Athena.GetSession+ ( -- * Creating a Request+ GetSession (..),+ newGetSession,++ -- * Request Lenses+ getSession_sessionId,++ -- * Destructuring the Response+ GetSessionResponse (..),+ newGetSessionResponse,++ -- * Response Lenses+ getSessionResponse_description,+ getSessionResponse_engineConfiguration,+ getSessionResponse_engineVersion,+ getSessionResponse_notebookVersion,+ getSessionResponse_sessionConfiguration,+ getSessionResponse_sessionId,+ getSessionResponse_statistics,+ getSessionResponse_status,+ getSessionResponse_workGroup,+ getSessionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetSession' smart constructor.+data GetSession = GetSession'+ { -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetSession' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sessionId', 'getSession_sessionId' - The session ID.+newGetSession ::+ -- | 'sessionId'+ Prelude.Text ->+ GetSession+newGetSession pSessionId_ =+ GetSession' {sessionId = pSessionId_}++-- | The session ID.+getSession_sessionId :: Lens.Lens' GetSession Prelude.Text+getSession_sessionId = Lens.lens (\GetSession' {sessionId} -> sessionId) (\s@GetSession' {} a -> s {sessionId = a} :: GetSession)++instance Core.AWSRequest GetSession where+ type AWSResponse GetSession = GetSessionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetSessionResponse'+ Prelude.<$> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "EngineConfiguration")+ Prelude.<*> (x Data..?> "EngineVersion")+ Prelude.<*> (x Data..?> "NotebookVersion")+ Prelude.<*> (x Data..?> "SessionConfiguration")+ Prelude.<*> (x Data..?> "SessionId")+ Prelude.<*> (x Data..?> "Statistics")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (x Data..?> "WorkGroup")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetSession where+ hashWithSalt _salt GetSession' {..} =+ _salt `Prelude.hashWithSalt` sessionId++instance Prelude.NFData GetSession where+ rnf GetSession' {..} = Prelude.rnf sessionId++instance Data.ToHeaders GetSession where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.GetSession" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetSession where+ toJSON GetSession' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("SessionId" Data..= sessionId)]+ )++instance Data.ToPath GetSession where+ toPath = Prelude.const "/"++instance Data.ToQuery GetSession where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetSessionResponse' smart constructor.+data GetSessionResponse = GetSessionResponse'+ { -- | The session description.+ description :: Prelude.Maybe Prelude.Text,+ -- | Contains engine configuration information like DPU usage.+ engineConfiguration :: Prelude.Maybe EngineConfiguration,+ -- | The engine version used by the session (for example,+ -- @PySpark engine version 3@). You can get a list of engine versions by+ -- calling ListEngineVersions.+ engineVersion :: Prelude.Maybe Prelude.Text,+ -- | The notebook version.+ notebookVersion :: Prelude.Maybe Prelude.Text,+ -- | Contains the workgroup configuration information used by the session.+ sessionConfiguration :: Prelude.Maybe SessionConfiguration,+ -- | The session ID.+ sessionId :: Prelude.Maybe Prelude.Text,+ -- | Contains the DPU execution time.+ statistics :: Prelude.Maybe SessionStatistics,+ -- | Contains information about the status of the session.+ status :: Prelude.Maybe SessionStatus,+ -- | The workgroup to which the session belongs.+ workGroup :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetSessionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'getSessionResponse_description' - The session description.+--+-- 'engineConfiguration', 'getSessionResponse_engineConfiguration' - Contains engine configuration information like DPU usage.+--+-- 'engineVersion', 'getSessionResponse_engineVersion' - The engine version used by the session (for example,+-- @PySpark engine version 3@). You can get a list of engine versions by+-- calling ListEngineVersions.+--+-- 'notebookVersion', 'getSessionResponse_notebookVersion' - The notebook version.+--+-- 'sessionConfiguration', 'getSessionResponse_sessionConfiguration' - Contains the workgroup configuration information used by the session.+--+-- 'sessionId', 'getSessionResponse_sessionId' - The session ID.+--+-- 'statistics', 'getSessionResponse_statistics' - Contains the DPU execution time.+--+-- 'status', 'getSessionResponse_status' - Contains information about the status of the session.+--+-- 'workGroup', 'getSessionResponse_workGroup' - The workgroup to which the session belongs.+--+-- 'httpStatus', 'getSessionResponse_httpStatus' - The response's http status code.+newGetSessionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetSessionResponse+newGetSessionResponse pHttpStatus_ =+ GetSessionResponse'+ { description = Prelude.Nothing,+ engineConfiguration = Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ notebookVersion = Prelude.Nothing,+ sessionConfiguration = Prelude.Nothing,+ sessionId = Prelude.Nothing,+ statistics = Prelude.Nothing,+ status = Prelude.Nothing,+ workGroup = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The session description.+getSessionResponse_description :: Lens.Lens' GetSessionResponse (Prelude.Maybe Prelude.Text)+getSessionResponse_description = Lens.lens (\GetSessionResponse' {description} -> description) (\s@GetSessionResponse' {} a -> s {description = a} :: GetSessionResponse)++-- | Contains engine configuration information like DPU usage.+getSessionResponse_engineConfiguration :: Lens.Lens' GetSessionResponse (Prelude.Maybe EngineConfiguration)+getSessionResponse_engineConfiguration = Lens.lens (\GetSessionResponse' {engineConfiguration} -> engineConfiguration) (\s@GetSessionResponse' {} a -> s {engineConfiguration = a} :: GetSessionResponse)++-- | The engine version used by the session (for example,+-- @PySpark engine version 3@). You can get a list of engine versions by+-- calling ListEngineVersions.+getSessionResponse_engineVersion :: Lens.Lens' GetSessionResponse (Prelude.Maybe Prelude.Text)+getSessionResponse_engineVersion = Lens.lens (\GetSessionResponse' {engineVersion} -> engineVersion) (\s@GetSessionResponse' {} a -> s {engineVersion = a} :: GetSessionResponse)++-- | The notebook version.+getSessionResponse_notebookVersion :: Lens.Lens' GetSessionResponse (Prelude.Maybe Prelude.Text)+getSessionResponse_notebookVersion = Lens.lens (\GetSessionResponse' {notebookVersion} -> notebookVersion) (\s@GetSessionResponse' {} a -> s {notebookVersion = a} :: GetSessionResponse)++-- | Contains the workgroup configuration information used by the session.+getSessionResponse_sessionConfiguration :: Lens.Lens' GetSessionResponse (Prelude.Maybe SessionConfiguration)+getSessionResponse_sessionConfiguration = Lens.lens (\GetSessionResponse' {sessionConfiguration} -> sessionConfiguration) (\s@GetSessionResponse' {} a -> s {sessionConfiguration = a} :: GetSessionResponse)++-- | The session ID.+getSessionResponse_sessionId :: Lens.Lens' GetSessionResponse (Prelude.Maybe Prelude.Text)+getSessionResponse_sessionId = Lens.lens (\GetSessionResponse' {sessionId} -> sessionId) (\s@GetSessionResponse' {} a -> s {sessionId = a} :: GetSessionResponse)++-- | Contains the DPU execution time.+getSessionResponse_statistics :: Lens.Lens' GetSessionResponse (Prelude.Maybe SessionStatistics)+getSessionResponse_statistics = Lens.lens (\GetSessionResponse' {statistics} -> statistics) (\s@GetSessionResponse' {} a -> s {statistics = a} :: GetSessionResponse)++-- | Contains information about the status of the session.+getSessionResponse_status :: Lens.Lens' GetSessionResponse (Prelude.Maybe SessionStatus)+getSessionResponse_status = Lens.lens (\GetSessionResponse' {status} -> status) (\s@GetSessionResponse' {} a -> s {status = a} :: GetSessionResponse)++-- | The workgroup to which the session belongs.+getSessionResponse_workGroup :: Lens.Lens' GetSessionResponse (Prelude.Maybe Prelude.Text)+getSessionResponse_workGroup = Lens.lens (\GetSessionResponse' {workGroup} -> workGroup) (\s@GetSessionResponse' {} a -> s {workGroup = a} :: GetSessionResponse)++-- | The response's http status code.+getSessionResponse_httpStatus :: Lens.Lens' GetSessionResponse Prelude.Int+getSessionResponse_httpStatus = Lens.lens (\GetSessionResponse' {httpStatus} -> httpStatus) (\s@GetSessionResponse' {} a -> s {httpStatus = a} :: GetSessionResponse)++instance Prelude.NFData GetSessionResponse where+ rnf GetSessionResponse' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf engineConfiguration+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf notebookVersion+ `Prelude.seq` Prelude.rnf sessionConfiguration+ `Prelude.seq` Prelude.rnf sessionId+ `Prelude.seq` Prelude.rnf statistics+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetSessionStatus.hs view
@@ -0,0 +1,180 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetSessionStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the current status of a session.+module Amazonka.Athena.GetSessionStatus+ ( -- * Creating a Request+ GetSessionStatus (..),+ newGetSessionStatus,++ -- * Request Lenses+ getSessionStatus_sessionId,++ -- * Destructuring the Response+ GetSessionStatusResponse (..),+ newGetSessionStatusResponse,++ -- * Response Lenses+ getSessionStatusResponse_sessionId,+ getSessionStatusResponse_status,+ getSessionStatusResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetSessionStatus' smart constructor.+data GetSessionStatus = GetSessionStatus'+ { -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetSessionStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sessionId', 'getSessionStatus_sessionId' - The session ID.+newGetSessionStatus ::+ -- | 'sessionId'+ Prelude.Text ->+ GetSessionStatus+newGetSessionStatus pSessionId_ =+ GetSessionStatus' {sessionId = pSessionId_}++-- | The session ID.+getSessionStatus_sessionId :: Lens.Lens' GetSessionStatus Prelude.Text+getSessionStatus_sessionId = Lens.lens (\GetSessionStatus' {sessionId} -> sessionId) (\s@GetSessionStatus' {} a -> s {sessionId = a} :: GetSessionStatus)++instance Core.AWSRequest GetSessionStatus where+ type+ AWSResponse GetSessionStatus =+ GetSessionStatusResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetSessionStatusResponse'+ Prelude.<$> (x Data..?> "SessionId")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetSessionStatus where+ hashWithSalt _salt GetSessionStatus' {..} =+ _salt `Prelude.hashWithSalt` sessionId++instance Prelude.NFData GetSessionStatus where+ rnf GetSessionStatus' {..} = Prelude.rnf sessionId++instance Data.ToHeaders GetSessionStatus where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetSessionStatus" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetSessionStatus where+ toJSON GetSessionStatus' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("SessionId" Data..= sessionId)]+ )++instance Data.ToPath GetSessionStatus where+ toPath = Prelude.const "/"++instance Data.ToQuery GetSessionStatus where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetSessionStatusResponse' smart constructor.+data GetSessionStatusResponse = GetSessionStatusResponse'+ { -- | The session ID.+ sessionId :: Prelude.Maybe Prelude.Text,+ -- | Contains information about the status of the session.+ status :: Prelude.Maybe SessionStatus,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetSessionStatusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sessionId', 'getSessionStatusResponse_sessionId' - The session ID.+--+-- 'status', 'getSessionStatusResponse_status' - Contains information about the status of the session.+--+-- 'httpStatus', 'getSessionStatusResponse_httpStatus' - The response's http status code.+newGetSessionStatusResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetSessionStatusResponse+newGetSessionStatusResponse pHttpStatus_ =+ GetSessionStatusResponse'+ { sessionId =+ Prelude.Nothing,+ status = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The session ID.+getSessionStatusResponse_sessionId :: Lens.Lens' GetSessionStatusResponse (Prelude.Maybe Prelude.Text)+getSessionStatusResponse_sessionId = Lens.lens (\GetSessionStatusResponse' {sessionId} -> sessionId) (\s@GetSessionStatusResponse' {} a -> s {sessionId = a} :: GetSessionStatusResponse)++-- | Contains information about the status of the session.+getSessionStatusResponse_status :: Lens.Lens' GetSessionStatusResponse (Prelude.Maybe SessionStatus)+getSessionStatusResponse_status = Lens.lens (\GetSessionStatusResponse' {status} -> status) (\s@GetSessionStatusResponse' {} a -> s {status = a} :: GetSessionStatusResponse)++-- | The response's http status code.+getSessionStatusResponse_httpStatus :: Lens.Lens' GetSessionStatusResponse Prelude.Int+getSessionStatusResponse_httpStatus = Lens.lens (\GetSessionStatusResponse' {httpStatus} -> httpStatus) (\s@GetSessionStatusResponse' {} a -> s {httpStatus = a} :: GetSessionStatusResponse)++instance Prelude.NFData GetSessionStatusResponse where+ rnf GetSessionStatusResponse' {..} =+ Prelude.rnf sessionId+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetTableMetadata.hs view
@@ -0,0 +1,209 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetTableMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns table metadata for the specified catalog, database, and table.+module Amazonka.Athena.GetTableMetadata+ ( -- * Creating a Request+ GetTableMetadata (..),+ newGetTableMetadata,++ -- * Request Lenses+ getTableMetadata_catalogName,+ getTableMetadata_databaseName,+ getTableMetadata_tableName,++ -- * Destructuring the Response+ GetTableMetadataResponse (..),+ newGetTableMetadataResponse,++ -- * Response Lenses+ getTableMetadataResponse_tableMetadata,+ getTableMetadataResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetTableMetadata' smart constructor.+data GetTableMetadata = GetTableMetadata'+ { -- | The name of the data catalog that contains the database and table+ -- metadata to return.+ catalogName :: Prelude.Text,+ -- | The name of the database that contains the table metadata to return.+ databaseName :: Prelude.Text,+ -- | The name of the table for which metadata is returned.+ tableName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTableMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'catalogName', 'getTableMetadata_catalogName' - The name of the data catalog that contains the database and table+-- metadata to return.+--+-- 'databaseName', 'getTableMetadata_databaseName' - The name of the database that contains the table metadata to return.+--+-- 'tableName', 'getTableMetadata_tableName' - The name of the table for which metadata is returned.+newGetTableMetadata ::+ -- | 'catalogName'+ Prelude.Text ->+ -- | 'databaseName'+ Prelude.Text ->+ -- | 'tableName'+ Prelude.Text ->+ GetTableMetadata+newGetTableMetadata+ pCatalogName_+ pDatabaseName_+ pTableName_ =+ GetTableMetadata'+ { catalogName = pCatalogName_,+ databaseName = pDatabaseName_,+ tableName = pTableName_+ }++-- | The name of the data catalog that contains the database and table+-- metadata to return.+getTableMetadata_catalogName :: Lens.Lens' GetTableMetadata Prelude.Text+getTableMetadata_catalogName = Lens.lens (\GetTableMetadata' {catalogName} -> catalogName) (\s@GetTableMetadata' {} a -> s {catalogName = a} :: GetTableMetadata)++-- | The name of the database that contains the table metadata to return.+getTableMetadata_databaseName :: Lens.Lens' GetTableMetadata Prelude.Text+getTableMetadata_databaseName = Lens.lens (\GetTableMetadata' {databaseName} -> databaseName) (\s@GetTableMetadata' {} a -> s {databaseName = a} :: GetTableMetadata)++-- | The name of the table for which metadata is returned.+getTableMetadata_tableName :: Lens.Lens' GetTableMetadata Prelude.Text+getTableMetadata_tableName = Lens.lens (\GetTableMetadata' {tableName} -> tableName) (\s@GetTableMetadata' {} a -> s {tableName = a} :: GetTableMetadata)++instance Core.AWSRequest GetTableMetadata where+ type+ AWSResponse GetTableMetadata =+ GetTableMetadataResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetTableMetadataResponse'+ Prelude.<$> (x Data..?> "TableMetadata")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetTableMetadata where+ hashWithSalt _salt GetTableMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` catalogName+ `Prelude.hashWithSalt` databaseName+ `Prelude.hashWithSalt` tableName++instance Prelude.NFData GetTableMetadata where+ rnf GetTableMetadata' {..} =+ Prelude.rnf catalogName+ `Prelude.seq` Prelude.rnf databaseName+ `Prelude.seq` Prelude.rnf tableName++instance Data.ToHeaders GetTableMetadata where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.GetTableMetadata" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetTableMetadata where+ toJSON GetTableMetadata' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("CatalogName" Data..= catalogName),+ Prelude.Just ("DatabaseName" Data..= databaseName),+ Prelude.Just ("TableName" Data..= tableName)+ ]+ )++instance Data.ToPath GetTableMetadata where+ toPath = Prelude.const "/"++instance Data.ToQuery GetTableMetadata where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetTableMetadataResponse' smart constructor.+data GetTableMetadataResponse = GetTableMetadataResponse'+ { -- | An object that contains table metadata.+ tableMetadata :: Prelude.Maybe TableMetadata,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTableMetadataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tableMetadata', 'getTableMetadataResponse_tableMetadata' - An object that contains table metadata.+--+-- 'httpStatus', 'getTableMetadataResponse_httpStatus' - The response's http status code.+newGetTableMetadataResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetTableMetadataResponse+newGetTableMetadataResponse pHttpStatus_ =+ GetTableMetadataResponse'+ { tableMetadata =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An object that contains table metadata.+getTableMetadataResponse_tableMetadata :: Lens.Lens' GetTableMetadataResponse (Prelude.Maybe TableMetadata)+getTableMetadataResponse_tableMetadata = Lens.lens (\GetTableMetadataResponse' {tableMetadata} -> tableMetadata) (\s@GetTableMetadataResponse' {} a -> s {tableMetadata = a} :: GetTableMetadataResponse)++-- | The response's http status code.+getTableMetadataResponse_httpStatus :: Lens.Lens' GetTableMetadataResponse Prelude.Int+getTableMetadataResponse_httpStatus = Lens.lens (\GetTableMetadataResponse' {httpStatus} -> httpStatus) (\s@GetTableMetadataResponse' {} a -> s {httpStatus = a} :: GetTableMetadataResponse)++instance Prelude.NFData GetTableMetadataResponse where+ rnf GetTableMetadataResponse' {..} =+ Prelude.rnf tableMetadata+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/GetWorkGroup.hs view
@@ -0,0 +1,163 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.GetWorkGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about the workgroup with the specified name.+module Amazonka.Athena.GetWorkGroup+ ( -- * Creating a Request+ GetWorkGroup (..),+ newGetWorkGroup,++ -- * Request Lenses+ getWorkGroup_workGroup,++ -- * Destructuring the Response+ GetWorkGroupResponse (..),+ newGetWorkGroupResponse,++ -- * Response Lenses+ getWorkGroupResponse_workGroup,+ getWorkGroupResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetWorkGroup' smart constructor.+data GetWorkGroup = GetWorkGroup'+ { -- | The name of the workgroup.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetWorkGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'workGroup', 'getWorkGroup_workGroup' - The name of the workgroup.+newGetWorkGroup ::+ -- | 'workGroup'+ Prelude.Text ->+ GetWorkGroup+newGetWorkGroup pWorkGroup_ =+ GetWorkGroup' {workGroup = pWorkGroup_}++-- | The name of the workgroup.+getWorkGroup_workGroup :: Lens.Lens' GetWorkGroup Prelude.Text+getWorkGroup_workGroup = Lens.lens (\GetWorkGroup' {workGroup} -> workGroup) (\s@GetWorkGroup' {} a -> s {workGroup = a} :: GetWorkGroup)++instance Core.AWSRequest GetWorkGroup where+ type AWSResponse GetWorkGroup = GetWorkGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetWorkGroupResponse'+ Prelude.<$> (x Data..?> "WorkGroup")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetWorkGroup where+ hashWithSalt _salt GetWorkGroup' {..} =+ _salt `Prelude.hashWithSalt` workGroup++instance Prelude.NFData GetWorkGroup where+ rnf GetWorkGroup' {..} = Prelude.rnf workGroup++instance Data.ToHeaders GetWorkGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.GetWorkGroup" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetWorkGroup where+ toJSON GetWorkGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("WorkGroup" Data..= workGroup)]+ )++instance Data.ToPath GetWorkGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery GetWorkGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetWorkGroupResponse' smart constructor.+data GetWorkGroupResponse = GetWorkGroupResponse'+ { -- | Information about the workgroup.+ workGroup :: Prelude.Maybe WorkGroup,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetWorkGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'workGroup', 'getWorkGroupResponse_workGroup' - Information about the workgroup.+--+-- 'httpStatus', 'getWorkGroupResponse_httpStatus' - The response's http status code.+newGetWorkGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetWorkGroupResponse+newGetWorkGroupResponse pHttpStatus_ =+ GetWorkGroupResponse'+ { workGroup = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Information about the workgroup.+getWorkGroupResponse_workGroup :: Lens.Lens' GetWorkGroupResponse (Prelude.Maybe WorkGroup)+getWorkGroupResponse_workGroup = Lens.lens (\GetWorkGroupResponse' {workGroup} -> workGroup) (\s@GetWorkGroupResponse' {} a -> s {workGroup = a} :: GetWorkGroupResponse)++-- | The response's http status code.+getWorkGroupResponse_httpStatus :: Lens.Lens' GetWorkGroupResponse Prelude.Int+getWorkGroupResponse_httpStatus = Lens.lens (\GetWorkGroupResponse' {httpStatus} -> httpStatus) (\s@GetWorkGroupResponse' {} a -> s {httpStatus = a} :: GetWorkGroupResponse)++instance Prelude.NFData GetWorkGroupResponse where+ rnf GetWorkGroupResponse' {..} =+ Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ImportNotebook.hs view
@@ -0,0 +1,256 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ImportNotebook+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Imports a single @ipynb@ file to a Spark enabled workgroup. The maximum+-- file size that can be imported is 10 megabytes. If an @ipynb@ file with+-- the same name already exists in the workgroup, throws an error.+module Amazonka.Athena.ImportNotebook+ ( -- * Creating a Request+ ImportNotebook (..),+ newImportNotebook,++ -- * Request Lenses+ importNotebook_clientRequestToken,+ importNotebook_workGroup,+ importNotebook_name,+ importNotebook_payload,+ importNotebook_type,++ -- * Destructuring the Response+ ImportNotebookResponse (..),+ newImportNotebookResponse,++ -- * Response Lenses+ importNotebookResponse_notebookId,+ importNotebookResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newImportNotebook' smart constructor.+data ImportNotebook = ImportNotebook'+ { -- | A unique case-sensitive string used to ensure the request to import the+ -- notebook is idempotent (executes only once).+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for you. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the Spark enabled workgroup to import the notebook to.+ workGroup :: Prelude.Text,+ -- | The name of the notebook to import.+ name :: Prelude.Text,+ -- | The notebook content to be imported.+ payload :: Prelude.Text,+ -- | The notebook content type. Currently, the only valid type is @IPYNB@.+ type' :: NotebookType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ImportNotebook' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientRequestToken', 'importNotebook_clientRequestToken' - A unique case-sensitive string used to ensure the request to import the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'workGroup', 'importNotebook_workGroup' - The name of the Spark enabled workgroup to import the notebook to.+--+-- 'name', 'importNotebook_name' - The name of the notebook to import.+--+-- 'payload', 'importNotebook_payload' - The notebook content to be imported.+--+-- 'type'', 'importNotebook_type' - The notebook content type. Currently, the only valid type is @IPYNB@.+newImportNotebook ::+ -- | 'workGroup'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'payload'+ Prelude.Text ->+ -- | 'type''+ NotebookType ->+ ImportNotebook+newImportNotebook pWorkGroup_ pName_ pPayload_ pType_ =+ ImportNotebook'+ { clientRequestToken =+ Prelude.Nothing,+ workGroup = pWorkGroup_,+ name = pName_,+ payload = pPayload_,+ type' = pType_+ }++-- | A unique case-sensitive string used to ensure the request to import the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+importNotebook_clientRequestToken :: Lens.Lens' ImportNotebook (Prelude.Maybe Prelude.Text)+importNotebook_clientRequestToken = Lens.lens (\ImportNotebook' {clientRequestToken} -> clientRequestToken) (\s@ImportNotebook' {} a -> s {clientRequestToken = a} :: ImportNotebook)++-- | The name of the Spark enabled workgroup to import the notebook to.+importNotebook_workGroup :: Lens.Lens' ImportNotebook Prelude.Text+importNotebook_workGroup = Lens.lens (\ImportNotebook' {workGroup} -> workGroup) (\s@ImportNotebook' {} a -> s {workGroup = a} :: ImportNotebook)++-- | The name of the notebook to import.+importNotebook_name :: Lens.Lens' ImportNotebook Prelude.Text+importNotebook_name = Lens.lens (\ImportNotebook' {name} -> name) (\s@ImportNotebook' {} a -> s {name = a} :: ImportNotebook)++-- | The notebook content to be imported.+importNotebook_payload :: Lens.Lens' ImportNotebook Prelude.Text+importNotebook_payload = Lens.lens (\ImportNotebook' {payload} -> payload) (\s@ImportNotebook' {} a -> s {payload = a} :: ImportNotebook)++-- | The notebook content type. Currently, the only valid type is @IPYNB@.+importNotebook_type :: Lens.Lens' ImportNotebook NotebookType+importNotebook_type = Lens.lens (\ImportNotebook' {type'} -> type') (\s@ImportNotebook' {} a -> s {type' = a} :: ImportNotebook)++instance Core.AWSRequest ImportNotebook where+ type+ AWSResponse ImportNotebook =+ ImportNotebookResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ImportNotebookResponse'+ Prelude.<$> (x Data..?> "NotebookId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ImportNotebook where+ hashWithSalt _salt ImportNotebook' {..} =+ _salt+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` payload+ `Prelude.hashWithSalt` type'++instance Prelude.NFData ImportNotebook where+ rnf ImportNotebook' {..} =+ Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf payload+ `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders ImportNotebook where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ImportNotebook" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ImportNotebook where+ toJSON ImportNotebook' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ Prelude.Just ("WorkGroup" Data..= workGroup),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Payload" Data..= payload),+ Prelude.Just ("Type" Data..= type')+ ]+ )++instance Data.ToPath ImportNotebook where+ toPath = Prelude.const "/"++instance Data.ToQuery ImportNotebook where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newImportNotebookResponse' smart constructor.+data ImportNotebookResponse = ImportNotebookResponse'+ { -- | The ID of the notebook to import.+ notebookId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ImportNotebookResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'notebookId', 'importNotebookResponse_notebookId' - The ID of the notebook to import.+--+-- 'httpStatus', 'importNotebookResponse_httpStatus' - The response's http status code.+newImportNotebookResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ImportNotebookResponse+newImportNotebookResponse pHttpStatus_ =+ ImportNotebookResponse'+ { notebookId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the notebook to import.+importNotebookResponse_notebookId :: Lens.Lens' ImportNotebookResponse (Prelude.Maybe Prelude.Text)+importNotebookResponse_notebookId = Lens.lens (\ImportNotebookResponse' {notebookId} -> notebookId) (\s@ImportNotebookResponse' {} a -> s {notebookId = a} :: ImportNotebookResponse)++-- | The response's http status code.+importNotebookResponse_httpStatus :: Lens.Lens' ImportNotebookResponse Prelude.Int+importNotebookResponse_httpStatus = Lens.lens (\ImportNotebookResponse' {httpStatus} -> httpStatus) (\s@ImportNotebookResponse' {} a -> s {httpStatus = a} :: ImportNotebookResponse)++instance Prelude.NFData ImportNotebookResponse where+ rnf ImportNotebookResponse' {..} =+ Prelude.rnf notebookId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/Lens.hs view
@@ -0,0 +1,883 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Lens+ ( -- * Operations++ -- ** BatchGetNamedQuery+ batchGetNamedQuery_namedQueryIds,+ batchGetNamedQueryResponse_namedQueries,+ batchGetNamedQueryResponse_unprocessedNamedQueryIds,+ batchGetNamedQueryResponse_httpStatus,++ -- ** BatchGetPreparedStatement+ batchGetPreparedStatement_preparedStatementNames,+ batchGetPreparedStatement_workGroup,+ batchGetPreparedStatementResponse_preparedStatements,+ batchGetPreparedStatementResponse_unprocessedPreparedStatementNames,+ batchGetPreparedStatementResponse_httpStatus,++ -- ** BatchGetQueryExecution+ batchGetQueryExecution_queryExecutionIds,+ batchGetQueryExecutionResponse_queryExecutions,+ batchGetQueryExecutionResponse_unprocessedQueryExecutionIds,+ batchGetQueryExecutionResponse_httpStatus,++ -- ** CreateDataCatalog+ createDataCatalog_description,+ createDataCatalog_parameters,+ createDataCatalog_tags,+ createDataCatalog_name,+ createDataCatalog_type,+ createDataCatalogResponse_httpStatus,++ -- ** CreateNamedQuery+ createNamedQuery_clientRequestToken,+ createNamedQuery_description,+ createNamedQuery_workGroup,+ createNamedQuery_name,+ createNamedQuery_database,+ createNamedQuery_queryString,+ createNamedQueryResponse_namedQueryId,+ createNamedQueryResponse_httpStatus,++ -- ** CreateNotebook+ createNotebook_clientRequestToken,+ createNotebook_workGroup,+ createNotebook_name,+ createNotebookResponse_notebookId,+ createNotebookResponse_httpStatus,++ -- ** CreatePreparedStatement+ createPreparedStatement_description,+ createPreparedStatement_statementName,+ createPreparedStatement_workGroup,+ createPreparedStatement_queryStatement,+ createPreparedStatementResponse_httpStatus,++ -- ** CreatePresignedNotebookUrl+ createPresignedNotebookUrl_sessionId,+ createPresignedNotebookUrlResponse_httpStatus,+ createPresignedNotebookUrlResponse_notebookUrl,+ createPresignedNotebookUrlResponse_authToken,+ createPresignedNotebookUrlResponse_authTokenExpirationTime,++ -- ** CreateWorkGroup+ createWorkGroup_configuration,+ createWorkGroup_description,+ createWorkGroup_tags,+ createWorkGroup_name,+ createWorkGroupResponse_httpStatus,++ -- ** DeleteDataCatalog+ deleteDataCatalog_name,+ deleteDataCatalogResponse_httpStatus,++ -- ** DeleteNamedQuery+ deleteNamedQuery_namedQueryId,+ deleteNamedQueryResponse_httpStatus,++ -- ** DeleteNotebook+ deleteNotebook_notebookId,+ deleteNotebookResponse_httpStatus,++ -- ** DeletePreparedStatement+ deletePreparedStatement_statementName,+ deletePreparedStatement_workGroup,+ deletePreparedStatementResponse_httpStatus,++ -- ** DeleteWorkGroup+ deleteWorkGroup_recursiveDeleteOption,+ deleteWorkGroup_workGroup,+ deleteWorkGroupResponse_httpStatus,++ -- ** ExportNotebook+ exportNotebook_notebookId,+ exportNotebookResponse_notebookMetadata,+ exportNotebookResponse_payload,+ exportNotebookResponse_httpStatus,++ -- ** GetCalculationExecution+ getCalculationExecution_calculationExecutionId,+ getCalculationExecutionResponse_calculationExecutionId,+ getCalculationExecutionResponse_description,+ getCalculationExecutionResponse_result,+ getCalculationExecutionResponse_sessionId,+ getCalculationExecutionResponse_statistics,+ getCalculationExecutionResponse_status,+ getCalculationExecutionResponse_workingDirectory,+ getCalculationExecutionResponse_httpStatus,++ -- ** GetCalculationExecutionCode+ getCalculationExecutionCode_calculationExecutionId,+ getCalculationExecutionCodeResponse_codeBlock,+ getCalculationExecutionCodeResponse_httpStatus,++ -- ** GetCalculationExecutionStatus+ getCalculationExecutionStatus_calculationExecutionId,+ getCalculationExecutionStatusResponse_statistics,+ getCalculationExecutionStatusResponse_status,+ getCalculationExecutionStatusResponse_httpStatus,++ -- ** GetDataCatalog+ getDataCatalog_name,+ getDataCatalogResponse_dataCatalog,+ getDataCatalogResponse_httpStatus,++ -- ** GetDatabase+ getDatabase_catalogName,+ getDatabase_databaseName,+ getDatabaseResponse_database,+ getDatabaseResponse_httpStatus,++ -- ** GetNamedQuery+ getNamedQuery_namedQueryId,+ getNamedQueryResponse_namedQuery,+ getNamedQueryResponse_httpStatus,++ -- ** GetNotebookMetadata+ getNotebookMetadata_notebookId,+ getNotebookMetadataResponse_notebookMetadata,+ getNotebookMetadataResponse_httpStatus,++ -- ** GetPreparedStatement+ getPreparedStatement_statementName,+ getPreparedStatement_workGroup,+ getPreparedStatementResponse_preparedStatement,+ getPreparedStatementResponse_httpStatus,++ -- ** GetQueryExecution+ getQueryExecution_queryExecutionId,+ getQueryExecutionResponse_queryExecution,+ getQueryExecutionResponse_httpStatus,++ -- ** GetQueryResults+ getQueryResults_maxResults,+ getQueryResults_nextToken,+ getQueryResults_queryExecutionId,+ getQueryResultsResponse_nextToken,+ getQueryResultsResponse_resultSet,+ getQueryResultsResponse_updateCount,+ getQueryResultsResponse_httpStatus,++ -- ** GetQueryRuntimeStatistics+ getQueryRuntimeStatistics_queryExecutionId,+ getQueryRuntimeStatisticsResponse_queryRuntimeStatistics,+ getQueryRuntimeStatisticsResponse_httpStatus,++ -- ** GetSession+ getSession_sessionId,+ getSessionResponse_description,+ getSessionResponse_engineConfiguration,+ getSessionResponse_engineVersion,+ getSessionResponse_notebookVersion,+ getSessionResponse_sessionConfiguration,+ getSessionResponse_sessionId,+ getSessionResponse_statistics,+ getSessionResponse_status,+ getSessionResponse_workGroup,+ getSessionResponse_httpStatus,++ -- ** GetSessionStatus+ getSessionStatus_sessionId,+ getSessionStatusResponse_sessionId,+ getSessionStatusResponse_status,+ getSessionStatusResponse_httpStatus,++ -- ** GetTableMetadata+ getTableMetadata_catalogName,+ getTableMetadata_databaseName,+ getTableMetadata_tableName,+ getTableMetadataResponse_tableMetadata,+ getTableMetadataResponse_httpStatus,++ -- ** GetWorkGroup+ getWorkGroup_workGroup,+ getWorkGroupResponse_workGroup,+ getWorkGroupResponse_httpStatus,++ -- ** ImportNotebook+ importNotebook_clientRequestToken,+ importNotebook_workGroup,+ importNotebook_name,+ importNotebook_payload,+ importNotebook_type,+ importNotebookResponse_notebookId,+ importNotebookResponse_httpStatus,++ -- ** ListApplicationDPUSizes+ listApplicationDPUSizes_maxResults,+ listApplicationDPUSizes_nextToken,+ listApplicationDPUSizesResponse_applicationDPUSizes,+ listApplicationDPUSizesResponse_nextToken,+ listApplicationDPUSizesResponse_httpStatus,++ -- ** ListCalculationExecutions+ listCalculationExecutions_maxResults,+ listCalculationExecutions_nextToken,+ listCalculationExecutions_stateFilter,+ listCalculationExecutions_sessionId,+ listCalculationExecutionsResponse_calculations,+ listCalculationExecutionsResponse_nextToken,+ listCalculationExecutionsResponse_httpStatus,++ -- ** ListDataCatalogs+ listDataCatalogs_maxResults,+ listDataCatalogs_nextToken,+ listDataCatalogsResponse_dataCatalogsSummary,+ listDataCatalogsResponse_nextToken,+ listDataCatalogsResponse_httpStatus,++ -- ** ListDatabases+ listDatabases_maxResults,+ listDatabases_nextToken,+ listDatabases_catalogName,+ listDatabasesResponse_databaseList,+ listDatabasesResponse_nextToken,+ listDatabasesResponse_httpStatus,++ -- ** ListEngineVersions+ listEngineVersions_maxResults,+ listEngineVersions_nextToken,+ listEngineVersionsResponse_engineVersions,+ listEngineVersionsResponse_nextToken,+ listEngineVersionsResponse_httpStatus,++ -- ** ListExecutors+ listExecutors_executorStateFilter,+ listExecutors_maxResults,+ listExecutors_nextToken,+ listExecutors_sessionId,+ listExecutorsResponse_executorsSummary,+ listExecutorsResponse_nextToken,+ listExecutorsResponse_httpStatus,+ listExecutorsResponse_sessionId,++ -- ** ListNamedQueries+ listNamedQueries_maxResults,+ listNamedQueries_nextToken,+ listNamedQueries_workGroup,+ listNamedQueriesResponse_namedQueryIds,+ listNamedQueriesResponse_nextToken,+ listNamedQueriesResponse_httpStatus,++ -- ** ListNotebookMetadata+ listNotebookMetadata_filters,+ listNotebookMetadata_maxResults,+ listNotebookMetadata_nextToken,+ listNotebookMetadata_workGroup,+ listNotebookMetadataResponse_nextToken,+ listNotebookMetadataResponse_notebookMetadataList,+ listNotebookMetadataResponse_httpStatus,++ -- ** ListNotebookSessions+ listNotebookSessions_maxResults,+ listNotebookSessions_nextToken,+ listNotebookSessions_notebookId,+ listNotebookSessionsResponse_nextToken,+ listNotebookSessionsResponse_httpStatus,+ listNotebookSessionsResponse_notebookSessionsList,++ -- ** ListPreparedStatements+ listPreparedStatements_maxResults,+ listPreparedStatements_nextToken,+ listPreparedStatements_workGroup,+ listPreparedStatementsResponse_nextToken,+ listPreparedStatementsResponse_preparedStatements,+ listPreparedStatementsResponse_httpStatus,++ -- ** ListQueryExecutions+ listQueryExecutions_maxResults,+ listQueryExecutions_nextToken,+ listQueryExecutions_workGroup,+ listQueryExecutionsResponse_nextToken,+ listQueryExecutionsResponse_queryExecutionIds,+ listQueryExecutionsResponse_httpStatus,++ -- ** ListSessions+ listSessions_maxResults,+ listSessions_nextToken,+ listSessions_stateFilter,+ listSessions_workGroup,+ listSessionsResponse_nextToken,+ listSessionsResponse_sessions,+ listSessionsResponse_httpStatus,++ -- ** ListTableMetadata+ listTableMetadata_expression,+ listTableMetadata_maxResults,+ listTableMetadata_nextToken,+ listTableMetadata_catalogName,+ listTableMetadata_databaseName,+ listTableMetadataResponse_nextToken,+ listTableMetadataResponse_tableMetadataList,+ listTableMetadataResponse_httpStatus,++ -- ** ListTagsForResource+ listTagsForResource_maxResults,+ listTagsForResource_nextToken,+ listTagsForResource_resourceARN,+ listTagsForResourceResponse_nextToken,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,++ -- ** ListWorkGroups+ listWorkGroups_maxResults,+ listWorkGroups_nextToken,+ listWorkGroupsResponse_nextToken,+ listWorkGroupsResponse_workGroups,+ listWorkGroupsResponse_httpStatus,++ -- ** StartCalculationExecution+ startCalculationExecution_calculationConfiguration,+ startCalculationExecution_clientRequestToken,+ startCalculationExecution_codeBlock,+ startCalculationExecution_description,+ startCalculationExecution_sessionId,+ startCalculationExecutionResponse_calculationExecutionId,+ startCalculationExecutionResponse_state,+ startCalculationExecutionResponse_httpStatus,++ -- ** StartQueryExecution+ startQueryExecution_clientRequestToken,+ startQueryExecution_executionParameters,+ startQueryExecution_queryExecutionContext,+ startQueryExecution_resultConfiguration,+ startQueryExecution_resultReuseConfiguration,+ startQueryExecution_workGroup,+ startQueryExecution_queryString,+ startQueryExecutionResponse_queryExecutionId,+ startQueryExecutionResponse_httpStatus,++ -- ** StartSession+ startSession_clientRequestToken,+ startSession_description,+ startSession_notebookVersion,+ startSession_sessionIdleTimeoutInMinutes,+ startSession_workGroup,+ startSession_engineConfiguration,+ startSessionResponse_sessionId,+ startSessionResponse_state,+ startSessionResponse_httpStatus,++ -- ** StopCalculationExecution+ stopCalculationExecution_calculationExecutionId,+ stopCalculationExecutionResponse_state,+ stopCalculationExecutionResponse_httpStatus,++ -- ** StopQueryExecution+ stopQueryExecution_queryExecutionId,+ stopQueryExecutionResponse_httpStatus,++ -- ** TagResource+ tagResource_resourceARN,+ tagResource_tags,+ tagResourceResponse_httpStatus,++ -- ** TerminateSession+ terminateSession_sessionId,+ terminateSessionResponse_state,+ terminateSessionResponse_httpStatus,++ -- ** UntagResource+ untagResource_resourceARN,+ untagResource_tagKeys,+ untagResourceResponse_httpStatus,++ -- ** UpdateDataCatalog+ updateDataCatalog_description,+ updateDataCatalog_parameters,+ updateDataCatalog_name,+ updateDataCatalog_type,+ updateDataCatalogResponse_httpStatus,++ -- ** UpdateNamedQuery+ updateNamedQuery_description,+ updateNamedQuery_namedQueryId,+ updateNamedQuery_name,+ updateNamedQuery_queryString,+ updateNamedQueryResponse_httpStatus,++ -- ** UpdateNotebook+ updateNotebook_clientRequestToken,+ updateNotebook_sessionId,+ updateNotebook_notebookId,+ updateNotebook_payload,+ updateNotebook_type,+ updateNotebookResponse_httpStatus,++ -- ** UpdateNotebookMetadata+ updateNotebookMetadata_clientRequestToken,+ updateNotebookMetadata_notebookId,+ updateNotebookMetadata_name,+ updateNotebookMetadataResponse_httpStatus,++ -- ** UpdatePreparedStatement+ updatePreparedStatement_description,+ updatePreparedStatement_statementName,+ updatePreparedStatement_workGroup,+ updatePreparedStatement_queryStatement,+ updatePreparedStatementResponse_httpStatus,++ -- ** UpdateWorkGroup+ updateWorkGroup_configurationUpdates,+ updateWorkGroup_description,+ updateWorkGroup_state,+ updateWorkGroup_workGroup,+ updateWorkGroupResponse_httpStatus,++ -- * Types++ -- ** AclConfiguration+ aclConfiguration_s3AclOption,++ -- ** ApplicationDPUSizes+ applicationDPUSizes_applicationRuntimeId,+ applicationDPUSizes_supportedDPUSizes,++ -- ** AthenaError+ athenaError_errorCategory,+ athenaError_errorMessage,+ athenaError_errorType,+ athenaError_retryable,++ -- ** CalculationConfiguration+ calculationConfiguration_codeBlock,++ -- ** CalculationResult+ calculationResult_resultS3Uri,+ calculationResult_resultType,+ calculationResult_stdErrorS3Uri,+ calculationResult_stdOutS3Uri,++ -- ** CalculationStatistics+ calculationStatistics_dpuExecutionInMillis,+ calculationStatistics_progress,++ -- ** CalculationStatus+ calculationStatus_completionDateTime,+ calculationStatus_state,+ calculationStatus_stateChangeReason,+ calculationStatus_submissionDateTime,++ -- ** CalculationSummary+ calculationSummary_calculationExecutionId,+ calculationSummary_description,+ calculationSummary_status,++ -- ** Column+ column_comment,+ column_type,+ column_name,++ -- ** ColumnInfo+ columnInfo_caseSensitive,+ columnInfo_catalogName,+ columnInfo_label,+ columnInfo_nullable,+ columnInfo_precision,+ columnInfo_scale,+ columnInfo_schemaName,+ columnInfo_tableName,+ columnInfo_name,+ columnInfo_type,++ -- ** CustomerContentEncryptionConfiguration+ customerContentEncryptionConfiguration_kmsKey,++ -- ** DataCatalog+ dataCatalog_description,+ dataCatalog_parameters,+ dataCatalog_name,+ dataCatalog_type,++ -- ** DataCatalogSummary+ dataCatalogSummary_catalogName,+ dataCatalogSummary_type,++ -- ** Database+ database_description,+ database_parameters,+ database_name,++ -- ** Datum+ datum_varCharValue,++ -- ** EncryptionConfiguration+ encryptionConfiguration_kmsKey,+ encryptionConfiguration_encryptionOption,++ -- ** EngineConfiguration+ engineConfiguration_additionalConfigs,+ engineConfiguration_coordinatorDpuSize,+ engineConfiguration_defaultExecutorDpuSize,+ engineConfiguration_maxConcurrentDpus,++ -- ** EngineVersion+ engineVersion_effectiveEngineVersion,+ engineVersion_selectedEngineVersion,++ -- ** ExecutorsSummary+ executorsSummary_executorSize,+ executorsSummary_executorState,+ executorsSummary_executorType,+ executorsSummary_startDateTime,+ executorsSummary_terminationDateTime,+ executorsSummary_executorId,++ -- ** FilterDefinition+ filterDefinition_name,++ -- ** NamedQuery+ namedQuery_description,+ namedQuery_namedQueryId,+ namedQuery_workGroup,+ namedQuery_name,+ namedQuery_database,+ namedQuery_queryString,++ -- ** NotebookMetadata+ notebookMetadata_creationTime,+ notebookMetadata_lastModifiedTime,+ notebookMetadata_name,+ notebookMetadata_notebookId,+ notebookMetadata_type,+ notebookMetadata_workGroup,++ -- ** NotebookSessionSummary+ notebookSessionSummary_creationTime,+ notebookSessionSummary_sessionId,++ -- ** PreparedStatement+ preparedStatement_description,+ preparedStatement_lastModifiedTime,+ preparedStatement_queryStatement,+ preparedStatement_statementName,+ preparedStatement_workGroupName,++ -- ** PreparedStatementSummary+ preparedStatementSummary_lastModifiedTime,+ preparedStatementSummary_statementName,++ -- ** QueryExecution+ queryExecution_engineVersion,+ queryExecution_executionParameters,+ queryExecution_query,+ queryExecution_queryExecutionContext,+ queryExecution_queryExecutionId,+ queryExecution_resultConfiguration,+ queryExecution_resultReuseConfiguration,+ queryExecution_statementType,+ queryExecution_statistics,+ queryExecution_status,+ queryExecution_workGroup,++ -- ** QueryExecutionContext+ queryExecutionContext_catalog,+ queryExecutionContext_database,++ -- ** QueryExecutionStatistics+ queryExecutionStatistics_dataManifestLocation,+ queryExecutionStatistics_dataScannedInBytes,+ queryExecutionStatistics_engineExecutionTimeInMillis,+ queryExecutionStatistics_queryPlanningTimeInMillis,+ queryExecutionStatistics_queryQueueTimeInMillis,+ queryExecutionStatistics_resultReuseInformation,+ queryExecutionStatistics_serviceProcessingTimeInMillis,+ queryExecutionStatistics_totalExecutionTimeInMillis,++ -- ** QueryExecutionStatus+ queryExecutionStatus_athenaError,+ queryExecutionStatus_completionDateTime,+ queryExecutionStatus_state,+ queryExecutionStatus_stateChangeReason,+ queryExecutionStatus_submissionDateTime,++ -- ** QueryRuntimeStatistics+ queryRuntimeStatistics_outputStage,+ queryRuntimeStatistics_rows,+ queryRuntimeStatistics_timeline,++ -- ** QueryRuntimeStatisticsRows+ queryRuntimeStatisticsRows_inputBytes,+ queryRuntimeStatisticsRows_inputRows,+ queryRuntimeStatisticsRows_outputBytes,+ queryRuntimeStatisticsRows_outputRows,++ -- ** QueryRuntimeStatisticsTimeline+ queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis,+ queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis,+ queryRuntimeStatisticsTimeline_queryQueueTimeInMillis,+ queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis,+ queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis,++ -- ** QueryStage+ queryStage_executionTime,+ queryStage_inputBytes,+ queryStage_inputRows,+ queryStage_outputBytes,+ queryStage_outputRows,+ queryStage_queryStagePlan,+ queryStage_stageId,+ queryStage_state,+ queryStage_subStages,++ -- ** QueryStagePlanNode+ queryStagePlanNode_children,+ queryStagePlanNode_identifier,+ queryStagePlanNode_name,+ queryStagePlanNode_remoteSources,++ -- ** ResultConfiguration+ resultConfiguration_aclConfiguration,+ resultConfiguration_encryptionConfiguration,+ resultConfiguration_expectedBucketOwner,+ resultConfiguration_outputLocation,++ -- ** ResultConfigurationUpdates+ resultConfigurationUpdates_aclConfiguration,+ resultConfigurationUpdates_encryptionConfiguration,+ resultConfigurationUpdates_expectedBucketOwner,+ resultConfigurationUpdates_outputLocation,+ resultConfigurationUpdates_removeAclConfiguration,+ resultConfigurationUpdates_removeEncryptionConfiguration,+ resultConfigurationUpdates_removeExpectedBucketOwner,+ resultConfigurationUpdates_removeOutputLocation,++ -- ** ResultReuseByAgeConfiguration+ resultReuseByAgeConfiguration_maxAgeInMinutes,+ resultReuseByAgeConfiguration_enabled,++ -- ** ResultReuseConfiguration+ resultReuseConfiguration_resultReuseByAgeConfiguration,++ -- ** ResultReuseInformation+ resultReuseInformation_reusedPreviousResult,++ -- ** ResultSet+ resultSet_resultSetMetadata,+ resultSet_rows,++ -- ** ResultSetMetadata+ resultSetMetadata_columnInfo,++ -- ** Row+ row_data,++ -- ** SessionConfiguration+ sessionConfiguration_encryptionConfiguration,+ sessionConfiguration_executionRole,+ sessionConfiguration_idleTimeoutSeconds,+ sessionConfiguration_workingDirectory,++ -- ** SessionStatistics+ sessionStatistics_dpuExecutionInMillis,++ -- ** SessionStatus+ sessionStatus_endDateTime,+ sessionStatus_idleSinceDateTime,+ sessionStatus_lastModifiedDateTime,+ sessionStatus_startDateTime,+ sessionStatus_state,+ sessionStatus_stateChangeReason,++ -- ** SessionSummary+ sessionSummary_description,+ sessionSummary_engineVersion,+ sessionSummary_notebookVersion,+ sessionSummary_sessionId,+ sessionSummary_status,++ -- ** TableMetadata+ tableMetadata_columns,+ tableMetadata_createTime,+ tableMetadata_lastAccessTime,+ tableMetadata_parameters,+ tableMetadata_partitionKeys,+ tableMetadata_tableType,+ tableMetadata_name,++ -- ** Tag+ tag_key,+ tag_value,++ -- ** UnprocessedNamedQueryId+ unprocessedNamedQueryId_errorCode,+ unprocessedNamedQueryId_errorMessage,+ unprocessedNamedQueryId_namedQueryId,++ -- ** UnprocessedPreparedStatementName+ unprocessedPreparedStatementName_errorCode,+ unprocessedPreparedStatementName_errorMessage,+ unprocessedPreparedStatementName_statementName,++ -- ** UnprocessedQueryExecutionId+ unprocessedQueryExecutionId_errorCode,+ unprocessedQueryExecutionId_errorMessage,+ unprocessedQueryExecutionId_queryExecutionId,++ -- ** WorkGroup+ workGroup_configuration,+ workGroup_creationTime,+ workGroup_description,+ workGroup_state,+ workGroup_name,++ -- ** WorkGroupConfiguration+ workGroupConfiguration_additionalConfiguration,+ workGroupConfiguration_bytesScannedCutoffPerQuery,+ workGroupConfiguration_customerContentEncryptionConfiguration,+ workGroupConfiguration_enforceWorkGroupConfiguration,+ workGroupConfiguration_engineVersion,+ workGroupConfiguration_executionRole,+ workGroupConfiguration_publishCloudWatchMetricsEnabled,+ workGroupConfiguration_requesterPaysEnabled,+ workGroupConfiguration_resultConfiguration,++ -- ** WorkGroupConfigurationUpdates+ workGroupConfigurationUpdates_additionalConfiguration,+ workGroupConfigurationUpdates_bytesScannedCutoffPerQuery,+ workGroupConfigurationUpdates_customerContentEncryptionConfiguration,+ workGroupConfigurationUpdates_enforceWorkGroupConfiguration,+ workGroupConfigurationUpdates_engineVersion,+ workGroupConfigurationUpdates_executionRole,+ workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled,+ workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery,+ workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration,+ workGroupConfigurationUpdates_requesterPaysEnabled,+ workGroupConfigurationUpdates_resultConfigurationUpdates,++ -- ** WorkGroupSummary+ workGroupSummary_creationTime,+ workGroupSummary_description,+ workGroupSummary_engineVersion,+ workGroupSummary_name,+ workGroupSummary_state,+ )+where++import Amazonka.Athena.BatchGetNamedQuery+import Amazonka.Athena.BatchGetPreparedStatement+import Amazonka.Athena.BatchGetQueryExecution+import Amazonka.Athena.CreateDataCatalog+import Amazonka.Athena.CreateNamedQuery+import Amazonka.Athena.CreateNotebook+import Amazonka.Athena.CreatePreparedStatement+import Amazonka.Athena.CreatePresignedNotebookUrl+import Amazonka.Athena.CreateWorkGroup+import Amazonka.Athena.DeleteDataCatalog+import Amazonka.Athena.DeleteNamedQuery+import Amazonka.Athena.DeleteNotebook+import Amazonka.Athena.DeletePreparedStatement+import Amazonka.Athena.DeleteWorkGroup+import Amazonka.Athena.ExportNotebook+import Amazonka.Athena.GetCalculationExecution+import Amazonka.Athena.GetCalculationExecutionCode+import Amazonka.Athena.GetCalculationExecutionStatus+import Amazonka.Athena.GetDataCatalog+import Amazonka.Athena.GetDatabase+import Amazonka.Athena.GetNamedQuery+import Amazonka.Athena.GetNotebookMetadata+import Amazonka.Athena.GetPreparedStatement+import Amazonka.Athena.GetQueryExecution+import Amazonka.Athena.GetQueryResults+import Amazonka.Athena.GetQueryRuntimeStatistics+import Amazonka.Athena.GetSession+import Amazonka.Athena.GetSessionStatus+import Amazonka.Athena.GetTableMetadata+import Amazonka.Athena.GetWorkGroup+import Amazonka.Athena.ImportNotebook+import Amazonka.Athena.ListApplicationDPUSizes+import Amazonka.Athena.ListCalculationExecutions+import Amazonka.Athena.ListDataCatalogs+import Amazonka.Athena.ListDatabases+import Amazonka.Athena.ListEngineVersions+import Amazonka.Athena.ListExecutors+import Amazonka.Athena.ListNamedQueries+import Amazonka.Athena.ListNotebookMetadata+import Amazonka.Athena.ListNotebookSessions+import Amazonka.Athena.ListPreparedStatements+import Amazonka.Athena.ListQueryExecutions+import Amazonka.Athena.ListSessions+import Amazonka.Athena.ListTableMetadata+import Amazonka.Athena.ListTagsForResource+import Amazonka.Athena.ListWorkGroups+import Amazonka.Athena.StartCalculationExecution+import Amazonka.Athena.StartQueryExecution+import Amazonka.Athena.StartSession+import Amazonka.Athena.StopCalculationExecution+import Amazonka.Athena.StopQueryExecution+import Amazonka.Athena.TagResource+import Amazonka.Athena.TerminateSession+import Amazonka.Athena.Types.AclConfiguration+import Amazonka.Athena.Types.ApplicationDPUSizes+import Amazonka.Athena.Types.AthenaError+import Amazonka.Athena.Types.CalculationConfiguration+import Amazonka.Athena.Types.CalculationResult+import Amazonka.Athena.Types.CalculationStatistics+import Amazonka.Athena.Types.CalculationStatus+import Amazonka.Athena.Types.CalculationSummary+import Amazonka.Athena.Types.Column+import Amazonka.Athena.Types.ColumnInfo+import Amazonka.Athena.Types.CustomerContentEncryptionConfiguration+import Amazonka.Athena.Types.DataCatalog+import Amazonka.Athena.Types.DataCatalogSummary+import Amazonka.Athena.Types.Database+import Amazonka.Athena.Types.Datum+import Amazonka.Athena.Types.EncryptionConfiguration+import Amazonka.Athena.Types.EngineConfiguration+import Amazonka.Athena.Types.EngineVersion+import Amazonka.Athena.Types.ExecutorsSummary+import Amazonka.Athena.Types.FilterDefinition+import Amazonka.Athena.Types.NamedQuery+import Amazonka.Athena.Types.NotebookMetadata+import Amazonka.Athena.Types.NotebookSessionSummary+import Amazonka.Athena.Types.PreparedStatement+import Amazonka.Athena.Types.PreparedStatementSummary+import Amazonka.Athena.Types.QueryExecution+import Amazonka.Athena.Types.QueryExecutionContext+import Amazonka.Athena.Types.QueryExecutionStatistics+import Amazonka.Athena.Types.QueryExecutionStatus+import Amazonka.Athena.Types.QueryRuntimeStatistics+import Amazonka.Athena.Types.QueryRuntimeStatisticsRows+import Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline+import Amazonka.Athena.Types.QueryStage+import Amazonka.Athena.Types.QueryStagePlanNode+import Amazonka.Athena.Types.ResultConfiguration+import Amazonka.Athena.Types.ResultConfigurationUpdates+import Amazonka.Athena.Types.ResultReuseByAgeConfiguration+import Amazonka.Athena.Types.ResultReuseConfiguration+import Amazonka.Athena.Types.ResultReuseInformation+import Amazonka.Athena.Types.ResultSet+import Amazonka.Athena.Types.ResultSetMetadata+import Amazonka.Athena.Types.Row+import Amazonka.Athena.Types.SessionConfiguration+import Amazonka.Athena.Types.SessionStatistics+import Amazonka.Athena.Types.SessionStatus+import Amazonka.Athena.Types.SessionSummary+import Amazonka.Athena.Types.TableMetadata+import Amazonka.Athena.Types.Tag+import Amazonka.Athena.Types.UnprocessedNamedQueryId+import Amazonka.Athena.Types.UnprocessedPreparedStatementName+import Amazonka.Athena.Types.UnprocessedQueryExecutionId+import Amazonka.Athena.Types.WorkGroup+import Amazonka.Athena.Types.WorkGroupConfiguration+import Amazonka.Athena.Types.WorkGroupConfigurationUpdates+import Amazonka.Athena.Types.WorkGroupSummary+import Amazonka.Athena.UntagResource+import Amazonka.Athena.UpdateDataCatalog+import Amazonka.Athena.UpdateNamedQuery+import Amazonka.Athena.UpdateNotebook+import Amazonka.Athena.UpdateNotebookMetadata+import Amazonka.Athena.UpdatePreparedStatement+import Amazonka.Athena.UpdateWorkGroup
+ gen/Amazonka/Athena/ListApplicationDPUSizes.hs view
@@ -0,0 +1,216 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListApplicationDPUSizes+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the supported DPU sizes for the supported application runtimes+-- (for example, @Jupyter 1.0@).+module Amazonka.Athena.ListApplicationDPUSizes+ ( -- * Creating a Request+ ListApplicationDPUSizes (..),+ newListApplicationDPUSizes,++ -- * Request Lenses+ listApplicationDPUSizes_maxResults,+ listApplicationDPUSizes_nextToken,++ -- * Destructuring the Response+ ListApplicationDPUSizesResponse (..),+ newListApplicationDPUSizesResponse,++ -- * Response Lenses+ listApplicationDPUSizesResponse_applicationDPUSizes,+ listApplicationDPUSizesResponse_nextToken,+ listApplicationDPUSizesResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListApplicationDPUSizes' smart constructor.+data ListApplicationDPUSizes = ListApplicationDPUSizes'+ { -- | Specifies the maximum number of results to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListApplicationDPUSizes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listApplicationDPUSizes_maxResults' - Specifies the maximum number of results to return.+--+-- 'nextToken', 'listApplicationDPUSizes_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated.+newListApplicationDPUSizes ::+ ListApplicationDPUSizes+newListApplicationDPUSizes =+ ListApplicationDPUSizes'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | Specifies the maximum number of results to return.+listApplicationDPUSizes_maxResults :: Lens.Lens' ListApplicationDPUSizes (Prelude.Maybe Prelude.Natural)+listApplicationDPUSizes_maxResults = Lens.lens (\ListApplicationDPUSizes' {maxResults} -> maxResults) (\s@ListApplicationDPUSizes' {} a -> s {maxResults = a} :: ListApplicationDPUSizes)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated.+listApplicationDPUSizes_nextToken :: Lens.Lens' ListApplicationDPUSizes (Prelude.Maybe Prelude.Text)+listApplicationDPUSizes_nextToken = Lens.lens (\ListApplicationDPUSizes' {nextToken} -> nextToken) (\s@ListApplicationDPUSizes' {} a -> s {nextToken = a} :: ListApplicationDPUSizes)++instance Core.AWSRequest ListApplicationDPUSizes where+ type+ AWSResponse ListApplicationDPUSizes =+ ListApplicationDPUSizesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListApplicationDPUSizesResponse'+ Prelude.<$> ( x+ Data..?> "ApplicationDPUSizes"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListApplicationDPUSizes where+ hashWithSalt _salt ListApplicationDPUSizes' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListApplicationDPUSizes where+ rnf ListApplicationDPUSizes' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListApplicationDPUSizes where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListApplicationDPUSizes" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListApplicationDPUSizes where+ toJSON ListApplicationDPUSizes' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListApplicationDPUSizes where+ toPath = Prelude.const "/"++instance Data.ToQuery ListApplicationDPUSizes where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListApplicationDPUSizesResponse' smart constructor.+data ListApplicationDPUSizesResponse = ListApplicationDPUSizesResponse'+ { -- | A list of the supported DPU sizes that the application runtime supports.+ applicationDPUSizes :: Prelude.Maybe [ApplicationDPUSizes],+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListApplicationDPUSizesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'applicationDPUSizes', 'listApplicationDPUSizesResponse_applicationDPUSizes' - A list of the supported DPU sizes that the application runtime supports.+--+-- 'nextToken', 'listApplicationDPUSizesResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'httpStatus', 'listApplicationDPUSizesResponse_httpStatus' - The response's http status code.+newListApplicationDPUSizesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListApplicationDPUSizesResponse+newListApplicationDPUSizesResponse pHttpStatus_ =+ ListApplicationDPUSizesResponse'+ { applicationDPUSizes =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A list of the supported DPU sizes that the application runtime supports.+listApplicationDPUSizesResponse_applicationDPUSizes :: Lens.Lens' ListApplicationDPUSizesResponse (Prelude.Maybe [ApplicationDPUSizes])+listApplicationDPUSizesResponse_applicationDPUSizes = Lens.lens (\ListApplicationDPUSizesResponse' {applicationDPUSizes} -> applicationDPUSizes) (\s@ListApplicationDPUSizesResponse' {} a -> s {applicationDPUSizes = a} :: ListApplicationDPUSizesResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listApplicationDPUSizesResponse_nextToken :: Lens.Lens' ListApplicationDPUSizesResponse (Prelude.Maybe Prelude.Text)+listApplicationDPUSizesResponse_nextToken = Lens.lens (\ListApplicationDPUSizesResponse' {nextToken} -> nextToken) (\s@ListApplicationDPUSizesResponse' {} a -> s {nextToken = a} :: ListApplicationDPUSizesResponse)++-- | The response's http status code.+listApplicationDPUSizesResponse_httpStatus :: Lens.Lens' ListApplicationDPUSizesResponse Prelude.Int+listApplicationDPUSizesResponse_httpStatus = Lens.lens (\ListApplicationDPUSizesResponse' {httpStatus} -> httpStatus) (\s@ListApplicationDPUSizesResponse' {} a -> s {httpStatus = a} :: ListApplicationDPUSizesResponse)++instance+ Prelude.NFData+ ListApplicationDPUSizesResponse+ where+ rnf ListApplicationDPUSizesResponse' {..} =+ Prelude.rnf applicationDPUSizes+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListCalculationExecutions.hs view
@@ -0,0 +1,305 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListCalculationExecutions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the calculations that have been submitted to a session in+-- descending order. Newer calculations are listed first; older+-- calculations are listed later.+module Amazonka.Athena.ListCalculationExecutions+ ( -- * Creating a Request+ ListCalculationExecutions (..),+ newListCalculationExecutions,++ -- * Request Lenses+ listCalculationExecutions_maxResults,+ listCalculationExecutions_nextToken,+ listCalculationExecutions_stateFilter,+ listCalculationExecutions_sessionId,++ -- * Destructuring the Response+ ListCalculationExecutionsResponse (..),+ newListCalculationExecutionsResponse,++ -- * Response Lenses+ listCalculationExecutionsResponse_calculations,+ listCalculationExecutionsResponse_nextToken,+ listCalculationExecutionsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListCalculationExecutions' smart constructor.+data ListCalculationExecutions = ListCalculationExecutions'+ { -- | The maximum number of calculation executions to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A filter for a specific calculation execution state. A description of+ -- each state follows.+ --+ -- @CREATING@ - The calculation is in the process of being created.+ --+ -- @CREATED@ - The calculation has been created and is ready to run.+ --+ -- @QUEUED@ - The calculation has been queued for processing.+ --+ -- @RUNNING@ - The calculation is running.+ --+ -- @CANCELING@ - A request to cancel the calculation has been received and+ -- the system is working to stop it.+ --+ -- @CANCELED@ - The calculation is no longer running as the result of a+ -- cancel request.+ --+ -- @COMPLETED@ - The calculation has completed without error.+ --+ -- @FAILED@ - The calculation failed and is no longer running.+ stateFilter :: Prelude.Maybe CalculationExecutionState,+ -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListCalculationExecutions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listCalculationExecutions_maxResults' - The maximum number of calculation executions to return.+--+-- 'nextToken', 'listCalculationExecutions_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'stateFilter', 'listCalculationExecutions_stateFilter' - A filter for a specific calculation execution state. A description of+-- each state follows.+--+-- @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+--+-- 'sessionId', 'listCalculationExecutions_sessionId' - The session ID.+newListCalculationExecutions ::+ -- | 'sessionId'+ Prelude.Text ->+ ListCalculationExecutions+newListCalculationExecutions pSessionId_ =+ ListCalculationExecutions'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ stateFilter = Prelude.Nothing,+ sessionId = pSessionId_+ }++-- | The maximum number of calculation executions to return.+listCalculationExecutions_maxResults :: Lens.Lens' ListCalculationExecutions (Prelude.Maybe Prelude.Natural)+listCalculationExecutions_maxResults = Lens.lens (\ListCalculationExecutions' {maxResults} -> maxResults) (\s@ListCalculationExecutions' {} a -> s {maxResults = a} :: ListCalculationExecutions)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listCalculationExecutions_nextToken :: Lens.Lens' ListCalculationExecutions (Prelude.Maybe Prelude.Text)+listCalculationExecutions_nextToken = Lens.lens (\ListCalculationExecutions' {nextToken} -> nextToken) (\s@ListCalculationExecutions' {} a -> s {nextToken = a} :: ListCalculationExecutions)++-- | A filter for a specific calculation execution state. A description of+-- each state follows.+--+-- @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+listCalculationExecutions_stateFilter :: Lens.Lens' ListCalculationExecutions (Prelude.Maybe CalculationExecutionState)+listCalculationExecutions_stateFilter = Lens.lens (\ListCalculationExecutions' {stateFilter} -> stateFilter) (\s@ListCalculationExecutions' {} a -> s {stateFilter = a} :: ListCalculationExecutions)++-- | The session ID.+listCalculationExecutions_sessionId :: Lens.Lens' ListCalculationExecutions Prelude.Text+listCalculationExecutions_sessionId = Lens.lens (\ListCalculationExecutions' {sessionId} -> sessionId) (\s@ListCalculationExecutions' {} a -> s {sessionId = a} :: ListCalculationExecutions)++instance Core.AWSRequest ListCalculationExecutions where+ type+ AWSResponse ListCalculationExecutions =+ ListCalculationExecutionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListCalculationExecutionsResponse'+ Prelude.<$> (x Data..?> "Calculations" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListCalculationExecutions where+ hashWithSalt _salt ListCalculationExecutions' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` stateFilter+ `Prelude.hashWithSalt` sessionId++instance Prelude.NFData ListCalculationExecutions where+ rnf ListCalculationExecutions' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf stateFilter+ `Prelude.seq` Prelude.rnf sessionId++instance Data.ToHeaders ListCalculationExecutions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListCalculationExecutions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListCalculationExecutions where+ toJSON ListCalculationExecutions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("StateFilter" Data..=) Prelude.<$> stateFilter,+ Prelude.Just ("SessionId" Data..= sessionId)+ ]+ )++instance Data.ToPath ListCalculationExecutions where+ toPath = Prelude.const "/"++instance Data.ToQuery ListCalculationExecutions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListCalculationExecutionsResponse' smart constructor.+data ListCalculationExecutionsResponse = ListCalculationExecutionsResponse'+ { -- | A list of CalculationSummary objects.+ calculations :: Prelude.Maybe [CalculationSummary],+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListCalculationExecutionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculations', 'listCalculationExecutionsResponse_calculations' - A list of CalculationSummary objects.+--+-- 'nextToken', 'listCalculationExecutionsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'httpStatus', 'listCalculationExecutionsResponse_httpStatus' - The response's http status code.+newListCalculationExecutionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListCalculationExecutionsResponse+newListCalculationExecutionsResponse pHttpStatus_ =+ ListCalculationExecutionsResponse'+ { calculations =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A list of CalculationSummary objects.+listCalculationExecutionsResponse_calculations :: Lens.Lens' ListCalculationExecutionsResponse (Prelude.Maybe [CalculationSummary])+listCalculationExecutionsResponse_calculations = Lens.lens (\ListCalculationExecutionsResponse' {calculations} -> calculations) (\s@ListCalculationExecutionsResponse' {} a -> s {calculations = a} :: ListCalculationExecutionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listCalculationExecutionsResponse_nextToken :: Lens.Lens' ListCalculationExecutionsResponse (Prelude.Maybe Prelude.Text)+listCalculationExecutionsResponse_nextToken = Lens.lens (\ListCalculationExecutionsResponse' {nextToken} -> nextToken) (\s@ListCalculationExecutionsResponse' {} a -> s {nextToken = a} :: ListCalculationExecutionsResponse)++-- | The response's http status code.+listCalculationExecutionsResponse_httpStatus :: Lens.Lens' ListCalculationExecutionsResponse Prelude.Int+listCalculationExecutionsResponse_httpStatus = Lens.lens (\ListCalculationExecutionsResponse' {httpStatus} -> httpStatus) (\s@ListCalculationExecutionsResponse' {} a -> s {httpStatus = a} :: ListCalculationExecutionsResponse)++instance+ Prelude.NFData+ ListCalculationExecutionsResponse+ where+ rnf ListCalculationExecutionsResponse' {..} =+ Prelude.rnf calculations+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListDataCatalogs.hs view
@@ -0,0 +1,241 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListDataCatalogs+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the data catalogs in the current Amazon Web Services account.+--+-- This operation returns paginated results.+module Amazonka.Athena.ListDataCatalogs+ ( -- * Creating a Request+ ListDataCatalogs (..),+ newListDataCatalogs,++ -- * Request Lenses+ listDataCatalogs_maxResults,+ listDataCatalogs_nextToken,++ -- * Destructuring the Response+ ListDataCatalogsResponse (..),+ newListDataCatalogsResponse,++ -- * Response Lenses+ listDataCatalogsResponse_dataCatalogsSummary,+ listDataCatalogsResponse_nextToken,+ listDataCatalogsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListDataCatalogs' smart constructor.+data ListDataCatalogs = ListDataCatalogs'+ { -- | Specifies the maximum number of data catalogs to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the NextToken from the response object of the previous+ -- page call.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDataCatalogs' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listDataCatalogs_maxResults' - Specifies the maximum number of data catalogs to return.+--+-- 'nextToken', 'listDataCatalogs_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+newListDataCatalogs ::+ ListDataCatalogs+newListDataCatalogs =+ ListDataCatalogs'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | Specifies the maximum number of data catalogs to return.+listDataCatalogs_maxResults :: Lens.Lens' ListDataCatalogs (Prelude.Maybe Prelude.Natural)+listDataCatalogs_maxResults = Lens.lens (\ListDataCatalogs' {maxResults} -> maxResults) (\s@ListDataCatalogs' {} a -> s {maxResults = a} :: ListDataCatalogs)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+listDataCatalogs_nextToken :: Lens.Lens' ListDataCatalogs (Prelude.Maybe Prelude.Text)+listDataCatalogs_nextToken = Lens.lens (\ListDataCatalogs' {nextToken} -> nextToken) (\s@ListDataCatalogs' {} a -> s {nextToken = a} :: ListDataCatalogs)++instance Core.AWSPager ListDataCatalogs where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listDataCatalogsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listDataCatalogsResponse_dataCatalogsSummary+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listDataCatalogs_nextToken+ Lens..~ rs+ Lens.^? listDataCatalogsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListDataCatalogs where+ type+ AWSResponse ListDataCatalogs =+ ListDataCatalogsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListDataCatalogsResponse'+ Prelude.<$> ( x+ Data..?> "DataCatalogsSummary"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListDataCatalogs where+ hashWithSalt _salt ListDataCatalogs' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListDataCatalogs where+ rnf ListDataCatalogs' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListDataCatalogs where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListDataCatalogs" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListDataCatalogs where+ toJSON ListDataCatalogs' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListDataCatalogs where+ toPath = Prelude.const "/"++instance Data.ToQuery ListDataCatalogs where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListDataCatalogsResponse' smart constructor.+data ListDataCatalogsResponse = ListDataCatalogsResponse'+ { -- | A summary list of data catalogs.+ dataCatalogsSummary :: Prelude.Maybe [DataCatalogSummary],+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the NextToken from the response object of the previous+ -- page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDataCatalogsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataCatalogsSummary', 'listDataCatalogsResponse_dataCatalogsSummary' - A summary list of data catalogs.+--+-- 'nextToken', 'listDataCatalogsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+--+-- 'httpStatus', 'listDataCatalogsResponse_httpStatus' - The response's http status code.+newListDataCatalogsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListDataCatalogsResponse+newListDataCatalogsResponse pHttpStatus_ =+ ListDataCatalogsResponse'+ { dataCatalogsSummary =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A summary list of data catalogs.+listDataCatalogsResponse_dataCatalogsSummary :: Lens.Lens' ListDataCatalogsResponse (Prelude.Maybe [DataCatalogSummary])+listDataCatalogsResponse_dataCatalogsSummary = Lens.lens (\ListDataCatalogsResponse' {dataCatalogsSummary} -> dataCatalogsSummary) (\s@ListDataCatalogsResponse' {} a -> s {dataCatalogsSummary = a} :: ListDataCatalogsResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+listDataCatalogsResponse_nextToken :: Lens.Lens' ListDataCatalogsResponse (Prelude.Maybe Prelude.Text)+listDataCatalogsResponse_nextToken = Lens.lens (\ListDataCatalogsResponse' {nextToken} -> nextToken) (\s@ListDataCatalogsResponse' {} a -> s {nextToken = a} :: ListDataCatalogsResponse)++-- | The response's http status code.+listDataCatalogsResponse_httpStatus :: Lens.Lens' ListDataCatalogsResponse Prelude.Int+listDataCatalogsResponse_httpStatus = Lens.lens (\ListDataCatalogsResponse' {httpStatus} -> httpStatus) (\s@ListDataCatalogsResponse' {} a -> s {httpStatus = a} :: ListDataCatalogsResponse)++instance Prelude.NFData ListDataCatalogsResponse where+ rnf ListDataCatalogsResponse' {..} =+ Prelude.rnf dataCatalogsSummary+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListDatabases.hs view
@@ -0,0 +1,251 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListDatabases+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the databases in the specified data catalog.+--+-- This operation returns paginated results.+module Amazonka.Athena.ListDatabases+ ( -- * Creating a Request+ ListDatabases (..),+ newListDatabases,++ -- * Request Lenses+ listDatabases_maxResults,+ listDatabases_nextToken,+ listDatabases_catalogName,++ -- * Destructuring the Response+ ListDatabasesResponse (..),+ newListDatabasesResponse,++ -- * Response Lenses+ listDatabasesResponse_databaseList,+ listDatabasesResponse_nextToken,+ listDatabasesResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListDatabases' smart constructor.+data ListDatabases = ListDatabases'+ { -- | Specifies the maximum number of results to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the data catalog that contains the databases to return.+ catalogName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDatabases' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listDatabases_maxResults' - Specifies the maximum number of results to return.+--+-- 'nextToken', 'listDatabases_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'catalogName', 'listDatabases_catalogName' - The name of the data catalog that contains the databases to return.+newListDatabases ::+ -- | 'catalogName'+ Prelude.Text ->+ ListDatabases+newListDatabases pCatalogName_ =+ ListDatabases'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ catalogName = pCatalogName_+ }++-- | Specifies the maximum number of results to return.+listDatabases_maxResults :: Lens.Lens' ListDatabases (Prelude.Maybe Prelude.Natural)+listDatabases_maxResults = Lens.lens (\ListDatabases' {maxResults} -> maxResults) (\s@ListDatabases' {} a -> s {maxResults = a} :: ListDatabases)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listDatabases_nextToken :: Lens.Lens' ListDatabases (Prelude.Maybe Prelude.Text)+listDatabases_nextToken = Lens.lens (\ListDatabases' {nextToken} -> nextToken) (\s@ListDatabases' {} a -> s {nextToken = a} :: ListDatabases)++-- | The name of the data catalog that contains the databases to return.+listDatabases_catalogName :: Lens.Lens' ListDatabases Prelude.Text+listDatabases_catalogName = Lens.lens (\ListDatabases' {catalogName} -> catalogName) (\s@ListDatabases' {} a -> s {catalogName = a} :: ListDatabases)++instance Core.AWSPager ListDatabases where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listDatabasesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listDatabasesResponse_databaseList+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listDatabases_nextToken+ Lens..~ rs+ Lens.^? listDatabasesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListDatabases where+ type+ AWSResponse ListDatabases =+ ListDatabasesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListDatabasesResponse'+ Prelude.<$> (x Data..?> "DatabaseList" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListDatabases where+ hashWithSalt _salt ListDatabases' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` catalogName++instance Prelude.NFData ListDatabases where+ rnf ListDatabases' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf catalogName++instance Data.ToHeaders ListDatabases where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.ListDatabases" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListDatabases where+ toJSON ListDatabases' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("CatalogName" Data..= catalogName)+ ]+ )++instance Data.ToPath ListDatabases where+ toPath = Prelude.const "/"++instance Data.ToQuery ListDatabases where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListDatabasesResponse' smart constructor.+data ListDatabasesResponse = ListDatabasesResponse'+ { -- | A list of databases from a data catalog.+ databaseList :: Prelude.Maybe [Database],+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the NextToken from the response object of the previous+ -- page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListDatabasesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'databaseList', 'listDatabasesResponse_databaseList' - A list of databases from a data catalog.+--+-- 'nextToken', 'listDatabasesResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+--+-- 'httpStatus', 'listDatabasesResponse_httpStatus' - The response's http status code.+newListDatabasesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListDatabasesResponse+newListDatabasesResponse pHttpStatus_ =+ ListDatabasesResponse'+ { databaseList =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A list of databases from a data catalog.+listDatabasesResponse_databaseList :: Lens.Lens' ListDatabasesResponse (Prelude.Maybe [Database])+listDatabasesResponse_databaseList = Lens.lens (\ListDatabasesResponse' {databaseList} -> databaseList) (\s@ListDatabasesResponse' {} a -> s {databaseList = a} :: ListDatabasesResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+listDatabasesResponse_nextToken :: Lens.Lens' ListDatabasesResponse (Prelude.Maybe Prelude.Text)+listDatabasesResponse_nextToken = Lens.lens (\ListDatabasesResponse' {nextToken} -> nextToken) (\s@ListDatabasesResponse' {} a -> s {nextToken = a} :: ListDatabasesResponse)++-- | The response's http status code.+listDatabasesResponse_httpStatus :: Lens.Lens' ListDatabasesResponse Prelude.Int+listDatabasesResponse_httpStatus = Lens.lens (\ListDatabasesResponse' {httpStatus} -> httpStatus) (\s@ListDatabasesResponse' {} a -> s {httpStatus = a} :: ListDatabasesResponse)++instance Prelude.NFData ListDatabasesResponse where+ rnf ListDatabasesResponse' {..} =+ Prelude.rnf databaseList+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListEngineVersions.hs view
@@ -0,0 +1,215 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListEngineVersions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of engine versions that are available to choose from,+-- including the Auto option.+module Amazonka.Athena.ListEngineVersions+ ( -- * Creating a Request+ ListEngineVersions (..),+ newListEngineVersions,++ -- * Request Lenses+ listEngineVersions_maxResults,+ listEngineVersions_nextToken,++ -- * Destructuring the Response+ ListEngineVersionsResponse (..),+ newListEngineVersionsResponse,++ -- * Response Lenses+ listEngineVersionsResponse_engineVersions,+ listEngineVersionsResponse_nextToken,+ listEngineVersionsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListEngineVersions' smart constructor.+data ListEngineVersions = ListEngineVersions'+ { -- | The maximum number of engine versions to return in this request.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEngineVersions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listEngineVersions_maxResults' - The maximum number of engine versions to return in this request.+--+-- 'nextToken', 'listEngineVersions_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+newListEngineVersions ::+ ListEngineVersions+newListEngineVersions =+ ListEngineVersions'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The maximum number of engine versions to return in this request.+listEngineVersions_maxResults :: Lens.Lens' ListEngineVersions (Prelude.Maybe Prelude.Natural)+listEngineVersions_maxResults = Lens.lens (\ListEngineVersions' {maxResults} -> maxResults) (\s@ListEngineVersions' {} a -> s {maxResults = a} :: ListEngineVersions)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listEngineVersions_nextToken :: Lens.Lens' ListEngineVersions (Prelude.Maybe Prelude.Text)+listEngineVersions_nextToken = Lens.lens (\ListEngineVersions' {nextToken} -> nextToken) (\s@ListEngineVersions' {} a -> s {nextToken = a} :: ListEngineVersions)++instance Core.AWSRequest ListEngineVersions where+ type+ AWSResponse ListEngineVersions =+ ListEngineVersionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListEngineVersionsResponse'+ Prelude.<$> (x Data..?> "EngineVersions" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListEngineVersions where+ hashWithSalt _salt ListEngineVersions' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListEngineVersions where+ rnf ListEngineVersions' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListEngineVersions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListEngineVersions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListEngineVersions where+ toJSON ListEngineVersions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListEngineVersions where+ toPath = Prelude.const "/"++instance Data.ToQuery ListEngineVersions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListEngineVersionsResponse' smart constructor.+data ListEngineVersionsResponse = ListEngineVersionsResponse'+ { -- | A list of engine versions that are available to choose from.+ engineVersions :: Prelude.Maybe [EngineVersion],+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEngineVersionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'engineVersions', 'listEngineVersionsResponse_engineVersions' - A list of engine versions that are available to choose from.+--+-- 'nextToken', 'listEngineVersionsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'httpStatus', 'listEngineVersionsResponse_httpStatus' - The response's http status code.+newListEngineVersionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListEngineVersionsResponse+newListEngineVersionsResponse pHttpStatus_ =+ ListEngineVersionsResponse'+ { engineVersions =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A list of engine versions that are available to choose from.+listEngineVersionsResponse_engineVersions :: Lens.Lens' ListEngineVersionsResponse (Prelude.Maybe [EngineVersion])+listEngineVersionsResponse_engineVersions = Lens.lens (\ListEngineVersionsResponse' {engineVersions} -> engineVersions) (\s@ListEngineVersionsResponse' {} a -> s {engineVersions = a} :: ListEngineVersionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listEngineVersionsResponse_nextToken :: Lens.Lens' ListEngineVersionsResponse (Prelude.Maybe Prelude.Text)+listEngineVersionsResponse_nextToken = Lens.lens (\ListEngineVersionsResponse' {nextToken} -> nextToken) (\s@ListEngineVersionsResponse' {} a -> s {nextToken = a} :: ListEngineVersionsResponse)++-- | The response's http status code.+listEngineVersionsResponse_httpStatus :: Lens.Lens' ListEngineVersionsResponse Prelude.Int+listEngineVersionsResponse_httpStatus = Lens.lens (\ListEngineVersionsResponse' {httpStatus} -> httpStatus) (\s@ListEngineVersionsResponse' {} a -> s {httpStatus = a} :: ListEngineVersionsResponse)++instance Prelude.NFData ListEngineVersionsResponse where+ rnf ListEngineVersionsResponse' {..} =+ Prelude.rnf engineVersions+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListExecutors.hs view
@@ -0,0 +1,303 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListExecutors+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists, in descending order, the executors that have been submitted to a+-- session. Newer executors are listed first; older executors are listed+-- later. The result can be optionally filtered by state.+module Amazonka.Athena.ListExecutors+ ( -- * Creating a Request+ ListExecutors (..),+ newListExecutors,++ -- * Request Lenses+ listExecutors_executorStateFilter,+ listExecutors_maxResults,+ listExecutors_nextToken,+ listExecutors_sessionId,++ -- * Destructuring the Response+ ListExecutorsResponse (..),+ newListExecutorsResponse,++ -- * Response Lenses+ listExecutorsResponse_executorsSummary,+ listExecutorsResponse_nextToken,+ listExecutorsResponse_httpStatus,+ listExecutorsResponse_sessionId,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListExecutors' smart constructor.+data ListExecutors = ListExecutors'+ { -- | A filter for a specific executor state. A description of each state+ -- follows.+ --+ -- @CREATING@ - The executor is being started, including acquiring+ -- resources.+ --+ -- @CREATED@ - The executor has been started.+ --+ -- @REGISTERED@ - The executor has been registered.+ --+ -- @TERMINATING@ - The executor is in the process of shutting down.+ --+ -- @TERMINATED@ - The executor is no longer running.+ --+ -- @FAILED@ - Due to a failure, the executor is no longer running.+ executorStateFilter :: Prelude.Maybe ExecutorState,+ -- | The maximum number of executors to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListExecutors' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'executorStateFilter', 'listExecutors_executorStateFilter' - A filter for a specific executor state. A description of each state+-- follows.+--+-- @CREATING@ - The executor is being started, including acquiring+-- resources.+--+-- @CREATED@ - The executor has been started.+--+-- @REGISTERED@ - The executor has been registered.+--+-- @TERMINATING@ - The executor is in the process of shutting down.+--+-- @TERMINATED@ - The executor is no longer running.+--+-- @FAILED@ - Due to a failure, the executor is no longer running.+--+-- 'maxResults', 'listExecutors_maxResults' - The maximum number of executors to return.+--+-- 'nextToken', 'listExecutors_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'sessionId', 'listExecutors_sessionId' - The session ID.+newListExecutors ::+ -- | 'sessionId'+ Prelude.Text ->+ ListExecutors+newListExecutors pSessionId_ =+ ListExecutors'+ { executorStateFilter =+ Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ sessionId = pSessionId_+ }++-- | A filter for a specific executor state. A description of each state+-- follows.+--+-- @CREATING@ - The executor is being started, including acquiring+-- resources.+--+-- @CREATED@ - The executor has been started.+--+-- @REGISTERED@ - The executor has been registered.+--+-- @TERMINATING@ - The executor is in the process of shutting down.+--+-- @TERMINATED@ - The executor is no longer running.+--+-- @FAILED@ - Due to a failure, the executor is no longer running.+listExecutors_executorStateFilter :: Lens.Lens' ListExecutors (Prelude.Maybe ExecutorState)+listExecutors_executorStateFilter = Lens.lens (\ListExecutors' {executorStateFilter} -> executorStateFilter) (\s@ListExecutors' {} a -> s {executorStateFilter = a} :: ListExecutors)++-- | The maximum number of executors to return.+listExecutors_maxResults :: Lens.Lens' ListExecutors (Prelude.Maybe Prelude.Natural)+listExecutors_maxResults = Lens.lens (\ListExecutors' {maxResults} -> maxResults) (\s@ListExecutors' {} a -> s {maxResults = a} :: ListExecutors)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listExecutors_nextToken :: Lens.Lens' ListExecutors (Prelude.Maybe Prelude.Text)+listExecutors_nextToken = Lens.lens (\ListExecutors' {nextToken} -> nextToken) (\s@ListExecutors' {} a -> s {nextToken = a} :: ListExecutors)++-- | The session ID.+listExecutors_sessionId :: Lens.Lens' ListExecutors Prelude.Text+listExecutors_sessionId = Lens.lens (\ListExecutors' {sessionId} -> sessionId) (\s@ListExecutors' {} a -> s {sessionId = a} :: ListExecutors)++instance Core.AWSRequest ListExecutors where+ type+ AWSResponse ListExecutors =+ ListExecutorsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListExecutorsResponse'+ Prelude.<$> ( x+ Data..?> "ExecutorsSummary"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "SessionId")+ )++instance Prelude.Hashable ListExecutors where+ hashWithSalt _salt ListExecutors' {..} =+ _salt+ `Prelude.hashWithSalt` executorStateFilter+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` sessionId++instance Prelude.NFData ListExecutors where+ rnf ListExecutors' {..} =+ Prelude.rnf executorStateFilter+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf sessionId++instance Data.ToHeaders ListExecutors where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.ListExecutors" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListExecutors where+ toJSON ListExecutors' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ExecutorStateFilter" Data..=)+ Prelude.<$> executorStateFilter,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("SessionId" Data..= sessionId)+ ]+ )++instance Data.ToPath ListExecutors where+ toPath = Prelude.const "/"++instance Data.ToQuery ListExecutors where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListExecutorsResponse' smart constructor.+data ListExecutorsResponse = ListExecutorsResponse'+ { -- | Contains summary information about the executor.+ executorsSummary :: Prelude.Maybe [ExecutorsSummary],+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListExecutorsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'executorsSummary', 'listExecutorsResponse_executorsSummary' - Contains summary information about the executor.+--+-- 'nextToken', 'listExecutorsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'httpStatus', 'listExecutorsResponse_httpStatus' - The response's http status code.+--+-- 'sessionId', 'listExecutorsResponse_sessionId' - The session ID.+newListExecutorsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'sessionId'+ Prelude.Text ->+ ListExecutorsResponse+newListExecutorsResponse pHttpStatus_ pSessionId_ =+ ListExecutorsResponse'+ { executorsSummary =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_,+ sessionId = pSessionId_+ }++-- | Contains summary information about the executor.+listExecutorsResponse_executorsSummary :: Lens.Lens' ListExecutorsResponse (Prelude.Maybe [ExecutorsSummary])+listExecutorsResponse_executorsSummary = Lens.lens (\ListExecutorsResponse' {executorsSummary} -> executorsSummary) (\s@ListExecutorsResponse' {} a -> s {executorsSummary = a} :: ListExecutorsResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listExecutorsResponse_nextToken :: Lens.Lens' ListExecutorsResponse (Prelude.Maybe Prelude.Text)+listExecutorsResponse_nextToken = Lens.lens (\ListExecutorsResponse' {nextToken} -> nextToken) (\s@ListExecutorsResponse' {} a -> s {nextToken = a} :: ListExecutorsResponse)++-- | The response's http status code.+listExecutorsResponse_httpStatus :: Lens.Lens' ListExecutorsResponse Prelude.Int+listExecutorsResponse_httpStatus = Lens.lens (\ListExecutorsResponse' {httpStatus} -> httpStatus) (\s@ListExecutorsResponse' {} a -> s {httpStatus = a} :: ListExecutorsResponse)++-- | The session ID.+listExecutorsResponse_sessionId :: Lens.Lens' ListExecutorsResponse Prelude.Text+listExecutorsResponse_sessionId = Lens.lens (\ListExecutorsResponse' {sessionId} -> sessionId) (\s@ListExecutorsResponse' {} a -> s {sessionId = a} :: ListExecutorsResponse)++instance Prelude.NFData ListExecutorsResponse where+ rnf ListExecutorsResponse' {..} =+ Prelude.rnf executorsSummary+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf sessionId
+ gen/Amazonka/Athena/ListNamedQueries.hs view
@@ -0,0 +1,265 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListNamedQueries+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides a list of available query IDs only for queries saved in the+-- specified workgroup. Requires that you have access to the specified+-- workgroup. If a workgroup is not specified, lists the saved queries for+-- the primary workgroup.+--+-- For code samples using the Amazon Web Services SDK for Java, see+-- <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples>+-- in the /Amazon Athena User Guide/.+--+-- This operation returns paginated results.+module Amazonka.Athena.ListNamedQueries+ ( -- * Creating a Request+ ListNamedQueries (..),+ newListNamedQueries,++ -- * Request Lenses+ listNamedQueries_maxResults,+ listNamedQueries_nextToken,+ listNamedQueries_workGroup,++ -- * Destructuring the Response+ ListNamedQueriesResponse (..),+ newListNamedQueriesResponse,++ -- * Response Lenses+ listNamedQueriesResponse_namedQueryIds,+ listNamedQueriesResponse_nextToken,+ listNamedQueriesResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListNamedQueries' smart constructor.+data ListNamedQueries = ListNamedQueries'+ { -- | The maximum number of queries to return in this request.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the workgroup from which the named queries are being+ -- returned. If a workgroup is not specified, the saved queries for the+ -- primary workgroup are returned.+ workGroup :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListNamedQueries' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listNamedQueries_maxResults' - The maximum number of queries to return in this request.+--+-- 'nextToken', 'listNamedQueries_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'workGroup', 'listNamedQueries_workGroup' - The name of the workgroup from which the named queries are being+-- returned. If a workgroup is not specified, the saved queries for the+-- primary workgroup are returned.+newListNamedQueries ::+ ListNamedQueries+newListNamedQueries =+ ListNamedQueries'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ workGroup = Prelude.Nothing+ }++-- | The maximum number of queries to return in this request.+listNamedQueries_maxResults :: Lens.Lens' ListNamedQueries (Prelude.Maybe Prelude.Natural)+listNamedQueries_maxResults = Lens.lens (\ListNamedQueries' {maxResults} -> maxResults) (\s@ListNamedQueries' {} a -> s {maxResults = a} :: ListNamedQueries)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listNamedQueries_nextToken :: Lens.Lens' ListNamedQueries (Prelude.Maybe Prelude.Text)+listNamedQueries_nextToken = Lens.lens (\ListNamedQueries' {nextToken} -> nextToken) (\s@ListNamedQueries' {} a -> s {nextToken = a} :: ListNamedQueries)++-- | The name of the workgroup from which the named queries are being+-- returned. If a workgroup is not specified, the saved queries for the+-- primary workgroup are returned.+listNamedQueries_workGroup :: Lens.Lens' ListNamedQueries (Prelude.Maybe Prelude.Text)+listNamedQueries_workGroup = Lens.lens (\ListNamedQueries' {workGroup} -> workGroup) (\s@ListNamedQueries' {} a -> s {workGroup = a} :: ListNamedQueries)++instance Core.AWSPager ListNamedQueries where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listNamedQueriesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listNamedQueriesResponse_namedQueryIds+ Prelude.. Lens._Just+ Prelude.. Lens.to Prelude.toList+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listNamedQueries_nextToken+ Lens..~ rs+ Lens.^? listNamedQueriesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListNamedQueries where+ type+ AWSResponse ListNamedQueries =+ ListNamedQueriesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListNamedQueriesResponse'+ Prelude.<$> (x Data..?> "NamedQueryIds")+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListNamedQueries where+ hashWithSalt _salt ListNamedQueries' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData ListNamedQueries where+ rnf ListNamedQueries' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders ListNamedQueries where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListNamedQueries" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListNamedQueries where+ toJSON ListNamedQueries' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("WorkGroup" Data..=) Prelude.<$> workGroup+ ]+ )++instance Data.ToPath ListNamedQueries where+ toPath = Prelude.const "/"++instance Data.ToQuery ListNamedQueries where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListNamedQueriesResponse' smart constructor.+data ListNamedQueriesResponse = ListNamedQueriesResponse'+ { -- | The list of unique query IDs.+ namedQueryIds :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListNamedQueriesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'namedQueryIds', 'listNamedQueriesResponse_namedQueryIds' - The list of unique query IDs.+--+-- 'nextToken', 'listNamedQueriesResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'httpStatus', 'listNamedQueriesResponse_httpStatus' - The response's http status code.+newListNamedQueriesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListNamedQueriesResponse+newListNamedQueriesResponse pHttpStatus_ =+ ListNamedQueriesResponse'+ { namedQueryIds =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of unique query IDs.+listNamedQueriesResponse_namedQueryIds :: Lens.Lens' ListNamedQueriesResponse (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+listNamedQueriesResponse_namedQueryIds = Lens.lens (\ListNamedQueriesResponse' {namedQueryIds} -> namedQueryIds) (\s@ListNamedQueriesResponse' {} a -> s {namedQueryIds = a} :: ListNamedQueriesResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listNamedQueriesResponse_nextToken :: Lens.Lens' ListNamedQueriesResponse (Prelude.Maybe Prelude.Text)+listNamedQueriesResponse_nextToken = Lens.lens (\ListNamedQueriesResponse' {nextToken} -> nextToken) (\s@ListNamedQueriesResponse' {} a -> s {nextToken = a} :: ListNamedQueriesResponse)++-- | The response's http status code.+listNamedQueriesResponse_httpStatus :: Lens.Lens' ListNamedQueriesResponse Prelude.Int+listNamedQueriesResponse_httpStatus = Lens.lens (\ListNamedQueriesResponse' {httpStatus} -> httpStatus) (\s@ListNamedQueriesResponse' {} a -> s {httpStatus = a} :: ListNamedQueriesResponse)++instance Prelude.NFData ListNamedQueriesResponse where+ rnf ListNamedQueriesResponse' {..} =+ Prelude.rnf namedQueryIds+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListNotebookMetadata.hs view
@@ -0,0 +1,243 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListNotebookMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Displays the notebook files for the specified workgroup in paginated+-- format.+module Amazonka.Athena.ListNotebookMetadata+ ( -- * Creating a Request+ ListNotebookMetadata (..),+ newListNotebookMetadata,++ -- * Request Lenses+ listNotebookMetadata_filters,+ listNotebookMetadata_maxResults,+ listNotebookMetadata_nextToken,+ listNotebookMetadata_workGroup,++ -- * Destructuring the Response+ ListNotebookMetadataResponse (..),+ newListNotebookMetadataResponse,++ -- * Response Lenses+ listNotebookMetadataResponse_nextToken,+ listNotebookMetadataResponse_notebookMetadataList,+ listNotebookMetadataResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListNotebookMetadata' smart constructor.+data ListNotebookMetadata = ListNotebookMetadata'+ { -- | Search filter string.+ filters :: Prelude.Maybe FilterDefinition,+ -- | Specifies the maximum number of results to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the Spark enabled workgroup to retrieve notebook metadata+ -- for.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListNotebookMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filters', 'listNotebookMetadata_filters' - Search filter string.+--+-- 'maxResults', 'listNotebookMetadata_maxResults' - Specifies the maximum number of results to return.+--+-- 'nextToken', 'listNotebookMetadata_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated.+--+-- 'workGroup', 'listNotebookMetadata_workGroup' - The name of the Spark enabled workgroup to retrieve notebook metadata+-- for.+newListNotebookMetadata ::+ -- | 'workGroup'+ Prelude.Text ->+ ListNotebookMetadata+newListNotebookMetadata pWorkGroup_ =+ ListNotebookMetadata'+ { filters = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ workGroup = pWorkGroup_+ }++-- | Search filter string.+listNotebookMetadata_filters :: Lens.Lens' ListNotebookMetadata (Prelude.Maybe FilterDefinition)+listNotebookMetadata_filters = Lens.lens (\ListNotebookMetadata' {filters} -> filters) (\s@ListNotebookMetadata' {} a -> s {filters = a} :: ListNotebookMetadata)++-- | Specifies the maximum number of results to return.+listNotebookMetadata_maxResults :: Lens.Lens' ListNotebookMetadata (Prelude.Maybe Prelude.Natural)+listNotebookMetadata_maxResults = Lens.lens (\ListNotebookMetadata' {maxResults} -> maxResults) (\s@ListNotebookMetadata' {} a -> s {maxResults = a} :: ListNotebookMetadata)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated.+listNotebookMetadata_nextToken :: Lens.Lens' ListNotebookMetadata (Prelude.Maybe Prelude.Text)+listNotebookMetadata_nextToken = Lens.lens (\ListNotebookMetadata' {nextToken} -> nextToken) (\s@ListNotebookMetadata' {} a -> s {nextToken = a} :: ListNotebookMetadata)++-- | The name of the Spark enabled workgroup to retrieve notebook metadata+-- for.+listNotebookMetadata_workGroup :: Lens.Lens' ListNotebookMetadata Prelude.Text+listNotebookMetadata_workGroup = Lens.lens (\ListNotebookMetadata' {workGroup} -> workGroup) (\s@ListNotebookMetadata' {} a -> s {workGroup = a} :: ListNotebookMetadata)++instance Core.AWSRequest ListNotebookMetadata where+ type+ AWSResponse ListNotebookMetadata =+ ListNotebookMetadataResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListNotebookMetadataResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> ( x+ Data..?> "NotebookMetadataList"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListNotebookMetadata where+ hashWithSalt _salt ListNotebookMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` filters+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData ListNotebookMetadata where+ rnf ListNotebookMetadata' {..} =+ Prelude.rnf filters+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders ListNotebookMetadata where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListNotebookMetadata" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListNotebookMetadata where+ toJSON ListNotebookMetadata' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Filters" Data..=) Prelude.<$> filters,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath ListNotebookMetadata where+ toPath = Prelude.const "/"++instance Data.ToQuery ListNotebookMetadata where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListNotebookMetadataResponse' smart constructor.+data ListNotebookMetadataResponse = ListNotebookMetadataResponse'+ { -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of notebook metadata for the specified workgroup.+ notebookMetadataList :: Prelude.Maybe [NotebookMetadata],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListNotebookMetadataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listNotebookMetadataResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'notebookMetadataList', 'listNotebookMetadataResponse_notebookMetadataList' - The list of notebook metadata for the specified workgroup.+--+-- 'httpStatus', 'listNotebookMetadataResponse_httpStatus' - The response's http status code.+newListNotebookMetadataResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListNotebookMetadataResponse+newListNotebookMetadataResponse pHttpStatus_ =+ ListNotebookMetadataResponse'+ { nextToken =+ Prelude.Nothing,+ notebookMetadataList = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listNotebookMetadataResponse_nextToken :: Lens.Lens' ListNotebookMetadataResponse (Prelude.Maybe Prelude.Text)+listNotebookMetadataResponse_nextToken = Lens.lens (\ListNotebookMetadataResponse' {nextToken} -> nextToken) (\s@ListNotebookMetadataResponse' {} a -> s {nextToken = a} :: ListNotebookMetadataResponse)++-- | The list of notebook metadata for the specified workgroup.+listNotebookMetadataResponse_notebookMetadataList :: Lens.Lens' ListNotebookMetadataResponse (Prelude.Maybe [NotebookMetadata])+listNotebookMetadataResponse_notebookMetadataList = Lens.lens (\ListNotebookMetadataResponse' {notebookMetadataList} -> notebookMetadataList) (\s@ListNotebookMetadataResponse' {} a -> s {notebookMetadataList = a} :: ListNotebookMetadataResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listNotebookMetadataResponse_httpStatus :: Lens.Lens' ListNotebookMetadataResponse Prelude.Int+listNotebookMetadataResponse_httpStatus = Lens.lens (\ListNotebookMetadataResponse' {httpStatus} -> httpStatus) (\s@ListNotebookMetadataResponse' {} a -> s {httpStatus = a} :: ListNotebookMetadataResponse)++instance Prelude.NFData ListNotebookMetadataResponse where+ rnf ListNotebookMetadataResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf notebookMetadataList+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListNotebookSessions.hs view
@@ -0,0 +1,235 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListNotebookSessions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists, in descending order, the sessions that have been created in a+-- notebook that are in an active state like @CREATING@, @CREATED@, @IDLE@+-- or @BUSY@. Newer sessions are listed first; older sessions are listed+-- later.+module Amazonka.Athena.ListNotebookSessions+ ( -- * Creating a Request+ ListNotebookSessions (..),+ newListNotebookSessions,++ -- * Request Lenses+ listNotebookSessions_maxResults,+ listNotebookSessions_nextToken,+ listNotebookSessions_notebookId,++ -- * Destructuring the Response+ ListNotebookSessionsResponse (..),+ newListNotebookSessionsResponse,++ -- * Response Lenses+ listNotebookSessionsResponse_nextToken,+ listNotebookSessionsResponse_httpStatus,+ listNotebookSessionsResponse_notebookSessionsList,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListNotebookSessions' smart constructor.+data ListNotebookSessions = ListNotebookSessions'+ { -- | The maximum number of notebook sessions to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The ID of the notebook to list sessions for.+ notebookId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListNotebookSessions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listNotebookSessions_maxResults' - The maximum number of notebook sessions to return.+--+-- 'nextToken', 'listNotebookSessions_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'notebookId', 'listNotebookSessions_notebookId' - The ID of the notebook to list sessions for.+newListNotebookSessions ::+ -- | 'notebookId'+ Prelude.Text ->+ ListNotebookSessions+newListNotebookSessions pNotebookId_ =+ ListNotebookSessions'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ notebookId = pNotebookId_+ }++-- | The maximum number of notebook sessions to return.+listNotebookSessions_maxResults :: Lens.Lens' ListNotebookSessions (Prelude.Maybe Prelude.Natural)+listNotebookSessions_maxResults = Lens.lens (\ListNotebookSessions' {maxResults} -> maxResults) (\s@ListNotebookSessions' {} a -> s {maxResults = a} :: ListNotebookSessions)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listNotebookSessions_nextToken :: Lens.Lens' ListNotebookSessions (Prelude.Maybe Prelude.Text)+listNotebookSessions_nextToken = Lens.lens (\ListNotebookSessions' {nextToken} -> nextToken) (\s@ListNotebookSessions' {} a -> s {nextToken = a} :: ListNotebookSessions)++-- | The ID of the notebook to list sessions for.+listNotebookSessions_notebookId :: Lens.Lens' ListNotebookSessions Prelude.Text+listNotebookSessions_notebookId = Lens.lens (\ListNotebookSessions' {notebookId} -> notebookId) (\s@ListNotebookSessions' {} a -> s {notebookId = a} :: ListNotebookSessions)++instance Core.AWSRequest ListNotebookSessions where+ type+ AWSResponse ListNotebookSessions =+ ListNotebookSessionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListNotebookSessionsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> ( x+ Data..?> "NotebookSessionsList"+ Core..!@ Prelude.mempty+ )+ )++instance Prelude.Hashable ListNotebookSessions where+ hashWithSalt _salt ListNotebookSessions' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` notebookId++instance Prelude.NFData ListNotebookSessions where+ rnf ListNotebookSessions' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf notebookId++instance Data.ToHeaders ListNotebookSessions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListNotebookSessions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListNotebookSessions where+ toJSON ListNotebookSessions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("NotebookId" Data..= notebookId)+ ]+ )++instance Data.ToPath ListNotebookSessions where+ toPath = Prelude.const "/"++instance Data.ToQuery ListNotebookSessions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListNotebookSessionsResponse' smart constructor.+data ListNotebookSessionsResponse = ListNotebookSessionsResponse'+ { -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | A list of the sessions belonging to the notebook.+ notebookSessionsList :: [NotebookSessionSummary]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListNotebookSessionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listNotebookSessionsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'httpStatus', 'listNotebookSessionsResponse_httpStatus' - The response's http status code.+--+-- 'notebookSessionsList', 'listNotebookSessionsResponse_notebookSessionsList' - A list of the sessions belonging to the notebook.+newListNotebookSessionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListNotebookSessionsResponse+newListNotebookSessionsResponse pHttpStatus_ =+ ListNotebookSessionsResponse'+ { nextToken =+ Prelude.Nothing,+ httpStatus = pHttpStatus_,+ notebookSessionsList = Prelude.mempty+ }++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listNotebookSessionsResponse_nextToken :: Lens.Lens' ListNotebookSessionsResponse (Prelude.Maybe Prelude.Text)+listNotebookSessionsResponse_nextToken = Lens.lens (\ListNotebookSessionsResponse' {nextToken} -> nextToken) (\s@ListNotebookSessionsResponse' {} a -> s {nextToken = a} :: ListNotebookSessionsResponse)++-- | The response's http status code.+listNotebookSessionsResponse_httpStatus :: Lens.Lens' ListNotebookSessionsResponse Prelude.Int+listNotebookSessionsResponse_httpStatus = Lens.lens (\ListNotebookSessionsResponse' {httpStatus} -> httpStatus) (\s@ListNotebookSessionsResponse' {} a -> s {httpStatus = a} :: ListNotebookSessionsResponse)++-- | A list of the sessions belonging to the notebook.+listNotebookSessionsResponse_notebookSessionsList :: Lens.Lens' ListNotebookSessionsResponse [NotebookSessionSummary]+listNotebookSessionsResponse_notebookSessionsList = Lens.lens (\ListNotebookSessionsResponse' {notebookSessionsList} -> notebookSessionsList) (\s@ListNotebookSessionsResponse' {} a -> s {notebookSessionsList = a} :: ListNotebookSessionsResponse) Prelude.. Lens.coerced++instance Prelude.NFData ListNotebookSessionsResponse where+ rnf ListNotebookSessionsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf notebookSessionsList
+ gen/Amazonka/Athena/ListPreparedStatements.hs view
@@ -0,0 +1,236 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListPreparedStatements+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the prepared statements in the specified workgroup.+module Amazonka.Athena.ListPreparedStatements+ ( -- * Creating a Request+ ListPreparedStatements (..),+ newListPreparedStatements,++ -- * Request Lenses+ listPreparedStatements_maxResults,+ listPreparedStatements_nextToken,+ listPreparedStatements_workGroup,++ -- * Destructuring the Response+ ListPreparedStatementsResponse (..),+ newListPreparedStatementsResponse,++ -- * Response Lenses+ listPreparedStatementsResponse_nextToken,+ listPreparedStatementsResponse_preparedStatements,+ listPreparedStatementsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListPreparedStatements' smart constructor.+data ListPreparedStatements = ListPreparedStatements'+ { -- | The maximum number of results to return in this request.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The workgroup to list the prepared statements for.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPreparedStatements' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listPreparedStatements_maxResults' - The maximum number of results to return in this request.+--+-- 'nextToken', 'listPreparedStatements_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'workGroup', 'listPreparedStatements_workGroup' - The workgroup to list the prepared statements for.+newListPreparedStatements ::+ -- | 'workGroup'+ Prelude.Text ->+ ListPreparedStatements+newListPreparedStatements pWorkGroup_ =+ ListPreparedStatements'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ workGroup = pWorkGroup_+ }++-- | The maximum number of results to return in this request.+listPreparedStatements_maxResults :: Lens.Lens' ListPreparedStatements (Prelude.Maybe Prelude.Natural)+listPreparedStatements_maxResults = Lens.lens (\ListPreparedStatements' {maxResults} -> maxResults) (\s@ListPreparedStatements' {} a -> s {maxResults = a} :: ListPreparedStatements)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listPreparedStatements_nextToken :: Lens.Lens' ListPreparedStatements (Prelude.Maybe Prelude.Text)+listPreparedStatements_nextToken = Lens.lens (\ListPreparedStatements' {nextToken} -> nextToken) (\s@ListPreparedStatements' {} a -> s {nextToken = a} :: ListPreparedStatements)++-- | The workgroup to list the prepared statements for.+listPreparedStatements_workGroup :: Lens.Lens' ListPreparedStatements Prelude.Text+listPreparedStatements_workGroup = Lens.lens (\ListPreparedStatements' {workGroup} -> workGroup) (\s@ListPreparedStatements' {} a -> s {workGroup = a} :: ListPreparedStatements)++instance Core.AWSRequest ListPreparedStatements where+ type+ AWSResponse ListPreparedStatements =+ ListPreparedStatementsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListPreparedStatementsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> ( x+ Data..?> "PreparedStatements"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListPreparedStatements where+ hashWithSalt _salt ListPreparedStatements' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData ListPreparedStatements where+ rnf ListPreparedStatements' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders ListPreparedStatements where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListPreparedStatements" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListPreparedStatements where+ toJSON ListPreparedStatements' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath ListPreparedStatements where+ toPath = Prelude.const "/"++instance Data.ToQuery ListPreparedStatements where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListPreparedStatementsResponse' smart constructor.+data ListPreparedStatementsResponse = ListPreparedStatementsResponse'+ { -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of prepared statements for the workgroup.+ preparedStatements :: Prelude.Maybe [PreparedStatementSummary],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPreparedStatementsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listPreparedStatementsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'preparedStatements', 'listPreparedStatementsResponse_preparedStatements' - The list of prepared statements for the workgroup.+--+-- 'httpStatus', 'listPreparedStatementsResponse_httpStatus' - The response's http status code.+newListPreparedStatementsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListPreparedStatementsResponse+newListPreparedStatementsResponse pHttpStatus_ =+ ListPreparedStatementsResponse'+ { nextToken =+ Prelude.Nothing,+ preparedStatements = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listPreparedStatementsResponse_nextToken :: Lens.Lens' ListPreparedStatementsResponse (Prelude.Maybe Prelude.Text)+listPreparedStatementsResponse_nextToken = Lens.lens (\ListPreparedStatementsResponse' {nextToken} -> nextToken) (\s@ListPreparedStatementsResponse' {} a -> s {nextToken = a} :: ListPreparedStatementsResponse)++-- | The list of prepared statements for the workgroup.+listPreparedStatementsResponse_preparedStatements :: Lens.Lens' ListPreparedStatementsResponse (Prelude.Maybe [PreparedStatementSummary])+listPreparedStatementsResponse_preparedStatements = Lens.lens (\ListPreparedStatementsResponse' {preparedStatements} -> preparedStatements) (\s@ListPreparedStatementsResponse' {} a -> s {preparedStatements = a} :: ListPreparedStatementsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listPreparedStatementsResponse_httpStatus :: Lens.Lens' ListPreparedStatementsResponse Prelude.Int+listPreparedStatementsResponse_httpStatus = Lens.lens (\ListPreparedStatementsResponse' {httpStatus} -> httpStatus) (\s@ListPreparedStatementsResponse' {} a -> s {httpStatus = a} :: ListPreparedStatementsResponse)++instance+ Prelude.NFData+ ListPreparedStatementsResponse+ where+ rnf ListPreparedStatementsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf preparedStatements+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListQueryExecutions.hs view
@@ -0,0 +1,256 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListQueryExecutions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides a list of available query execution IDs for the queries in the+-- specified workgroup. If a workgroup is not specified, returns a list of+-- query execution IDs for the primary workgroup. Requires you to have+-- access to the workgroup in which the queries ran.+--+-- For code samples using the Amazon Web Services SDK for Java, see+-- <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples>+-- in the /Amazon Athena User Guide/.+--+-- This operation returns paginated results.+module Amazonka.Athena.ListQueryExecutions+ ( -- * Creating a Request+ ListQueryExecutions (..),+ newListQueryExecutions,++ -- * Request Lenses+ listQueryExecutions_maxResults,+ listQueryExecutions_nextToken,+ listQueryExecutions_workGroup,++ -- * Destructuring the Response+ ListQueryExecutionsResponse (..),+ newListQueryExecutionsResponse,++ -- * Response Lenses+ listQueryExecutionsResponse_nextToken,+ listQueryExecutionsResponse_queryExecutionIds,+ listQueryExecutionsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListQueryExecutions' smart constructor.+data ListQueryExecutions = ListQueryExecutions'+ { -- | The maximum number of query executions to return in this request.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the workgroup from which queries are being returned. If a+ -- workgroup is not specified, a list of available query execution IDs for+ -- the queries in the primary workgroup is returned.+ workGroup :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListQueryExecutions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listQueryExecutions_maxResults' - The maximum number of query executions to return in this request.+--+-- 'nextToken', 'listQueryExecutions_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'workGroup', 'listQueryExecutions_workGroup' - The name of the workgroup from which queries are being returned. If a+-- workgroup is not specified, a list of available query execution IDs for+-- the queries in the primary workgroup is returned.+newListQueryExecutions ::+ ListQueryExecutions+newListQueryExecutions =+ ListQueryExecutions'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ workGroup = Prelude.Nothing+ }++-- | The maximum number of query executions to return in this request.+listQueryExecutions_maxResults :: Lens.Lens' ListQueryExecutions (Prelude.Maybe Prelude.Natural)+listQueryExecutions_maxResults = Lens.lens (\ListQueryExecutions' {maxResults} -> maxResults) (\s@ListQueryExecutions' {} a -> s {maxResults = a} :: ListQueryExecutions)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listQueryExecutions_nextToken :: Lens.Lens' ListQueryExecutions (Prelude.Maybe Prelude.Text)+listQueryExecutions_nextToken = Lens.lens (\ListQueryExecutions' {nextToken} -> nextToken) (\s@ListQueryExecutions' {} a -> s {nextToken = a} :: ListQueryExecutions)++-- | The name of the workgroup from which queries are being returned. If a+-- workgroup is not specified, a list of available query execution IDs for+-- the queries in the primary workgroup is returned.+listQueryExecutions_workGroup :: Lens.Lens' ListQueryExecutions (Prelude.Maybe Prelude.Text)+listQueryExecutions_workGroup = Lens.lens (\ListQueryExecutions' {workGroup} -> workGroup) (\s@ListQueryExecutions' {} a -> s {workGroup = a} :: ListQueryExecutions)++instance Core.AWSPager ListQueryExecutions where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listQueryExecutionsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listQueryExecutionsResponse_queryExecutionIds+ Prelude.. Lens._Just+ Prelude.. Lens.to Prelude.toList+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listQueryExecutions_nextToken+ Lens..~ rs+ Lens.^? listQueryExecutionsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListQueryExecutions where+ type+ AWSResponse ListQueryExecutions =+ ListQueryExecutionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListQueryExecutionsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "QueryExecutionIds")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListQueryExecutions where+ hashWithSalt _salt ListQueryExecutions' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData ListQueryExecutions where+ rnf ListQueryExecutions' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders ListQueryExecutions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListQueryExecutions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListQueryExecutions where+ toJSON ListQueryExecutions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("WorkGroup" Data..=) Prelude.<$> workGroup+ ]+ )++instance Data.ToPath ListQueryExecutions where+ toPath = Prelude.const "/"++instance Data.ToQuery ListQueryExecutions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListQueryExecutionsResponse' smart constructor.+data ListQueryExecutionsResponse = ListQueryExecutionsResponse'+ { -- | A token to be used by the next request if this request is truncated.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The unique IDs of each query execution as an array of strings.+ queryExecutionIds :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListQueryExecutionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listQueryExecutionsResponse_nextToken' - A token to be used by the next request if this request is truncated.+--+-- 'queryExecutionIds', 'listQueryExecutionsResponse_queryExecutionIds' - The unique IDs of each query execution as an array of strings.+--+-- 'httpStatus', 'listQueryExecutionsResponse_httpStatus' - The response's http status code.+newListQueryExecutionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListQueryExecutionsResponse+newListQueryExecutionsResponse pHttpStatus_ =+ ListQueryExecutionsResponse'+ { nextToken =+ Prelude.Nothing,+ queryExecutionIds = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token to be used by the next request if this request is truncated.+listQueryExecutionsResponse_nextToken :: Lens.Lens' ListQueryExecutionsResponse (Prelude.Maybe Prelude.Text)+listQueryExecutionsResponse_nextToken = Lens.lens (\ListQueryExecutionsResponse' {nextToken} -> nextToken) (\s@ListQueryExecutionsResponse' {} a -> s {nextToken = a} :: ListQueryExecutionsResponse)++-- | The unique IDs of each query execution as an array of strings.+listQueryExecutionsResponse_queryExecutionIds :: Lens.Lens' ListQueryExecutionsResponse (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+listQueryExecutionsResponse_queryExecutionIds = Lens.lens (\ListQueryExecutionsResponse' {queryExecutionIds} -> queryExecutionIds) (\s@ListQueryExecutionsResponse' {} a -> s {queryExecutionIds = a} :: ListQueryExecutionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listQueryExecutionsResponse_httpStatus :: Lens.Lens' ListQueryExecutionsResponse Prelude.Int+listQueryExecutionsResponse_httpStatus = Lens.lens (\ListQueryExecutionsResponse' {httpStatus} -> httpStatus) (\s@ListQueryExecutionsResponse' {} a -> s {httpStatus = a} :: ListQueryExecutionsResponse)++instance Prelude.NFData ListQueryExecutionsResponse where+ rnf ListQueryExecutionsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf queryExecutionIds+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListSessions.hs view
@@ -0,0 +1,299 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListSessions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the sessions in a workgroup that are in an active state like+-- @CREATING@, @CREATED@, @IDLE@, or @BUSY@. Newer sessions are listed+-- first; older sessions are listed later.+module Amazonka.Athena.ListSessions+ ( -- * Creating a Request+ ListSessions (..),+ newListSessions,++ -- * Request Lenses+ listSessions_maxResults,+ listSessions_nextToken,+ listSessions_stateFilter,+ listSessions_workGroup,++ -- * Destructuring the Response+ ListSessionsResponse (..),+ newListSessionsResponse,++ -- * Response Lenses+ listSessionsResponse_nextToken,+ listSessionsResponse_sessions,+ listSessionsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListSessions' smart constructor.+data ListSessions = ListSessions'+ { -- | The maximum number of sessions to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A filter for a specific session state. A description of each state+ -- follows.+ --+ -- @CREATING@ - The session is being started, including acquiring+ -- resources.+ --+ -- @CREATED@ - The session has been started.+ --+ -- @IDLE@ - The session is able to accept a calculation.+ --+ -- @BUSY@ - The session is processing another task and is unable to accept+ -- a calculation.+ --+ -- @TERMINATING@ - The session is in the process of shutting down.+ --+ -- @TERMINATED@ - The session and its resources are no longer running.+ --+ -- @DEGRADED@ - The session has no healthy coordinators.+ --+ -- @FAILED@ - Due to a failure, the session and its resources are no longer+ -- running.+ stateFilter :: Prelude.Maybe SessionState,+ -- | The workgroup to which the session belongs.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListSessions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listSessions_maxResults' - The maximum number of sessions to return.+--+-- 'nextToken', 'listSessions_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'stateFilter', 'listSessions_stateFilter' - A filter for a specific session state. A description of each state+-- follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+--+-- 'workGroup', 'listSessions_workGroup' - The workgroup to which the session belongs.+newListSessions ::+ -- | 'workGroup'+ Prelude.Text ->+ ListSessions+newListSessions pWorkGroup_ =+ ListSessions'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ stateFilter = Prelude.Nothing,+ workGroup = pWorkGroup_+ }++-- | The maximum number of sessions to return.+listSessions_maxResults :: Lens.Lens' ListSessions (Prelude.Maybe Prelude.Natural)+listSessions_maxResults = Lens.lens (\ListSessions' {maxResults} -> maxResults) (\s@ListSessions' {} a -> s {maxResults = a} :: ListSessions)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listSessions_nextToken :: Lens.Lens' ListSessions (Prelude.Maybe Prelude.Text)+listSessions_nextToken = Lens.lens (\ListSessions' {nextToken} -> nextToken) (\s@ListSessions' {} a -> s {nextToken = a} :: ListSessions)++-- | A filter for a specific session state. A description of each state+-- follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+listSessions_stateFilter :: Lens.Lens' ListSessions (Prelude.Maybe SessionState)+listSessions_stateFilter = Lens.lens (\ListSessions' {stateFilter} -> stateFilter) (\s@ListSessions' {} a -> s {stateFilter = a} :: ListSessions)++-- | The workgroup to which the session belongs.+listSessions_workGroup :: Lens.Lens' ListSessions Prelude.Text+listSessions_workGroup = Lens.lens (\ListSessions' {workGroup} -> workGroup) (\s@ListSessions' {} a -> s {workGroup = a} :: ListSessions)++instance Core.AWSRequest ListSessions where+ type AWSResponse ListSessions = ListSessionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListSessionsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Sessions" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListSessions where+ hashWithSalt _salt ListSessions' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` stateFilter+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData ListSessions where+ rnf ListSessions' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf stateFilter+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders ListSessions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.ListSessions" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListSessions where+ toJSON ListSessions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("StateFilter" Data..=) Prelude.<$> stateFilter,+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath ListSessions where+ toPath = Prelude.const "/"++instance Data.ToQuery ListSessions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListSessionsResponse' smart constructor.+data ListSessionsResponse = ListSessionsResponse'+ { -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A list of sessions.+ sessions :: Prelude.Maybe [SessionSummary],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListSessionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listSessionsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'sessions', 'listSessionsResponse_sessions' - A list of sessions.+--+-- 'httpStatus', 'listSessionsResponse_httpStatus' - The response's http status code.+newListSessionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListSessionsResponse+newListSessionsResponse pHttpStatus_ =+ ListSessionsResponse'+ { nextToken = Prelude.Nothing,+ sessions = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listSessionsResponse_nextToken :: Lens.Lens' ListSessionsResponse (Prelude.Maybe Prelude.Text)+listSessionsResponse_nextToken = Lens.lens (\ListSessionsResponse' {nextToken} -> nextToken) (\s@ListSessionsResponse' {} a -> s {nextToken = a} :: ListSessionsResponse)++-- | A list of sessions.+listSessionsResponse_sessions :: Lens.Lens' ListSessionsResponse (Prelude.Maybe [SessionSummary])+listSessionsResponse_sessions = Lens.lens (\ListSessionsResponse' {sessions} -> sessions) (\s@ListSessionsResponse' {} a -> s {sessions = a} :: ListSessionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listSessionsResponse_httpStatus :: Lens.Lens' ListSessionsResponse Prelude.Int+listSessionsResponse_httpStatus = Lens.lens (\ListSessionsResponse' {httpStatus} -> httpStatus) (\s@ListSessionsResponse' {} a -> s {httpStatus = a} :: ListSessionsResponse)++instance Prelude.NFData ListSessionsResponse where+ rnf ListSessionsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf sessions+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListTableMetadata.hs view
@@ -0,0 +1,291 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListTableMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the metadata for the tables in the specified data catalog+-- database.+--+-- This operation returns paginated results.+module Amazonka.Athena.ListTableMetadata+ ( -- * Creating a Request+ ListTableMetadata (..),+ newListTableMetadata,++ -- * Request Lenses+ listTableMetadata_expression,+ listTableMetadata_maxResults,+ listTableMetadata_nextToken,+ listTableMetadata_catalogName,+ listTableMetadata_databaseName,++ -- * Destructuring the Response+ ListTableMetadataResponse (..),+ newListTableMetadataResponse,++ -- * Response Lenses+ listTableMetadataResponse_nextToken,+ listTableMetadataResponse_tableMetadataList,+ listTableMetadataResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTableMetadata' smart constructor.+data ListTableMetadata = ListTableMetadata'+ { -- | A regex filter that pattern-matches table names. If no expression is+ -- supplied, metadata for all tables are listed.+ expression :: Prelude.Maybe Prelude.Text,+ -- | Specifies the maximum number of results to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the NextToken from the response object of the previous+ -- page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the data catalog for which table metadata should be+ -- returned.+ catalogName :: Prelude.Text,+ -- | The name of the database for which table metadata should be returned.+ databaseName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTableMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'expression', 'listTableMetadata_expression' - A regex filter that pattern-matches table names. If no expression is+-- supplied, metadata for all tables are listed.+--+-- 'maxResults', 'listTableMetadata_maxResults' - Specifies the maximum number of results to return.+--+-- 'nextToken', 'listTableMetadata_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+--+-- 'catalogName', 'listTableMetadata_catalogName' - The name of the data catalog for which table metadata should be+-- returned.+--+-- 'databaseName', 'listTableMetadata_databaseName' - The name of the database for which table metadata should be returned.+newListTableMetadata ::+ -- | 'catalogName'+ Prelude.Text ->+ -- | 'databaseName'+ Prelude.Text ->+ ListTableMetadata+newListTableMetadata pCatalogName_ pDatabaseName_ =+ ListTableMetadata'+ { expression = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ catalogName = pCatalogName_,+ databaseName = pDatabaseName_+ }++-- | A regex filter that pattern-matches table names. If no expression is+-- supplied, metadata for all tables are listed.+listTableMetadata_expression :: Lens.Lens' ListTableMetadata (Prelude.Maybe Prelude.Text)+listTableMetadata_expression = Lens.lens (\ListTableMetadata' {expression} -> expression) (\s@ListTableMetadata' {} a -> s {expression = a} :: ListTableMetadata)++-- | Specifies the maximum number of results to return.+listTableMetadata_maxResults :: Lens.Lens' ListTableMetadata (Prelude.Maybe Prelude.Natural)+listTableMetadata_maxResults = Lens.lens (\ListTableMetadata' {maxResults} -> maxResults) (\s@ListTableMetadata' {} a -> s {maxResults = a} :: ListTableMetadata)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+listTableMetadata_nextToken :: Lens.Lens' ListTableMetadata (Prelude.Maybe Prelude.Text)+listTableMetadata_nextToken = Lens.lens (\ListTableMetadata' {nextToken} -> nextToken) (\s@ListTableMetadata' {} a -> s {nextToken = a} :: ListTableMetadata)++-- | The name of the data catalog for which table metadata should be+-- returned.+listTableMetadata_catalogName :: Lens.Lens' ListTableMetadata Prelude.Text+listTableMetadata_catalogName = Lens.lens (\ListTableMetadata' {catalogName} -> catalogName) (\s@ListTableMetadata' {} a -> s {catalogName = a} :: ListTableMetadata)++-- | The name of the database for which table metadata should be returned.+listTableMetadata_databaseName :: Lens.Lens' ListTableMetadata Prelude.Text+listTableMetadata_databaseName = Lens.lens (\ListTableMetadata' {databaseName} -> databaseName) (\s@ListTableMetadata' {} a -> s {databaseName = a} :: ListTableMetadata)++instance Core.AWSPager ListTableMetadata where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listTableMetadataResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listTableMetadataResponse_tableMetadataList+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listTableMetadata_nextToken+ Lens..~ rs+ Lens.^? listTableMetadataResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListTableMetadata where+ type+ AWSResponse ListTableMetadata =+ ListTableMetadataResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTableMetadataResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> ( x+ Data..?> "TableMetadataList"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTableMetadata where+ hashWithSalt _salt ListTableMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` expression+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` catalogName+ `Prelude.hashWithSalt` databaseName++instance Prelude.NFData ListTableMetadata where+ rnf ListTableMetadata' {..} =+ Prelude.rnf expression+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf catalogName+ `Prelude.seq` Prelude.rnf databaseName++instance Data.ToHeaders ListTableMetadata where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListTableMetadata" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTableMetadata where+ toJSON ListTableMetadata' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Expression" Data..=) Prelude.<$> expression,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("CatalogName" Data..= catalogName),+ Prelude.Just ("DatabaseName" Data..= databaseName)+ ]+ )++instance Data.ToPath ListTableMetadata where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTableMetadata where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTableMetadataResponse' smart constructor.+data ListTableMetadataResponse = ListTableMetadataResponse'+ { -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the NextToken from the response object of the previous+ -- page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A list of table metadata.+ tableMetadataList :: Prelude.Maybe [TableMetadata],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTableMetadataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTableMetadataResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+--+-- 'tableMetadataList', 'listTableMetadataResponse_tableMetadataList' - A list of table metadata.+--+-- 'httpStatus', 'listTableMetadataResponse_httpStatus' - The response's http status code.+newListTableMetadataResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTableMetadataResponse+newListTableMetadataResponse pHttpStatus_ =+ ListTableMetadataResponse'+ { nextToken =+ Prelude.Nothing,+ tableMetadataList = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the NextToken from the response object of the previous+-- page call.+listTableMetadataResponse_nextToken :: Lens.Lens' ListTableMetadataResponse (Prelude.Maybe Prelude.Text)+listTableMetadataResponse_nextToken = Lens.lens (\ListTableMetadataResponse' {nextToken} -> nextToken) (\s@ListTableMetadataResponse' {} a -> s {nextToken = a} :: ListTableMetadataResponse)++-- | A list of table metadata.+listTableMetadataResponse_tableMetadataList :: Lens.Lens' ListTableMetadataResponse (Prelude.Maybe [TableMetadata])+listTableMetadataResponse_tableMetadataList = Lens.lens (\ListTableMetadataResponse' {tableMetadataList} -> tableMetadataList) (\s@ListTableMetadataResponse' {} a -> s {tableMetadataList = a} :: ListTableMetadataResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTableMetadataResponse_httpStatus :: Lens.Lens' ListTableMetadataResponse Prelude.Int+listTableMetadataResponse_httpStatus = Lens.lens (\ListTableMetadataResponse' {httpStatus} -> httpStatus) (\s@ListTableMetadataResponse' {} a -> s {httpStatus = a} :: ListTableMetadataResponse)++instance Prelude.NFData ListTableMetadataResponse where+ rnf ListTableMetadataResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf tableMetadataList+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListTagsForResource.hs view
@@ -0,0 +1,245 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListTagsForResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the tags associated with an Athena workgroup or data catalog+-- resource.+--+-- This operation returns paginated results.+module Amazonka.Athena.ListTagsForResource+ ( -- * Creating a Request+ ListTagsForResource (..),+ newListTagsForResource,++ -- * Request Lenses+ listTagsForResource_maxResults,+ listTagsForResource_nextToken,+ listTagsForResource_resourceARN,++ -- * Destructuring the Response+ ListTagsForResourceResponse (..),+ newListTagsForResourceResponse,++ -- * Response Lenses+ listTagsForResourceResponse_nextToken,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+ { -- | The maximum number of results to be returned per request that lists the+ -- tags for the resource.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | The token for the next set of results, or null if there are no+ -- additional results for this request, where the request lists the tags+ -- for the resource with the specified ARN.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Lists the tags for the resource with the specified ARN.+ resourceARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listTagsForResource_maxResults' - The maximum number of results to be returned per request that lists the+-- tags for the resource.+--+-- 'nextToken', 'listTagsForResource_nextToken' - The token for the next set of results, or null if there are no+-- additional results for this request, where the request lists the tags+-- for the resource with the specified ARN.+--+-- 'resourceARN', 'listTagsForResource_resourceARN' - Lists the tags for the resource with the specified ARN.+newListTagsForResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ ListTagsForResource+newListTagsForResource pResourceARN_ =+ ListTagsForResource'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ resourceARN = pResourceARN_+ }++-- | The maximum number of results to be returned per request that lists the+-- tags for the resource.+listTagsForResource_maxResults :: Lens.Lens' ListTagsForResource (Prelude.Maybe Prelude.Natural)+listTagsForResource_maxResults = Lens.lens (\ListTagsForResource' {maxResults} -> maxResults) (\s@ListTagsForResource' {} a -> s {maxResults = a} :: ListTagsForResource)++-- | The token for the next set of results, or null if there are no+-- additional results for this request, where the request lists the tags+-- for the resource with the specified ARN.+listTagsForResource_nextToken :: Lens.Lens' ListTagsForResource (Prelude.Maybe Prelude.Text)+listTagsForResource_nextToken = Lens.lens (\ListTagsForResource' {nextToken} -> nextToken) (\s@ListTagsForResource' {} a -> s {nextToken = a} :: ListTagsForResource)++-- | Lists the tags for the resource with the specified ARN.+listTagsForResource_resourceARN :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceARN = Lens.lens (\ListTagsForResource' {resourceARN} -> resourceARN) (\s@ListTagsForResource' {} a -> s {resourceARN = a} :: ListTagsForResource)++instance Core.AWSPager ListTagsForResource where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listTagsForResourceResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listTagsForResourceResponse_tags+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listTagsForResource_nextToken+ Lens..~ rs+ Lens.^? listTagsForResourceResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListTagsForResource where+ type+ AWSResponse ListTagsForResource =+ ListTagsForResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTagsForResourceResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTagsForResource where+ hashWithSalt _salt ListTagsForResource' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` resourceARN++instance Prelude.NFData ListTagsForResource where+ rnf ListTagsForResource' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf resourceARN++instance Data.ToHeaders ListTagsForResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListTagsForResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTagsForResource where+ toJSON ListTagsForResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("ResourceARN" Data..= resourceARN)+ ]+ )++instance Data.ToPath ListTagsForResource where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+ { -- | A token to be used by the next request if this request is truncated.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of tags associated with the specified resource.+ tags :: Prelude.Maybe [Tag],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTagsForResourceResponse_nextToken' - A token to be used by the next request if this request is truncated.+--+-- 'tags', 'listTagsForResourceResponse_tags' - The list of tags associated with the specified resource.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+ ListTagsForResourceResponse'+ { nextToken =+ Prelude.Nothing,+ tags = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token to be used by the next request if this request is truncated.+listTagsForResourceResponse_nextToken :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe Prelude.Text)+listTagsForResourceResponse_nextToken = Lens.lens (\ListTagsForResourceResponse' {nextToken} -> nextToken) (\s@ListTagsForResourceResponse' {} a -> s {nextToken = a} :: ListTagsForResourceResponse)++-- | The list of tags associated with the specified resource.+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe [Tag])+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+ rnf ListTagsForResourceResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/ListWorkGroups.hs view
@@ -0,0 +1,217 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.ListWorkGroups+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists available workgroups for the account.+module Amazonka.Athena.ListWorkGroups+ ( -- * Creating a Request+ ListWorkGroups (..),+ newListWorkGroups,++ -- * Request Lenses+ listWorkGroups_maxResults,+ listWorkGroups_nextToken,++ -- * Destructuring the Response+ ListWorkGroupsResponse (..),+ newListWorkGroupsResponse,++ -- * Response Lenses+ listWorkGroupsResponse_nextToken,+ listWorkGroupsResponse_workGroups,+ listWorkGroupsResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListWorkGroups' smart constructor.+data ListWorkGroups = ListWorkGroups'+ { -- | The maximum number of workgroups to return in this request.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListWorkGroups' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listWorkGroups_maxResults' - The maximum number of workgroups to return in this request.+--+-- 'nextToken', 'listWorkGroups_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+newListWorkGroups ::+ ListWorkGroups+newListWorkGroups =+ ListWorkGroups'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The maximum number of workgroups to return in this request.+listWorkGroups_maxResults :: Lens.Lens' ListWorkGroups (Prelude.Maybe Prelude.Natural)+listWorkGroups_maxResults = Lens.lens (\ListWorkGroups' {maxResults} -> maxResults) (\s@ListWorkGroups' {} a -> s {maxResults = a} :: ListWorkGroups)++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listWorkGroups_nextToken :: Lens.Lens' ListWorkGroups (Prelude.Maybe Prelude.Text)+listWorkGroups_nextToken = Lens.lens (\ListWorkGroups' {nextToken} -> nextToken) (\s@ListWorkGroups' {} a -> s {nextToken = a} :: ListWorkGroups)++instance Core.AWSRequest ListWorkGroups where+ type+ AWSResponse ListWorkGroups =+ ListWorkGroupsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListWorkGroupsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "WorkGroups" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListWorkGroups where+ hashWithSalt _salt ListWorkGroups' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListWorkGroups where+ rnf ListWorkGroups' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListWorkGroups where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.ListWorkGroups" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListWorkGroups where+ toJSON ListWorkGroups' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListWorkGroups where+ toPath = Prelude.const "/"++instance Data.ToQuery ListWorkGroups where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListWorkGroupsResponse' smart constructor.+data ListWorkGroupsResponse = ListWorkGroupsResponse'+ { -- | A token generated by the Athena service that specifies where to continue+ -- pagination if a previous request was truncated. To obtain the next set+ -- of pages, pass in the @NextToken@ from the response object of the+ -- previous page call.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A list of WorkGroupSummary objects that include the names, descriptions,+ -- creation times, and states for each workgroup.+ workGroups :: Prelude.Maybe [WorkGroupSummary],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListWorkGroupsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listWorkGroupsResponse_nextToken' - A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+--+-- 'workGroups', 'listWorkGroupsResponse_workGroups' - A list of WorkGroupSummary objects that include the names, descriptions,+-- creation times, and states for each workgroup.+--+-- 'httpStatus', 'listWorkGroupsResponse_httpStatus' - The response's http status code.+newListWorkGroupsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListWorkGroupsResponse+newListWorkGroupsResponse pHttpStatus_ =+ ListWorkGroupsResponse'+ { nextToken =+ Prelude.Nothing,+ workGroups = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token generated by the Athena service that specifies where to continue+-- pagination if a previous request was truncated. To obtain the next set+-- of pages, pass in the @NextToken@ from the response object of the+-- previous page call.+listWorkGroupsResponse_nextToken :: Lens.Lens' ListWorkGroupsResponse (Prelude.Maybe Prelude.Text)+listWorkGroupsResponse_nextToken = Lens.lens (\ListWorkGroupsResponse' {nextToken} -> nextToken) (\s@ListWorkGroupsResponse' {} a -> s {nextToken = a} :: ListWorkGroupsResponse)++-- | A list of WorkGroupSummary objects that include the names, descriptions,+-- creation times, and states for each workgroup.+listWorkGroupsResponse_workGroups :: Lens.Lens' ListWorkGroupsResponse (Prelude.Maybe [WorkGroupSummary])+listWorkGroupsResponse_workGroups = Lens.lens (\ListWorkGroupsResponse' {workGroups} -> workGroups) (\s@ListWorkGroupsResponse' {} a -> s {workGroups = a} :: ListWorkGroupsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listWorkGroupsResponse_httpStatus :: Lens.Lens' ListWorkGroupsResponse Prelude.Int+listWorkGroupsResponse_httpStatus = Lens.lens (\ListWorkGroupsResponse' {httpStatus} -> httpStatus) (\s@ListWorkGroupsResponse' {} a -> s {httpStatus = a} :: ListWorkGroupsResponse)++instance Prelude.NFData ListWorkGroupsResponse where+ rnf ListWorkGroupsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf workGroups+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/StartCalculationExecution.hs view
@@ -0,0 +1,323 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.StartCalculationExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Submits calculations for execution within a session. You can supply the+-- code to run as an inline code block within the request or as an Amazon+-- S3 URL.+module Amazonka.Athena.StartCalculationExecution+ ( -- * Creating a Request+ StartCalculationExecution (..),+ newStartCalculationExecution,++ -- * Request Lenses+ startCalculationExecution_calculationConfiguration,+ startCalculationExecution_clientRequestToken,+ startCalculationExecution_codeBlock,+ startCalculationExecution_description,+ startCalculationExecution_sessionId,++ -- * Destructuring the Response+ StartCalculationExecutionResponse (..),+ newStartCalculationExecutionResponse,++ -- * Response Lenses+ startCalculationExecutionResponse_calculationExecutionId,+ startCalculationExecutionResponse_state,+ startCalculationExecutionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStartCalculationExecution' smart constructor.+data StartCalculationExecution = StartCalculationExecution'+ { -- | Contains configuration information for the calculation.+ calculationConfiguration :: Prelude.Maybe CalculationConfiguration,+ -- | A unique case-sensitive string used to ensure the request to create the+ -- calculation is idempotent (executes only once). If another+ -- @StartCalculationExecutionRequest@ is received, the same response is+ -- returned and another calculation is not created. If a parameter has+ -- changed, an error is returned.+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for users. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | A string that contains the code of the calculation.+ codeBlock :: Prelude.Maybe Prelude.Text,+ -- | A description of the calculation.+ description :: Prelude.Maybe Prelude.Text,+ -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartCalculationExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationConfiguration', 'startCalculationExecution_calculationConfiguration' - Contains configuration information for the calculation.+--+-- 'clientRequestToken', 'startCalculationExecution_clientRequestToken' - A unique case-sensitive string used to ensure the request to create the+-- calculation is idempotent (executes only once). If another+-- @StartCalculationExecutionRequest@ is received, the same response is+-- returned and another calculation is not created. If a parameter has+-- changed, an error is returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'codeBlock', 'startCalculationExecution_codeBlock' - A string that contains the code of the calculation.+--+-- 'description', 'startCalculationExecution_description' - A description of the calculation.+--+-- 'sessionId', 'startCalculationExecution_sessionId' - The session ID.+newStartCalculationExecution ::+ -- | 'sessionId'+ Prelude.Text ->+ StartCalculationExecution+newStartCalculationExecution pSessionId_ =+ StartCalculationExecution'+ { calculationConfiguration =+ Prelude.Nothing,+ clientRequestToken = Prelude.Nothing,+ codeBlock = Prelude.Nothing,+ description = Prelude.Nothing,+ sessionId = pSessionId_+ }++-- | Contains configuration information for the calculation.+startCalculationExecution_calculationConfiguration :: Lens.Lens' StartCalculationExecution (Prelude.Maybe CalculationConfiguration)+startCalculationExecution_calculationConfiguration = Lens.lens (\StartCalculationExecution' {calculationConfiguration} -> calculationConfiguration) (\s@StartCalculationExecution' {} a -> s {calculationConfiguration = a} :: StartCalculationExecution)++-- | A unique case-sensitive string used to ensure the request to create the+-- calculation is idempotent (executes only once). If another+-- @StartCalculationExecutionRequest@ is received, the same response is+-- returned and another calculation is not created. If a parameter has+-- changed, an error is returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+startCalculationExecution_clientRequestToken :: Lens.Lens' StartCalculationExecution (Prelude.Maybe Prelude.Text)+startCalculationExecution_clientRequestToken = Lens.lens (\StartCalculationExecution' {clientRequestToken} -> clientRequestToken) (\s@StartCalculationExecution' {} a -> s {clientRequestToken = a} :: StartCalculationExecution)++-- | A string that contains the code of the calculation.+startCalculationExecution_codeBlock :: Lens.Lens' StartCalculationExecution (Prelude.Maybe Prelude.Text)+startCalculationExecution_codeBlock = Lens.lens (\StartCalculationExecution' {codeBlock} -> codeBlock) (\s@StartCalculationExecution' {} a -> s {codeBlock = a} :: StartCalculationExecution)++-- | A description of the calculation.+startCalculationExecution_description :: Lens.Lens' StartCalculationExecution (Prelude.Maybe Prelude.Text)+startCalculationExecution_description = Lens.lens (\StartCalculationExecution' {description} -> description) (\s@StartCalculationExecution' {} a -> s {description = a} :: StartCalculationExecution)++-- | The session ID.+startCalculationExecution_sessionId :: Lens.Lens' StartCalculationExecution Prelude.Text+startCalculationExecution_sessionId = Lens.lens (\StartCalculationExecution' {sessionId} -> sessionId) (\s@StartCalculationExecution' {} a -> s {sessionId = a} :: StartCalculationExecution)++instance Core.AWSRequest StartCalculationExecution where+ type+ AWSResponse StartCalculationExecution =+ StartCalculationExecutionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StartCalculationExecutionResponse'+ Prelude.<$> (x Data..?> "CalculationExecutionId")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StartCalculationExecution where+ hashWithSalt _salt StartCalculationExecution' {..} =+ _salt+ `Prelude.hashWithSalt` calculationConfiguration+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` codeBlock+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` sessionId++instance Prelude.NFData StartCalculationExecution where+ rnf StartCalculationExecution' {..} =+ Prelude.rnf calculationConfiguration+ `Prelude.seq` Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf codeBlock+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf sessionId++instance Data.ToHeaders StartCalculationExecution where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.StartCalculationExecution" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartCalculationExecution where+ toJSON StartCalculationExecution' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("CalculationConfiguration" Data..=)+ Prelude.<$> calculationConfiguration,+ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ ("CodeBlock" Data..=) Prelude.<$> codeBlock,+ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("SessionId" Data..= sessionId)+ ]+ )++instance Data.ToPath StartCalculationExecution where+ toPath = Prelude.const "/"++instance Data.ToQuery StartCalculationExecution where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartCalculationExecutionResponse' smart constructor.+data StartCalculationExecutionResponse = StartCalculationExecutionResponse'+ { -- | The calculation execution UUID.+ calculationExecutionId :: Prelude.Maybe Prelude.Text,+ -- | @CREATING@ - The calculation is in the process of being created.+ --+ -- @CREATED@ - The calculation has been created and is ready to run.+ --+ -- @QUEUED@ - The calculation has been queued for processing.+ --+ -- @RUNNING@ - The calculation is running.+ --+ -- @CANCELING@ - A request to cancel the calculation has been received and+ -- the system is working to stop it.+ --+ -- @CANCELED@ - The calculation is no longer running as the result of a+ -- cancel request.+ --+ -- @COMPLETED@ - The calculation has completed without error.+ --+ -- @FAILED@ - The calculation failed and is no longer running.+ state :: Prelude.Maybe CalculationExecutionState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartCalculationExecutionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationExecutionId', 'startCalculationExecutionResponse_calculationExecutionId' - The calculation execution UUID.+--+-- 'state', 'startCalculationExecutionResponse_state' - @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+--+-- 'httpStatus', 'startCalculationExecutionResponse_httpStatus' - The response's http status code.+newStartCalculationExecutionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StartCalculationExecutionResponse+newStartCalculationExecutionResponse pHttpStatus_ =+ StartCalculationExecutionResponse'+ { calculationExecutionId =+ Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The calculation execution UUID.+startCalculationExecutionResponse_calculationExecutionId :: Lens.Lens' StartCalculationExecutionResponse (Prelude.Maybe Prelude.Text)+startCalculationExecutionResponse_calculationExecutionId = Lens.lens (\StartCalculationExecutionResponse' {calculationExecutionId} -> calculationExecutionId) (\s@StartCalculationExecutionResponse' {} a -> s {calculationExecutionId = a} :: StartCalculationExecutionResponse)++-- | @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+startCalculationExecutionResponse_state :: Lens.Lens' StartCalculationExecutionResponse (Prelude.Maybe CalculationExecutionState)+startCalculationExecutionResponse_state = Lens.lens (\StartCalculationExecutionResponse' {state} -> state) (\s@StartCalculationExecutionResponse' {} a -> s {state = a} :: StartCalculationExecutionResponse)++-- | The response's http status code.+startCalculationExecutionResponse_httpStatus :: Lens.Lens' StartCalculationExecutionResponse Prelude.Int+startCalculationExecutionResponse_httpStatus = Lens.lens (\StartCalculationExecutionResponse' {httpStatus} -> httpStatus) (\s@StartCalculationExecutionResponse' {} a -> s {httpStatus = a} :: StartCalculationExecutionResponse)++instance+ Prelude.NFData+ StartCalculationExecutionResponse+ where+ rnf StartCalculationExecutionResponse' {..} =+ Prelude.rnf calculationExecutionId+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/StartQueryExecution.hs view
@@ -0,0 +1,317 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.StartQueryExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Runs the SQL query statements contained in the @Query@. Requires you to+-- have access to the workgroup in which the query ran. Running queries+-- against an external catalog requires GetDataCatalog permission to the+-- catalog. For code samples using the Amazon Web Services SDK for Java,+-- see+-- <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples>+-- in the /Amazon Athena User Guide/.+module Amazonka.Athena.StartQueryExecution+ ( -- * Creating a Request+ StartQueryExecution (..),+ newStartQueryExecution,++ -- * Request Lenses+ startQueryExecution_clientRequestToken,+ startQueryExecution_executionParameters,+ startQueryExecution_queryExecutionContext,+ startQueryExecution_resultConfiguration,+ startQueryExecution_resultReuseConfiguration,+ startQueryExecution_workGroup,+ startQueryExecution_queryString,++ -- * Destructuring the Response+ StartQueryExecutionResponse (..),+ newStartQueryExecutionResponse,++ -- * Response Lenses+ startQueryExecutionResponse_queryExecutionId,+ startQueryExecutionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStartQueryExecution' smart constructor.+data StartQueryExecution = StartQueryExecution'+ { -- | A unique case-sensitive string used to ensure the request to create the+ -- query is idempotent (executes only once). If another+ -- @StartQueryExecution@ request is received, the same response is returned+ -- and another query is not created. If a parameter has changed, for+ -- example, the @QueryString@, an error is returned.+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for users. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | A list of values for the parameters in a query. The values are applied+ -- sequentially to the parameters in the query in the order in which the+ -- parameters occur.+ executionParameters :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | The database within which the query executes.+ queryExecutionContext :: Prelude.Maybe QueryExecutionContext,+ -- | Specifies information about where and how to save the results of the+ -- query execution. If the query runs in a workgroup, then workgroup\'s+ -- settings may override query settings. This affects the query results+ -- location. The workgroup settings override is specified in+ -- EnforceWorkGroupConfiguration (true\/false) in the+ -- WorkGroupConfiguration. See+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+ resultConfiguration :: Prelude.Maybe ResultConfiguration,+ -- | Specifies the query result reuse behavior for the query.+ resultReuseConfiguration :: Prelude.Maybe ResultReuseConfiguration,+ -- | The name of the workgroup in which the query is being started.+ workGroup :: Prelude.Maybe Prelude.Text,+ -- | The SQL query statements to be executed.+ queryString :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartQueryExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientRequestToken', 'startQueryExecution_clientRequestToken' - A unique case-sensitive string used to ensure the request to create the+-- query is idempotent (executes only once). If another+-- @StartQueryExecution@ request is received, the same response is returned+-- and another query is not created. If a parameter has changed, for+-- example, the @QueryString@, an error is returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'executionParameters', 'startQueryExecution_executionParameters' - A list of values for the parameters in a query. The values are applied+-- sequentially to the parameters in the query in the order in which the+-- parameters occur.+--+-- 'queryExecutionContext', 'startQueryExecution_queryExecutionContext' - The database within which the query executes.+--+-- 'resultConfiguration', 'startQueryExecution_resultConfiguration' - Specifies information about where and how to save the results of the+-- query execution. If the query runs in a workgroup, then workgroup\'s+-- settings may override query settings. This affects the query results+-- location. The workgroup settings override is specified in+-- EnforceWorkGroupConfiguration (true\/false) in the+-- WorkGroupConfiguration. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+--+-- 'resultReuseConfiguration', 'startQueryExecution_resultReuseConfiguration' - Specifies the query result reuse behavior for the query.+--+-- 'workGroup', 'startQueryExecution_workGroup' - The name of the workgroup in which the query is being started.+--+-- 'queryString', 'startQueryExecution_queryString' - The SQL query statements to be executed.+newStartQueryExecution ::+ -- | 'queryString'+ Prelude.Text ->+ StartQueryExecution+newStartQueryExecution pQueryString_ =+ StartQueryExecution'+ { clientRequestToken =+ Prelude.Nothing,+ executionParameters = Prelude.Nothing,+ queryExecutionContext = Prelude.Nothing,+ resultConfiguration = Prelude.Nothing,+ resultReuseConfiguration = Prelude.Nothing,+ workGroup = Prelude.Nothing,+ queryString = pQueryString_+ }++-- | A unique case-sensitive string used to ensure the request to create the+-- query is idempotent (executes only once). If another+-- @StartQueryExecution@ request is received, the same response is returned+-- and another query is not created. If a parameter has changed, for+-- example, the @QueryString@, an error is returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+startQueryExecution_clientRequestToken :: Lens.Lens' StartQueryExecution (Prelude.Maybe Prelude.Text)+startQueryExecution_clientRequestToken = Lens.lens (\StartQueryExecution' {clientRequestToken} -> clientRequestToken) (\s@StartQueryExecution' {} a -> s {clientRequestToken = a} :: StartQueryExecution)++-- | A list of values for the parameters in a query. The values are applied+-- sequentially to the parameters in the query in the order in which the+-- parameters occur.+startQueryExecution_executionParameters :: Lens.Lens' StartQueryExecution (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+startQueryExecution_executionParameters = Lens.lens (\StartQueryExecution' {executionParameters} -> executionParameters) (\s@StartQueryExecution' {} a -> s {executionParameters = a} :: StartQueryExecution) Prelude.. Lens.mapping Lens.coerced++-- | The database within which the query executes.+startQueryExecution_queryExecutionContext :: Lens.Lens' StartQueryExecution (Prelude.Maybe QueryExecutionContext)+startQueryExecution_queryExecutionContext = Lens.lens (\StartQueryExecution' {queryExecutionContext} -> queryExecutionContext) (\s@StartQueryExecution' {} a -> s {queryExecutionContext = a} :: StartQueryExecution)++-- | Specifies information about where and how to save the results of the+-- query execution. If the query runs in a workgroup, then workgroup\'s+-- settings may override query settings. This affects the query results+-- location. The workgroup settings override is specified in+-- EnforceWorkGroupConfiguration (true\/false) in the+-- WorkGroupConfiguration. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+startQueryExecution_resultConfiguration :: Lens.Lens' StartQueryExecution (Prelude.Maybe ResultConfiguration)+startQueryExecution_resultConfiguration = Lens.lens (\StartQueryExecution' {resultConfiguration} -> resultConfiguration) (\s@StartQueryExecution' {} a -> s {resultConfiguration = a} :: StartQueryExecution)++-- | Specifies the query result reuse behavior for the query.+startQueryExecution_resultReuseConfiguration :: Lens.Lens' StartQueryExecution (Prelude.Maybe ResultReuseConfiguration)+startQueryExecution_resultReuseConfiguration = Lens.lens (\StartQueryExecution' {resultReuseConfiguration} -> resultReuseConfiguration) (\s@StartQueryExecution' {} a -> s {resultReuseConfiguration = a} :: StartQueryExecution)++-- | The name of the workgroup in which the query is being started.+startQueryExecution_workGroup :: Lens.Lens' StartQueryExecution (Prelude.Maybe Prelude.Text)+startQueryExecution_workGroup = Lens.lens (\StartQueryExecution' {workGroup} -> workGroup) (\s@StartQueryExecution' {} a -> s {workGroup = a} :: StartQueryExecution)++-- | The SQL query statements to be executed.+startQueryExecution_queryString :: Lens.Lens' StartQueryExecution Prelude.Text+startQueryExecution_queryString = Lens.lens (\StartQueryExecution' {queryString} -> queryString) (\s@StartQueryExecution' {} a -> s {queryString = a} :: StartQueryExecution)++instance Core.AWSRequest StartQueryExecution where+ type+ AWSResponse StartQueryExecution =+ StartQueryExecutionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StartQueryExecutionResponse'+ Prelude.<$> (x Data..?> "QueryExecutionId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StartQueryExecution where+ hashWithSalt _salt StartQueryExecution' {..} =+ _salt+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` executionParameters+ `Prelude.hashWithSalt` queryExecutionContext+ `Prelude.hashWithSalt` resultConfiguration+ `Prelude.hashWithSalt` resultReuseConfiguration+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` queryString++instance Prelude.NFData StartQueryExecution where+ rnf StartQueryExecution' {..} =+ Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf executionParameters+ `Prelude.seq` Prelude.rnf queryExecutionContext+ `Prelude.seq` Prelude.rnf resultConfiguration+ `Prelude.seq` Prelude.rnf resultReuseConfiguration+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf queryString++instance Data.ToHeaders StartQueryExecution where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.StartQueryExecution" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartQueryExecution where+ toJSON StartQueryExecution' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ ("ExecutionParameters" Data..=)+ Prelude.<$> executionParameters,+ ("QueryExecutionContext" Data..=)+ Prelude.<$> queryExecutionContext,+ ("ResultConfiguration" Data..=)+ Prelude.<$> resultConfiguration,+ ("ResultReuseConfiguration" Data..=)+ Prelude.<$> resultReuseConfiguration,+ ("WorkGroup" Data..=) Prelude.<$> workGroup,+ Prelude.Just ("QueryString" Data..= queryString)+ ]+ )++instance Data.ToPath StartQueryExecution where+ toPath = Prelude.const "/"++instance Data.ToQuery StartQueryExecution where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartQueryExecutionResponse' smart constructor.+data StartQueryExecutionResponse = StartQueryExecutionResponse'+ { -- | The unique ID of the query that ran as a result of this request.+ queryExecutionId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartQueryExecutionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryExecutionId', 'startQueryExecutionResponse_queryExecutionId' - The unique ID of the query that ran as a result of this request.+--+-- 'httpStatus', 'startQueryExecutionResponse_httpStatus' - The response's http status code.+newStartQueryExecutionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StartQueryExecutionResponse+newStartQueryExecutionResponse pHttpStatus_ =+ StartQueryExecutionResponse'+ { queryExecutionId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The unique ID of the query that ran as a result of this request.+startQueryExecutionResponse_queryExecutionId :: Lens.Lens' StartQueryExecutionResponse (Prelude.Maybe Prelude.Text)+startQueryExecutionResponse_queryExecutionId = Lens.lens (\StartQueryExecutionResponse' {queryExecutionId} -> queryExecutionId) (\s@StartQueryExecutionResponse' {} a -> s {queryExecutionId = a} :: StartQueryExecutionResponse)++-- | The response's http status code.+startQueryExecutionResponse_httpStatus :: Lens.Lens' StartQueryExecutionResponse Prelude.Int+startQueryExecutionResponse_httpStatus = Lens.lens (\StartQueryExecutionResponse' {httpStatus} -> httpStatus) (\s@StartQueryExecutionResponse' {} a -> s {httpStatus = a} :: StartQueryExecutionResponse)++instance Prelude.NFData StartQueryExecutionResponse where+ rnf StartQueryExecutionResponse' {..} =+ Prelude.rnf queryExecutionId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/StartSession.hs view
@@ -0,0 +1,348 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.StartSession+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a session for running calculations within a workgroup. The+-- session is ready when it reaches an @IDLE@ state.+module Amazonka.Athena.StartSession+ ( -- * Creating a Request+ StartSession (..),+ newStartSession,++ -- * Request Lenses+ startSession_clientRequestToken,+ startSession_description,+ startSession_notebookVersion,+ startSession_sessionIdleTimeoutInMinutes,+ startSession_workGroup,+ startSession_engineConfiguration,++ -- * Destructuring the Response+ StartSessionResponse (..),+ newStartSessionResponse,++ -- * Response Lenses+ startSessionResponse_sessionId,+ startSessionResponse_state,+ startSessionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStartSession' smart constructor.+data StartSession = StartSession'+ { -- | A unique case-sensitive string used to ensure the request to create the+ -- session is idempotent (executes only once). If another+ -- @StartSessionRequest@ is received, the same response is returned and+ -- another session is not created. If a parameter has changed, an error is+ -- returned.+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for users. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | The session description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The notebook version. This value is required only when requesting that a+ -- notebook server be started for the session. The only valid notebook+ -- version is @Jupyter1.0@.+ notebookVersion :: Prelude.Maybe Prelude.Text,+ -- | The idle timeout in minutes for the session.+ sessionIdleTimeoutInMinutes :: Prelude.Maybe Prelude.Natural,+ -- | The workgroup to which the session belongs.+ workGroup :: Prelude.Text,+ -- | Contains engine data processing unit (DPU) configuration settings and+ -- parameter mappings.+ engineConfiguration :: EngineConfiguration+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartSession' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientRequestToken', 'startSession_clientRequestToken' - A unique case-sensitive string used to ensure the request to create the+-- session is idempotent (executes only once). If another+-- @StartSessionRequest@ is received, the same response is returned and+-- another session is not created. If a parameter has changed, an error is+-- returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'description', 'startSession_description' - The session description.+--+-- 'notebookVersion', 'startSession_notebookVersion' - The notebook version. This value is required only when requesting that a+-- notebook server be started for the session. The only valid notebook+-- version is @Jupyter1.0@.+--+-- 'sessionIdleTimeoutInMinutes', 'startSession_sessionIdleTimeoutInMinutes' - The idle timeout in minutes for the session.+--+-- 'workGroup', 'startSession_workGroup' - The workgroup to which the session belongs.+--+-- 'engineConfiguration', 'startSession_engineConfiguration' - Contains engine data processing unit (DPU) configuration settings and+-- parameter mappings.+newStartSession ::+ -- | 'workGroup'+ Prelude.Text ->+ -- | 'engineConfiguration'+ EngineConfiguration ->+ StartSession+newStartSession pWorkGroup_ pEngineConfiguration_ =+ StartSession'+ { clientRequestToken = Prelude.Nothing,+ description = Prelude.Nothing,+ notebookVersion = Prelude.Nothing,+ sessionIdleTimeoutInMinutes = Prelude.Nothing,+ workGroup = pWorkGroup_,+ engineConfiguration = pEngineConfiguration_+ }++-- | A unique case-sensitive string used to ensure the request to create the+-- session is idempotent (executes only once). If another+-- @StartSessionRequest@ is received, the same response is returned and+-- another session is not created. If a parameter has changed, an error is+-- returned.+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for users. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+startSession_clientRequestToken :: Lens.Lens' StartSession (Prelude.Maybe Prelude.Text)+startSession_clientRequestToken = Lens.lens (\StartSession' {clientRequestToken} -> clientRequestToken) (\s@StartSession' {} a -> s {clientRequestToken = a} :: StartSession)++-- | The session description.+startSession_description :: Lens.Lens' StartSession (Prelude.Maybe Prelude.Text)+startSession_description = Lens.lens (\StartSession' {description} -> description) (\s@StartSession' {} a -> s {description = a} :: StartSession)++-- | The notebook version. This value is required only when requesting that a+-- notebook server be started for the session. The only valid notebook+-- version is @Jupyter1.0@.+startSession_notebookVersion :: Lens.Lens' StartSession (Prelude.Maybe Prelude.Text)+startSession_notebookVersion = Lens.lens (\StartSession' {notebookVersion} -> notebookVersion) (\s@StartSession' {} a -> s {notebookVersion = a} :: StartSession)++-- | The idle timeout in minutes for the session.+startSession_sessionIdleTimeoutInMinutes :: Lens.Lens' StartSession (Prelude.Maybe Prelude.Natural)+startSession_sessionIdleTimeoutInMinutes = Lens.lens (\StartSession' {sessionIdleTimeoutInMinutes} -> sessionIdleTimeoutInMinutes) (\s@StartSession' {} a -> s {sessionIdleTimeoutInMinutes = a} :: StartSession)++-- | The workgroup to which the session belongs.+startSession_workGroup :: Lens.Lens' StartSession Prelude.Text+startSession_workGroup = Lens.lens (\StartSession' {workGroup} -> workGroup) (\s@StartSession' {} a -> s {workGroup = a} :: StartSession)++-- | Contains engine data processing unit (DPU) configuration settings and+-- parameter mappings.+startSession_engineConfiguration :: Lens.Lens' StartSession EngineConfiguration+startSession_engineConfiguration = Lens.lens (\StartSession' {engineConfiguration} -> engineConfiguration) (\s@StartSession' {} a -> s {engineConfiguration = a} :: StartSession)++instance Core.AWSRequest StartSession where+ type AWSResponse StartSession = StartSessionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StartSessionResponse'+ Prelude.<$> (x Data..?> "SessionId")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StartSession where+ hashWithSalt _salt StartSession' {..} =+ _salt+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` notebookVersion+ `Prelude.hashWithSalt` sessionIdleTimeoutInMinutes+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` engineConfiguration++instance Prelude.NFData StartSession where+ rnf StartSession' {..} =+ Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf notebookVersion+ `Prelude.seq` Prelude.rnf sessionIdleTimeoutInMinutes+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf engineConfiguration++instance Data.ToHeaders StartSession where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.StartSession" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartSession where+ toJSON StartSession' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ ("Description" Data..=) Prelude.<$> description,+ ("NotebookVersion" Data..=)+ Prelude.<$> notebookVersion,+ ("SessionIdleTimeoutInMinutes" Data..=)+ Prelude.<$> sessionIdleTimeoutInMinutes,+ Prelude.Just ("WorkGroup" Data..= workGroup),+ Prelude.Just+ ("EngineConfiguration" Data..= engineConfiguration)+ ]+ )++instance Data.ToPath StartSession where+ toPath = Prelude.const "/"++instance Data.ToQuery StartSession where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartSessionResponse' smart constructor.+data StartSessionResponse = StartSessionResponse'+ { -- | The session ID.+ sessionId :: Prelude.Maybe Prelude.Text,+ -- | The state of the session. A description of each state follows.+ --+ -- @CREATING@ - The session is being started, including acquiring+ -- resources.+ --+ -- @CREATED@ - The session has been started.+ --+ -- @IDLE@ - The session is able to accept a calculation.+ --+ -- @BUSY@ - The session is processing another task and is unable to accept+ -- a calculation.+ --+ -- @TERMINATING@ - The session is in the process of shutting down.+ --+ -- @TERMINATED@ - The session and its resources are no longer running.+ --+ -- @DEGRADED@ - The session has no healthy coordinators.+ --+ -- @FAILED@ - Due to a failure, the session and its resources are no longer+ -- running.+ state :: Prelude.Maybe SessionState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartSessionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sessionId', 'startSessionResponse_sessionId' - The session ID.+--+-- 'state', 'startSessionResponse_state' - The state of the session. A description of each state follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+--+-- 'httpStatus', 'startSessionResponse_httpStatus' - The response's http status code.+newStartSessionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StartSessionResponse+newStartSessionResponse pHttpStatus_ =+ StartSessionResponse'+ { sessionId = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The session ID.+startSessionResponse_sessionId :: Lens.Lens' StartSessionResponse (Prelude.Maybe Prelude.Text)+startSessionResponse_sessionId = Lens.lens (\StartSessionResponse' {sessionId} -> sessionId) (\s@StartSessionResponse' {} a -> s {sessionId = a} :: StartSessionResponse)++-- | The state of the session. A description of each state follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+startSessionResponse_state :: Lens.Lens' StartSessionResponse (Prelude.Maybe SessionState)+startSessionResponse_state = Lens.lens (\StartSessionResponse' {state} -> state) (\s@StartSessionResponse' {} a -> s {state = a} :: StartSessionResponse)++-- | The response's http status code.+startSessionResponse_httpStatus :: Lens.Lens' StartSessionResponse Prelude.Int+startSessionResponse_httpStatus = Lens.lens (\StartSessionResponse' {httpStatus} -> httpStatus) (\s@StartSessionResponse' {} a -> s {httpStatus = a} :: StartSessionResponse)++instance Prelude.NFData StartSessionResponse where+ rnf StartSessionResponse' {..} =+ Prelude.rnf sessionId+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/StopCalculationExecution.hs view
@@ -0,0 +1,235 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.StopCalculationExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Requests the cancellation of a calculation. A @StopCalculationExecution@+-- call on a calculation that is already in a terminal state (for example,+-- @STOPPED@, @FAILED@, or @COMPLETED@) succeeds but has no effect.+--+-- Cancelling a calculation is done on a best effort basis. If a+-- calculation cannot be cancelled, you can be charged for its completion.+-- If you are concerned about being charged for a calculation that cannot+-- be cancelled, consider terminating the session in which the calculation+-- is running.+module Amazonka.Athena.StopCalculationExecution+ ( -- * Creating a Request+ StopCalculationExecution (..),+ newStopCalculationExecution,++ -- * Request Lenses+ stopCalculationExecution_calculationExecutionId,++ -- * Destructuring the Response+ StopCalculationExecutionResponse (..),+ newStopCalculationExecutionResponse,++ -- * Response Lenses+ stopCalculationExecutionResponse_state,+ stopCalculationExecutionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStopCalculationExecution' smart constructor.+data StopCalculationExecution = StopCalculationExecution'+ { -- | The calculation execution UUID.+ calculationExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopCalculationExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationExecutionId', 'stopCalculationExecution_calculationExecutionId' - The calculation execution UUID.+newStopCalculationExecution ::+ -- | 'calculationExecutionId'+ Prelude.Text ->+ StopCalculationExecution+newStopCalculationExecution pCalculationExecutionId_ =+ StopCalculationExecution'+ { calculationExecutionId =+ pCalculationExecutionId_+ }++-- | The calculation execution UUID.+stopCalculationExecution_calculationExecutionId :: Lens.Lens' StopCalculationExecution Prelude.Text+stopCalculationExecution_calculationExecutionId = Lens.lens (\StopCalculationExecution' {calculationExecutionId} -> calculationExecutionId) (\s@StopCalculationExecution' {} a -> s {calculationExecutionId = a} :: StopCalculationExecution)++instance Core.AWSRequest StopCalculationExecution where+ type+ AWSResponse StopCalculationExecution =+ StopCalculationExecutionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StopCalculationExecutionResponse'+ Prelude.<$> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StopCalculationExecution where+ hashWithSalt _salt StopCalculationExecution' {..} =+ _salt `Prelude.hashWithSalt` calculationExecutionId++instance Prelude.NFData StopCalculationExecution where+ rnf StopCalculationExecution' {..} =+ Prelude.rnf calculationExecutionId++instance Data.ToHeaders StopCalculationExecution where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.StopCalculationExecution" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StopCalculationExecution where+ toJSON StopCalculationExecution' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "CalculationExecutionId"+ Data..= calculationExecutionId+ )+ ]+ )++instance Data.ToPath StopCalculationExecution where+ toPath = Prelude.const "/"++instance Data.ToQuery StopCalculationExecution where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStopCalculationExecutionResponse' smart constructor.+data StopCalculationExecutionResponse = StopCalculationExecutionResponse'+ { -- | @CREATING@ - The calculation is in the process of being created.+ --+ -- @CREATED@ - The calculation has been created and is ready to run.+ --+ -- @QUEUED@ - The calculation has been queued for processing.+ --+ -- @RUNNING@ - The calculation is running.+ --+ -- @CANCELING@ - A request to cancel the calculation has been received and+ -- the system is working to stop it.+ --+ -- @CANCELED@ - The calculation is no longer running as the result of a+ -- cancel request.+ --+ -- @COMPLETED@ - The calculation has completed without error.+ --+ -- @FAILED@ - The calculation failed and is no longer running.+ state :: Prelude.Maybe CalculationExecutionState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopCalculationExecutionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'state', 'stopCalculationExecutionResponse_state' - @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+--+-- 'httpStatus', 'stopCalculationExecutionResponse_httpStatus' - The response's http status code.+newStopCalculationExecutionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StopCalculationExecutionResponse+newStopCalculationExecutionResponse pHttpStatus_ =+ StopCalculationExecutionResponse'+ { state =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+stopCalculationExecutionResponse_state :: Lens.Lens' StopCalculationExecutionResponse (Prelude.Maybe CalculationExecutionState)+stopCalculationExecutionResponse_state = Lens.lens (\StopCalculationExecutionResponse' {state} -> state) (\s@StopCalculationExecutionResponse' {} a -> s {state = a} :: StopCalculationExecutionResponse)++-- | The response's http status code.+stopCalculationExecutionResponse_httpStatus :: Lens.Lens' StopCalculationExecutionResponse Prelude.Int+stopCalculationExecutionResponse_httpStatus = Lens.lens (\StopCalculationExecutionResponse' {httpStatus} -> httpStatus) (\s@StopCalculationExecutionResponse' {} a -> s {httpStatus = a} :: StopCalculationExecutionResponse)++instance+ Prelude.NFData+ StopCalculationExecutionResponse+ where+ rnf StopCalculationExecutionResponse' {..} =+ Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/StopQueryExecution.hs view
@@ -0,0 +1,167 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.StopQueryExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Stops a query execution. Requires you to have access to the workgroup in+-- which the query ran.+--+-- For code samples using the Amazon Web Services SDK for Java, see+-- <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples>+-- in the /Amazon Athena User Guide/.+module Amazonka.Athena.StopQueryExecution+ ( -- * Creating a Request+ StopQueryExecution (..),+ newStopQueryExecution,++ -- * Request Lenses+ stopQueryExecution_queryExecutionId,++ -- * Destructuring the Response+ StopQueryExecutionResponse (..),+ newStopQueryExecutionResponse,++ -- * Response Lenses+ stopQueryExecutionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStopQueryExecution' smart constructor.+data StopQueryExecution = StopQueryExecution'+ { -- | The unique ID of the query execution to stop.+ queryExecutionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopQueryExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'queryExecutionId', 'stopQueryExecution_queryExecutionId' - The unique ID of the query execution to stop.+newStopQueryExecution ::+ -- | 'queryExecutionId'+ Prelude.Text ->+ StopQueryExecution+newStopQueryExecution pQueryExecutionId_ =+ StopQueryExecution'+ { queryExecutionId =+ pQueryExecutionId_+ }++-- | The unique ID of the query execution to stop.+stopQueryExecution_queryExecutionId :: Lens.Lens' StopQueryExecution Prelude.Text+stopQueryExecution_queryExecutionId = Lens.lens (\StopQueryExecution' {queryExecutionId} -> queryExecutionId) (\s@StopQueryExecution' {} a -> s {queryExecutionId = a} :: StopQueryExecution)++instance Core.AWSRequest StopQueryExecution where+ type+ AWSResponse StopQueryExecution =+ StopQueryExecutionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ StopQueryExecutionResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StopQueryExecution where+ hashWithSalt _salt StopQueryExecution' {..} =+ _salt `Prelude.hashWithSalt` queryExecutionId++instance Prelude.NFData StopQueryExecution where+ rnf StopQueryExecution' {..} =+ Prelude.rnf queryExecutionId++instance Data.ToHeaders StopQueryExecution where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.StopQueryExecution" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StopQueryExecution where+ toJSON StopQueryExecution' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("QueryExecutionId" Data..= queryExecutionId)+ ]+ )++instance Data.ToPath StopQueryExecution where+ toPath = Prelude.const "/"++instance Data.ToQuery StopQueryExecution where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStopQueryExecutionResponse' smart constructor.+data StopQueryExecutionResponse = StopQueryExecutionResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopQueryExecutionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'stopQueryExecutionResponse_httpStatus' - The response's http status code.+newStopQueryExecutionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StopQueryExecutionResponse+newStopQueryExecutionResponse pHttpStatus_ =+ StopQueryExecutionResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+stopQueryExecutionResponse_httpStatus :: Lens.Lens' StopQueryExecutionResponse Prelude.Int+stopQueryExecutionResponse_httpStatus = Lens.lens (\StopQueryExecutionResponse' {httpStatus} -> httpStatus) (\s@StopQueryExecutionResponse' {} a -> s {httpStatus = a} :: StopQueryExecutionResponse)++instance Prelude.NFData StopQueryExecutionResponse where+ rnf StopQueryExecutionResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/TagResource.hs view
@@ -0,0 +1,184 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.TagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds one or more tags to an Athena resource. A tag is a label that you+-- assign to a resource. In Athena, a resource can be a workgroup or data+-- catalog. Each tag consists of a key and an optional value, both of which+-- you define. For example, you can use tags to categorize Athena+-- workgroups or data catalogs by purpose, owner, or environment. Use a+-- consistent set of tag keys to make it easier to search and filter+-- workgroups or data catalogs in your account. For best practices, see+-- <https://aws.amazon.com/answers/account-management/aws-tagging-strategies/ Tagging Best Practices>.+-- Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values+-- can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and+-- numbers representable in UTF-8, and the following characters: + - = . _+-- : \/ \@. Tag keys and values are case-sensitive. Tag keys must be unique+-- per resource. If you specify more than one tag, separate them by commas.+module Amazonka.Athena.TagResource+ ( -- * Creating a Request+ TagResource (..),+ newTagResource,++ -- * Request Lenses+ tagResource_resourceARN,+ tagResource_tags,++ -- * Destructuring the Response+ TagResourceResponse (..),+ newTagResourceResponse,++ -- * Response Lenses+ tagResourceResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+ { -- | Specifies the ARN of the Athena resource (workgroup or data catalog) to+ -- which tags are to be added.+ resourceARN :: Prelude.Text,+ -- | A collection of one or more tags, separated by commas, to be added to an+ -- Athena workgroup or data catalog resource.+ tags :: [Tag]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'tagResource_resourceARN' - Specifies the ARN of the Athena resource (workgroup or data catalog) to+-- which tags are to be added.+--+-- 'tags', 'tagResource_tags' - A collection of one or more tags, separated by commas, to be added to an+-- Athena workgroup or data catalog resource.+newTagResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ TagResource+newTagResource pResourceARN_ =+ TagResource'+ { resourceARN = pResourceARN_,+ tags = Prelude.mempty+ }++-- | Specifies the ARN of the Athena resource (workgroup or data catalog) to+-- which tags are to be added.+tagResource_resourceARN :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceARN = Lens.lens (\TagResource' {resourceARN} -> resourceARN) (\s@TagResource' {} a -> s {resourceARN = a} :: TagResource)++-- | A collection of one or more tags, separated by commas, to be added to an+-- Athena workgroup or data catalog resource.+tagResource_tags :: Lens.Lens' TagResource [Tag]+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+ type AWSResponse TagResource = TagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ TagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TagResource where+ hashWithSalt _salt TagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceARN+ `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+ rnf TagResource' {..} =+ Prelude.rnf resourceARN+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.TagResource" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TagResource where+ toJSON TagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceARN" Data..= resourceARN),+ Prelude.Just ("Tags" Data..= tags)+ ]+ )++instance Data.ToPath TagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TagResourceResponse+newTagResourceResponse pHttpStatus_ =+ TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+ rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/Athena/TerminateSession.hs view
@@ -0,0 +1,228 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.TerminateSession+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Terminates an active session. A @TerminateSession@ call on a session+-- that is already inactive (for example, in a @FAILED@, @TERMINATED@ or+-- @TERMINATING@ state) succeeds but has no effect. Calculations running in+-- the session when @TerminateSession@ is called are forcefully stopped,+-- but may display as @FAILED@ instead of @STOPPED@.+module Amazonka.Athena.TerminateSession+ ( -- * Creating a Request+ TerminateSession (..),+ newTerminateSession,++ -- * Request Lenses+ terminateSession_sessionId,++ -- * Destructuring the Response+ TerminateSessionResponse (..),+ newTerminateSessionResponse,++ -- * Response Lenses+ terminateSessionResponse_state,+ terminateSessionResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTerminateSession' smart constructor.+data TerminateSession = TerminateSession'+ { -- | The session ID.+ sessionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TerminateSession' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sessionId', 'terminateSession_sessionId' - The session ID.+newTerminateSession ::+ -- | 'sessionId'+ Prelude.Text ->+ TerminateSession+newTerminateSession pSessionId_ =+ TerminateSession' {sessionId = pSessionId_}++-- | The session ID.+terminateSession_sessionId :: Lens.Lens' TerminateSession Prelude.Text+terminateSession_sessionId = Lens.lens (\TerminateSession' {sessionId} -> sessionId) (\s@TerminateSession' {} a -> s {sessionId = a} :: TerminateSession)++instance Core.AWSRequest TerminateSession where+ type+ AWSResponse TerminateSession =+ TerminateSessionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ TerminateSessionResponse'+ Prelude.<$> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TerminateSession where+ hashWithSalt _salt TerminateSession' {..} =+ _salt `Prelude.hashWithSalt` sessionId++instance Prelude.NFData TerminateSession where+ rnf TerminateSession' {..} = Prelude.rnf sessionId++instance Data.ToHeaders TerminateSession where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.TerminateSession" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TerminateSession where+ toJSON TerminateSession' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("SessionId" Data..= sessionId)]+ )++instance Data.ToPath TerminateSession where+ toPath = Prelude.const "/"++instance Data.ToQuery TerminateSession where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTerminateSessionResponse' smart constructor.+data TerminateSessionResponse = TerminateSessionResponse'+ { -- | The state of the session. A description of each state follows.+ --+ -- @CREATING@ - The session is being started, including acquiring+ -- resources.+ --+ -- @CREATED@ - The session has been started.+ --+ -- @IDLE@ - The session is able to accept a calculation.+ --+ -- @BUSY@ - The session is processing another task and is unable to accept+ -- a calculation.+ --+ -- @TERMINATING@ - The session is in the process of shutting down.+ --+ -- @TERMINATED@ - The session and its resources are no longer running.+ --+ -- @DEGRADED@ - The session has no healthy coordinators.+ --+ -- @FAILED@ - Due to a failure, the session and its resources are no longer+ -- running.+ state :: Prelude.Maybe SessionState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TerminateSessionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'state', 'terminateSessionResponse_state' - The state of the session. A description of each state follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+--+-- 'httpStatus', 'terminateSessionResponse_httpStatus' - The response's http status code.+newTerminateSessionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TerminateSessionResponse+newTerminateSessionResponse pHttpStatus_ =+ TerminateSessionResponse'+ { state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The state of the session. A description of each state follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+terminateSessionResponse_state :: Lens.Lens' TerminateSessionResponse (Prelude.Maybe SessionState)+terminateSessionResponse_state = Lens.lens (\TerminateSessionResponse' {state} -> state) (\s@TerminateSessionResponse' {} a -> s {state = a} :: TerminateSessionResponse)++-- | The response's http status code.+terminateSessionResponse_httpStatus :: Lens.Lens' TerminateSessionResponse Prelude.Int+terminateSessionResponse_httpStatus = Lens.lens (\TerminateSessionResponse' {httpStatus} -> httpStatus) (\s@TerminateSessionResponse' {} a -> s {httpStatus = a} :: TerminateSessionResponse)++instance Prelude.NFData TerminateSessionResponse where+ rnf TerminateSessionResponse' {..} =+ Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Athena/Types.hs view
@@ -0,0 +1,691 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _InternalServerException,+ _InvalidRequestException,+ _MetadataException,+ _ResourceNotFoundException,+ _SessionAlreadyExistsException,+ _TooManyRequestsException,++ -- * CalculationExecutionState+ CalculationExecutionState (..),++ -- * ColumnNullable+ ColumnNullable (..),++ -- * DataCatalogType+ DataCatalogType (..),++ -- * EncryptionOption+ EncryptionOption (..),++ -- * ExecutorState+ ExecutorState (..),++ -- * ExecutorType+ ExecutorType (..),++ -- * NotebookType+ NotebookType (..),++ -- * QueryExecutionState+ QueryExecutionState (..),++ -- * S3AclOption+ S3AclOption (..),++ -- * SessionState+ SessionState (..),++ -- * StatementType+ StatementType (..),++ -- * WorkGroupState+ WorkGroupState (..),++ -- * AclConfiguration+ AclConfiguration (..),+ newAclConfiguration,+ aclConfiguration_s3AclOption,++ -- * ApplicationDPUSizes+ ApplicationDPUSizes (..),+ newApplicationDPUSizes,+ applicationDPUSizes_applicationRuntimeId,+ applicationDPUSizes_supportedDPUSizes,++ -- * AthenaError+ AthenaError (..),+ newAthenaError,+ athenaError_errorCategory,+ athenaError_errorMessage,+ athenaError_errorType,+ athenaError_retryable,++ -- * CalculationConfiguration+ CalculationConfiguration (..),+ newCalculationConfiguration,+ calculationConfiguration_codeBlock,++ -- * CalculationResult+ CalculationResult (..),+ newCalculationResult,+ calculationResult_resultS3Uri,+ calculationResult_resultType,+ calculationResult_stdErrorS3Uri,+ calculationResult_stdOutS3Uri,++ -- * CalculationStatistics+ CalculationStatistics (..),+ newCalculationStatistics,+ calculationStatistics_dpuExecutionInMillis,+ calculationStatistics_progress,++ -- * CalculationStatus+ CalculationStatus (..),+ newCalculationStatus,+ calculationStatus_completionDateTime,+ calculationStatus_state,+ calculationStatus_stateChangeReason,+ calculationStatus_submissionDateTime,++ -- * CalculationSummary+ CalculationSummary (..),+ newCalculationSummary,+ calculationSummary_calculationExecutionId,+ calculationSummary_description,+ calculationSummary_status,++ -- * Column+ Column (..),+ newColumn,+ column_comment,+ column_type,+ column_name,++ -- * ColumnInfo+ ColumnInfo (..),+ newColumnInfo,+ columnInfo_caseSensitive,+ columnInfo_catalogName,+ columnInfo_label,+ columnInfo_nullable,+ columnInfo_precision,+ columnInfo_scale,+ columnInfo_schemaName,+ columnInfo_tableName,+ columnInfo_name,+ columnInfo_type,++ -- * CustomerContentEncryptionConfiguration+ CustomerContentEncryptionConfiguration (..),+ newCustomerContentEncryptionConfiguration,+ customerContentEncryptionConfiguration_kmsKey,++ -- * DataCatalog+ DataCatalog (..),+ newDataCatalog,+ dataCatalog_description,+ dataCatalog_parameters,+ dataCatalog_name,+ dataCatalog_type,++ -- * DataCatalogSummary+ DataCatalogSummary (..),+ newDataCatalogSummary,+ dataCatalogSummary_catalogName,+ dataCatalogSummary_type,++ -- * Database+ Database (..),+ newDatabase,+ database_description,+ database_parameters,+ database_name,++ -- * Datum+ Datum (..),+ newDatum,+ datum_varCharValue,++ -- * EncryptionConfiguration+ EncryptionConfiguration (..),+ newEncryptionConfiguration,+ encryptionConfiguration_kmsKey,+ encryptionConfiguration_encryptionOption,++ -- * EngineConfiguration+ EngineConfiguration (..),+ newEngineConfiguration,+ engineConfiguration_additionalConfigs,+ engineConfiguration_coordinatorDpuSize,+ engineConfiguration_defaultExecutorDpuSize,+ engineConfiguration_maxConcurrentDpus,++ -- * EngineVersion+ EngineVersion (..),+ newEngineVersion,+ engineVersion_effectiveEngineVersion,+ engineVersion_selectedEngineVersion,++ -- * ExecutorsSummary+ ExecutorsSummary (..),+ newExecutorsSummary,+ executorsSummary_executorSize,+ executorsSummary_executorState,+ executorsSummary_executorType,+ executorsSummary_startDateTime,+ executorsSummary_terminationDateTime,+ executorsSummary_executorId,++ -- * FilterDefinition+ FilterDefinition (..),+ newFilterDefinition,+ filterDefinition_name,++ -- * NamedQuery+ NamedQuery (..),+ newNamedQuery,+ namedQuery_description,+ namedQuery_namedQueryId,+ namedQuery_workGroup,+ namedQuery_name,+ namedQuery_database,+ namedQuery_queryString,++ -- * NotebookMetadata+ NotebookMetadata (..),+ newNotebookMetadata,+ notebookMetadata_creationTime,+ notebookMetadata_lastModifiedTime,+ notebookMetadata_name,+ notebookMetadata_notebookId,+ notebookMetadata_type,+ notebookMetadata_workGroup,++ -- * NotebookSessionSummary+ NotebookSessionSummary (..),+ newNotebookSessionSummary,+ notebookSessionSummary_creationTime,+ notebookSessionSummary_sessionId,++ -- * PreparedStatement+ PreparedStatement (..),+ newPreparedStatement,+ preparedStatement_description,+ preparedStatement_lastModifiedTime,+ preparedStatement_queryStatement,+ preparedStatement_statementName,+ preparedStatement_workGroupName,++ -- * PreparedStatementSummary+ PreparedStatementSummary (..),+ newPreparedStatementSummary,+ preparedStatementSummary_lastModifiedTime,+ preparedStatementSummary_statementName,++ -- * QueryExecution+ QueryExecution (..),+ newQueryExecution,+ queryExecution_engineVersion,+ queryExecution_executionParameters,+ queryExecution_query,+ queryExecution_queryExecutionContext,+ queryExecution_queryExecutionId,+ queryExecution_resultConfiguration,+ queryExecution_resultReuseConfiguration,+ queryExecution_statementType,+ queryExecution_statistics,+ queryExecution_status,+ queryExecution_workGroup,++ -- * QueryExecutionContext+ QueryExecutionContext (..),+ newQueryExecutionContext,+ queryExecutionContext_catalog,+ queryExecutionContext_database,++ -- * QueryExecutionStatistics+ QueryExecutionStatistics (..),+ newQueryExecutionStatistics,+ queryExecutionStatistics_dataManifestLocation,+ queryExecutionStatistics_dataScannedInBytes,+ queryExecutionStatistics_engineExecutionTimeInMillis,+ queryExecutionStatistics_queryPlanningTimeInMillis,+ queryExecutionStatistics_queryQueueTimeInMillis,+ queryExecutionStatistics_resultReuseInformation,+ queryExecutionStatistics_serviceProcessingTimeInMillis,+ queryExecutionStatistics_totalExecutionTimeInMillis,++ -- * QueryExecutionStatus+ QueryExecutionStatus (..),+ newQueryExecutionStatus,+ queryExecutionStatus_athenaError,+ queryExecutionStatus_completionDateTime,+ queryExecutionStatus_state,+ queryExecutionStatus_stateChangeReason,+ queryExecutionStatus_submissionDateTime,++ -- * QueryRuntimeStatistics+ QueryRuntimeStatistics (..),+ newQueryRuntimeStatistics,+ queryRuntimeStatistics_outputStage,+ queryRuntimeStatistics_rows,+ queryRuntimeStatistics_timeline,++ -- * QueryRuntimeStatisticsRows+ QueryRuntimeStatisticsRows (..),+ newQueryRuntimeStatisticsRows,+ queryRuntimeStatisticsRows_inputBytes,+ queryRuntimeStatisticsRows_inputRows,+ queryRuntimeStatisticsRows_outputBytes,+ queryRuntimeStatisticsRows_outputRows,++ -- * QueryRuntimeStatisticsTimeline+ QueryRuntimeStatisticsTimeline (..),+ newQueryRuntimeStatisticsTimeline,+ queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis,+ queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis,+ queryRuntimeStatisticsTimeline_queryQueueTimeInMillis,+ queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis,+ queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis,++ -- * QueryStage+ QueryStage (..),+ newQueryStage,+ queryStage_executionTime,+ queryStage_inputBytes,+ queryStage_inputRows,+ queryStage_outputBytes,+ queryStage_outputRows,+ queryStage_queryStagePlan,+ queryStage_stageId,+ queryStage_state,+ queryStage_subStages,++ -- * QueryStagePlanNode+ QueryStagePlanNode (..),+ newQueryStagePlanNode,+ queryStagePlanNode_children,+ queryStagePlanNode_identifier,+ queryStagePlanNode_name,+ queryStagePlanNode_remoteSources,++ -- * ResultConfiguration+ ResultConfiguration (..),+ newResultConfiguration,+ resultConfiguration_aclConfiguration,+ resultConfiguration_encryptionConfiguration,+ resultConfiguration_expectedBucketOwner,+ resultConfiguration_outputLocation,++ -- * ResultConfigurationUpdates+ ResultConfigurationUpdates (..),+ newResultConfigurationUpdates,+ resultConfigurationUpdates_aclConfiguration,+ resultConfigurationUpdates_encryptionConfiguration,+ resultConfigurationUpdates_expectedBucketOwner,+ resultConfigurationUpdates_outputLocation,+ resultConfigurationUpdates_removeAclConfiguration,+ resultConfigurationUpdates_removeEncryptionConfiguration,+ resultConfigurationUpdates_removeExpectedBucketOwner,+ resultConfigurationUpdates_removeOutputLocation,++ -- * ResultReuseByAgeConfiguration+ ResultReuseByAgeConfiguration (..),+ newResultReuseByAgeConfiguration,+ resultReuseByAgeConfiguration_maxAgeInMinutes,+ resultReuseByAgeConfiguration_enabled,++ -- * ResultReuseConfiguration+ ResultReuseConfiguration (..),+ newResultReuseConfiguration,+ resultReuseConfiguration_resultReuseByAgeConfiguration,++ -- * ResultReuseInformation+ ResultReuseInformation (..),+ newResultReuseInformation,+ resultReuseInformation_reusedPreviousResult,++ -- * ResultSet+ ResultSet (..),+ newResultSet,+ resultSet_resultSetMetadata,+ resultSet_rows,++ -- * ResultSetMetadata+ ResultSetMetadata (..),+ newResultSetMetadata,+ resultSetMetadata_columnInfo,++ -- * Row+ Row (..),+ newRow,+ row_data,++ -- * SessionConfiguration+ SessionConfiguration (..),+ newSessionConfiguration,+ sessionConfiguration_encryptionConfiguration,+ sessionConfiguration_executionRole,+ sessionConfiguration_idleTimeoutSeconds,+ sessionConfiguration_workingDirectory,++ -- * SessionStatistics+ SessionStatistics (..),+ newSessionStatistics,+ sessionStatistics_dpuExecutionInMillis,++ -- * SessionStatus+ SessionStatus (..),+ newSessionStatus,+ sessionStatus_endDateTime,+ sessionStatus_idleSinceDateTime,+ sessionStatus_lastModifiedDateTime,+ sessionStatus_startDateTime,+ sessionStatus_state,+ sessionStatus_stateChangeReason,++ -- * SessionSummary+ SessionSummary (..),+ newSessionSummary,+ sessionSummary_description,+ sessionSummary_engineVersion,+ sessionSummary_notebookVersion,+ sessionSummary_sessionId,+ sessionSummary_status,++ -- * TableMetadata+ TableMetadata (..),+ newTableMetadata,+ tableMetadata_columns,+ tableMetadata_createTime,+ tableMetadata_lastAccessTime,+ tableMetadata_parameters,+ tableMetadata_partitionKeys,+ tableMetadata_tableType,+ tableMetadata_name,++ -- * Tag+ Tag (..),+ newTag,+ tag_key,+ tag_value,++ -- * UnprocessedNamedQueryId+ UnprocessedNamedQueryId (..),+ newUnprocessedNamedQueryId,+ unprocessedNamedQueryId_errorCode,+ unprocessedNamedQueryId_errorMessage,+ unprocessedNamedQueryId_namedQueryId,++ -- * UnprocessedPreparedStatementName+ UnprocessedPreparedStatementName (..),+ newUnprocessedPreparedStatementName,+ unprocessedPreparedStatementName_errorCode,+ unprocessedPreparedStatementName_errorMessage,+ unprocessedPreparedStatementName_statementName,++ -- * UnprocessedQueryExecutionId+ UnprocessedQueryExecutionId (..),+ newUnprocessedQueryExecutionId,+ unprocessedQueryExecutionId_errorCode,+ unprocessedQueryExecutionId_errorMessage,+ unprocessedQueryExecutionId_queryExecutionId,++ -- * WorkGroup+ WorkGroup (..),+ newWorkGroup,+ workGroup_configuration,+ workGroup_creationTime,+ workGroup_description,+ workGroup_state,+ workGroup_name,++ -- * WorkGroupConfiguration+ WorkGroupConfiguration (..),+ newWorkGroupConfiguration,+ workGroupConfiguration_additionalConfiguration,+ workGroupConfiguration_bytesScannedCutoffPerQuery,+ workGroupConfiguration_customerContentEncryptionConfiguration,+ workGroupConfiguration_enforceWorkGroupConfiguration,+ workGroupConfiguration_engineVersion,+ workGroupConfiguration_executionRole,+ workGroupConfiguration_publishCloudWatchMetricsEnabled,+ workGroupConfiguration_requesterPaysEnabled,+ workGroupConfiguration_resultConfiguration,++ -- * WorkGroupConfigurationUpdates+ WorkGroupConfigurationUpdates (..),+ newWorkGroupConfigurationUpdates,+ workGroupConfigurationUpdates_additionalConfiguration,+ workGroupConfigurationUpdates_bytesScannedCutoffPerQuery,+ workGroupConfigurationUpdates_customerContentEncryptionConfiguration,+ workGroupConfigurationUpdates_enforceWorkGroupConfiguration,+ workGroupConfigurationUpdates_engineVersion,+ workGroupConfigurationUpdates_executionRole,+ workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled,+ workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery,+ workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration,+ workGroupConfigurationUpdates_requesterPaysEnabled,+ workGroupConfigurationUpdates_resultConfigurationUpdates,++ -- * WorkGroupSummary+ WorkGroupSummary (..),+ newWorkGroupSummary,+ workGroupSummary_creationTime,+ workGroupSummary_description,+ workGroupSummary_engineVersion,+ workGroupSummary_name,+ workGroupSummary_state,+ )+where++import Amazonka.Athena.Types.AclConfiguration+import Amazonka.Athena.Types.ApplicationDPUSizes+import Amazonka.Athena.Types.AthenaError+import Amazonka.Athena.Types.CalculationConfiguration+import Amazonka.Athena.Types.CalculationExecutionState+import Amazonka.Athena.Types.CalculationResult+import Amazonka.Athena.Types.CalculationStatistics+import Amazonka.Athena.Types.CalculationStatus+import Amazonka.Athena.Types.CalculationSummary+import Amazonka.Athena.Types.Column+import Amazonka.Athena.Types.ColumnInfo+import Amazonka.Athena.Types.ColumnNullable+import Amazonka.Athena.Types.CustomerContentEncryptionConfiguration+import Amazonka.Athena.Types.DataCatalog+import Amazonka.Athena.Types.DataCatalogSummary+import Amazonka.Athena.Types.DataCatalogType+import Amazonka.Athena.Types.Database+import Amazonka.Athena.Types.Datum+import Amazonka.Athena.Types.EncryptionConfiguration+import Amazonka.Athena.Types.EncryptionOption+import Amazonka.Athena.Types.EngineConfiguration+import Amazonka.Athena.Types.EngineVersion+import Amazonka.Athena.Types.ExecutorState+import Amazonka.Athena.Types.ExecutorType+import Amazonka.Athena.Types.ExecutorsSummary+import Amazonka.Athena.Types.FilterDefinition+import Amazonka.Athena.Types.NamedQuery+import Amazonka.Athena.Types.NotebookMetadata+import Amazonka.Athena.Types.NotebookSessionSummary+import Amazonka.Athena.Types.NotebookType+import Amazonka.Athena.Types.PreparedStatement+import Amazonka.Athena.Types.PreparedStatementSummary+import Amazonka.Athena.Types.QueryExecution+import Amazonka.Athena.Types.QueryExecutionContext+import Amazonka.Athena.Types.QueryExecutionState+import Amazonka.Athena.Types.QueryExecutionStatistics+import Amazonka.Athena.Types.QueryExecutionStatus+import Amazonka.Athena.Types.QueryRuntimeStatistics+import Amazonka.Athena.Types.QueryRuntimeStatisticsRows+import Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline+import Amazonka.Athena.Types.QueryStage+import Amazonka.Athena.Types.QueryStagePlanNode+import Amazonka.Athena.Types.ResultConfiguration+import Amazonka.Athena.Types.ResultConfigurationUpdates+import Amazonka.Athena.Types.ResultReuseByAgeConfiguration+import Amazonka.Athena.Types.ResultReuseConfiguration+import Amazonka.Athena.Types.ResultReuseInformation+import Amazonka.Athena.Types.ResultSet+import Amazonka.Athena.Types.ResultSetMetadata+import Amazonka.Athena.Types.Row+import Amazonka.Athena.Types.S3AclOption+import Amazonka.Athena.Types.SessionConfiguration+import Amazonka.Athena.Types.SessionState+import Amazonka.Athena.Types.SessionStatistics+import Amazonka.Athena.Types.SessionStatus+import Amazonka.Athena.Types.SessionSummary+import Amazonka.Athena.Types.StatementType+import Amazonka.Athena.Types.TableMetadata+import Amazonka.Athena.Types.Tag+import Amazonka.Athena.Types.UnprocessedNamedQueryId+import Amazonka.Athena.Types.UnprocessedPreparedStatementName+import Amazonka.Athena.Types.UnprocessedQueryExecutionId+import Amazonka.Athena.Types.WorkGroup+import Amazonka.Athena.Types.WorkGroupConfiguration+import Amazonka.Athena.Types.WorkGroupConfigurationUpdates+import Amazonka.Athena.Types.WorkGroupState+import Amazonka.Athena.Types.WorkGroupSummary+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2017-05-18@ of the Amazon Athena SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "Athena",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "athena",+ Core.signingName = "athena",+ Core.version = "2017-05-18",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "Athena",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | Indicates a platform issue, which may be due to a transient condition or+-- outage.+_InternalServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalServerException =+ Core._MatchServiceError+ defaultService+ "InternalServerException"++-- | Indicates that something is wrong with the input to the request. For+-- example, a required parameter may be missing or out of range.+_InvalidRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidRequestException =+ Core._MatchServiceError+ defaultService+ "InvalidRequestException"++-- | An exception that Athena received when it called a custom metastore.+-- Occurs if the error is not caused by user input+-- (@InvalidRequestException@) or from the Athena platform+-- (@InternalServerException@). For example, if a user-created Lambda+-- function is missing permissions, the Lambda @4XX@ exception is returned+-- in a @MetadataException@.+_MetadataException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MetadataException =+ Core._MatchServiceError+ defaultService+ "MetadataException"++-- | A resource, such as a workgroup, was not found.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"++-- | The specified session already exists.+_SessionAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_SessionAlreadyExistsException =+ Core._MatchServiceError+ defaultService+ "SessionAlreadyExistsException"++-- | Indicates that the request was throttled.+_TooManyRequestsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyRequestsException =+ Core._MatchServiceError+ defaultService+ "TooManyRequestsException"
+ gen/Amazonka/Athena/Types/AclConfiguration.hs view
@@ -0,0 +1,104 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.AclConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.AclConfiguration where++import Amazonka.Athena.Types.S3AclOption+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Indicates that an Amazon S3 canned ACL should be set to control+-- ownership of stored query results. When Athena stores query results in+-- Amazon S3, the canned ACL is set with the @x-amz-acl@ request header.+-- For more information about S3 Object Ownership, see+-- <https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html#object-ownership-overview Object Ownership settings>+-- in the /Amazon S3 User Guide/.+--+-- /See:/ 'newAclConfiguration' smart constructor.+data AclConfiguration = AclConfiguration'+ { -- | The Amazon S3 canned ACL that Athena should specify when storing query+ -- results. Currently the only supported canned ACL is+ -- @BUCKET_OWNER_FULL_CONTROL@. If a query runs in a workgroup and the+ -- workgroup overrides client-side settings, then the Amazon S3 canned ACL+ -- specified in the workgroup\'s settings is used for all queries that run+ -- in the workgroup. For more information about Amazon S3 canned ACLs, see+ -- <https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl Canned ACL>+ -- in the /Amazon S3 User Guide/.+ s3AclOption :: S3AclOption+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AclConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 's3AclOption', 'aclConfiguration_s3AclOption' - The Amazon S3 canned ACL that Athena should specify when storing query+-- results. Currently the only supported canned ACL is+-- @BUCKET_OWNER_FULL_CONTROL@. If a query runs in a workgroup and the+-- workgroup overrides client-side settings, then the Amazon S3 canned ACL+-- specified in the workgroup\'s settings is used for all queries that run+-- in the workgroup. For more information about Amazon S3 canned ACLs, see+-- <https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl Canned ACL>+-- in the /Amazon S3 User Guide/.+newAclConfiguration ::+ -- | 's3AclOption'+ S3AclOption ->+ AclConfiguration+newAclConfiguration pS3AclOption_ =+ AclConfiguration' {s3AclOption = pS3AclOption_}++-- | The Amazon S3 canned ACL that Athena should specify when storing query+-- results. Currently the only supported canned ACL is+-- @BUCKET_OWNER_FULL_CONTROL@. If a query runs in a workgroup and the+-- workgroup overrides client-side settings, then the Amazon S3 canned ACL+-- specified in the workgroup\'s settings is used for all queries that run+-- in the workgroup. For more information about Amazon S3 canned ACLs, see+-- <https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl Canned ACL>+-- in the /Amazon S3 User Guide/.+aclConfiguration_s3AclOption :: Lens.Lens' AclConfiguration S3AclOption+aclConfiguration_s3AclOption = Lens.lens (\AclConfiguration' {s3AclOption} -> s3AclOption) (\s@AclConfiguration' {} a -> s {s3AclOption = a} :: AclConfiguration)++instance Data.FromJSON AclConfiguration where+ parseJSON =+ Data.withObject+ "AclConfiguration"+ ( \x ->+ AclConfiguration'+ Prelude.<$> (x Data..: "S3AclOption")+ )++instance Prelude.Hashable AclConfiguration where+ hashWithSalt _salt AclConfiguration' {..} =+ _salt `Prelude.hashWithSalt` s3AclOption++instance Prelude.NFData AclConfiguration where+ rnf AclConfiguration' {..} = Prelude.rnf s3AclOption++instance Data.ToJSON AclConfiguration where+ toJSON AclConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("S3AclOption" Data..= s3AclOption)]+ )
+ gen/Amazonka/Athena/Types/ApplicationDPUSizes.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ApplicationDPUSizes+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ApplicationDPUSizes where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the application runtime IDs and their supported DPU sizes.+--+-- /See:/ 'newApplicationDPUSizes' smart constructor.+data ApplicationDPUSizes = ApplicationDPUSizes'+ { -- | The name of the supported application runtime (for example,+ -- @Jupyter 1.0@).+ applicationRuntimeId :: Prelude.Maybe Prelude.Text,+ -- | A list of the supported DPU sizes that the application runtime supports.+ supportedDPUSizes :: Prelude.Maybe [Prelude.Int]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ApplicationDPUSizes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'applicationRuntimeId', 'applicationDPUSizes_applicationRuntimeId' - The name of the supported application runtime (for example,+-- @Jupyter 1.0@).+--+-- 'supportedDPUSizes', 'applicationDPUSizes_supportedDPUSizes' - A list of the supported DPU sizes that the application runtime supports.+newApplicationDPUSizes ::+ ApplicationDPUSizes+newApplicationDPUSizes =+ ApplicationDPUSizes'+ { applicationRuntimeId =+ Prelude.Nothing,+ supportedDPUSizes = Prelude.Nothing+ }++-- | The name of the supported application runtime (for example,+-- @Jupyter 1.0@).+applicationDPUSizes_applicationRuntimeId :: Lens.Lens' ApplicationDPUSizes (Prelude.Maybe Prelude.Text)+applicationDPUSizes_applicationRuntimeId = Lens.lens (\ApplicationDPUSizes' {applicationRuntimeId} -> applicationRuntimeId) (\s@ApplicationDPUSizes' {} a -> s {applicationRuntimeId = a} :: ApplicationDPUSizes)++-- | A list of the supported DPU sizes that the application runtime supports.+applicationDPUSizes_supportedDPUSizes :: Lens.Lens' ApplicationDPUSizes (Prelude.Maybe [Prelude.Int])+applicationDPUSizes_supportedDPUSizes = Lens.lens (\ApplicationDPUSizes' {supportedDPUSizes} -> supportedDPUSizes) (\s@ApplicationDPUSizes' {} a -> s {supportedDPUSizes = a} :: ApplicationDPUSizes) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ApplicationDPUSizes where+ parseJSON =+ Data.withObject+ "ApplicationDPUSizes"+ ( \x ->+ ApplicationDPUSizes'+ Prelude.<$> (x Data..:? "ApplicationRuntimeId")+ Prelude.<*> ( x+ Data..:? "SupportedDPUSizes"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable ApplicationDPUSizes where+ hashWithSalt _salt ApplicationDPUSizes' {..} =+ _salt+ `Prelude.hashWithSalt` applicationRuntimeId+ `Prelude.hashWithSalt` supportedDPUSizes++instance Prelude.NFData ApplicationDPUSizes where+ rnf ApplicationDPUSizes' {..} =+ Prelude.rnf applicationRuntimeId+ `Prelude.seq` Prelude.rnf supportedDPUSizes
+ gen/Amazonka/Athena/Types/AthenaError.hs view
@@ -0,0 +1,143 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.AthenaError+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.AthenaError where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Provides information about an Athena query error. The @AthenaError@+-- feature provides standardized error information to help you understand+-- failed queries and take steps after a query failure occurs.+-- @AthenaError@ includes an @ErrorCategory@ field that specifies whether+-- the cause of the failed query is due to system error, user error, or+-- other error.+--+-- /See:/ 'newAthenaError' smart constructor.+data AthenaError = AthenaError'+ { -- | An integer value that specifies the category of a query failure error.+ -- The following list shows the category for each integer value.+ --+ -- __1__ - System+ --+ -- __2__ - User+ --+ -- __3__ - Other+ errorCategory :: Prelude.Maybe Prelude.Natural,+ -- | Contains a short description of the error that occurred.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | An integer value that provides specific information about an Athena+ -- query error. For the meaning of specific values, see the+ -- <https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference Error Type Reference>+ -- in the /Amazon Athena User Guide/.+ errorType :: Prelude.Maybe Prelude.Natural,+ -- | True if the query might succeed if resubmitted.+ retryable :: Prelude.Maybe Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AthenaError' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCategory', 'athenaError_errorCategory' - An integer value that specifies the category of a query failure error.+-- The following list shows the category for each integer value.+--+-- __1__ - System+--+-- __2__ - User+--+-- __3__ - Other+--+-- 'errorMessage', 'athenaError_errorMessage' - Contains a short description of the error that occurred.+--+-- 'errorType', 'athenaError_errorType' - An integer value that provides specific information about an Athena+-- query error. For the meaning of specific values, see the+-- <https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference Error Type Reference>+-- in the /Amazon Athena User Guide/.+--+-- 'retryable', 'athenaError_retryable' - True if the query might succeed if resubmitted.+newAthenaError ::+ AthenaError+newAthenaError =+ AthenaError'+ { errorCategory = Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ errorType = Prelude.Nothing,+ retryable = Prelude.Nothing+ }++-- | An integer value that specifies the category of a query failure error.+-- The following list shows the category for each integer value.+--+-- __1__ - System+--+-- __2__ - User+--+-- __3__ - Other+athenaError_errorCategory :: Lens.Lens' AthenaError (Prelude.Maybe Prelude.Natural)+athenaError_errorCategory = Lens.lens (\AthenaError' {errorCategory} -> errorCategory) (\s@AthenaError' {} a -> s {errorCategory = a} :: AthenaError)++-- | Contains a short description of the error that occurred.+athenaError_errorMessage :: Lens.Lens' AthenaError (Prelude.Maybe Prelude.Text)+athenaError_errorMessage = Lens.lens (\AthenaError' {errorMessage} -> errorMessage) (\s@AthenaError' {} a -> s {errorMessage = a} :: AthenaError)++-- | An integer value that provides specific information about an Athena+-- query error. For the meaning of specific values, see the+-- <https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference Error Type Reference>+-- in the /Amazon Athena User Guide/.+athenaError_errorType :: Lens.Lens' AthenaError (Prelude.Maybe Prelude.Natural)+athenaError_errorType = Lens.lens (\AthenaError' {errorType} -> errorType) (\s@AthenaError' {} a -> s {errorType = a} :: AthenaError)++-- | True if the query might succeed if resubmitted.+athenaError_retryable :: Lens.Lens' AthenaError (Prelude.Maybe Prelude.Bool)+athenaError_retryable = Lens.lens (\AthenaError' {retryable} -> retryable) (\s@AthenaError' {} a -> s {retryable = a} :: AthenaError)++instance Data.FromJSON AthenaError where+ parseJSON =+ Data.withObject+ "AthenaError"+ ( \x ->+ AthenaError'+ Prelude.<$> (x Data..:? "ErrorCategory")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "ErrorType")+ Prelude.<*> (x Data..:? "Retryable")+ )++instance Prelude.Hashable AthenaError where+ hashWithSalt _salt AthenaError' {..} =+ _salt+ `Prelude.hashWithSalt` errorCategory+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` errorType+ `Prelude.hashWithSalt` retryable++instance Prelude.NFData AthenaError where+ rnf AthenaError' {..} =+ Prelude.rnf errorCategory+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf errorType+ `Prelude.seq` Prelude.rnf retryable
+ gen/Amazonka/Athena/Types/CalculationConfiguration.hs view
@@ -0,0 +1,70 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.CalculationConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.CalculationConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains configuration information for the calculation.+--+-- /See:/ 'newCalculationConfiguration' smart constructor.+data CalculationConfiguration = CalculationConfiguration'+ { -- | A string that contains the code for the calculation.+ codeBlock :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CalculationConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'codeBlock', 'calculationConfiguration_codeBlock' - A string that contains the code for the calculation.+newCalculationConfiguration ::+ CalculationConfiguration+newCalculationConfiguration =+ CalculationConfiguration'+ { codeBlock =+ Prelude.Nothing+ }++-- | A string that contains the code for the calculation.+calculationConfiguration_codeBlock :: Lens.Lens' CalculationConfiguration (Prelude.Maybe Prelude.Text)+calculationConfiguration_codeBlock = Lens.lens (\CalculationConfiguration' {codeBlock} -> codeBlock) (\s@CalculationConfiguration' {} a -> s {codeBlock = a} :: CalculationConfiguration)++instance Prelude.Hashable CalculationConfiguration where+ hashWithSalt _salt CalculationConfiguration' {..} =+ _salt `Prelude.hashWithSalt` codeBlock++instance Prelude.NFData CalculationConfiguration where+ rnf CalculationConfiguration' {..} =+ Prelude.rnf codeBlock++instance Data.ToJSON CalculationConfiguration where+ toJSON CalculationConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [("CodeBlock" Data..=) Prelude.<$> codeBlock]+ )
+ gen/Amazonka/Athena/Types/CalculationExecutionState.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.CalculationExecutionState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.CalculationExecutionState+ ( CalculationExecutionState+ ( ..,+ CalculationExecutionState_CANCELED,+ CalculationExecutionState_CANCELING,+ CalculationExecutionState_COMPLETED,+ CalculationExecutionState_CREATED,+ CalculationExecutionState_CREATING,+ CalculationExecutionState_FAILED,+ CalculationExecutionState_QUEUED,+ CalculationExecutionState_RUNNING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CalculationExecutionState = CalculationExecutionState'+ { fromCalculationExecutionState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CalculationExecutionState_CANCELED :: CalculationExecutionState+pattern CalculationExecutionState_CANCELED = CalculationExecutionState' "CANCELED"++pattern CalculationExecutionState_CANCELING :: CalculationExecutionState+pattern CalculationExecutionState_CANCELING = CalculationExecutionState' "CANCELING"++pattern CalculationExecutionState_COMPLETED :: CalculationExecutionState+pattern CalculationExecutionState_COMPLETED = CalculationExecutionState' "COMPLETED"++pattern CalculationExecutionState_CREATED :: CalculationExecutionState+pattern CalculationExecutionState_CREATED = CalculationExecutionState' "CREATED"++pattern CalculationExecutionState_CREATING :: CalculationExecutionState+pattern CalculationExecutionState_CREATING = CalculationExecutionState' "CREATING"++pattern CalculationExecutionState_FAILED :: CalculationExecutionState+pattern CalculationExecutionState_FAILED = CalculationExecutionState' "FAILED"++pattern CalculationExecutionState_QUEUED :: CalculationExecutionState+pattern CalculationExecutionState_QUEUED = CalculationExecutionState' "QUEUED"++pattern CalculationExecutionState_RUNNING :: CalculationExecutionState+pattern CalculationExecutionState_RUNNING = CalculationExecutionState' "RUNNING"++{-# COMPLETE+ CalculationExecutionState_CANCELED,+ CalculationExecutionState_CANCELING,+ CalculationExecutionState_COMPLETED,+ CalculationExecutionState_CREATED,+ CalculationExecutionState_CREATING,+ CalculationExecutionState_FAILED,+ CalculationExecutionState_QUEUED,+ CalculationExecutionState_RUNNING,+ CalculationExecutionState'+ #-}
+ gen/Amazonka/Athena/Types/CalculationResult.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.CalculationResult+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.CalculationResult where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about an application-specific calculation result.+--+-- /See:/ 'newCalculationResult' smart constructor.+data CalculationResult = CalculationResult'+ { -- | The Amazon S3 location of the folder for the calculation results.+ resultS3Uri :: Prelude.Maybe Prelude.Text,+ -- | The data format of the calculation result.+ resultType :: Prelude.Maybe Prelude.Text,+ -- | The Amazon S3 location of the @stderr@ error messages file for the+ -- calculation.+ stdErrorS3Uri :: Prelude.Maybe Prelude.Text,+ -- | The Amazon S3 location of the @stdout@ file for the calculation.+ stdOutS3Uri :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CalculationResult' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resultS3Uri', 'calculationResult_resultS3Uri' - The Amazon S3 location of the folder for the calculation results.+--+-- 'resultType', 'calculationResult_resultType' - The data format of the calculation result.+--+-- 'stdErrorS3Uri', 'calculationResult_stdErrorS3Uri' - The Amazon S3 location of the @stderr@ error messages file for the+-- calculation.+--+-- 'stdOutS3Uri', 'calculationResult_stdOutS3Uri' - The Amazon S3 location of the @stdout@ file for the calculation.+newCalculationResult ::+ CalculationResult+newCalculationResult =+ CalculationResult'+ { resultS3Uri = Prelude.Nothing,+ resultType = Prelude.Nothing,+ stdErrorS3Uri = Prelude.Nothing,+ stdOutS3Uri = Prelude.Nothing+ }++-- | The Amazon S3 location of the folder for the calculation results.+calculationResult_resultS3Uri :: Lens.Lens' CalculationResult (Prelude.Maybe Prelude.Text)+calculationResult_resultS3Uri = Lens.lens (\CalculationResult' {resultS3Uri} -> resultS3Uri) (\s@CalculationResult' {} a -> s {resultS3Uri = a} :: CalculationResult)++-- | The data format of the calculation result.+calculationResult_resultType :: Lens.Lens' CalculationResult (Prelude.Maybe Prelude.Text)+calculationResult_resultType = Lens.lens (\CalculationResult' {resultType} -> resultType) (\s@CalculationResult' {} a -> s {resultType = a} :: CalculationResult)++-- | The Amazon S3 location of the @stderr@ error messages file for the+-- calculation.+calculationResult_stdErrorS3Uri :: Lens.Lens' CalculationResult (Prelude.Maybe Prelude.Text)+calculationResult_stdErrorS3Uri = Lens.lens (\CalculationResult' {stdErrorS3Uri} -> stdErrorS3Uri) (\s@CalculationResult' {} a -> s {stdErrorS3Uri = a} :: CalculationResult)++-- | The Amazon S3 location of the @stdout@ file for the calculation.+calculationResult_stdOutS3Uri :: Lens.Lens' CalculationResult (Prelude.Maybe Prelude.Text)+calculationResult_stdOutS3Uri = Lens.lens (\CalculationResult' {stdOutS3Uri} -> stdOutS3Uri) (\s@CalculationResult' {} a -> s {stdOutS3Uri = a} :: CalculationResult)++instance Data.FromJSON CalculationResult where+ parseJSON =+ Data.withObject+ "CalculationResult"+ ( \x ->+ CalculationResult'+ Prelude.<$> (x Data..:? "ResultS3Uri")+ Prelude.<*> (x Data..:? "ResultType")+ Prelude.<*> (x Data..:? "StdErrorS3Uri")+ Prelude.<*> (x Data..:? "StdOutS3Uri")+ )++instance Prelude.Hashable CalculationResult where+ hashWithSalt _salt CalculationResult' {..} =+ _salt+ `Prelude.hashWithSalt` resultS3Uri+ `Prelude.hashWithSalt` resultType+ `Prelude.hashWithSalt` stdErrorS3Uri+ `Prelude.hashWithSalt` stdOutS3Uri++instance Prelude.NFData CalculationResult where+ rnf CalculationResult' {..} =+ Prelude.rnf resultS3Uri+ `Prelude.seq` Prelude.rnf resultType+ `Prelude.seq` Prelude.rnf stdErrorS3Uri+ `Prelude.seq` Prelude.rnf stdOutS3Uri
+ gen/Amazonka/Athena/Types/CalculationStatistics.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.CalculationStatistics+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.CalculationStatistics where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains statistics for a notebook calculation.+--+-- /See:/ 'newCalculationStatistics' smart constructor.+data CalculationStatistics = CalculationStatistics'+ { -- | The data processing unit execution time in milliseconds for the+ -- calculation.+ dpuExecutionInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The progress of the calculation.+ progress :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CalculationStatistics' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dpuExecutionInMillis', 'calculationStatistics_dpuExecutionInMillis' - The data processing unit execution time in milliseconds for the+-- calculation.+--+-- 'progress', 'calculationStatistics_progress' - The progress of the calculation.+newCalculationStatistics ::+ CalculationStatistics+newCalculationStatistics =+ CalculationStatistics'+ { dpuExecutionInMillis =+ Prelude.Nothing,+ progress = Prelude.Nothing+ }++-- | The data processing unit execution time in milliseconds for the+-- calculation.+calculationStatistics_dpuExecutionInMillis :: Lens.Lens' CalculationStatistics (Prelude.Maybe Prelude.Integer)+calculationStatistics_dpuExecutionInMillis = Lens.lens (\CalculationStatistics' {dpuExecutionInMillis} -> dpuExecutionInMillis) (\s@CalculationStatistics' {} a -> s {dpuExecutionInMillis = a} :: CalculationStatistics)++-- | The progress of the calculation.+calculationStatistics_progress :: Lens.Lens' CalculationStatistics (Prelude.Maybe Prelude.Text)+calculationStatistics_progress = Lens.lens (\CalculationStatistics' {progress} -> progress) (\s@CalculationStatistics' {} a -> s {progress = a} :: CalculationStatistics)++instance Data.FromJSON CalculationStatistics where+ parseJSON =+ Data.withObject+ "CalculationStatistics"+ ( \x ->+ CalculationStatistics'+ Prelude.<$> (x Data..:? "DpuExecutionInMillis")+ Prelude.<*> (x Data..:? "Progress")+ )++instance Prelude.Hashable CalculationStatistics where+ hashWithSalt _salt CalculationStatistics' {..} =+ _salt+ `Prelude.hashWithSalt` dpuExecutionInMillis+ `Prelude.hashWithSalt` progress++instance Prelude.NFData CalculationStatistics where+ rnf CalculationStatistics' {..} =+ Prelude.rnf dpuExecutionInMillis+ `Prelude.seq` Prelude.rnf progress
+ gen/Amazonka/Athena/Types/CalculationStatus.hs view
@@ -0,0 +1,170 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.CalculationStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.CalculationStatus where++import Amazonka.Athena.Types.CalculationExecutionState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about the status of a notebook calculation.+--+-- /See:/ 'newCalculationStatus' smart constructor.+data CalculationStatus = CalculationStatus'+ { -- | The date and time the calculation completed processing.+ completionDateTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the calculation execution. A description of each state+ -- follows.+ --+ -- @CREATING@ - The calculation is in the process of being created.+ --+ -- @CREATED@ - The calculation has been created and is ready to run.+ --+ -- @QUEUED@ - The calculation has been queued for processing.+ --+ -- @RUNNING@ - The calculation is running.+ --+ -- @CANCELING@ - A request to cancel the calculation has been received and+ -- the system is working to stop it.+ --+ -- @CANCELED@ - The calculation is no longer running as the result of a+ -- cancel request.+ --+ -- @COMPLETED@ - The calculation has completed without error.+ --+ -- @FAILED@ - The calculation failed and is no longer running.+ state :: Prelude.Maybe CalculationExecutionState,+ -- | The reason for the calculation state change (for example, the+ -- calculation was canceled because the session was terminated).+ stateChangeReason :: Prelude.Maybe Prelude.Text,+ -- | The date and time the calculation was submitted for processing.+ submissionDateTime :: Prelude.Maybe Data.POSIX+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CalculationStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'completionDateTime', 'calculationStatus_completionDateTime' - The date and time the calculation completed processing.+--+-- 'state', 'calculationStatus_state' - The state of the calculation execution. A description of each state+-- follows.+--+-- @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+--+-- 'stateChangeReason', 'calculationStatus_stateChangeReason' - The reason for the calculation state change (for example, the+-- calculation was canceled because the session was terminated).+--+-- 'submissionDateTime', 'calculationStatus_submissionDateTime' - The date and time the calculation was submitted for processing.+newCalculationStatus ::+ CalculationStatus+newCalculationStatus =+ CalculationStatus'+ { completionDateTime =+ Prelude.Nothing,+ state = Prelude.Nothing,+ stateChangeReason = Prelude.Nothing,+ submissionDateTime = Prelude.Nothing+ }++-- | The date and time the calculation completed processing.+calculationStatus_completionDateTime :: Lens.Lens' CalculationStatus (Prelude.Maybe Prelude.UTCTime)+calculationStatus_completionDateTime = Lens.lens (\CalculationStatus' {completionDateTime} -> completionDateTime) (\s@CalculationStatus' {} a -> s {completionDateTime = a} :: CalculationStatus) Prelude.. Lens.mapping Data._Time++-- | The state of the calculation execution. A description of each state+-- follows.+--+-- @CREATING@ - The calculation is in the process of being created.+--+-- @CREATED@ - The calculation has been created and is ready to run.+--+-- @QUEUED@ - The calculation has been queued for processing.+--+-- @RUNNING@ - The calculation is running.+--+-- @CANCELING@ - A request to cancel the calculation has been received and+-- the system is working to stop it.+--+-- @CANCELED@ - The calculation is no longer running as the result of a+-- cancel request.+--+-- @COMPLETED@ - The calculation has completed without error.+--+-- @FAILED@ - The calculation failed and is no longer running.+calculationStatus_state :: Lens.Lens' CalculationStatus (Prelude.Maybe CalculationExecutionState)+calculationStatus_state = Lens.lens (\CalculationStatus' {state} -> state) (\s@CalculationStatus' {} a -> s {state = a} :: CalculationStatus)++-- | The reason for the calculation state change (for example, the+-- calculation was canceled because the session was terminated).+calculationStatus_stateChangeReason :: Lens.Lens' CalculationStatus (Prelude.Maybe Prelude.Text)+calculationStatus_stateChangeReason = Lens.lens (\CalculationStatus' {stateChangeReason} -> stateChangeReason) (\s@CalculationStatus' {} a -> s {stateChangeReason = a} :: CalculationStatus)++-- | The date and time the calculation was submitted for processing.+calculationStatus_submissionDateTime :: Lens.Lens' CalculationStatus (Prelude.Maybe Prelude.UTCTime)+calculationStatus_submissionDateTime = Lens.lens (\CalculationStatus' {submissionDateTime} -> submissionDateTime) (\s@CalculationStatus' {} a -> s {submissionDateTime = a} :: CalculationStatus) Prelude.. Lens.mapping Data._Time++instance Data.FromJSON CalculationStatus where+ parseJSON =+ Data.withObject+ "CalculationStatus"+ ( \x ->+ CalculationStatus'+ Prelude.<$> (x Data..:? "CompletionDateTime")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "StateChangeReason")+ Prelude.<*> (x Data..:? "SubmissionDateTime")+ )++instance Prelude.Hashable CalculationStatus where+ hashWithSalt _salt CalculationStatus' {..} =+ _salt+ `Prelude.hashWithSalt` completionDateTime+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` stateChangeReason+ `Prelude.hashWithSalt` submissionDateTime++instance Prelude.NFData CalculationStatus where+ rnf CalculationStatus' {..} =+ Prelude.rnf completionDateTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateChangeReason+ `Prelude.seq` Prelude.rnf submissionDateTime
+ gen/Amazonka/Athena/Types/CalculationSummary.hs view
@@ -0,0 +1,98 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.CalculationSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.CalculationSummary where++import Amazonka.Athena.Types.CalculationStatus+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Summary information for a notebook calculation.+--+-- /See:/ 'newCalculationSummary' smart constructor.+data CalculationSummary = CalculationSummary'+ { -- | The calculation execution UUID.+ calculationExecutionId :: Prelude.Maybe Prelude.Text,+ -- | A description of the calculation.+ description :: Prelude.Maybe Prelude.Text,+ -- | Contains information about the status of the calculation.+ status :: Prelude.Maybe CalculationStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CalculationSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'calculationExecutionId', 'calculationSummary_calculationExecutionId' - The calculation execution UUID.+--+-- 'description', 'calculationSummary_description' - A description of the calculation.+--+-- 'status', 'calculationSummary_status' - Contains information about the status of the calculation.+newCalculationSummary ::+ CalculationSummary+newCalculationSummary =+ CalculationSummary'+ { calculationExecutionId =+ Prelude.Nothing,+ description = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The calculation execution UUID.+calculationSummary_calculationExecutionId :: Lens.Lens' CalculationSummary (Prelude.Maybe Prelude.Text)+calculationSummary_calculationExecutionId = Lens.lens (\CalculationSummary' {calculationExecutionId} -> calculationExecutionId) (\s@CalculationSummary' {} a -> s {calculationExecutionId = a} :: CalculationSummary)++-- | A description of the calculation.+calculationSummary_description :: Lens.Lens' CalculationSummary (Prelude.Maybe Prelude.Text)+calculationSummary_description = Lens.lens (\CalculationSummary' {description} -> description) (\s@CalculationSummary' {} a -> s {description = a} :: CalculationSummary)++-- | Contains information about the status of the calculation.+calculationSummary_status :: Lens.Lens' CalculationSummary (Prelude.Maybe CalculationStatus)+calculationSummary_status = Lens.lens (\CalculationSummary' {status} -> status) (\s@CalculationSummary' {} a -> s {status = a} :: CalculationSummary)++instance Data.FromJSON CalculationSummary where+ parseJSON =+ Data.withObject+ "CalculationSummary"+ ( \x ->+ CalculationSummary'+ Prelude.<$> (x Data..:? "CalculationExecutionId")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "Status")+ )++instance Prelude.Hashable CalculationSummary where+ hashWithSalt _salt CalculationSummary' {..} =+ _salt+ `Prelude.hashWithSalt` calculationExecutionId+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` status++instance Prelude.NFData CalculationSummary where+ rnf CalculationSummary' {..} =+ Prelude.rnf calculationExecutionId+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/Athena/Types/Column.hs view
@@ -0,0 +1,98 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.Column+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.Column where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains metadata for a column in a table.+--+-- /See:/ 'newColumn' smart constructor.+data Column = Column'+ { -- | Optional information about the column.+ comment :: Prelude.Maybe Prelude.Text,+ -- | The data type of the column.+ type' :: Prelude.Maybe Prelude.Text,+ -- | The name of the column.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Column' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'comment', 'column_comment' - Optional information about the column.+--+-- 'type'', 'column_type' - The data type of the column.+--+-- 'name', 'column_name' - The name of the column.+newColumn ::+ -- | 'name'+ Prelude.Text ->+ Column+newColumn pName_ =+ Column'+ { comment = Prelude.Nothing,+ type' = Prelude.Nothing,+ name = pName_+ }++-- | Optional information about the column.+column_comment :: Lens.Lens' Column (Prelude.Maybe Prelude.Text)+column_comment = Lens.lens (\Column' {comment} -> comment) (\s@Column' {} a -> s {comment = a} :: Column)++-- | The data type of the column.+column_type :: Lens.Lens' Column (Prelude.Maybe Prelude.Text)+column_type = Lens.lens (\Column' {type'} -> type') (\s@Column' {} a -> s {type' = a} :: Column)++-- | The name of the column.+column_name :: Lens.Lens' Column Prelude.Text+column_name = Lens.lens (\Column' {name} -> name) (\s@Column' {} a -> s {name = a} :: Column)++instance Data.FromJSON Column where+ parseJSON =+ Data.withObject+ "Column"+ ( \x ->+ Column'+ Prelude.<$> (x Data..:? "Comment")+ Prelude.<*> (x Data..:? "Type")+ Prelude.<*> (x Data..: "Name")+ )++instance Prelude.Hashable Column where+ hashWithSalt _salt Column' {..} =+ _salt+ `Prelude.hashWithSalt` comment+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` name++instance Prelude.NFData Column where+ rnf Column' {..} =+ Prelude.rnf comment+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/Athena/Types/ColumnInfo.hs view
@@ -0,0 +1,191 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ColumnInfo+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ColumnInfo where++import Amazonka.Athena.Types.ColumnNullable+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Information about the columns in a query execution result.+--+-- /See:/ 'newColumnInfo' smart constructor.+data ColumnInfo = ColumnInfo'+ { -- | Indicates whether values in the column are case-sensitive.+ caseSensitive :: Prelude.Maybe Prelude.Bool,+ -- | The catalog to which the query results belong.+ catalogName :: Prelude.Maybe Prelude.Text,+ -- | A column label.+ label :: Prelude.Maybe Prelude.Text,+ -- | Indicates the column\'s nullable status.+ nullable :: Prelude.Maybe ColumnNullable,+ -- | For @DECIMAL@ data types, specifies the total number of digits, up to+ -- 38. For performance reasons, we recommend up to 18 digits.+ precision :: Prelude.Maybe Prelude.Int,+ -- | For @DECIMAL@ data types, specifies the total number of digits in the+ -- fractional part of the value. Defaults to 0.+ scale :: Prelude.Maybe Prelude.Int,+ -- | The schema name (database name) to which the query results belong.+ schemaName :: Prelude.Maybe Prelude.Text,+ -- | The table name for the query results.+ tableName :: Prelude.Maybe Prelude.Text,+ -- | The name of the column.+ name :: Prelude.Text,+ -- | The data type of the column.+ type' :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ColumnInfo' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'caseSensitive', 'columnInfo_caseSensitive' - Indicates whether values in the column are case-sensitive.+--+-- 'catalogName', 'columnInfo_catalogName' - The catalog to which the query results belong.+--+-- 'label', 'columnInfo_label' - A column label.+--+-- 'nullable', 'columnInfo_nullable' - Indicates the column\'s nullable status.+--+-- 'precision', 'columnInfo_precision' - For @DECIMAL@ data types, specifies the total number of digits, up to+-- 38. For performance reasons, we recommend up to 18 digits.+--+-- 'scale', 'columnInfo_scale' - For @DECIMAL@ data types, specifies the total number of digits in the+-- fractional part of the value. Defaults to 0.+--+-- 'schemaName', 'columnInfo_schemaName' - The schema name (database name) to which the query results belong.+--+-- 'tableName', 'columnInfo_tableName' - The table name for the query results.+--+-- 'name', 'columnInfo_name' - The name of the column.+--+-- 'type'', 'columnInfo_type' - The data type of the column.+newColumnInfo ::+ -- | 'name'+ Prelude.Text ->+ -- | 'type''+ Prelude.Text ->+ ColumnInfo+newColumnInfo pName_ pType_ =+ ColumnInfo'+ { caseSensitive = Prelude.Nothing,+ catalogName = Prelude.Nothing,+ label = Prelude.Nothing,+ nullable = Prelude.Nothing,+ precision = Prelude.Nothing,+ scale = Prelude.Nothing,+ schemaName = Prelude.Nothing,+ tableName = Prelude.Nothing,+ name = pName_,+ type' = pType_+ }++-- | Indicates whether values in the column are case-sensitive.+columnInfo_caseSensitive :: Lens.Lens' ColumnInfo (Prelude.Maybe Prelude.Bool)+columnInfo_caseSensitive = Lens.lens (\ColumnInfo' {caseSensitive} -> caseSensitive) (\s@ColumnInfo' {} a -> s {caseSensitive = a} :: ColumnInfo)++-- | The catalog to which the query results belong.+columnInfo_catalogName :: Lens.Lens' ColumnInfo (Prelude.Maybe Prelude.Text)+columnInfo_catalogName = Lens.lens (\ColumnInfo' {catalogName} -> catalogName) (\s@ColumnInfo' {} a -> s {catalogName = a} :: ColumnInfo)++-- | A column label.+columnInfo_label :: Lens.Lens' ColumnInfo (Prelude.Maybe Prelude.Text)+columnInfo_label = Lens.lens (\ColumnInfo' {label} -> label) (\s@ColumnInfo' {} a -> s {label = a} :: ColumnInfo)++-- | Indicates the column\'s nullable status.+columnInfo_nullable :: Lens.Lens' ColumnInfo (Prelude.Maybe ColumnNullable)+columnInfo_nullable = Lens.lens (\ColumnInfo' {nullable} -> nullable) (\s@ColumnInfo' {} a -> s {nullable = a} :: ColumnInfo)++-- | For @DECIMAL@ data types, specifies the total number of digits, up to+-- 38. For performance reasons, we recommend up to 18 digits.+columnInfo_precision :: Lens.Lens' ColumnInfo (Prelude.Maybe Prelude.Int)+columnInfo_precision = Lens.lens (\ColumnInfo' {precision} -> precision) (\s@ColumnInfo' {} a -> s {precision = a} :: ColumnInfo)++-- | For @DECIMAL@ data types, specifies the total number of digits in the+-- fractional part of the value. Defaults to 0.+columnInfo_scale :: Lens.Lens' ColumnInfo (Prelude.Maybe Prelude.Int)+columnInfo_scale = Lens.lens (\ColumnInfo' {scale} -> scale) (\s@ColumnInfo' {} a -> s {scale = a} :: ColumnInfo)++-- | The schema name (database name) to which the query results belong.+columnInfo_schemaName :: Lens.Lens' ColumnInfo (Prelude.Maybe Prelude.Text)+columnInfo_schemaName = Lens.lens (\ColumnInfo' {schemaName} -> schemaName) (\s@ColumnInfo' {} a -> s {schemaName = a} :: ColumnInfo)++-- | The table name for the query results.+columnInfo_tableName :: Lens.Lens' ColumnInfo (Prelude.Maybe Prelude.Text)+columnInfo_tableName = Lens.lens (\ColumnInfo' {tableName} -> tableName) (\s@ColumnInfo' {} a -> s {tableName = a} :: ColumnInfo)++-- | The name of the column.+columnInfo_name :: Lens.Lens' ColumnInfo Prelude.Text+columnInfo_name = Lens.lens (\ColumnInfo' {name} -> name) (\s@ColumnInfo' {} a -> s {name = a} :: ColumnInfo)++-- | The data type of the column.+columnInfo_type :: Lens.Lens' ColumnInfo Prelude.Text+columnInfo_type = Lens.lens (\ColumnInfo' {type'} -> type') (\s@ColumnInfo' {} a -> s {type' = a} :: ColumnInfo)++instance Data.FromJSON ColumnInfo where+ parseJSON =+ Data.withObject+ "ColumnInfo"+ ( \x ->+ ColumnInfo'+ Prelude.<$> (x Data..:? "CaseSensitive")+ Prelude.<*> (x Data..:? "CatalogName")+ Prelude.<*> (x Data..:? "Label")+ Prelude.<*> (x Data..:? "Nullable")+ Prelude.<*> (x Data..:? "Precision")+ Prelude.<*> (x Data..:? "Scale")+ Prelude.<*> (x Data..:? "SchemaName")+ Prelude.<*> (x Data..:? "TableName")+ Prelude.<*> (x Data..: "Name")+ Prelude.<*> (x Data..: "Type")+ )++instance Prelude.Hashable ColumnInfo where+ hashWithSalt _salt ColumnInfo' {..} =+ _salt+ `Prelude.hashWithSalt` caseSensitive+ `Prelude.hashWithSalt` catalogName+ `Prelude.hashWithSalt` label+ `Prelude.hashWithSalt` nullable+ `Prelude.hashWithSalt` precision+ `Prelude.hashWithSalt` scale+ `Prelude.hashWithSalt` schemaName+ `Prelude.hashWithSalt` tableName+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'++instance Prelude.NFData ColumnInfo where+ rnf ColumnInfo' {..} =+ Prelude.rnf caseSensitive+ `Prelude.seq` Prelude.rnf catalogName+ `Prelude.seq` Prelude.rnf label+ `Prelude.seq` Prelude.rnf nullable+ `Prelude.seq` Prelude.rnf precision+ `Prelude.seq` Prelude.rnf scale+ `Prelude.seq` Prelude.rnf schemaName+ `Prelude.seq` Prelude.rnf tableName+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Athena/Types/ColumnNullable.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ColumnNullable+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ColumnNullable+ ( ColumnNullable+ ( ..,+ ColumnNullable_NOT_NULL,+ ColumnNullable_NULLABLE,+ ColumnNullable_UNKNOWN+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ColumnNullable = ColumnNullable'+ { fromColumnNullable ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ColumnNullable_NOT_NULL :: ColumnNullable+pattern ColumnNullable_NOT_NULL = ColumnNullable' "NOT_NULL"++pattern ColumnNullable_NULLABLE :: ColumnNullable+pattern ColumnNullable_NULLABLE = ColumnNullable' "NULLABLE"++pattern ColumnNullable_UNKNOWN :: ColumnNullable+pattern ColumnNullable_UNKNOWN = ColumnNullable' "UNKNOWN"++{-# COMPLETE+ ColumnNullable_NOT_NULL,+ ColumnNullable_NULLABLE,+ ColumnNullable_UNKNOWN,+ ColumnNullable'+ #-}
+ gen/Amazonka/Athena/Types/CustomerContentEncryptionConfiguration.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.CustomerContentEncryptionConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.CustomerContentEncryptionConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Specifies the KMS key that is used to encrypt the user\'s data stores in+-- Athena.+--+-- /See:/ 'newCustomerContentEncryptionConfiguration' smart constructor.+data CustomerContentEncryptionConfiguration = CustomerContentEncryptionConfiguration'+ { -- | The KMS key that is used to encrypt the user\'s data stores in Athena.+ kmsKey :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CustomerContentEncryptionConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'kmsKey', 'customerContentEncryptionConfiguration_kmsKey' - The KMS key that is used to encrypt the user\'s data stores in Athena.+newCustomerContentEncryptionConfiguration ::+ -- | 'kmsKey'+ Prelude.Text ->+ CustomerContentEncryptionConfiguration+newCustomerContentEncryptionConfiguration pKmsKey_ =+ CustomerContentEncryptionConfiguration'+ { kmsKey =+ pKmsKey_+ }++-- | The KMS key that is used to encrypt the user\'s data stores in Athena.+customerContentEncryptionConfiguration_kmsKey :: Lens.Lens' CustomerContentEncryptionConfiguration Prelude.Text+customerContentEncryptionConfiguration_kmsKey = Lens.lens (\CustomerContentEncryptionConfiguration' {kmsKey} -> kmsKey) (\s@CustomerContentEncryptionConfiguration' {} a -> s {kmsKey = a} :: CustomerContentEncryptionConfiguration)++instance+ Data.FromJSON+ CustomerContentEncryptionConfiguration+ where+ parseJSON =+ Data.withObject+ "CustomerContentEncryptionConfiguration"+ ( \x ->+ CustomerContentEncryptionConfiguration'+ Prelude.<$> (x Data..: "KmsKey")+ )++instance+ Prelude.Hashable+ CustomerContentEncryptionConfiguration+ where+ hashWithSalt+ _salt+ CustomerContentEncryptionConfiguration' {..} =+ _salt `Prelude.hashWithSalt` kmsKey++instance+ Prelude.NFData+ CustomerContentEncryptionConfiguration+ where+ rnf CustomerContentEncryptionConfiguration' {..} =+ Prelude.rnf kmsKey++instance+ Data.ToJSON+ CustomerContentEncryptionConfiguration+ where+ toJSON CustomerContentEncryptionConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("KmsKey" Data..= kmsKey)]+ )
+ gen/Amazonka/Athena/Types/DataCatalog.hs view
@@ -0,0 +1,237 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.DataCatalog+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.DataCatalog where++import Amazonka.Athena.Types.DataCatalogType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a data catalog in an Amazon Web Services+-- account.+--+-- /See:/ 'newDataCatalog' smart constructor.+data DataCatalog = DataCatalog'+ { -- | An optional description of the data catalog.+ description :: Prelude.Maybe Prelude.Text,+ -- | Specifies the Lambda function or functions to use for the data catalog.+ -- This is a mapping whose values depend on the catalog type.+ --+ -- - For the @HIVE@ data catalog type, use the following syntax. The+ -- @metadata-function@ parameter is required. @The sdk-version@+ -- parameter is optional and defaults to the currently supported+ -- version.+ --+ -- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+ --+ -- - For the @LAMBDA@ data catalog type, use one of the following sets of+ -- required parameters, but not both.+ --+ -- - If you have one Lambda function that processes metadata and+ -- another for reading the actual data, use the following syntax.+ -- Both parameters are required.+ --+ -- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+ --+ -- - If you have a composite Lambda function that processes both+ -- metadata and data, use the following syntax to specify your+ -- Lambda function.+ --+ -- @function=@/@lambda_arn@/@ @+ --+ -- - The @GLUE@ type takes a catalog ID parameter and is required. The+ -- @ @/@catalog_id@/@ @ is the account ID of the Amazon Web Services+ -- account to which the Glue catalog belongs.+ --+ -- @catalog-id=@/@catalog_id@/@ @+ --+ -- - The @GLUE@ data catalog type also applies to the default+ -- @AwsDataCatalog@ that already exists in your account, of which+ -- you can have only one and cannot modify.+ --+ -- - Queries that specify a Glue Data Catalog other than the default+ -- @AwsDataCatalog@ must be run on Athena engine version 2.+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The name of the data catalog. The catalog name must be unique for the+ -- Amazon Web Services account and can use a maximum of 127 alphanumeric,+ -- underscore, at sign, or hyphen characters. The remainder of the length+ -- constraint of 256 is reserved for use by Athena.+ name :: Prelude.Text,+ -- | The type of data catalog to create: @LAMBDA@ for a federated catalog,+ -- @HIVE@ for an external hive metastore, or @GLUE@ for an Glue Data+ -- Catalog.+ type' :: DataCatalogType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DataCatalog' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'dataCatalog_description' - An optional description of the data catalog.+--+-- 'parameters', 'dataCatalog_parameters' - Specifies the Lambda function or functions to use for the data catalog.+-- This is a mapping whose values depend on the catalog type.+--+-- - For the @HIVE@ data catalog type, use the following syntax. The+-- @metadata-function@ parameter is required. @The sdk-version@+-- parameter is optional and defaults to the currently supported+-- version.+--+-- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+--+-- - For the @LAMBDA@ data catalog type, use one of the following sets of+-- required parameters, but not both.+--+-- - If you have one Lambda function that processes metadata and+-- another for reading the actual data, use the following syntax.+-- Both parameters are required.+--+-- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+--+-- - If you have a composite Lambda function that processes both+-- metadata and data, use the following syntax to specify your+-- Lambda function.+--+-- @function=@/@lambda_arn@/@ @+--+-- - The @GLUE@ type takes a catalog ID parameter and is required. The+-- @ @/@catalog_id@/@ @ is the account ID of the Amazon Web Services+-- account to which the Glue catalog belongs.+--+-- @catalog-id=@/@catalog_id@/@ @+--+-- - The @GLUE@ data catalog type also applies to the default+-- @AwsDataCatalog@ that already exists in your account, of which+-- you can have only one and cannot modify.+--+-- - Queries that specify a Glue Data Catalog other than the default+-- @AwsDataCatalog@ must be run on Athena engine version 2.+--+-- 'name', 'dataCatalog_name' - The name of the data catalog. The catalog name must be unique for the+-- Amazon Web Services account and can use a maximum of 127 alphanumeric,+-- underscore, at sign, or hyphen characters. The remainder of the length+-- constraint of 256 is reserved for use by Athena.+--+-- 'type'', 'dataCatalog_type' - The type of data catalog to create: @LAMBDA@ for a federated catalog,+-- @HIVE@ for an external hive metastore, or @GLUE@ for an Glue Data+-- Catalog.+newDataCatalog ::+ -- | 'name'+ Prelude.Text ->+ -- | 'type''+ DataCatalogType ->+ DataCatalog+newDataCatalog pName_ pType_ =+ DataCatalog'+ { description = Prelude.Nothing,+ parameters = Prelude.Nothing,+ name = pName_,+ type' = pType_+ }++-- | An optional description of the data catalog.+dataCatalog_description :: Lens.Lens' DataCatalog (Prelude.Maybe Prelude.Text)+dataCatalog_description = Lens.lens (\DataCatalog' {description} -> description) (\s@DataCatalog' {} a -> s {description = a} :: DataCatalog)++-- | Specifies the Lambda function or functions to use for the data catalog.+-- This is a mapping whose values depend on the catalog type.+--+-- - For the @HIVE@ data catalog type, use the following syntax. The+-- @metadata-function@ parameter is required. @The sdk-version@+-- parameter is optional and defaults to the currently supported+-- version.+--+-- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+--+-- - For the @LAMBDA@ data catalog type, use one of the following sets of+-- required parameters, but not both.+--+-- - If you have one Lambda function that processes metadata and+-- another for reading the actual data, use the following syntax.+-- Both parameters are required.+--+-- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+--+-- - If you have a composite Lambda function that processes both+-- metadata and data, use the following syntax to specify your+-- Lambda function.+--+-- @function=@/@lambda_arn@/@ @+--+-- - The @GLUE@ type takes a catalog ID parameter and is required. The+-- @ @/@catalog_id@/@ @ is the account ID of the Amazon Web Services+-- account to which the Glue catalog belongs.+--+-- @catalog-id=@/@catalog_id@/@ @+--+-- - The @GLUE@ data catalog type also applies to the default+-- @AwsDataCatalog@ that already exists in your account, of which+-- you can have only one and cannot modify.+--+-- - Queries that specify a Glue Data Catalog other than the default+-- @AwsDataCatalog@ must be run on Athena engine version 2.+dataCatalog_parameters :: Lens.Lens' DataCatalog (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+dataCatalog_parameters = Lens.lens (\DataCatalog' {parameters} -> parameters) (\s@DataCatalog' {} a -> s {parameters = a} :: DataCatalog) Prelude.. Lens.mapping Lens.coerced++-- | The name of the data catalog. The catalog name must be unique for the+-- Amazon Web Services account and can use a maximum of 127 alphanumeric,+-- underscore, at sign, or hyphen characters. The remainder of the length+-- constraint of 256 is reserved for use by Athena.+dataCatalog_name :: Lens.Lens' DataCatalog Prelude.Text+dataCatalog_name = Lens.lens (\DataCatalog' {name} -> name) (\s@DataCatalog' {} a -> s {name = a} :: DataCatalog)++-- | The type of data catalog to create: @LAMBDA@ for a federated catalog,+-- @HIVE@ for an external hive metastore, or @GLUE@ for an Glue Data+-- Catalog.+dataCatalog_type :: Lens.Lens' DataCatalog DataCatalogType+dataCatalog_type = Lens.lens (\DataCatalog' {type'} -> type') (\s@DataCatalog' {} a -> s {type' = a} :: DataCatalog)++instance Data.FromJSON DataCatalog where+ parseJSON =+ Data.withObject+ "DataCatalog"+ ( \x ->+ DataCatalog'+ Prelude.<$> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "Parameters" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "Name")+ Prelude.<*> (x Data..: "Type")+ )++instance Prelude.Hashable DataCatalog where+ hashWithSalt _salt DataCatalog' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'++instance Prelude.NFData DataCatalog where+ rnf DataCatalog' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Athena/Types/DataCatalogSummary.hs view
@@ -0,0 +1,95 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.DataCatalogSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.DataCatalogSummary where++import Amazonka.Athena.Types.DataCatalogType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The summary information for the data catalog, which includes its name+-- and type.+--+-- /See:/ 'newDataCatalogSummary' smart constructor.+data DataCatalogSummary = DataCatalogSummary'+ { -- | The name of the data catalog. The catalog name is unique for the Amazon+ -- Web Services account and can use a maximum of 127 alphanumeric,+ -- underscore, at sign, or hyphen characters. The remainder of the length+ -- constraint of 256 is reserved for use by Athena.+ catalogName :: Prelude.Maybe Prelude.Text,+ -- | The data catalog type.+ type' :: Prelude.Maybe DataCatalogType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DataCatalogSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'catalogName', 'dataCatalogSummary_catalogName' - The name of the data catalog. The catalog name is unique for the Amazon+-- Web Services account and can use a maximum of 127 alphanumeric,+-- underscore, at sign, or hyphen characters. The remainder of the length+-- constraint of 256 is reserved for use by Athena.+--+-- 'type'', 'dataCatalogSummary_type' - The data catalog type.+newDataCatalogSummary ::+ DataCatalogSummary+newDataCatalogSummary =+ DataCatalogSummary'+ { catalogName = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The name of the data catalog. The catalog name is unique for the Amazon+-- Web Services account and can use a maximum of 127 alphanumeric,+-- underscore, at sign, or hyphen characters. The remainder of the length+-- constraint of 256 is reserved for use by Athena.+dataCatalogSummary_catalogName :: Lens.Lens' DataCatalogSummary (Prelude.Maybe Prelude.Text)+dataCatalogSummary_catalogName = Lens.lens (\DataCatalogSummary' {catalogName} -> catalogName) (\s@DataCatalogSummary' {} a -> s {catalogName = a} :: DataCatalogSummary)++-- | The data catalog type.+dataCatalogSummary_type :: Lens.Lens' DataCatalogSummary (Prelude.Maybe DataCatalogType)+dataCatalogSummary_type = Lens.lens (\DataCatalogSummary' {type'} -> type') (\s@DataCatalogSummary' {} a -> s {type' = a} :: DataCatalogSummary)++instance Data.FromJSON DataCatalogSummary where+ parseJSON =+ Data.withObject+ "DataCatalogSummary"+ ( \x ->+ DataCatalogSummary'+ Prelude.<$> (x Data..:? "CatalogName")+ Prelude.<*> (x Data..:? "Type")+ )++instance Prelude.Hashable DataCatalogSummary where+ hashWithSalt _salt DataCatalogSummary' {..} =+ _salt+ `Prelude.hashWithSalt` catalogName+ `Prelude.hashWithSalt` type'++instance Prelude.NFData DataCatalogSummary where+ rnf DataCatalogSummary' {..} =+ Prelude.rnf catalogName+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Athena/Types/DataCatalogType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.DataCatalogType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.DataCatalogType+ ( DataCatalogType+ ( ..,+ DataCatalogType_GLUE,+ DataCatalogType_HIVE,+ DataCatalogType_LAMBDA+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DataCatalogType = DataCatalogType'+ { fromDataCatalogType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern DataCatalogType_GLUE :: DataCatalogType+pattern DataCatalogType_GLUE = DataCatalogType' "GLUE"++pattern DataCatalogType_HIVE :: DataCatalogType+pattern DataCatalogType_HIVE = DataCatalogType' "HIVE"++pattern DataCatalogType_LAMBDA :: DataCatalogType+pattern DataCatalogType_LAMBDA = DataCatalogType' "LAMBDA"++{-# COMPLETE+ DataCatalogType_GLUE,+ DataCatalogType_HIVE,+ DataCatalogType_LAMBDA,+ DataCatalogType'+ #-}
+ gen/Amazonka/Athena/Types/Database.hs view
@@ -0,0 +1,98 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.Database+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.Database where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains metadata information for a database in a data catalog.+--+-- /See:/ 'newDatabase' smart constructor.+data Database = Database'+ { -- | An optional description of the database.+ description :: Prelude.Maybe Prelude.Text,+ -- | A set of custom key\/value pairs.+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The name of the database.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Database' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'database_description' - An optional description of the database.+--+-- 'parameters', 'database_parameters' - A set of custom key\/value pairs.+--+-- 'name', 'database_name' - The name of the database.+newDatabase ::+ -- | 'name'+ Prelude.Text ->+ Database+newDatabase pName_ =+ Database'+ { description = Prelude.Nothing,+ parameters = Prelude.Nothing,+ name = pName_+ }++-- | An optional description of the database.+database_description :: Lens.Lens' Database (Prelude.Maybe Prelude.Text)+database_description = Lens.lens (\Database' {description} -> description) (\s@Database' {} a -> s {description = a} :: Database)++-- | A set of custom key\/value pairs.+database_parameters :: Lens.Lens' Database (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+database_parameters = Lens.lens (\Database' {parameters} -> parameters) (\s@Database' {} a -> s {parameters = a} :: Database) Prelude.. Lens.mapping Lens.coerced++-- | The name of the database.+database_name :: Lens.Lens' Database Prelude.Text+database_name = Lens.lens (\Database' {name} -> name) (\s@Database' {} a -> s {name = a} :: Database)++instance Data.FromJSON Database where+ parseJSON =+ Data.withObject+ "Database"+ ( \x ->+ Database'+ Prelude.<$> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "Parameters" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "Name")+ )++instance Prelude.Hashable Database where+ hashWithSalt _salt Database' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` name++instance Prelude.NFData Database where+ rnf Database' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/Athena/Types/Datum.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.Datum+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.Datum where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A piece of data (a field in the table).+--+-- /See:/ 'newDatum' smart constructor.+data Datum = Datum'+ { -- | The value of the datum.+ varCharValue :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Datum' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'varCharValue', 'datum_varCharValue' - The value of the datum.+newDatum ::+ Datum+newDatum = Datum' {varCharValue = Prelude.Nothing}++-- | The value of the datum.+datum_varCharValue :: Lens.Lens' Datum (Prelude.Maybe Prelude.Text)+datum_varCharValue = Lens.lens (\Datum' {varCharValue} -> varCharValue) (\s@Datum' {} a -> s {varCharValue = a} :: Datum)++instance Data.FromJSON Datum where+ parseJSON =+ Data.withObject+ "Datum"+ ( \x ->+ Datum' Prelude.<$> (x Data..:? "VarCharValue")+ )++instance Prelude.Hashable Datum where+ hashWithSalt _salt Datum' {..} =+ _salt `Prelude.hashWithSalt` varCharValue++instance Prelude.NFData Datum where+ rnf Datum' {..} = Prelude.rnf varCharValue
+ gen/Amazonka/Athena/Types/EncryptionConfiguration.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.EncryptionConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.EncryptionConfiguration where++import Amazonka.Athena.Types.EncryptionOption+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | If query results are encrypted in Amazon S3, indicates the encryption+-- option used (for example, @SSE_KMS@ or @CSE_KMS@) and key information.+--+-- /See:/ 'newEncryptionConfiguration' smart constructor.+data EncryptionConfiguration = EncryptionConfiguration'+ { -- | For @SSE_KMS@ and @CSE_KMS@, this is the KMS key ARN or ID.+ kmsKey :: Prelude.Maybe Prelude.Text,+ -- | Indicates whether Amazon S3 server-side encryption with Amazon+ -- S3-managed keys (@SSE_S3@), server-side encryption with KMS-managed keys+ -- (@SSE_KMS@), or client-side encryption with KMS-managed keys (@CSE_KMS@)+ -- is used.+ --+ -- If a query runs in a workgroup and the workgroup overrides client-side+ -- settings, then the workgroup\'s setting for encryption is used. It+ -- specifies whether query results must be encrypted, for all queries that+ -- run in this workgroup.+ encryptionOption :: EncryptionOption+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EncryptionConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'kmsKey', 'encryptionConfiguration_kmsKey' - For @SSE_KMS@ and @CSE_KMS@, this is the KMS key ARN or ID.+--+-- 'encryptionOption', 'encryptionConfiguration_encryptionOption' - Indicates whether Amazon S3 server-side encryption with Amazon+-- S3-managed keys (@SSE_S3@), server-side encryption with KMS-managed keys+-- (@SSE_KMS@), or client-side encryption with KMS-managed keys (@CSE_KMS@)+-- is used.+--+-- If a query runs in a workgroup and the workgroup overrides client-side+-- settings, then the workgroup\'s setting for encryption is used. It+-- specifies whether query results must be encrypted, for all queries that+-- run in this workgroup.+newEncryptionConfiguration ::+ -- | 'encryptionOption'+ EncryptionOption ->+ EncryptionConfiguration+newEncryptionConfiguration pEncryptionOption_ =+ EncryptionConfiguration'+ { kmsKey = Prelude.Nothing,+ encryptionOption = pEncryptionOption_+ }++-- | For @SSE_KMS@ and @CSE_KMS@, this is the KMS key ARN or ID.+encryptionConfiguration_kmsKey :: Lens.Lens' EncryptionConfiguration (Prelude.Maybe Prelude.Text)+encryptionConfiguration_kmsKey = Lens.lens (\EncryptionConfiguration' {kmsKey} -> kmsKey) (\s@EncryptionConfiguration' {} a -> s {kmsKey = a} :: EncryptionConfiguration)++-- | Indicates whether Amazon S3 server-side encryption with Amazon+-- S3-managed keys (@SSE_S3@), server-side encryption with KMS-managed keys+-- (@SSE_KMS@), or client-side encryption with KMS-managed keys (@CSE_KMS@)+-- is used.+--+-- If a query runs in a workgroup and the workgroup overrides client-side+-- settings, then the workgroup\'s setting for encryption is used. It+-- specifies whether query results must be encrypted, for all queries that+-- run in this workgroup.+encryptionConfiguration_encryptionOption :: Lens.Lens' EncryptionConfiguration EncryptionOption+encryptionConfiguration_encryptionOption = Lens.lens (\EncryptionConfiguration' {encryptionOption} -> encryptionOption) (\s@EncryptionConfiguration' {} a -> s {encryptionOption = a} :: EncryptionConfiguration)++instance Data.FromJSON EncryptionConfiguration where+ parseJSON =+ Data.withObject+ "EncryptionConfiguration"+ ( \x ->+ EncryptionConfiguration'+ Prelude.<$> (x Data..:? "KmsKey")+ Prelude.<*> (x Data..: "EncryptionOption")+ )++instance Prelude.Hashable EncryptionConfiguration where+ hashWithSalt _salt EncryptionConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` kmsKey+ `Prelude.hashWithSalt` encryptionOption++instance Prelude.NFData EncryptionConfiguration where+ rnf EncryptionConfiguration' {..} =+ Prelude.rnf kmsKey+ `Prelude.seq` Prelude.rnf encryptionOption++instance Data.ToJSON EncryptionConfiguration where+ toJSON EncryptionConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("KmsKey" Data..=) Prelude.<$> kmsKey,+ Prelude.Just+ ("EncryptionOption" Data..= encryptionOption)+ ]+ )
+ gen/Amazonka/Athena/Types/EncryptionOption.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.EncryptionOption+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.EncryptionOption+ ( EncryptionOption+ ( ..,+ EncryptionOption_CSE_KMS,+ EncryptionOption_SSE_KMS,+ EncryptionOption_SSE_S3+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EncryptionOption = EncryptionOption'+ { fromEncryptionOption ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EncryptionOption_CSE_KMS :: EncryptionOption+pattern EncryptionOption_CSE_KMS = EncryptionOption' "CSE_KMS"++pattern EncryptionOption_SSE_KMS :: EncryptionOption+pattern EncryptionOption_SSE_KMS = EncryptionOption' "SSE_KMS"++pattern EncryptionOption_SSE_S3 :: EncryptionOption+pattern EncryptionOption_SSE_S3 = EncryptionOption' "SSE_S3"++{-# COMPLETE+ EncryptionOption_CSE_KMS,+ EncryptionOption_SSE_KMS,+ EncryptionOption_SSE_S3,+ EncryptionOption'+ #-}
+ gen/Amazonka/Athena/Types/EngineConfiguration.hs view
@@ -0,0 +1,157 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.EngineConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.EngineConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains data processing unit (DPU) configuration settings and parameter+-- mappings for a notebook engine.+--+-- /See:/ 'newEngineConfiguration' smart constructor.+data EngineConfiguration = EngineConfiguration'+ { -- | Contains additional notebook engine @MAP\<string, string>@ parameter+ -- mappings in the form of key-value pairs. To specify an Amazon S3 URI+ -- that the Jupyter server will download and serve, specify a value for the+ -- StartSessionRequest$NotebookVersion field, and then add a key named+ -- @NotebookFileURI@ to @AdditionalConfigs@ that has value of the Amazon S3+ -- URI.+ additionalConfigs :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The number of DPUs to use for the coordinator. A coordinator is a+ -- special executor that orchestrates processing work and manages other+ -- executors in a notebook session.+ coordinatorDpuSize :: Prelude.Maybe Prelude.Natural,+ -- | The default number of DPUs to use for executors. An executor is the+ -- smallest unit of compute that a notebook session can request from+ -- Athena.+ defaultExecutorDpuSize :: Prelude.Maybe Prelude.Natural,+ -- | The maximum number of DPUs that can run concurrently.+ maxConcurrentDpus :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EngineConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'additionalConfigs', 'engineConfiguration_additionalConfigs' - Contains additional notebook engine @MAP\<string, string>@ parameter+-- mappings in the form of key-value pairs. To specify an Amazon S3 URI+-- that the Jupyter server will download and serve, specify a value for the+-- StartSessionRequest$NotebookVersion field, and then add a key named+-- @NotebookFileURI@ to @AdditionalConfigs@ that has value of the Amazon S3+-- URI.+--+-- 'coordinatorDpuSize', 'engineConfiguration_coordinatorDpuSize' - The number of DPUs to use for the coordinator. A coordinator is a+-- special executor that orchestrates processing work and manages other+-- executors in a notebook session.+--+-- 'defaultExecutorDpuSize', 'engineConfiguration_defaultExecutorDpuSize' - The default number of DPUs to use for executors. An executor is the+-- smallest unit of compute that a notebook session can request from+-- Athena.+--+-- 'maxConcurrentDpus', 'engineConfiguration_maxConcurrentDpus' - The maximum number of DPUs that can run concurrently.+newEngineConfiguration ::+ -- | 'maxConcurrentDpus'+ Prelude.Natural ->+ EngineConfiguration+newEngineConfiguration pMaxConcurrentDpus_ =+ EngineConfiguration'+ { additionalConfigs =+ Prelude.Nothing,+ coordinatorDpuSize = Prelude.Nothing,+ defaultExecutorDpuSize = Prelude.Nothing,+ maxConcurrentDpus = pMaxConcurrentDpus_+ }++-- | Contains additional notebook engine @MAP\<string, string>@ parameter+-- mappings in the form of key-value pairs. To specify an Amazon S3 URI+-- that the Jupyter server will download and serve, specify a value for the+-- StartSessionRequest$NotebookVersion field, and then add a key named+-- @NotebookFileURI@ to @AdditionalConfigs@ that has value of the Amazon S3+-- URI.+engineConfiguration_additionalConfigs :: Lens.Lens' EngineConfiguration (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+engineConfiguration_additionalConfigs = Lens.lens (\EngineConfiguration' {additionalConfigs} -> additionalConfigs) (\s@EngineConfiguration' {} a -> s {additionalConfigs = a} :: EngineConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The number of DPUs to use for the coordinator. A coordinator is a+-- special executor that orchestrates processing work and manages other+-- executors in a notebook session.+engineConfiguration_coordinatorDpuSize :: Lens.Lens' EngineConfiguration (Prelude.Maybe Prelude.Natural)+engineConfiguration_coordinatorDpuSize = Lens.lens (\EngineConfiguration' {coordinatorDpuSize} -> coordinatorDpuSize) (\s@EngineConfiguration' {} a -> s {coordinatorDpuSize = a} :: EngineConfiguration)++-- | The default number of DPUs to use for executors. An executor is the+-- smallest unit of compute that a notebook session can request from+-- Athena.+engineConfiguration_defaultExecutorDpuSize :: Lens.Lens' EngineConfiguration (Prelude.Maybe Prelude.Natural)+engineConfiguration_defaultExecutorDpuSize = Lens.lens (\EngineConfiguration' {defaultExecutorDpuSize} -> defaultExecutorDpuSize) (\s@EngineConfiguration' {} a -> s {defaultExecutorDpuSize = a} :: EngineConfiguration)++-- | The maximum number of DPUs that can run concurrently.+engineConfiguration_maxConcurrentDpus :: Lens.Lens' EngineConfiguration Prelude.Natural+engineConfiguration_maxConcurrentDpus = Lens.lens (\EngineConfiguration' {maxConcurrentDpus} -> maxConcurrentDpus) (\s@EngineConfiguration' {} a -> s {maxConcurrentDpus = a} :: EngineConfiguration)++instance Data.FromJSON EngineConfiguration where+ parseJSON =+ Data.withObject+ "EngineConfiguration"+ ( \x ->+ EngineConfiguration'+ Prelude.<$> ( x+ Data..:? "AdditionalConfigs"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "CoordinatorDpuSize")+ Prelude.<*> (x Data..:? "DefaultExecutorDpuSize")+ Prelude.<*> (x Data..: "MaxConcurrentDpus")+ )++instance Prelude.Hashable EngineConfiguration where+ hashWithSalt _salt EngineConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` additionalConfigs+ `Prelude.hashWithSalt` coordinatorDpuSize+ `Prelude.hashWithSalt` defaultExecutorDpuSize+ `Prelude.hashWithSalt` maxConcurrentDpus++instance Prelude.NFData EngineConfiguration where+ rnf EngineConfiguration' {..} =+ Prelude.rnf additionalConfigs+ `Prelude.seq` Prelude.rnf coordinatorDpuSize+ `Prelude.seq` Prelude.rnf defaultExecutorDpuSize+ `Prelude.seq` Prelude.rnf maxConcurrentDpus++instance Data.ToJSON EngineConfiguration where+ toJSON EngineConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AdditionalConfigs" Data..=)+ Prelude.<$> additionalConfigs,+ ("CoordinatorDpuSize" Data..=)+ Prelude.<$> coordinatorDpuSize,+ ("DefaultExecutorDpuSize" Data..=)+ Prelude.<$> defaultExecutorDpuSize,+ Prelude.Just+ ("MaxConcurrentDpus" Data..= maxConcurrentDpus)+ ]+ )
+ gen/Amazonka/Athena/Types/EngineVersion.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.EngineVersion+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.EngineVersion where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The Athena engine version for running queries, or the PySpark engine+-- version for running sessions.+--+-- /See:/ 'newEngineVersion' smart constructor.+data EngineVersion = EngineVersion'+ { -- | Read only. The engine version on which the query runs. If the user+ -- requests a valid engine version other than Auto, the effective engine+ -- version is the same as the engine version that the user requested. If+ -- the user requests Auto, the effective engine version is chosen by+ -- Athena. When a request to update the engine version is made by a+ -- @CreateWorkGroup@ or @UpdateWorkGroup@ operation, the+ -- @EffectiveEngineVersion@ field is ignored.+ effectiveEngineVersion :: Prelude.Maybe Prelude.Text,+ -- | The engine version requested by the user. Possible values are determined+ -- by the output of @ListEngineVersions@, including Auto. The default is+ -- Auto.+ selectedEngineVersion :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EngineVersion' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'effectiveEngineVersion', 'engineVersion_effectiveEngineVersion' - Read only. The engine version on which the query runs. If the user+-- requests a valid engine version other than Auto, the effective engine+-- version is the same as the engine version that the user requested. If+-- the user requests Auto, the effective engine version is chosen by+-- Athena. When a request to update the engine version is made by a+-- @CreateWorkGroup@ or @UpdateWorkGroup@ operation, the+-- @EffectiveEngineVersion@ field is ignored.+--+-- 'selectedEngineVersion', 'engineVersion_selectedEngineVersion' - The engine version requested by the user. Possible values are determined+-- by the output of @ListEngineVersions@, including Auto. The default is+-- Auto.+newEngineVersion ::+ EngineVersion+newEngineVersion =+ EngineVersion'+ { effectiveEngineVersion =+ Prelude.Nothing,+ selectedEngineVersion = Prelude.Nothing+ }++-- | Read only. The engine version on which the query runs. If the user+-- requests a valid engine version other than Auto, the effective engine+-- version is the same as the engine version that the user requested. If+-- the user requests Auto, the effective engine version is chosen by+-- Athena. When a request to update the engine version is made by a+-- @CreateWorkGroup@ or @UpdateWorkGroup@ operation, the+-- @EffectiveEngineVersion@ field is ignored.+engineVersion_effectiveEngineVersion :: Lens.Lens' EngineVersion (Prelude.Maybe Prelude.Text)+engineVersion_effectiveEngineVersion = Lens.lens (\EngineVersion' {effectiveEngineVersion} -> effectiveEngineVersion) (\s@EngineVersion' {} a -> s {effectiveEngineVersion = a} :: EngineVersion)++-- | The engine version requested by the user. Possible values are determined+-- by the output of @ListEngineVersions@, including Auto. The default is+-- Auto.+engineVersion_selectedEngineVersion :: Lens.Lens' EngineVersion (Prelude.Maybe Prelude.Text)+engineVersion_selectedEngineVersion = Lens.lens (\EngineVersion' {selectedEngineVersion} -> selectedEngineVersion) (\s@EngineVersion' {} a -> s {selectedEngineVersion = a} :: EngineVersion)++instance Data.FromJSON EngineVersion where+ parseJSON =+ Data.withObject+ "EngineVersion"+ ( \x ->+ EngineVersion'+ Prelude.<$> (x Data..:? "EffectiveEngineVersion")+ Prelude.<*> (x Data..:? "SelectedEngineVersion")+ )++instance Prelude.Hashable EngineVersion where+ hashWithSalt _salt EngineVersion' {..} =+ _salt+ `Prelude.hashWithSalt` effectiveEngineVersion+ `Prelude.hashWithSalt` selectedEngineVersion++instance Prelude.NFData EngineVersion where+ rnf EngineVersion' {..} =+ Prelude.rnf effectiveEngineVersion+ `Prelude.seq` Prelude.rnf selectedEngineVersion++instance Data.ToJSON EngineVersion where+ toJSON EngineVersion' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EffectiveEngineVersion" Data..=)+ Prelude.<$> effectiveEngineVersion,+ ("SelectedEngineVersion" Data..=)+ Prelude.<$> selectedEngineVersion+ ]+ )
+ gen/Amazonka/Athena/Types/ExecutorState.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ExecutorState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ExecutorState+ ( ExecutorState+ ( ..,+ ExecutorState_CREATED,+ ExecutorState_CREATING,+ ExecutorState_FAILED,+ ExecutorState_REGISTERED,+ ExecutorState_TERMINATED,+ ExecutorState_TERMINATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ExecutorState = ExecutorState'+ { fromExecutorState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ExecutorState_CREATED :: ExecutorState+pattern ExecutorState_CREATED = ExecutorState' "CREATED"++pattern ExecutorState_CREATING :: ExecutorState+pattern ExecutorState_CREATING = ExecutorState' "CREATING"++pattern ExecutorState_FAILED :: ExecutorState+pattern ExecutorState_FAILED = ExecutorState' "FAILED"++pattern ExecutorState_REGISTERED :: ExecutorState+pattern ExecutorState_REGISTERED = ExecutorState' "REGISTERED"++pattern ExecutorState_TERMINATED :: ExecutorState+pattern ExecutorState_TERMINATED = ExecutorState' "TERMINATED"++pattern ExecutorState_TERMINATING :: ExecutorState+pattern ExecutorState_TERMINATING = ExecutorState' "TERMINATING"++{-# COMPLETE+ ExecutorState_CREATED,+ ExecutorState_CREATING,+ ExecutorState_FAILED,+ ExecutorState_REGISTERED,+ ExecutorState_TERMINATED,+ ExecutorState_TERMINATING,+ ExecutorState'+ #-}
+ gen/Amazonka/Athena/Types/ExecutorType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ExecutorType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ExecutorType+ ( ExecutorType+ ( ..,+ ExecutorType_COORDINATOR,+ ExecutorType_GATEWAY,+ ExecutorType_WORKER+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ExecutorType = ExecutorType'+ { fromExecutorType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ExecutorType_COORDINATOR :: ExecutorType+pattern ExecutorType_COORDINATOR = ExecutorType' "COORDINATOR"++pattern ExecutorType_GATEWAY :: ExecutorType+pattern ExecutorType_GATEWAY = ExecutorType' "GATEWAY"++pattern ExecutorType_WORKER :: ExecutorType+pattern ExecutorType_WORKER = ExecutorType' "WORKER"++{-# COMPLETE+ ExecutorType_COORDINATOR,+ ExecutorType_GATEWAY,+ ExecutorType_WORKER,+ ExecutorType'+ #-}
+ gen/Amazonka/Athena/Types/ExecutorsSummary.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ExecutorsSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ExecutorsSummary where++import Amazonka.Athena.Types.ExecutorState+import Amazonka.Athena.Types.ExecutorType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains summary information about an executor.+--+-- /See:/ 'newExecutorsSummary' smart constructor.+data ExecutorsSummary = ExecutorsSummary'+ { -- | The smallest unit of compute that a session can request from Athena.+ -- Size is measured in data processing unit (DPU) values, a relative+ -- measure of processing power.+ executorSize :: Prelude.Maybe Prelude.Integer,+ -- | The processing state of the executor. A description of each state+ -- follows.+ --+ -- @CREATING@ - The executor is being started, including acquiring+ -- resources.+ --+ -- @CREATED@ - The executor has been started.+ --+ -- @REGISTERED@ - The executor has been registered.+ --+ -- @TERMINATING@ - The executor is in the process of shutting down.+ --+ -- @TERMINATED@ - The executor is no longer running.+ --+ -- @FAILED@ - Due to a failure, the executor is no longer running.+ executorState :: Prelude.Maybe ExecutorState,+ -- | The type of executor used for the application (@COORDINATOR@, @GATEWAY@,+ -- or @WORKER@).+ executorType :: Prelude.Maybe ExecutorType,+ -- | The date and time that the executor started.+ startDateTime :: Prelude.Maybe Prelude.Integer,+ -- | The date and time that the executor was terminated.+ terminationDateTime :: Prelude.Maybe Prelude.Integer,+ -- | The UUID of the executor.+ executorId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExecutorsSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'executorSize', 'executorsSummary_executorSize' - The smallest unit of compute that a session can request from Athena.+-- Size is measured in data processing unit (DPU) values, a relative+-- measure of processing power.+--+-- 'executorState', 'executorsSummary_executorState' - The processing state of the executor. A description of each state+-- follows.+--+-- @CREATING@ - The executor is being started, including acquiring+-- resources.+--+-- @CREATED@ - The executor has been started.+--+-- @REGISTERED@ - The executor has been registered.+--+-- @TERMINATING@ - The executor is in the process of shutting down.+--+-- @TERMINATED@ - The executor is no longer running.+--+-- @FAILED@ - Due to a failure, the executor is no longer running.+--+-- 'executorType', 'executorsSummary_executorType' - The type of executor used for the application (@COORDINATOR@, @GATEWAY@,+-- or @WORKER@).+--+-- 'startDateTime', 'executorsSummary_startDateTime' - The date and time that the executor started.+--+-- 'terminationDateTime', 'executorsSummary_terminationDateTime' - The date and time that the executor was terminated.+--+-- 'executorId', 'executorsSummary_executorId' - The UUID of the executor.+newExecutorsSummary ::+ -- | 'executorId'+ Prelude.Text ->+ ExecutorsSummary+newExecutorsSummary pExecutorId_ =+ ExecutorsSummary'+ { executorSize = Prelude.Nothing,+ executorState = Prelude.Nothing,+ executorType = Prelude.Nothing,+ startDateTime = Prelude.Nothing,+ terminationDateTime = Prelude.Nothing,+ executorId = pExecutorId_+ }++-- | The smallest unit of compute that a session can request from Athena.+-- Size is measured in data processing unit (DPU) values, a relative+-- measure of processing power.+executorsSummary_executorSize :: Lens.Lens' ExecutorsSummary (Prelude.Maybe Prelude.Integer)+executorsSummary_executorSize = Lens.lens (\ExecutorsSummary' {executorSize} -> executorSize) (\s@ExecutorsSummary' {} a -> s {executorSize = a} :: ExecutorsSummary)++-- | The processing state of the executor. A description of each state+-- follows.+--+-- @CREATING@ - The executor is being started, including acquiring+-- resources.+--+-- @CREATED@ - The executor has been started.+--+-- @REGISTERED@ - The executor has been registered.+--+-- @TERMINATING@ - The executor is in the process of shutting down.+--+-- @TERMINATED@ - The executor is no longer running.+--+-- @FAILED@ - Due to a failure, the executor is no longer running.+executorsSummary_executorState :: Lens.Lens' ExecutorsSummary (Prelude.Maybe ExecutorState)+executorsSummary_executorState = Lens.lens (\ExecutorsSummary' {executorState} -> executorState) (\s@ExecutorsSummary' {} a -> s {executorState = a} :: ExecutorsSummary)++-- | The type of executor used for the application (@COORDINATOR@, @GATEWAY@,+-- or @WORKER@).+executorsSummary_executorType :: Lens.Lens' ExecutorsSummary (Prelude.Maybe ExecutorType)+executorsSummary_executorType = Lens.lens (\ExecutorsSummary' {executorType} -> executorType) (\s@ExecutorsSummary' {} a -> s {executorType = a} :: ExecutorsSummary)++-- | The date and time that the executor started.+executorsSummary_startDateTime :: Lens.Lens' ExecutorsSummary (Prelude.Maybe Prelude.Integer)+executorsSummary_startDateTime = Lens.lens (\ExecutorsSummary' {startDateTime} -> startDateTime) (\s@ExecutorsSummary' {} a -> s {startDateTime = a} :: ExecutorsSummary)++-- | The date and time that the executor was terminated.+executorsSummary_terminationDateTime :: Lens.Lens' ExecutorsSummary (Prelude.Maybe Prelude.Integer)+executorsSummary_terminationDateTime = Lens.lens (\ExecutorsSummary' {terminationDateTime} -> terminationDateTime) (\s@ExecutorsSummary' {} a -> s {terminationDateTime = a} :: ExecutorsSummary)++-- | The UUID of the executor.+executorsSummary_executorId :: Lens.Lens' ExecutorsSummary Prelude.Text+executorsSummary_executorId = Lens.lens (\ExecutorsSummary' {executorId} -> executorId) (\s@ExecutorsSummary' {} a -> s {executorId = a} :: ExecutorsSummary)++instance Data.FromJSON ExecutorsSummary where+ parseJSON =+ Data.withObject+ "ExecutorsSummary"+ ( \x ->+ ExecutorsSummary'+ Prelude.<$> (x Data..:? "ExecutorSize")+ Prelude.<*> (x Data..:? "ExecutorState")+ Prelude.<*> (x Data..:? "ExecutorType")+ Prelude.<*> (x Data..:? "StartDateTime")+ Prelude.<*> (x Data..:? "TerminationDateTime")+ Prelude.<*> (x Data..: "ExecutorId")+ )++instance Prelude.Hashable ExecutorsSummary where+ hashWithSalt _salt ExecutorsSummary' {..} =+ _salt+ `Prelude.hashWithSalt` executorSize+ `Prelude.hashWithSalt` executorState+ `Prelude.hashWithSalt` executorType+ `Prelude.hashWithSalt` startDateTime+ `Prelude.hashWithSalt` terminationDateTime+ `Prelude.hashWithSalt` executorId++instance Prelude.NFData ExecutorsSummary where+ rnf ExecutorsSummary' {..} =+ Prelude.rnf executorSize+ `Prelude.seq` Prelude.rnf executorState+ `Prelude.seq` Prelude.rnf executorType+ `Prelude.seq` Prelude.rnf startDateTime+ `Prelude.seq` Prelude.rnf terminationDateTime+ `Prelude.seq` Prelude.rnf executorId
+ gen/Amazonka/Athena/Types/FilterDefinition.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.FilterDefinition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.FilterDefinition where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A string for searching notebook names.+--+-- /See:/ 'newFilterDefinition' smart constructor.+data FilterDefinition = FilterDefinition'+ { -- | The name of the notebook to search for.+ name :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FilterDefinition' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'filterDefinition_name' - The name of the notebook to search for.+newFilterDefinition ::+ FilterDefinition+newFilterDefinition =+ FilterDefinition' {name = Prelude.Nothing}++-- | The name of the notebook to search for.+filterDefinition_name :: Lens.Lens' FilterDefinition (Prelude.Maybe Prelude.Text)+filterDefinition_name = Lens.lens (\FilterDefinition' {name} -> name) (\s@FilterDefinition' {} a -> s {name = a} :: FilterDefinition)++instance Prelude.Hashable FilterDefinition where+ hashWithSalt _salt FilterDefinition' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData FilterDefinition where+ rnf FilterDefinition' {..} = Prelude.rnf name++instance Data.ToJSON FilterDefinition where+ toJSON FilterDefinition' {..} =+ Data.object+ ( Prelude.catMaybes+ [("Name" Data..=) Prelude.<$> name]+ )
+ gen/Amazonka/Athena/Types/NamedQuery.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.NamedQuery+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.NamedQuery where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A query, where @QueryString@ contains the SQL statements that make up+-- the query.+--+-- /See:/ 'newNamedQuery' smart constructor.+data NamedQuery = NamedQuery'+ { -- | The query description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The unique identifier of the query.+ namedQueryId :: Prelude.Maybe Prelude.Text,+ -- | The name of the workgroup that contains the named query.+ workGroup :: Prelude.Maybe Prelude.Text,+ -- | The query name.+ name :: Prelude.Text,+ -- | The database to which the query belongs.+ database :: Prelude.Text,+ -- | The SQL statements that make up the query.+ queryString :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NamedQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'namedQuery_description' - The query description.+--+-- 'namedQueryId', 'namedQuery_namedQueryId' - The unique identifier of the query.+--+-- 'workGroup', 'namedQuery_workGroup' - The name of the workgroup that contains the named query.+--+-- 'name', 'namedQuery_name' - The query name.+--+-- 'database', 'namedQuery_database' - The database to which the query belongs.+--+-- 'queryString', 'namedQuery_queryString' - The SQL statements that make up the query.+newNamedQuery ::+ -- | 'name'+ Prelude.Text ->+ -- | 'database'+ Prelude.Text ->+ -- | 'queryString'+ Prelude.Text ->+ NamedQuery+newNamedQuery pName_ pDatabase_ pQueryString_ =+ NamedQuery'+ { description = Prelude.Nothing,+ namedQueryId = Prelude.Nothing,+ workGroup = Prelude.Nothing,+ name = pName_,+ database = pDatabase_,+ queryString = pQueryString_+ }++-- | The query description.+namedQuery_description :: Lens.Lens' NamedQuery (Prelude.Maybe Prelude.Text)+namedQuery_description = Lens.lens (\NamedQuery' {description} -> description) (\s@NamedQuery' {} a -> s {description = a} :: NamedQuery)++-- | The unique identifier of the query.+namedQuery_namedQueryId :: Lens.Lens' NamedQuery (Prelude.Maybe Prelude.Text)+namedQuery_namedQueryId = Lens.lens (\NamedQuery' {namedQueryId} -> namedQueryId) (\s@NamedQuery' {} a -> s {namedQueryId = a} :: NamedQuery)++-- | The name of the workgroup that contains the named query.+namedQuery_workGroup :: Lens.Lens' NamedQuery (Prelude.Maybe Prelude.Text)+namedQuery_workGroup = Lens.lens (\NamedQuery' {workGroup} -> workGroup) (\s@NamedQuery' {} a -> s {workGroup = a} :: NamedQuery)++-- | The query name.+namedQuery_name :: Lens.Lens' NamedQuery Prelude.Text+namedQuery_name = Lens.lens (\NamedQuery' {name} -> name) (\s@NamedQuery' {} a -> s {name = a} :: NamedQuery)++-- | The database to which the query belongs.+namedQuery_database :: Lens.Lens' NamedQuery Prelude.Text+namedQuery_database = Lens.lens (\NamedQuery' {database} -> database) (\s@NamedQuery' {} a -> s {database = a} :: NamedQuery)++-- | The SQL statements that make up the query.+namedQuery_queryString :: Lens.Lens' NamedQuery Prelude.Text+namedQuery_queryString = Lens.lens (\NamedQuery' {queryString} -> queryString) (\s@NamedQuery' {} a -> s {queryString = a} :: NamedQuery)++instance Data.FromJSON NamedQuery where+ parseJSON =+ Data.withObject+ "NamedQuery"+ ( \x ->+ NamedQuery'+ Prelude.<$> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "NamedQueryId")+ Prelude.<*> (x Data..:? "WorkGroup")+ Prelude.<*> (x Data..: "Name")+ Prelude.<*> (x Data..: "Database")+ Prelude.<*> (x Data..: "QueryString")+ )++instance Prelude.Hashable NamedQuery where+ hashWithSalt _salt NamedQuery' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` namedQueryId+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` database+ `Prelude.hashWithSalt` queryString++instance Prelude.NFData NamedQuery where+ rnf NamedQuery' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf namedQueryId+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf database+ `Prelude.seq` Prelude.rnf queryString
+ gen/Amazonka/Athena/Types/NotebookMetadata.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.NotebookMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.NotebookMetadata where++import Amazonka.Athena.Types.NotebookType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains metadata for notebook, including the notebook name, ID,+-- workgroup, and time created.+--+-- /See:/ 'newNotebookMetadata' smart constructor.+data NotebookMetadata = NotebookMetadata'+ { -- | The time when the notebook was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The time when the notebook was last modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the notebook.+ name :: Prelude.Maybe Prelude.Text,+ -- | The notebook ID.+ notebookId :: Prelude.Maybe Prelude.Text,+ -- | The type of notebook. Currently, the only valid type is @IPYNB@.+ type' :: Prelude.Maybe NotebookType,+ -- | The name of the Spark enabled workgroup to which the notebook belongs.+ workGroup :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NotebookMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'creationTime', 'notebookMetadata_creationTime' - The time when the notebook was created.+--+-- 'lastModifiedTime', 'notebookMetadata_lastModifiedTime' - The time when the notebook was last modified.+--+-- 'name', 'notebookMetadata_name' - The name of the notebook.+--+-- 'notebookId', 'notebookMetadata_notebookId' - The notebook ID.+--+-- 'type'', 'notebookMetadata_type' - The type of notebook. Currently, the only valid type is @IPYNB@.+--+-- 'workGroup', 'notebookMetadata_workGroup' - The name of the Spark enabled workgroup to which the notebook belongs.+newNotebookMetadata ::+ NotebookMetadata+newNotebookMetadata =+ NotebookMetadata'+ { creationTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ name = Prelude.Nothing,+ notebookId = Prelude.Nothing,+ type' = Prelude.Nothing,+ workGroup = Prelude.Nothing+ }++-- | The time when the notebook was created.+notebookMetadata_creationTime :: Lens.Lens' NotebookMetadata (Prelude.Maybe Prelude.UTCTime)+notebookMetadata_creationTime = Lens.lens (\NotebookMetadata' {creationTime} -> creationTime) (\s@NotebookMetadata' {} a -> s {creationTime = a} :: NotebookMetadata) Prelude.. Lens.mapping Data._Time++-- | The time when the notebook was last modified.+notebookMetadata_lastModifiedTime :: Lens.Lens' NotebookMetadata (Prelude.Maybe Prelude.UTCTime)+notebookMetadata_lastModifiedTime = Lens.lens (\NotebookMetadata' {lastModifiedTime} -> lastModifiedTime) (\s@NotebookMetadata' {} a -> s {lastModifiedTime = a} :: NotebookMetadata) Prelude.. Lens.mapping Data._Time++-- | The name of the notebook.+notebookMetadata_name :: Lens.Lens' NotebookMetadata (Prelude.Maybe Prelude.Text)+notebookMetadata_name = Lens.lens (\NotebookMetadata' {name} -> name) (\s@NotebookMetadata' {} a -> s {name = a} :: NotebookMetadata)++-- | The notebook ID.+notebookMetadata_notebookId :: Lens.Lens' NotebookMetadata (Prelude.Maybe Prelude.Text)+notebookMetadata_notebookId = Lens.lens (\NotebookMetadata' {notebookId} -> notebookId) (\s@NotebookMetadata' {} a -> s {notebookId = a} :: NotebookMetadata)++-- | The type of notebook. Currently, the only valid type is @IPYNB@.+notebookMetadata_type :: Lens.Lens' NotebookMetadata (Prelude.Maybe NotebookType)+notebookMetadata_type = Lens.lens (\NotebookMetadata' {type'} -> type') (\s@NotebookMetadata' {} a -> s {type' = a} :: NotebookMetadata)++-- | The name of the Spark enabled workgroup to which the notebook belongs.+notebookMetadata_workGroup :: Lens.Lens' NotebookMetadata (Prelude.Maybe Prelude.Text)+notebookMetadata_workGroup = Lens.lens (\NotebookMetadata' {workGroup} -> workGroup) (\s@NotebookMetadata' {} a -> s {workGroup = a} :: NotebookMetadata)++instance Data.FromJSON NotebookMetadata where+ parseJSON =+ Data.withObject+ "NotebookMetadata"+ ( \x ->+ NotebookMetadata'+ Prelude.<$> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "LastModifiedTime")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "NotebookId")+ Prelude.<*> (x Data..:? "Type")+ Prelude.<*> (x Data..:? "WorkGroup")+ )++instance Prelude.Hashable NotebookMetadata where+ hashWithSalt _salt NotebookMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` lastModifiedTime+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` notebookId+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData NotebookMetadata where+ rnf NotebookMetadata' {..} =+ Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf notebookId+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf workGroup
+ gen/Amazonka/Athena/Types/NotebookSessionSummary.hs view
@@ -0,0 +1,85 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.NotebookSessionSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.NotebookSessionSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the notebook session ID and notebook session creation time.+--+-- /See:/ 'newNotebookSessionSummary' smart constructor.+data NotebookSessionSummary = NotebookSessionSummary'+ { -- | The time when the notebook session was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The notebook session ID.+ sessionId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NotebookSessionSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'creationTime', 'notebookSessionSummary_creationTime' - The time when the notebook session was created.+--+-- 'sessionId', 'notebookSessionSummary_sessionId' - The notebook session ID.+newNotebookSessionSummary ::+ NotebookSessionSummary+newNotebookSessionSummary =+ NotebookSessionSummary'+ { creationTime =+ Prelude.Nothing,+ sessionId = Prelude.Nothing+ }++-- | The time when the notebook session was created.+notebookSessionSummary_creationTime :: Lens.Lens' NotebookSessionSummary (Prelude.Maybe Prelude.UTCTime)+notebookSessionSummary_creationTime = Lens.lens (\NotebookSessionSummary' {creationTime} -> creationTime) (\s@NotebookSessionSummary' {} a -> s {creationTime = a} :: NotebookSessionSummary) Prelude.. Lens.mapping Data._Time++-- | The notebook session ID.+notebookSessionSummary_sessionId :: Lens.Lens' NotebookSessionSummary (Prelude.Maybe Prelude.Text)+notebookSessionSummary_sessionId = Lens.lens (\NotebookSessionSummary' {sessionId} -> sessionId) (\s@NotebookSessionSummary' {} a -> s {sessionId = a} :: NotebookSessionSummary)++instance Data.FromJSON NotebookSessionSummary where+ parseJSON =+ Data.withObject+ "NotebookSessionSummary"+ ( \x ->+ NotebookSessionSummary'+ Prelude.<$> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "SessionId")+ )++instance Prelude.Hashable NotebookSessionSummary where+ hashWithSalt _salt NotebookSessionSummary' {..} =+ _salt+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` sessionId++instance Prelude.NFData NotebookSessionSummary where+ rnf NotebookSessionSummary' {..} =+ Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf sessionId
+ gen/Amazonka/Athena/Types/NotebookType.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.NotebookType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.NotebookType+ ( NotebookType+ ( ..,+ NotebookType_IPYNB+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype NotebookType = NotebookType'+ { fromNotebookType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern NotebookType_IPYNB :: NotebookType+pattern NotebookType_IPYNB = NotebookType' "IPYNB"++{-# COMPLETE+ NotebookType_IPYNB,+ NotebookType'+ #-}
+ gen/Amazonka/Athena/Types/PreparedStatement.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.PreparedStatement+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.PreparedStatement where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A prepared SQL statement for use with Athena.+--+-- /See:/ 'newPreparedStatement' smart constructor.+data PreparedStatement = PreparedStatement'+ { -- | The description of the prepared statement.+ description :: Prelude.Maybe Prelude.Text,+ -- | The last modified time of the prepared statement.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The query string for the prepared statement.+ queryStatement :: Prelude.Maybe Prelude.Text,+ -- | The name of the prepared statement.+ statementName :: Prelude.Maybe Prelude.Text,+ -- | The name of the workgroup to which the prepared statement belongs.+ workGroupName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PreparedStatement' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'preparedStatement_description' - The description of the prepared statement.+--+-- 'lastModifiedTime', 'preparedStatement_lastModifiedTime' - The last modified time of the prepared statement.+--+-- 'queryStatement', 'preparedStatement_queryStatement' - The query string for the prepared statement.+--+-- 'statementName', 'preparedStatement_statementName' - The name of the prepared statement.+--+-- 'workGroupName', 'preparedStatement_workGroupName' - The name of the workgroup to which the prepared statement belongs.+newPreparedStatement ::+ PreparedStatement+newPreparedStatement =+ PreparedStatement'+ { description = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ queryStatement = Prelude.Nothing,+ statementName = Prelude.Nothing,+ workGroupName = Prelude.Nothing+ }++-- | The description of the prepared statement.+preparedStatement_description :: Lens.Lens' PreparedStatement (Prelude.Maybe Prelude.Text)+preparedStatement_description = Lens.lens (\PreparedStatement' {description} -> description) (\s@PreparedStatement' {} a -> s {description = a} :: PreparedStatement)++-- | The last modified time of the prepared statement.+preparedStatement_lastModifiedTime :: Lens.Lens' PreparedStatement (Prelude.Maybe Prelude.UTCTime)+preparedStatement_lastModifiedTime = Lens.lens (\PreparedStatement' {lastModifiedTime} -> lastModifiedTime) (\s@PreparedStatement' {} a -> s {lastModifiedTime = a} :: PreparedStatement) Prelude.. Lens.mapping Data._Time++-- | The query string for the prepared statement.+preparedStatement_queryStatement :: Lens.Lens' PreparedStatement (Prelude.Maybe Prelude.Text)+preparedStatement_queryStatement = Lens.lens (\PreparedStatement' {queryStatement} -> queryStatement) (\s@PreparedStatement' {} a -> s {queryStatement = a} :: PreparedStatement)++-- | The name of the prepared statement.+preparedStatement_statementName :: Lens.Lens' PreparedStatement (Prelude.Maybe Prelude.Text)+preparedStatement_statementName = Lens.lens (\PreparedStatement' {statementName} -> statementName) (\s@PreparedStatement' {} a -> s {statementName = a} :: PreparedStatement)++-- | The name of the workgroup to which the prepared statement belongs.+preparedStatement_workGroupName :: Lens.Lens' PreparedStatement (Prelude.Maybe Prelude.Text)+preparedStatement_workGroupName = Lens.lens (\PreparedStatement' {workGroupName} -> workGroupName) (\s@PreparedStatement' {} a -> s {workGroupName = a} :: PreparedStatement)++instance Data.FromJSON PreparedStatement where+ parseJSON =+ Data.withObject+ "PreparedStatement"+ ( \x ->+ PreparedStatement'+ Prelude.<$> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "LastModifiedTime")+ Prelude.<*> (x Data..:? "QueryStatement")+ Prelude.<*> (x Data..:? "StatementName")+ Prelude.<*> (x Data..:? "WorkGroupName")+ )++instance Prelude.Hashable PreparedStatement where+ hashWithSalt _salt PreparedStatement' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` lastModifiedTime+ `Prelude.hashWithSalt` queryStatement+ `Prelude.hashWithSalt` statementName+ `Prelude.hashWithSalt` workGroupName++instance Prelude.NFData PreparedStatement where+ rnf PreparedStatement' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf queryStatement+ `Prelude.seq` Prelude.rnf statementName+ `Prelude.seq` Prelude.rnf workGroupName
+ gen/Amazonka/Athena/Types/PreparedStatementSummary.hs view
@@ -0,0 +1,85 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.PreparedStatementSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.PreparedStatementSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The name and last modified time of the prepared statement.+--+-- /See:/ 'newPreparedStatementSummary' smart constructor.+data PreparedStatementSummary = PreparedStatementSummary'+ { -- | The last modified time of the prepared statement.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the prepared statement.+ statementName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PreparedStatementSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'lastModifiedTime', 'preparedStatementSummary_lastModifiedTime' - The last modified time of the prepared statement.+--+-- 'statementName', 'preparedStatementSummary_statementName' - The name of the prepared statement.+newPreparedStatementSummary ::+ PreparedStatementSummary+newPreparedStatementSummary =+ PreparedStatementSummary'+ { lastModifiedTime =+ Prelude.Nothing,+ statementName = Prelude.Nothing+ }++-- | The last modified time of the prepared statement.+preparedStatementSummary_lastModifiedTime :: Lens.Lens' PreparedStatementSummary (Prelude.Maybe Prelude.UTCTime)+preparedStatementSummary_lastModifiedTime = Lens.lens (\PreparedStatementSummary' {lastModifiedTime} -> lastModifiedTime) (\s@PreparedStatementSummary' {} a -> s {lastModifiedTime = a} :: PreparedStatementSummary) Prelude.. Lens.mapping Data._Time++-- | The name of the prepared statement.+preparedStatementSummary_statementName :: Lens.Lens' PreparedStatementSummary (Prelude.Maybe Prelude.Text)+preparedStatementSummary_statementName = Lens.lens (\PreparedStatementSummary' {statementName} -> statementName) (\s@PreparedStatementSummary' {} a -> s {statementName = a} :: PreparedStatementSummary)++instance Data.FromJSON PreparedStatementSummary where+ parseJSON =+ Data.withObject+ "PreparedStatementSummary"+ ( \x ->+ PreparedStatementSummary'+ Prelude.<$> (x Data..:? "LastModifiedTime")+ Prelude.<*> (x Data..:? "StatementName")+ )++instance Prelude.Hashable PreparedStatementSummary where+ hashWithSalt _salt PreparedStatementSummary' {..} =+ _salt+ `Prelude.hashWithSalt` lastModifiedTime+ `Prelude.hashWithSalt` statementName++instance Prelude.NFData PreparedStatementSummary where+ rnf PreparedStatementSummary' {..} =+ Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf statementName
+ gen/Amazonka/Athena/Types/QueryExecution.hs view
@@ -0,0 +1,238 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryExecution+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryExecution where++import Amazonka.Athena.Types.EngineVersion+import Amazonka.Athena.Types.QueryExecutionContext+import Amazonka.Athena.Types.QueryExecutionStatistics+import Amazonka.Athena.Types.QueryExecutionStatus+import Amazonka.Athena.Types.ResultConfiguration+import Amazonka.Athena.Types.ResultReuseConfiguration+import Amazonka.Athena.Types.StatementType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Information about a single instance of a query execution.+--+-- /See:/ 'newQueryExecution' smart constructor.+data QueryExecution = QueryExecution'+ { -- | The engine version that executed the query.+ engineVersion :: Prelude.Maybe EngineVersion,+ -- | A list of values for the parameters in a query. The values are applied+ -- sequentially to the parameters in the query in the order in which the+ -- parameters occur.+ executionParameters :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+ -- | The SQL query statements which the query execution ran.+ query :: Prelude.Maybe Prelude.Text,+ -- | The database in which the query execution occurred.+ queryExecutionContext :: Prelude.Maybe QueryExecutionContext,+ -- | The unique identifier for each query execution.+ queryExecutionId :: Prelude.Maybe Prelude.Text,+ -- | The location in Amazon S3 where query results were stored and the+ -- encryption option, if any, used for query results. These are known as+ -- \"client-side settings\". If workgroup settings override client-side+ -- settings, then the query uses the location for the query results and the+ -- encryption configuration that are specified for the workgroup.+ resultConfiguration :: Prelude.Maybe ResultConfiguration,+ -- | Specifies the query result reuse behavior that was used for the query.+ resultReuseConfiguration :: Prelude.Maybe ResultReuseConfiguration,+ -- | The type of query statement that was run. @DDL@ indicates DDL query+ -- statements. @DML@ indicates DML (Data Manipulation Language) query+ -- statements, such as @CREATE TABLE AS SELECT@. @UTILITY@ indicates query+ -- statements other than DDL and DML, such as @SHOW CREATE TABLE@, or+ -- @DESCRIBE TABLE@.+ statementType :: Prelude.Maybe StatementType,+ -- | Query execution statistics, such as the amount of data scanned, the+ -- amount of time that the query took to process, and the type of statement+ -- that was run.+ statistics :: Prelude.Maybe QueryExecutionStatistics,+ -- | The completion date, current state, submission time, and state change+ -- reason (if applicable) for the query execution.+ status :: Prelude.Maybe QueryExecutionStatus,+ -- | The name of the workgroup in which the query ran.+ workGroup :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryExecution' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'engineVersion', 'queryExecution_engineVersion' - The engine version that executed the query.+--+-- 'executionParameters', 'queryExecution_executionParameters' - A list of values for the parameters in a query. The values are applied+-- sequentially to the parameters in the query in the order in which the+-- parameters occur.+--+-- 'query', 'queryExecution_query' - The SQL query statements which the query execution ran.+--+-- 'queryExecutionContext', 'queryExecution_queryExecutionContext' - The database in which the query execution occurred.+--+-- 'queryExecutionId', 'queryExecution_queryExecutionId' - The unique identifier for each query execution.+--+-- 'resultConfiguration', 'queryExecution_resultConfiguration' - The location in Amazon S3 where query results were stored and the+-- encryption option, if any, used for query results. These are known as+-- \"client-side settings\". If workgroup settings override client-side+-- settings, then the query uses the location for the query results and the+-- encryption configuration that are specified for the workgroup.+--+-- 'resultReuseConfiguration', 'queryExecution_resultReuseConfiguration' - Specifies the query result reuse behavior that was used for the query.+--+-- 'statementType', 'queryExecution_statementType' - The type of query statement that was run. @DDL@ indicates DDL query+-- statements. @DML@ indicates DML (Data Manipulation Language) query+-- statements, such as @CREATE TABLE AS SELECT@. @UTILITY@ indicates query+-- statements other than DDL and DML, such as @SHOW CREATE TABLE@, or+-- @DESCRIBE TABLE@.+--+-- 'statistics', 'queryExecution_statistics' - Query execution statistics, such as the amount of data scanned, the+-- amount of time that the query took to process, and the type of statement+-- that was run.+--+-- 'status', 'queryExecution_status' - The completion date, current state, submission time, and state change+-- reason (if applicable) for the query execution.+--+-- 'workGroup', 'queryExecution_workGroup' - The name of the workgroup in which the query ran.+newQueryExecution ::+ QueryExecution+newQueryExecution =+ QueryExecution'+ { engineVersion = Prelude.Nothing,+ executionParameters = Prelude.Nothing,+ query = Prelude.Nothing,+ queryExecutionContext = Prelude.Nothing,+ queryExecutionId = Prelude.Nothing,+ resultConfiguration = Prelude.Nothing,+ resultReuseConfiguration = Prelude.Nothing,+ statementType = Prelude.Nothing,+ statistics = Prelude.Nothing,+ status = Prelude.Nothing,+ workGroup = Prelude.Nothing+ }++-- | The engine version that executed the query.+queryExecution_engineVersion :: Lens.Lens' QueryExecution (Prelude.Maybe EngineVersion)+queryExecution_engineVersion = Lens.lens (\QueryExecution' {engineVersion} -> engineVersion) (\s@QueryExecution' {} a -> s {engineVersion = a} :: QueryExecution)++-- | A list of values for the parameters in a query. The values are applied+-- sequentially to the parameters in the query in the order in which the+-- parameters occur.+queryExecution_executionParameters :: Lens.Lens' QueryExecution (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+queryExecution_executionParameters = Lens.lens (\QueryExecution' {executionParameters} -> executionParameters) (\s@QueryExecution' {} a -> s {executionParameters = a} :: QueryExecution) Prelude.. Lens.mapping Lens.coerced++-- | The SQL query statements which the query execution ran.+queryExecution_query :: Lens.Lens' QueryExecution (Prelude.Maybe Prelude.Text)+queryExecution_query = Lens.lens (\QueryExecution' {query} -> query) (\s@QueryExecution' {} a -> s {query = a} :: QueryExecution)++-- | The database in which the query execution occurred.+queryExecution_queryExecutionContext :: Lens.Lens' QueryExecution (Prelude.Maybe QueryExecutionContext)+queryExecution_queryExecutionContext = Lens.lens (\QueryExecution' {queryExecutionContext} -> queryExecutionContext) (\s@QueryExecution' {} a -> s {queryExecutionContext = a} :: QueryExecution)++-- | The unique identifier for each query execution.+queryExecution_queryExecutionId :: Lens.Lens' QueryExecution (Prelude.Maybe Prelude.Text)+queryExecution_queryExecutionId = Lens.lens (\QueryExecution' {queryExecutionId} -> queryExecutionId) (\s@QueryExecution' {} a -> s {queryExecutionId = a} :: QueryExecution)++-- | The location in Amazon S3 where query results were stored and the+-- encryption option, if any, used for query results. These are known as+-- \"client-side settings\". If workgroup settings override client-side+-- settings, then the query uses the location for the query results and the+-- encryption configuration that are specified for the workgroup.+queryExecution_resultConfiguration :: Lens.Lens' QueryExecution (Prelude.Maybe ResultConfiguration)+queryExecution_resultConfiguration = Lens.lens (\QueryExecution' {resultConfiguration} -> resultConfiguration) (\s@QueryExecution' {} a -> s {resultConfiguration = a} :: QueryExecution)++-- | Specifies the query result reuse behavior that was used for the query.+queryExecution_resultReuseConfiguration :: Lens.Lens' QueryExecution (Prelude.Maybe ResultReuseConfiguration)+queryExecution_resultReuseConfiguration = Lens.lens (\QueryExecution' {resultReuseConfiguration} -> resultReuseConfiguration) (\s@QueryExecution' {} a -> s {resultReuseConfiguration = a} :: QueryExecution)++-- | The type of query statement that was run. @DDL@ indicates DDL query+-- statements. @DML@ indicates DML (Data Manipulation Language) query+-- statements, such as @CREATE TABLE AS SELECT@. @UTILITY@ indicates query+-- statements other than DDL and DML, such as @SHOW CREATE TABLE@, or+-- @DESCRIBE TABLE@.+queryExecution_statementType :: Lens.Lens' QueryExecution (Prelude.Maybe StatementType)+queryExecution_statementType = Lens.lens (\QueryExecution' {statementType} -> statementType) (\s@QueryExecution' {} a -> s {statementType = a} :: QueryExecution)++-- | Query execution statistics, such as the amount of data scanned, the+-- amount of time that the query took to process, and the type of statement+-- that was run.+queryExecution_statistics :: Lens.Lens' QueryExecution (Prelude.Maybe QueryExecutionStatistics)+queryExecution_statistics = Lens.lens (\QueryExecution' {statistics} -> statistics) (\s@QueryExecution' {} a -> s {statistics = a} :: QueryExecution)++-- | The completion date, current state, submission time, and state change+-- reason (if applicable) for the query execution.+queryExecution_status :: Lens.Lens' QueryExecution (Prelude.Maybe QueryExecutionStatus)+queryExecution_status = Lens.lens (\QueryExecution' {status} -> status) (\s@QueryExecution' {} a -> s {status = a} :: QueryExecution)++-- | The name of the workgroup in which the query ran.+queryExecution_workGroup :: Lens.Lens' QueryExecution (Prelude.Maybe Prelude.Text)+queryExecution_workGroup = Lens.lens (\QueryExecution' {workGroup} -> workGroup) (\s@QueryExecution' {} a -> s {workGroup = a} :: QueryExecution)++instance Data.FromJSON QueryExecution where+ parseJSON =+ Data.withObject+ "QueryExecution"+ ( \x ->+ QueryExecution'+ Prelude.<$> (x Data..:? "EngineVersion")+ Prelude.<*> (x Data..:? "ExecutionParameters")+ Prelude.<*> (x Data..:? "Query")+ Prelude.<*> (x Data..:? "QueryExecutionContext")+ Prelude.<*> (x Data..:? "QueryExecutionId")+ Prelude.<*> (x Data..:? "ResultConfiguration")+ Prelude.<*> (x Data..:? "ResultReuseConfiguration")+ Prelude.<*> (x Data..:? "StatementType")+ Prelude.<*> (x Data..:? "Statistics")+ Prelude.<*> (x Data..:? "Status")+ Prelude.<*> (x Data..:? "WorkGroup")+ )++instance Prelude.Hashable QueryExecution where+ hashWithSalt _salt QueryExecution' {..} =+ _salt+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` executionParameters+ `Prelude.hashWithSalt` query+ `Prelude.hashWithSalt` queryExecutionContext+ `Prelude.hashWithSalt` queryExecutionId+ `Prelude.hashWithSalt` resultConfiguration+ `Prelude.hashWithSalt` resultReuseConfiguration+ `Prelude.hashWithSalt` statementType+ `Prelude.hashWithSalt` statistics+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData QueryExecution where+ rnf QueryExecution' {..} =+ Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf executionParameters+ `Prelude.seq` Prelude.rnf query+ `Prelude.seq` Prelude.rnf queryExecutionContext+ `Prelude.seq` Prelude.rnf queryExecutionId+ `Prelude.seq` Prelude.rnf resultConfiguration+ `Prelude.seq` Prelude.rnf resultReuseConfiguration+ `Prelude.seq` Prelude.rnf statementType+ `Prelude.seq` Prelude.rnf statistics+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf workGroup
+ gen/Amazonka/Athena/Types/QueryExecutionContext.hs view
@@ -0,0 +1,97 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryExecutionContext+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryExecutionContext where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The database and data catalog context in which the query execution+-- occurs.+--+-- /See:/ 'newQueryExecutionContext' smart constructor.+data QueryExecutionContext = QueryExecutionContext'+ { -- | The name of the data catalog used in the query execution.+ catalog :: Prelude.Maybe Prelude.Text,+ -- | The name of the database used in the query execution. The database must+ -- exist in the catalog.+ database :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryExecutionContext' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'catalog', 'queryExecutionContext_catalog' - The name of the data catalog used in the query execution.+--+-- 'database', 'queryExecutionContext_database' - The name of the database used in the query execution. The database must+-- exist in the catalog.+newQueryExecutionContext ::+ QueryExecutionContext+newQueryExecutionContext =+ QueryExecutionContext'+ { catalog = Prelude.Nothing,+ database = Prelude.Nothing+ }++-- | The name of the data catalog used in the query execution.+queryExecutionContext_catalog :: Lens.Lens' QueryExecutionContext (Prelude.Maybe Prelude.Text)+queryExecutionContext_catalog = Lens.lens (\QueryExecutionContext' {catalog} -> catalog) (\s@QueryExecutionContext' {} a -> s {catalog = a} :: QueryExecutionContext)++-- | The name of the database used in the query execution. The database must+-- exist in the catalog.+queryExecutionContext_database :: Lens.Lens' QueryExecutionContext (Prelude.Maybe Prelude.Text)+queryExecutionContext_database = Lens.lens (\QueryExecutionContext' {database} -> database) (\s@QueryExecutionContext' {} a -> s {database = a} :: QueryExecutionContext)++instance Data.FromJSON QueryExecutionContext where+ parseJSON =+ Data.withObject+ "QueryExecutionContext"+ ( \x ->+ QueryExecutionContext'+ Prelude.<$> (x Data..:? "Catalog")+ Prelude.<*> (x Data..:? "Database")+ )++instance Prelude.Hashable QueryExecutionContext where+ hashWithSalt _salt QueryExecutionContext' {..} =+ _salt+ `Prelude.hashWithSalt` catalog+ `Prelude.hashWithSalt` database++instance Prelude.NFData QueryExecutionContext where+ rnf QueryExecutionContext' {..} =+ Prelude.rnf catalog+ `Prelude.seq` Prelude.rnf database++instance Data.ToJSON QueryExecutionContext where+ toJSON QueryExecutionContext' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Catalog" Data..=) Prelude.<$> catalog,+ ("Database" Data..=) Prelude.<$> database+ ]+ )
+ gen/Amazonka/Athena/Types/QueryExecutionState.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryExecutionState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryExecutionState+ ( QueryExecutionState+ ( ..,+ QueryExecutionState_CANCELLED,+ QueryExecutionState_FAILED,+ QueryExecutionState_QUEUED,+ QueryExecutionState_RUNNING,+ QueryExecutionState_SUCCEEDED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype QueryExecutionState = QueryExecutionState'+ { fromQueryExecutionState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern QueryExecutionState_CANCELLED :: QueryExecutionState+pattern QueryExecutionState_CANCELLED = QueryExecutionState' "CANCELLED"++pattern QueryExecutionState_FAILED :: QueryExecutionState+pattern QueryExecutionState_FAILED = QueryExecutionState' "FAILED"++pattern QueryExecutionState_QUEUED :: QueryExecutionState+pattern QueryExecutionState_QUEUED = QueryExecutionState' "QUEUED"++pattern QueryExecutionState_RUNNING :: QueryExecutionState+pattern QueryExecutionState_RUNNING = QueryExecutionState' "RUNNING"++pattern QueryExecutionState_SUCCEEDED :: QueryExecutionState+pattern QueryExecutionState_SUCCEEDED = QueryExecutionState' "SUCCEEDED"++{-# COMPLETE+ QueryExecutionState_CANCELLED,+ QueryExecutionState_FAILED,+ QueryExecutionState_QUEUED,+ QueryExecutionState_RUNNING,+ QueryExecutionState_SUCCEEDED,+ QueryExecutionState'+ #-}
+ gen/Amazonka/Athena/Types/QueryExecutionStatistics.hs view
@@ -0,0 +1,201 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryExecutionStatistics+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryExecutionStatistics where++import Amazonka.Athena.Types.ResultReuseInformation+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The amount of data scanned during the query execution and the amount of+-- time that it took to execute, and the type of statement that was run.+--+-- /See:/ 'newQueryExecutionStatistics' smart constructor.+data QueryExecutionStatistics = QueryExecutionStatistics'+ { -- | The location and file name of a data manifest file. The manifest file is+ -- saved to the Athena query results location in Amazon S3. The manifest+ -- file tracks files that the query wrote to Amazon S3. If the query fails,+ -- the manifest file also tracks files that the query intended to write.+ -- The manifest is useful for identifying orphaned files resulting from a+ -- failed query. For more information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Working with Query Results, Output Files, and Query History>+ -- in the /Amazon Athena User Guide/.+ dataManifestLocation :: Prelude.Maybe Prelude.Text,+ -- | The number of bytes in the data that was queried.+ dataScannedInBytes :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that the query took to execute.+ engineExecutionTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that Athena took to plan the query processing+ -- flow. This includes the time spent retrieving table partitions from the+ -- data source. Note that because the query engine performs the query+ -- planning, query planning time is a subset of engine processing time.+ queryPlanningTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that the query was in your query queue+ -- waiting for resources. Note that if transient errors occur, Athena might+ -- automatically add the query back to the queue.+ queryQueueTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | Contains information about whether previous query results were reused+ -- for the query.+ resultReuseInformation :: Prelude.Maybe ResultReuseInformation,+ -- | The number of milliseconds that Athena took to finalize and publish the+ -- query results after the query engine finished running the query.+ serviceProcessingTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that Athena took to run the query.+ totalExecutionTimeInMillis :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryExecutionStatistics' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataManifestLocation', 'queryExecutionStatistics_dataManifestLocation' - The location and file name of a data manifest file. The manifest file is+-- saved to the Athena query results location in Amazon S3. The manifest+-- file tracks files that the query wrote to Amazon S3. If the query fails,+-- the manifest file also tracks files that the query intended to write.+-- The manifest is useful for identifying orphaned files resulting from a+-- failed query. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Working with Query Results, Output Files, and Query History>+-- in the /Amazon Athena User Guide/.+--+-- 'dataScannedInBytes', 'queryExecutionStatistics_dataScannedInBytes' - The number of bytes in the data that was queried.+--+-- 'engineExecutionTimeInMillis', 'queryExecutionStatistics_engineExecutionTimeInMillis' - The number of milliseconds that the query took to execute.+--+-- 'queryPlanningTimeInMillis', 'queryExecutionStatistics_queryPlanningTimeInMillis' - The number of milliseconds that Athena took to plan the query processing+-- flow. This includes the time spent retrieving table partitions from the+-- data source. Note that because the query engine performs the query+-- planning, query planning time is a subset of engine processing time.+--+-- 'queryQueueTimeInMillis', 'queryExecutionStatistics_queryQueueTimeInMillis' - The number of milliseconds that the query was in your query queue+-- waiting for resources. Note that if transient errors occur, Athena might+-- automatically add the query back to the queue.+--+-- 'resultReuseInformation', 'queryExecutionStatistics_resultReuseInformation' - Contains information about whether previous query results were reused+-- for the query.+--+-- 'serviceProcessingTimeInMillis', 'queryExecutionStatistics_serviceProcessingTimeInMillis' - The number of milliseconds that Athena took to finalize and publish the+-- query results after the query engine finished running the query.+--+-- 'totalExecutionTimeInMillis', 'queryExecutionStatistics_totalExecutionTimeInMillis' - The number of milliseconds that Athena took to run the query.+newQueryExecutionStatistics ::+ QueryExecutionStatistics+newQueryExecutionStatistics =+ QueryExecutionStatistics'+ { dataManifestLocation =+ Prelude.Nothing,+ dataScannedInBytes = Prelude.Nothing,+ engineExecutionTimeInMillis = Prelude.Nothing,+ queryPlanningTimeInMillis = Prelude.Nothing,+ queryQueueTimeInMillis = Prelude.Nothing,+ resultReuseInformation = Prelude.Nothing,+ serviceProcessingTimeInMillis = Prelude.Nothing,+ totalExecutionTimeInMillis = Prelude.Nothing+ }++-- | The location and file name of a data manifest file. The manifest file is+-- saved to the Athena query results location in Amazon S3. The manifest+-- file tracks files that the query wrote to Amazon S3. If the query fails,+-- the manifest file also tracks files that the query intended to write.+-- The manifest is useful for identifying orphaned files resulting from a+-- failed query. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Working with Query Results, Output Files, and Query History>+-- in the /Amazon Athena User Guide/.+queryExecutionStatistics_dataManifestLocation :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe Prelude.Text)+queryExecutionStatistics_dataManifestLocation = Lens.lens (\QueryExecutionStatistics' {dataManifestLocation} -> dataManifestLocation) (\s@QueryExecutionStatistics' {} a -> s {dataManifestLocation = a} :: QueryExecutionStatistics)++-- | The number of bytes in the data that was queried.+queryExecutionStatistics_dataScannedInBytes :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe Prelude.Integer)+queryExecutionStatistics_dataScannedInBytes = Lens.lens (\QueryExecutionStatistics' {dataScannedInBytes} -> dataScannedInBytes) (\s@QueryExecutionStatistics' {} a -> s {dataScannedInBytes = a} :: QueryExecutionStatistics)++-- | The number of milliseconds that the query took to execute.+queryExecutionStatistics_engineExecutionTimeInMillis :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe Prelude.Integer)+queryExecutionStatistics_engineExecutionTimeInMillis = Lens.lens (\QueryExecutionStatistics' {engineExecutionTimeInMillis} -> engineExecutionTimeInMillis) (\s@QueryExecutionStatistics' {} a -> s {engineExecutionTimeInMillis = a} :: QueryExecutionStatistics)++-- | The number of milliseconds that Athena took to plan the query processing+-- flow. This includes the time spent retrieving table partitions from the+-- data source. Note that because the query engine performs the query+-- planning, query planning time is a subset of engine processing time.+queryExecutionStatistics_queryPlanningTimeInMillis :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe Prelude.Integer)+queryExecutionStatistics_queryPlanningTimeInMillis = Lens.lens (\QueryExecutionStatistics' {queryPlanningTimeInMillis} -> queryPlanningTimeInMillis) (\s@QueryExecutionStatistics' {} a -> s {queryPlanningTimeInMillis = a} :: QueryExecutionStatistics)++-- | The number of milliseconds that the query was in your query queue+-- waiting for resources. Note that if transient errors occur, Athena might+-- automatically add the query back to the queue.+queryExecutionStatistics_queryQueueTimeInMillis :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe Prelude.Integer)+queryExecutionStatistics_queryQueueTimeInMillis = Lens.lens (\QueryExecutionStatistics' {queryQueueTimeInMillis} -> queryQueueTimeInMillis) (\s@QueryExecutionStatistics' {} a -> s {queryQueueTimeInMillis = a} :: QueryExecutionStatistics)++-- | Contains information about whether previous query results were reused+-- for the query.+queryExecutionStatistics_resultReuseInformation :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe ResultReuseInformation)+queryExecutionStatistics_resultReuseInformation = Lens.lens (\QueryExecutionStatistics' {resultReuseInformation} -> resultReuseInformation) (\s@QueryExecutionStatistics' {} a -> s {resultReuseInformation = a} :: QueryExecutionStatistics)++-- | The number of milliseconds that Athena took to finalize and publish the+-- query results after the query engine finished running the query.+queryExecutionStatistics_serviceProcessingTimeInMillis :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe Prelude.Integer)+queryExecutionStatistics_serviceProcessingTimeInMillis = Lens.lens (\QueryExecutionStatistics' {serviceProcessingTimeInMillis} -> serviceProcessingTimeInMillis) (\s@QueryExecutionStatistics' {} a -> s {serviceProcessingTimeInMillis = a} :: QueryExecutionStatistics)++-- | The number of milliseconds that Athena took to run the query.+queryExecutionStatistics_totalExecutionTimeInMillis :: Lens.Lens' QueryExecutionStatistics (Prelude.Maybe Prelude.Integer)+queryExecutionStatistics_totalExecutionTimeInMillis = Lens.lens (\QueryExecutionStatistics' {totalExecutionTimeInMillis} -> totalExecutionTimeInMillis) (\s@QueryExecutionStatistics' {} a -> s {totalExecutionTimeInMillis = a} :: QueryExecutionStatistics)++instance Data.FromJSON QueryExecutionStatistics where+ parseJSON =+ Data.withObject+ "QueryExecutionStatistics"+ ( \x ->+ QueryExecutionStatistics'+ Prelude.<$> (x Data..:? "DataManifestLocation")+ Prelude.<*> (x Data..:? "DataScannedInBytes")+ Prelude.<*> (x Data..:? "EngineExecutionTimeInMillis")+ Prelude.<*> (x Data..:? "QueryPlanningTimeInMillis")+ Prelude.<*> (x Data..:? "QueryQueueTimeInMillis")+ Prelude.<*> (x Data..:? "ResultReuseInformation")+ Prelude.<*> (x Data..:? "ServiceProcessingTimeInMillis")+ Prelude.<*> (x Data..:? "TotalExecutionTimeInMillis")+ )++instance Prelude.Hashable QueryExecutionStatistics where+ hashWithSalt _salt QueryExecutionStatistics' {..} =+ _salt+ `Prelude.hashWithSalt` dataManifestLocation+ `Prelude.hashWithSalt` dataScannedInBytes+ `Prelude.hashWithSalt` engineExecutionTimeInMillis+ `Prelude.hashWithSalt` queryPlanningTimeInMillis+ `Prelude.hashWithSalt` queryQueueTimeInMillis+ `Prelude.hashWithSalt` resultReuseInformation+ `Prelude.hashWithSalt` serviceProcessingTimeInMillis+ `Prelude.hashWithSalt` totalExecutionTimeInMillis++instance Prelude.NFData QueryExecutionStatistics where+ rnf QueryExecutionStatistics' {..} =+ Prelude.rnf dataManifestLocation+ `Prelude.seq` Prelude.rnf dataScannedInBytes+ `Prelude.seq` Prelude.rnf engineExecutionTimeInMillis+ `Prelude.seq` Prelude.rnf queryPlanningTimeInMillis+ `Prelude.seq` Prelude.rnf queryQueueTimeInMillis+ `Prelude.seq` Prelude.rnf resultReuseInformation+ `Prelude.seq` Prelude.rnf serviceProcessingTimeInMillis+ `Prelude.seq` Prelude.rnf totalExecutionTimeInMillis
+ gen/Amazonka/Athena/Types/QueryExecutionStatus.hs view
@@ -0,0 +1,154 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryExecutionStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryExecutionStatus where++import Amazonka.Athena.Types.AthenaError+import Amazonka.Athena.Types.QueryExecutionState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The completion date, current state, submission time, and state change+-- reason (if applicable) for the query execution.+--+-- /See:/ 'newQueryExecutionStatus' smart constructor.+data QueryExecutionStatus = QueryExecutionStatus'+ { -- | Provides information about an Athena query error.+ athenaError :: Prelude.Maybe AthenaError,+ -- | The date and time that the query completed.+ completionDateTime :: Prelude.Maybe Data.POSIX,+ -- | The state of query execution. @QUEUED@ indicates that the query has been+ -- submitted to the service, and Athena will execute the query as soon as+ -- resources are available. @RUNNING@ indicates that the query is in+ -- execution phase. @SUCCEEDED@ indicates that the query completed without+ -- errors. @FAILED@ indicates that the query experienced an error and did+ -- not complete processing. @CANCELLED@ indicates that a user input+ -- interrupted query execution.+ --+ -- Athena automatically retries your queries in cases of certain transient+ -- errors. As a result, you may see the query state transition from+ -- @RUNNING@ or @FAILED@ to @QUEUED@.+ state :: Prelude.Maybe QueryExecutionState,+ -- | Further detail about the status of the query.+ stateChangeReason :: Prelude.Maybe Prelude.Text,+ -- | The date and time that the query was submitted.+ submissionDateTime :: Prelude.Maybe Data.POSIX+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryExecutionStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'athenaError', 'queryExecutionStatus_athenaError' - Provides information about an Athena query error.+--+-- 'completionDateTime', 'queryExecutionStatus_completionDateTime' - The date and time that the query completed.+--+-- 'state', 'queryExecutionStatus_state' - The state of query execution. @QUEUED@ indicates that the query has been+-- submitted to the service, and Athena will execute the query as soon as+-- resources are available. @RUNNING@ indicates that the query is in+-- execution phase. @SUCCEEDED@ indicates that the query completed without+-- errors. @FAILED@ indicates that the query experienced an error and did+-- not complete processing. @CANCELLED@ indicates that a user input+-- interrupted query execution.+--+-- Athena automatically retries your queries in cases of certain transient+-- errors. As a result, you may see the query state transition from+-- @RUNNING@ or @FAILED@ to @QUEUED@.+--+-- 'stateChangeReason', 'queryExecutionStatus_stateChangeReason' - Further detail about the status of the query.+--+-- 'submissionDateTime', 'queryExecutionStatus_submissionDateTime' - The date and time that the query was submitted.+newQueryExecutionStatus ::+ QueryExecutionStatus+newQueryExecutionStatus =+ QueryExecutionStatus'+ { athenaError =+ Prelude.Nothing,+ completionDateTime = Prelude.Nothing,+ state = Prelude.Nothing,+ stateChangeReason = Prelude.Nothing,+ submissionDateTime = Prelude.Nothing+ }++-- | Provides information about an Athena query error.+queryExecutionStatus_athenaError :: Lens.Lens' QueryExecutionStatus (Prelude.Maybe AthenaError)+queryExecutionStatus_athenaError = Lens.lens (\QueryExecutionStatus' {athenaError} -> athenaError) (\s@QueryExecutionStatus' {} a -> s {athenaError = a} :: QueryExecutionStatus)++-- | The date and time that the query completed.+queryExecutionStatus_completionDateTime :: Lens.Lens' QueryExecutionStatus (Prelude.Maybe Prelude.UTCTime)+queryExecutionStatus_completionDateTime = Lens.lens (\QueryExecutionStatus' {completionDateTime} -> completionDateTime) (\s@QueryExecutionStatus' {} a -> s {completionDateTime = a} :: QueryExecutionStatus) Prelude.. Lens.mapping Data._Time++-- | The state of query execution. @QUEUED@ indicates that the query has been+-- submitted to the service, and Athena will execute the query as soon as+-- resources are available. @RUNNING@ indicates that the query is in+-- execution phase. @SUCCEEDED@ indicates that the query completed without+-- errors. @FAILED@ indicates that the query experienced an error and did+-- not complete processing. @CANCELLED@ indicates that a user input+-- interrupted query execution.+--+-- Athena automatically retries your queries in cases of certain transient+-- errors. As a result, you may see the query state transition from+-- @RUNNING@ or @FAILED@ to @QUEUED@.+queryExecutionStatus_state :: Lens.Lens' QueryExecutionStatus (Prelude.Maybe QueryExecutionState)+queryExecutionStatus_state = Lens.lens (\QueryExecutionStatus' {state} -> state) (\s@QueryExecutionStatus' {} a -> s {state = a} :: QueryExecutionStatus)++-- | Further detail about the status of the query.+queryExecutionStatus_stateChangeReason :: Lens.Lens' QueryExecutionStatus (Prelude.Maybe Prelude.Text)+queryExecutionStatus_stateChangeReason = Lens.lens (\QueryExecutionStatus' {stateChangeReason} -> stateChangeReason) (\s@QueryExecutionStatus' {} a -> s {stateChangeReason = a} :: QueryExecutionStatus)++-- | The date and time that the query was submitted.+queryExecutionStatus_submissionDateTime :: Lens.Lens' QueryExecutionStatus (Prelude.Maybe Prelude.UTCTime)+queryExecutionStatus_submissionDateTime = Lens.lens (\QueryExecutionStatus' {submissionDateTime} -> submissionDateTime) (\s@QueryExecutionStatus' {} a -> s {submissionDateTime = a} :: QueryExecutionStatus) Prelude.. Lens.mapping Data._Time++instance Data.FromJSON QueryExecutionStatus where+ parseJSON =+ Data.withObject+ "QueryExecutionStatus"+ ( \x ->+ QueryExecutionStatus'+ Prelude.<$> (x Data..:? "AthenaError")+ Prelude.<*> (x Data..:? "CompletionDateTime")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "StateChangeReason")+ Prelude.<*> (x Data..:? "SubmissionDateTime")+ )++instance Prelude.Hashable QueryExecutionStatus where+ hashWithSalt _salt QueryExecutionStatus' {..} =+ _salt+ `Prelude.hashWithSalt` athenaError+ `Prelude.hashWithSalt` completionDateTime+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` stateChangeReason+ `Prelude.hashWithSalt` submissionDateTime++instance Prelude.NFData QueryExecutionStatus where+ rnf QueryExecutionStatus' {..} =+ Prelude.rnf athenaError+ `Prelude.seq` Prelude.rnf completionDateTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateChangeReason+ `Prelude.seq` Prelude.rnf submissionDateTime
+ gen/Amazonka/Athena/Types/QueryRuntimeStatistics.hs view
@@ -0,0 +1,106 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryRuntimeStatistics+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryRuntimeStatistics where++import Amazonka.Athena.Types.QueryRuntimeStatisticsRows+import Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline+import Amazonka.Athena.Types.QueryStage+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The query execution timeline, statistics on input and output rows and+-- bytes, and the different query stages that form the query execution+-- plan.+--+-- /See:/ 'newQueryRuntimeStatistics' smart constructor.+data QueryRuntimeStatistics = QueryRuntimeStatistics'+ { -- | Stage statistics such as input and output rows and bytes, execution+ -- time, and stage state. This information also includes substages and the+ -- query stage plan.+ outputStage :: Prelude.Maybe QueryStage,+ rows :: Prelude.Maybe QueryRuntimeStatisticsRows,+ timeline :: Prelude.Maybe QueryRuntimeStatisticsTimeline+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryRuntimeStatistics' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'outputStage', 'queryRuntimeStatistics_outputStage' - Stage statistics such as input and output rows and bytes, execution+-- time, and stage state. This information also includes substages and the+-- query stage plan.+--+-- 'rows', 'queryRuntimeStatistics_rows' - Undocumented member.+--+-- 'timeline', 'queryRuntimeStatistics_timeline' - Undocumented member.+newQueryRuntimeStatistics ::+ QueryRuntimeStatistics+newQueryRuntimeStatistics =+ QueryRuntimeStatistics'+ { outputStage =+ Prelude.Nothing,+ rows = Prelude.Nothing,+ timeline = Prelude.Nothing+ }++-- | Stage statistics such as input and output rows and bytes, execution+-- time, and stage state. This information also includes substages and the+-- query stage plan.+queryRuntimeStatistics_outputStage :: Lens.Lens' QueryRuntimeStatistics (Prelude.Maybe QueryStage)+queryRuntimeStatistics_outputStage = Lens.lens (\QueryRuntimeStatistics' {outputStage} -> outputStage) (\s@QueryRuntimeStatistics' {} a -> s {outputStage = a} :: QueryRuntimeStatistics)++-- | Undocumented member.+queryRuntimeStatistics_rows :: Lens.Lens' QueryRuntimeStatistics (Prelude.Maybe QueryRuntimeStatisticsRows)+queryRuntimeStatistics_rows = Lens.lens (\QueryRuntimeStatistics' {rows} -> rows) (\s@QueryRuntimeStatistics' {} a -> s {rows = a} :: QueryRuntimeStatistics)++-- | Undocumented member.+queryRuntimeStatistics_timeline :: Lens.Lens' QueryRuntimeStatistics (Prelude.Maybe QueryRuntimeStatisticsTimeline)+queryRuntimeStatistics_timeline = Lens.lens (\QueryRuntimeStatistics' {timeline} -> timeline) (\s@QueryRuntimeStatistics' {} a -> s {timeline = a} :: QueryRuntimeStatistics)++instance Data.FromJSON QueryRuntimeStatistics where+ parseJSON =+ Data.withObject+ "QueryRuntimeStatistics"+ ( \x ->+ QueryRuntimeStatistics'+ Prelude.<$> (x Data..:? "OutputStage")+ Prelude.<*> (x Data..:? "Rows")+ Prelude.<*> (x Data..:? "Timeline")+ )++instance Prelude.Hashable QueryRuntimeStatistics where+ hashWithSalt _salt QueryRuntimeStatistics' {..} =+ _salt+ `Prelude.hashWithSalt` outputStage+ `Prelude.hashWithSalt` rows+ `Prelude.hashWithSalt` timeline++instance Prelude.NFData QueryRuntimeStatistics where+ rnf QueryRuntimeStatistics' {..} =+ Prelude.rnf outputStage+ `Prelude.seq` Prelude.rnf rows+ `Prelude.seq` Prelude.rnf timeline
+ gen/Amazonka/Athena/Types/QueryRuntimeStatisticsRows.hs view
@@ -0,0 +1,110 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryRuntimeStatisticsRows+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryRuntimeStatisticsRows where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Statistics such as input rows and bytes read by the query, rows and+-- bytes output by the query, and the number of rows written by the query.+--+-- /See:/ 'newQueryRuntimeStatisticsRows' smart constructor.+data QueryRuntimeStatisticsRows = QueryRuntimeStatisticsRows'+ { -- | The number of bytes read to execute the query.+ inputBytes :: Prelude.Maybe Prelude.Integer,+ -- | The number of rows read to execute the query.+ inputRows :: Prelude.Maybe Prelude.Integer,+ -- | The number of bytes returned by the query.+ outputBytes :: Prelude.Maybe Prelude.Integer,+ -- | The number of rows returned by the query.+ outputRows :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryRuntimeStatisticsRows' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'inputBytes', 'queryRuntimeStatisticsRows_inputBytes' - The number of bytes read to execute the query.+--+-- 'inputRows', 'queryRuntimeStatisticsRows_inputRows' - The number of rows read to execute the query.+--+-- 'outputBytes', 'queryRuntimeStatisticsRows_outputBytes' - The number of bytes returned by the query.+--+-- 'outputRows', 'queryRuntimeStatisticsRows_outputRows' - The number of rows returned by the query.+newQueryRuntimeStatisticsRows ::+ QueryRuntimeStatisticsRows+newQueryRuntimeStatisticsRows =+ QueryRuntimeStatisticsRows'+ { inputBytes =+ Prelude.Nothing,+ inputRows = Prelude.Nothing,+ outputBytes = Prelude.Nothing,+ outputRows = Prelude.Nothing+ }++-- | The number of bytes read to execute the query.+queryRuntimeStatisticsRows_inputBytes :: Lens.Lens' QueryRuntimeStatisticsRows (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsRows_inputBytes = Lens.lens (\QueryRuntimeStatisticsRows' {inputBytes} -> inputBytes) (\s@QueryRuntimeStatisticsRows' {} a -> s {inputBytes = a} :: QueryRuntimeStatisticsRows)++-- | The number of rows read to execute the query.+queryRuntimeStatisticsRows_inputRows :: Lens.Lens' QueryRuntimeStatisticsRows (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsRows_inputRows = Lens.lens (\QueryRuntimeStatisticsRows' {inputRows} -> inputRows) (\s@QueryRuntimeStatisticsRows' {} a -> s {inputRows = a} :: QueryRuntimeStatisticsRows)++-- | The number of bytes returned by the query.+queryRuntimeStatisticsRows_outputBytes :: Lens.Lens' QueryRuntimeStatisticsRows (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsRows_outputBytes = Lens.lens (\QueryRuntimeStatisticsRows' {outputBytes} -> outputBytes) (\s@QueryRuntimeStatisticsRows' {} a -> s {outputBytes = a} :: QueryRuntimeStatisticsRows)++-- | The number of rows returned by the query.+queryRuntimeStatisticsRows_outputRows :: Lens.Lens' QueryRuntimeStatisticsRows (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsRows_outputRows = Lens.lens (\QueryRuntimeStatisticsRows' {outputRows} -> outputRows) (\s@QueryRuntimeStatisticsRows' {} a -> s {outputRows = a} :: QueryRuntimeStatisticsRows)++instance Data.FromJSON QueryRuntimeStatisticsRows where+ parseJSON =+ Data.withObject+ "QueryRuntimeStatisticsRows"+ ( \x ->+ QueryRuntimeStatisticsRows'+ Prelude.<$> (x Data..:? "InputBytes")+ Prelude.<*> (x Data..:? "InputRows")+ Prelude.<*> (x Data..:? "OutputBytes")+ Prelude.<*> (x Data..:? "OutputRows")+ )++instance Prelude.Hashable QueryRuntimeStatisticsRows where+ hashWithSalt _salt QueryRuntimeStatisticsRows' {..} =+ _salt+ `Prelude.hashWithSalt` inputBytes+ `Prelude.hashWithSalt` inputRows+ `Prelude.hashWithSalt` outputBytes+ `Prelude.hashWithSalt` outputRows++instance Prelude.NFData QueryRuntimeStatisticsRows where+ rnf QueryRuntimeStatisticsRows' {..} =+ Prelude.rnf inputBytes+ `Prelude.seq` Prelude.rnf inputRows+ `Prelude.seq` Prelude.rnf outputBytes+ `Prelude.seq` Prelude.rnf outputRows
+ gen/Amazonka/Athena/Types/QueryRuntimeStatisticsTimeline.hs view
@@ -0,0 +1,150 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryRuntimeStatisticsTimeline where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Timeline statistics such as query queue time, planning time, execution+-- time, service processing time, and total execution time.+--+-- /See:/ 'newQueryRuntimeStatisticsTimeline' smart constructor.+data QueryRuntimeStatisticsTimeline = QueryRuntimeStatisticsTimeline'+ { -- | The number of milliseconds that the query took to execute.+ engineExecutionTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that Athena took to plan the query processing+ -- flow. This includes the time spent retrieving table partitions from the+ -- data source. Note that because the query engine performs the query+ -- planning, query planning time is a subset of engine processing time.+ queryPlanningTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that the query was in your query queue+ -- waiting for resources. Note that if transient errors occur, Athena might+ -- automatically add the query back to the queue.+ queryQueueTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that Athena took to finalize and publish the+ -- query results after the query engine finished running the query.+ serviceProcessingTimeInMillis :: Prelude.Maybe Prelude.Integer,+ -- | The number of milliseconds that Athena took to run the query.+ totalExecutionTimeInMillis :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryRuntimeStatisticsTimeline' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'engineExecutionTimeInMillis', 'queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis' - The number of milliseconds that the query took to execute.+--+-- 'queryPlanningTimeInMillis', 'queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis' - The number of milliseconds that Athena took to plan the query processing+-- flow. This includes the time spent retrieving table partitions from the+-- data source. Note that because the query engine performs the query+-- planning, query planning time is a subset of engine processing time.+--+-- 'queryQueueTimeInMillis', 'queryRuntimeStatisticsTimeline_queryQueueTimeInMillis' - The number of milliseconds that the query was in your query queue+-- waiting for resources. Note that if transient errors occur, Athena might+-- automatically add the query back to the queue.+--+-- 'serviceProcessingTimeInMillis', 'queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis' - The number of milliseconds that Athena took to finalize and publish the+-- query results after the query engine finished running the query.+--+-- 'totalExecutionTimeInMillis', 'queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis' - The number of milliseconds that Athena took to run the query.+newQueryRuntimeStatisticsTimeline ::+ QueryRuntimeStatisticsTimeline+newQueryRuntimeStatisticsTimeline =+ QueryRuntimeStatisticsTimeline'+ { engineExecutionTimeInMillis =+ Prelude.Nothing,+ queryPlanningTimeInMillis = Prelude.Nothing,+ queryQueueTimeInMillis = Prelude.Nothing,+ serviceProcessingTimeInMillis =+ Prelude.Nothing,+ totalExecutionTimeInMillis =+ Prelude.Nothing+ }++-- | The number of milliseconds that the query took to execute.+queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis :: Lens.Lens' QueryRuntimeStatisticsTimeline (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsTimeline_engineExecutionTimeInMillis = Lens.lens (\QueryRuntimeStatisticsTimeline' {engineExecutionTimeInMillis} -> engineExecutionTimeInMillis) (\s@QueryRuntimeStatisticsTimeline' {} a -> s {engineExecutionTimeInMillis = a} :: QueryRuntimeStatisticsTimeline)++-- | The number of milliseconds that Athena took to plan the query processing+-- flow. This includes the time spent retrieving table partitions from the+-- data source. Note that because the query engine performs the query+-- planning, query planning time is a subset of engine processing time.+queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis :: Lens.Lens' QueryRuntimeStatisticsTimeline (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsTimeline_queryPlanningTimeInMillis = Lens.lens (\QueryRuntimeStatisticsTimeline' {queryPlanningTimeInMillis} -> queryPlanningTimeInMillis) (\s@QueryRuntimeStatisticsTimeline' {} a -> s {queryPlanningTimeInMillis = a} :: QueryRuntimeStatisticsTimeline)++-- | The number of milliseconds that the query was in your query queue+-- waiting for resources. Note that if transient errors occur, Athena might+-- automatically add the query back to the queue.+queryRuntimeStatisticsTimeline_queryQueueTimeInMillis :: Lens.Lens' QueryRuntimeStatisticsTimeline (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsTimeline_queryQueueTimeInMillis = Lens.lens (\QueryRuntimeStatisticsTimeline' {queryQueueTimeInMillis} -> queryQueueTimeInMillis) (\s@QueryRuntimeStatisticsTimeline' {} a -> s {queryQueueTimeInMillis = a} :: QueryRuntimeStatisticsTimeline)++-- | The number of milliseconds that Athena took to finalize and publish the+-- query results after the query engine finished running the query.+queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis :: Lens.Lens' QueryRuntimeStatisticsTimeline (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsTimeline_serviceProcessingTimeInMillis = Lens.lens (\QueryRuntimeStatisticsTimeline' {serviceProcessingTimeInMillis} -> serviceProcessingTimeInMillis) (\s@QueryRuntimeStatisticsTimeline' {} a -> s {serviceProcessingTimeInMillis = a} :: QueryRuntimeStatisticsTimeline)++-- | The number of milliseconds that Athena took to run the query.+queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis :: Lens.Lens' QueryRuntimeStatisticsTimeline (Prelude.Maybe Prelude.Integer)+queryRuntimeStatisticsTimeline_totalExecutionTimeInMillis = Lens.lens (\QueryRuntimeStatisticsTimeline' {totalExecutionTimeInMillis} -> totalExecutionTimeInMillis) (\s@QueryRuntimeStatisticsTimeline' {} a -> s {totalExecutionTimeInMillis = a} :: QueryRuntimeStatisticsTimeline)++instance Data.FromJSON QueryRuntimeStatisticsTimeline where+ parseJSON =+ Data.withObject+ "QueryRuntimeStatisticsTimeline"+ ( \x ->+ QueryRuntimeStatisticsTimeline'+ Prelude.<$> (x Data..:? "EngineExecutionTimeInMillis")+ Prelude.<*> (x Data..:? "QueryPlanningTimeInMillis")+ Prelude.<*> (x Data..:? "QueryQueueTimeInMillis")+ Prelude.<*> (x Data..:? "ServiceProcessingTimeInMillis")+ Prelude.<*> (x Data..:? "TotalExecutionTimeInMillis")+ )++instance+ Prelude.Hashable+ QueryRuntimeStatisticsTimeline+ where+ hashWithSalt+ _salt+ QueryRuntimeStatisticsTimeline' {..} =+ _salt+ `Prelude.hashWithSalt` engineExecutionTimeInMillis+ `Prelude.hashWithSalt` queryPlanningTimeInMillis+ `Prelude.hashWithSalt` queryQueueTimeInMillis+ `Prelude.hashWithSalt` serviceProcessingTimeInMillis+ `Prelude.hashWithSalt` totalExecutionTimeInMillis++instance+ Prelude.NFData+ QueryRuntimeStatisticsTimeline+ where+ rnf QueryRuntimeStatisticsTimeline' {..} =+ Prelude.rnf engineExecutionTimeInMillis+ `Prelude.seq` Prelude.rnf queryPlanningTimeInMillis+ `Prelude.seq` Prelude.rnf queryQueueTimeInMillis+ `Prelude.seq` Prelude.rnf serviceProcessingTimeInMillis+ `Prelude.seq` Prelude.rnf totalExecutionTimeInMillis
+ gen/Amazonka/Athena/Types/QueryStage.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryStage+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryStage where++import Amazonka.Athena.Types.QueryStagePlanNode+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Stage statistics such as input and output rows and bytes, execution time+-- and stage state. This information also includes substages and the query+-- stage plan.+--+-- /See:/ 'newQueryStage' smart constructor.+data QueryStage = QueryStage'+ { -- | Time taken to execute this stage.+ executionTime :: Prelude.Maybe Prelude.Integer,+ -- | The number of bytes input into the stage for execution.+ inputBytes :: Prelude.Maybe Prelude.Integer,+ -- | The number of rows input into the stage for execution.+ inputRows :: Prelude.Maybe Prelude.Integer,+ -- | The number of bytes output from the stage after execution.+ outputBytes :: Prelude.Maybe Prelude.Integer,+ -- | The number of rows output from the stage after execution.+ outputRows :: Prelude.Maybe Prelude.Integer,+ -- | Stage plan information such as name, identifier, sub plans, and source+ -- stages.+ queryStagePlan :: Prelude.Maybe QueryStagePlanNode,+ -- | The identifier for a stage.+ stageId :: Prelude.Maybe Prelude.Integer,+ -- | State of the stage after query execution.+ state :: Prelude.Maybe Prelude.Text,+ -- | List of sub query stages that form this stage execution plan.+ subStages :: Prelude.Maybe [QueryStage]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryStage' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'executionTime', 'queryStage_executionTime' - Time taken to execute this stage.+--+-- 'inputBytes', 'queryStage_inputBytes' - The number of bytes input into the stage for execution.+--+-- 'inputRows', 'queryStage_inputRows' - The number of rows input into the stage for execution.+--+-- 'outputBytes', 'queryStage_outputBytes' - The number of bytes output from the stage after execution.+--+-- 'outputRows', 'queryStage_outputRows' - The number of rows output from the stage after execution.+--+-- 'queryStagePlan', 'queryStage_queryStagePlan' - Stage plan information such as name, identifier, sub plans, and source+-- stages.+--+-- 'stageId', 'queryStage_stageId' - The identifier for a stage.+--+-- 'state', 'queryStage_state' - State of the stage after query execution.+--+-- 'subStages', 'queryStage_subStages' - List of sub query stages that form this stage execution plan.+newQueryStage ::+ QueryStage+newQueryStage =+ QueryStage'+ { executionTime = Prelude.Nothing,+ inputBytes = Prelude.Nothing,+ inputRows = Prelude.Nothing,+ outputBytes = Prelude.Nothing,+ outputRows = Prelude.Nothing,+ queryStagePlan = Prelude.Nothing,+ stageId = Prelude.Nothing,+ state = Prelude.Nothing,+ subStages = Prelude.Nothing+ }++-- | Time taken to execute this stage.+queryStage_executionTime :: Lens.Lens' QueryStage (Prelude.Maybe Prelude.Integer)+queryStage_executionTime = Lens.lens (\QueryStage' {executionTime} -> executionTime) (\s@QueryStage' {} a -> s {executionTime = a} :: QueryStage)++-- | The number of bytes input into the stage for execution.+queryStage_inputBytes :: Lens.Lens' QueryStage (Prelude.Maybe Prelude.Integer)+queryStage_inputBytes = Lens.lens (\QueryStage' {inputBytes} -> inputBytes) (\s@QueryStage' {} a -> s {inputBytes = a} :: QueryStage)++-- | The number of rows input into the stage for execution.+queryStage_inputRows :: Lens.Lens' QueryStage (Prelude.Maybe Prelude.Integer)+queryStage_inputRows = Lens.lens (\QueryStage' {inputRows} -> inputRows) (\s@QueryStage' {} a -> s {inputRows = a} :: QueryStage)++-- | The number of bytes output from the stage after execution.+queryStage_outputBytes :: Lens.Lens' QueryStage (Prelude.Maybe Prelude.Integer)+queryStage_outputBytes = Lens.lens (\QueryStage' {outputBytes} -> outputBytes) (\s@QueryStage' {} a -> s {outputBytes = a} :: QueryStage)++-- | The number of rows output from the stage after execution.+queryStage_outputRows :: Lens.Lens' QueryStage (Prelude.Maybe Prelude.Integer)+queryStage_outputRows = Lens.lens (\QueryStage' {outputRows} -> outputRows) (\s@QueryStage' {} a -> s {outputRows = a} :: QueryStage)++-- | Stage plan information such as name, identifier, sub plans, and source+-- stages.+queryStage_queryStagePlan :: Lens.Lens' QueryStage (Prelude.Maybe QueryStagePlanNode)+queryStage_queryStagePlan = Lens.lens (\QueryStage' {queryStagePlan} -> queryStagePlan) (\s@QueryStage' {} a -> s {queryStagePlan = a} :: QueryStage)++-- | The identifier for a stage.+queryStage_stageId :: Lens.Lens' QueryStage (Prelude.Maybe Prelude.Integer)+queryStage_stageId = Lens.lens (\QueryStage' {stageId} -> stageId) (\s@QueryStage' {} a -> s {stageId = a} :: QueryStage)++-- | State of the stage after query execution.+queryStage_state :: Lens.Lens' QueryStage (Prelude.Maybe Prelude.Text)+queryStage_state = Lens.lens (\QueryStage' {state} -> state) (\s@QueryStage' {} a -> s {state = a} :: QueryStage)++-- | List of sub query stages that form this stage execution plan.+queryStage_subStages :: Lens.Lens' QueryStage (Prelude.Maybe [QueryStage])+queryStage_subStages = Lens.lens (\QueryStage' {subStages} -> subStages) (\s@QueryStage' {} a -> s {subStages = a} :: QueryStage) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON QueryStage where+ parseJSON =+ Data.withObject+ "QueryStage"+ ( \x ->+ QueryStage'+ Prelude.<$> (x Data..:? "ExecutionTime")+ Prelude.<*> (x Data..:? "InputBytes")+ Prelude.<*> (x Data..:? "InputRows")+ Prelude.<*> (x Data..:? "OutputBytes")+ Prelude.<*> (x Data..:? "OutputRows")+ Prelude.<*> (x Data..:? "QueryStagePlan")+ Prelude.<*> (x Data..:? "StageId")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "SubStages" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable QueryStage where+ hashWithSalt _salt QueryStage' {..} =+ _salt+ `Prelude.hashWithSalt` executionTime+ `Prelude.hashWithSalt` inputBytes+ `Prelude.hashWithSalt` inputRows+ `Prelude.hashWithSalt` outputBytes+ `Prelude.hashWithSalt` outputRows+ `Prelude.hashWithSalt` queryStagePlan+ `Prelude.hashWithSalt` stageId+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` subStages++instance Prelude.NFData QueryStage where+ rnf QueryStage' {..} =+ Prelude.rnf executionTime+ `Prelude.seq` Prelude.rnf inputBytes+ `Prelude.seq` Prelude.rnf inputRows+ `Prelude.seq` Prelude.rnf outputBytes+ `Prelude.seq` Prelude.rnf outputRows+ `Prelude.seq` Prelude.rnf queryStagePlan+ `Prelude.seq` Prelude.rnf stageId+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf subStages
+ gen/Amazonka/Athena/Types/QueryStagePlanNode.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.QueryStagePlanNode+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.QueryStagePlanNode where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Stage plan information such as name, identifier, sub plans, and remote+-- sources.+--+-- /See:/ 'newQueryStagePlanNode' smart constructor.+data QueryStagePlanNode = QueryStagePlanNode'+ { -- | Stage plan information such as name, identifier, sub plans, and remote+ -- sources of child plan nodes\/+ children :: Prelude.Maybe [QueryStagePlanNode],+ -- | Information about the operation this query stage plan node is+ -- performing.+ identifier :: Prelude.Maybe Prelude.Text,+ -- | Name of the query stage plan that describes the operation this stage is+ -- performing as part of query execution.+ name :: Prelude.Maybe Prelude.Text,+ -- | Source plan node IDs.+ remoteSources :: Prelude.Maybe [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryStagePlanNode' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'children', 'queryStagePlanNode_children' - Stage plan information such as name, identifier, sub plans, and remote+-- sources of child plan nodes\/+--+-- 'identifier', 'queryStagePlanNode_identifier' - Information about the operation this query stage plan node is+-- performing.+--+-- 'name', 'queryStagePlanNode_name' - Name of the query stage plan that describes the operation this stage is+-- performing as part of query execution.+--+-- 'remoteSources', 'queryStagePlanNode_remoteSources' - Source plan node IDs.+newQueryStagePlanNode ::+ QueryStagePlanNode+newQueryStagePlanNode =+ QueryStagePlanNode'+ { children = Prelude.Nothing,+ identifier = Prelude.Nothing,+ name = Prelude.Nothing,+ remoteSources = Prelude.Nothing+ }++-- | Stage plan information such as name, identifier, sub plans, and remote+-- sources of child plan nodes\/+queryStagePlanNode_children :: Lens.Lens' QueryStagePlanNode (Prelude.Maybe [QueryStagePlanNode])+queryStagePlanNode_children = Lens.lens (\QueryStagePlanNode' {children} -> children) (\s@QueryStagePlanNode' {} a -> s {children = a} :: QueryStagePlanNode) Prelude.. Lens.mapping Lens.coerced++-- | Information about the operation this query stage plan node is+-- performing.+queryStagePlanNode_identifier :: Lens.Lens' QueryStagePlanNode (Prelude.Maybe Prelude.Text)+queryStagePlanNode_identifier = Lens.lens (\QueryStagePlanNode' {identifier} -> identifier) (\s@QueryStagePlanNode' {} a -> s {identifier = a} :: QueryStagePlanNode)++-- | Name of the query stage plan that describes the operation this stage is+-- performing as part of query execution.+queryStagePlanNode_name :: Lens.Lens' QueryStagePlanNode (Prelude.Maybe Prelude.Text)+queryStagePlanNode_name = Lens.lens (\QueryStagePlanNode' {name} -> name) (\s@QueryStagePlanNode' {} a -> s {name = a} :: QueryStagePlanNode)++-- | Source plan node IDs.+queryStagePlanNode_remoteSources :: Lens.Lens' QueryStagePlanNode (Prelude.Maybe [Prelude.Text])+queryStagePlanNode_remoteSources = Lens.lens (\QueryStagePlanNode' {remoteSources} -> remoteSources) (\s@QueryStagePlanNode' {} a -> s {remoteSources = a} :: QueryStagePlanNode) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON QueryStagePlanNode where+ parseJSON =+ Data.withObject+ "QueryStagePlanNode"+ ( \x ->+ QueryStagePlanNode'+ Prelude.<$> (x Data..:? "Children" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "Identifier")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "RemoteSources" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable QueryStagePlanNode where+ hashWithSalt _salt QueryStagePlanNode' {..} =+ _salt+ `Prelude.hashWithSalt` children+ `Prelude.hashWithSalt` identifier+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` remoteSources++instance Prelude.NFData QueryStagePlanNode where+ rnf QueryStagePlanNode' {..} =+ Prelude.rnf children+ `Prelude.seq` Prelude.rnf identifier+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf remoteSources
+ gen/Amazonka/Athena/Types/ResultConfiguration.hs view
@@ -0,0 +1,240 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ResultConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ResultConfiguration where++import Amazonka.Athena.Types.AclConfiguration+import Amazonka.Athena.Types.EncryptionConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The location in Amazon S3 where query results are stored and the+-- encryption option, if any, used for query results. These are known as+-- \"client-side settings\". If workgroup settings override client-side+-- settings, then the query uses the workgroup settings.+--+-- /See:/ 'newResultConfiguration' smart constructor.+data ResultConfiguration = ResultConfiguration'+ { -- | Indicates that an Amazon S3 canned ACL should be set to control+ -- ownership of stored query results. Currently the only supported canned+ -- ACL is @BUCKET_OWNER_FULL_CONTROL@. This is a client-side setting. If+ -- workgroup settings override client-side settings, then the query uses+ -- the ACL configuration that is specified for the workgroup, and also uses+ -- the location for storing query results specified in the workgroup. For+ -- more information, see+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ aclConfiguration :: Prelude.Maybe AclConfiguration,+ -- | If query results are encrypted in Amazon S3, indicates the encryption+ -- option used (for example, @SSE_KMS@ or @CSE_KMS@) and key information.+ -- This is a client-side setting. If workgroup settings override+ -- client-side settings, then the query uses the encryption configuration+ -- that is specified for the workgroup, and also uses the location for+ -- storing query results specified in the workgroup. See+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ encryptionConfiguration :: Prelude.Maybe EncryptionConfiguration,+ -- | The Amazon Web Services account ID that you expect to be the owner of+ -- the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If+ -- set, Athena uses the value for @ExpectedBucketOwner@ when it makes+ -- Amazon S3 calls to your specified output location. If the+ -- @ExpectedBucketOwner@ Amazon Web Services account ID does not match the+ -- actual owner of the Amazon S3 bucket, the call fails with a permissions+ -- error.+ --+ -- This is a client-side setting. If workgroup settings override+ -- client-side settings, then the query uses the @ExpectedBucketOwner@+ -- setting that is specified for the workgroup, and also uses the location+ -- for storing query results specified in the workgroup. See+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ expectedBucketOwner :: Prelude.Maybe Prelude.Text,+ -- | The location in Amazon S3 where your query results are stored, such as+ -- @s3:\/\/path\/to\/query\/bucket\/@. To run the query, you must specify+ -- the query results location using one of the ways: either for individual+ -- queries using either this setting (client-side), or in the workgroup,+ -- using WorkGroupConfiguration. If none of them is set, Athena issues an+ -- error that no output location is provided. For more information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>.+ -- If workgroup settings override client-side settings, then the query uses+ -- the settings specified for the workgroup. See+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+ outputLocation :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResultConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'aclConfiguration', 'resultConfiguration_aclConfiguration' - Indicates that an Amazon S3 canned ACL should be set to control+-- ownership of stored query results. Currently the only supported canned+-- ACL is @BUCKET_OWNER_FULL_CONTROL@. This is a client-side setting. If+-- workgroup settings override client-side settings, then the query uses+-- the ACL configuration that is specified for the workgroup, and also uses+-- the location for storing query results specified in the workgroup. For+-- more information, see+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'encryptionConfiguration', 'resultConfiguration_encryptionConfiguration' - If query results are encrypted in Amazon S3, indicates the encryption+-- option used (for example, @SSE_KMS@ or @CSE_KMS@) and key information.+-- This is a client-side setting. If workgroup settings override+-- client-side settings, then the query uses the encryption configuration+-- that is specified for the workgroup, and also uses the location for+-- storing query results specified in the workgroup. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'expectedBucketOwner', 'resultConfiguration_expectedBucketOwner' - The Amazon Web Services account ID that you expect to be the owner of+-- the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If+-- set, Athena uses the value for @ExpectedBucketOwner@ when it makes+-- Amazon S3 calls to your specified output location. If the+-- @ExpectedBucketOwner@ Amazon Web Services account ID does not match the+-- actual owner of the Amazon S3 bucket, the call fails with a permissions+-- error.+--+-- This is a client-side setting. If workgroup settings override+-- client-side settings, then the query uses the @ExpectedBucketOwner@+-- setting that is specified for the workgroup, and also uses the location+-- for storing query results specified in the workgroup. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'outputLocation', 'resultConfiguration_outputLocation' - The location in Amazon S3 where your query results are stored, such as+-- @s3:\/\/path\/to\/query\/bucket\/@. To run the query, you must specify+-- the query results location using one of the ways: either for individual+-- queries using either this setting (client-side), or in the workgroup,+-- using WorkGroupConfiguration. If none of them is set, Athena issues an+-- error that no output location is provided. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>.+-- If workgroup settings override client-side settings, then the query uses+-- the settings specified for the workgroup. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+newResultConfiguration ::+ ResultConfiguration+newResultConfiguration =+ ResultConfiguration'+ { aclConfiguration =+ Prelude.Nothing,+ encryptionConfiguration = Prelude.Nothing,+ expectedBucketOwner = Prelude.Nothing,+ outputLocation = Prelude.Nothing+ }++-- | Indicates that an Amazon S3 canned ACL should be set to control+-- ownership of stored query results. Currently the only supported canned+-- ACL is @BUCKET_OWNER_FULL_CONTROL@. This is a client-side setting. If+-- workgroup settings override client-side settings, then the query uses+-- the ACL configuration that is specified for the workgroup, and also uses+-- the location for storing query results specified in the workgroup. For+-- more information, see+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfiguration_aclConfiguration :: Lens.Lens' ResultConfiguration (Prelude.Maybe AclConfiguration)+resultConfiguration_aclConfiguration = Lens.lens (\ResultConfiguration' {aclConfiguration} -> aclConfiguration) (\s@ResultConfiguration' {} a -> s {aclConfiguration = a} :: ResultConfiguration)++-- | If query results are encrypted in Amazon S3, indicates the encryption+-- option used (for example, @SSE_KMS@ or @CSE_KMS@) and key information.+-- This is a client-side setting. If workgroup settings override+-- client-side settings, then the query uses the encryption configuration+-- that is specified for the workgroup, and also uses the location for+-- storing query results specified in the workgroup. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfiguration_encryptionConfiguration :: Lens.Lens' ResultConfiguration (Prelude.Maybe EncryptionConfiguration)+resultConfiguration_encryptionConfiguration = Lens.lens (\ResultConfiguration' {encryptionConfiguration} -> encryptionConfiguration) (\s@ResultConfiguration' {} a -> s {encryptionConfiguration = a} :: ResultConfiguration)++-- | The Amazon Web Services account ID that you expect to be the owner of+-- the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If+-- set, Athena uses the value for @ExpectedBucketOwner@ when it makes+-- Amazon S3 calls to your specified output location. If the+-- @ExpectedBucketOwner@ Amazon Web Services account ID does not match the+-- actual owner of the Amazon S3 bucket, the call fails with a permissions+-- error.+--+-- This is a client-side setting. If workgroup settings override+-- client-side settings, then the query uses the @ExpectedBucketOwner@+-- setting that is specified for the workgroup, and also uses the location+-- for storing query results specified in the workgroup. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfiguration_expectedBucketOwner :: Lens.Lens' ResultConfiguration (Prelude.Maybe Prelude.Text)+resultConfiguration_expectedBucketOwner = Lens.lens (\ResultConfiguration' {expectedBucketOwner} -> expectedBucketOwner) (\s@ResultConfiguration' {} a -> s {expectedBucketOwner = a} :: ResultConfiguration)++-- | The location in Amazon S3 where your query results are stored, such as+-- @s3:\/\/path\/to\/query\/bucket\/@. To run the query, you must specify+-- the query results location using one of the ways: either for individual+-- queries using either this setting (client-side), or in the workgroup,+-- using WorkGroupConfiguration. If none of them is set, Athena issues an+-- error that no output location is provided. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>.+-- If workgroup settings override client-side settings, then the query uses+-- the settings specified for the workgroup. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+resultConfiguration_outputLocation :: Lens.Lens' ResultConfiguration (Prelude.Maybe Prelude.Text)+resultConfiguration_outputLocation = Lens.lens (\ResultConfiguration' {outputLocation} -> outputLocation) (\s@ResultConfiguration' {} a -> s {outputLocation = a} :: ResultConfiguration)++instance Data.FromJSON ResultConfiguration where+ parseJSON =+ Data.withObject+ "ResultConfiguration"+ ( \x ->+ ResultConfiguration'+ Prelude.<$> (x Data..:? "AclConfiguration")+ Prelude.<*> (x Data..:? "EncryptionConfiguration")+ Prelude.<*> (x Data..:? "ExpectedBucketOwner")+ Prelude.<*> (x Data..:? "OutputLocation")+ )++instance Prelude.Hashable ResultConfiguration where+ hashWithSalt _salt ResultConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` aclConfiguration+ `Prelude.hashWithSalt` encryptionConfiguration+ `Prelude.hashWithSalt` expectedBucketOwner+ `Prelude.hashWithSalt` outputLocation++instance Prelude.NFData ResultConfiguration where+ rnf ResultConfiguration' {..} =+ Prelude.rnf aclConfiguration+ `Prelude.seq` Prelude.rnf encryptionConfiguration+ `Prelude.seq` Prelude.rnf expectedBucketOwner+ `Prelude.seq` Prelude.rnf outputLocation++instance Data.ToJSON ResultConfiguration where+ toJSON ResultConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AclConfiguration" Data..=)+ Prelude.<$> aclConfiguration,+ ("EncryptionConfiguration" Data..=)+ Prelude.<$> encryptionConfiguration,+ ("ExpectedBucketOwner" Data..=)+ Prelude.<$> expectedBucketOwner,+ ("OutputLocation" Data..=)+ Prelude.<$> outputLocation+ ]+ )
+ gen/Amazonka/Athena/Types/ResultConfigurationUpdates.hs view
@@ -0,0 +1,308 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ResultConfigurationUpdates+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ResultConfigurationUpdates where++import Amazonka.Athena.Types.AclConfiguration+import Amazonka.Athena.Types.EncryptionConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The information about the updates in the query results, such as output+-- location and encryption configuration for the query results.+--+-- /See:/ 'newResultConfigurationUpdates' smart constructor.+data ResultConfigurationUpdates = ResultConfigurationUpdates'+ { -- | The ACL configuration for the query results.+ aclConfiguration :: Prelude.Maybe AclConfiguration,+ -- | The encryption configuration for the query results.+ encryptionConfiguration :: Prelude.Maybe EncryptionConfiguration,+ -- | The Amazon Web Services account ID that you expect to be the owner of+ -- the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If+ -- set, Athena uses the value for @ExpectedBucketOwner@ when it makes+ -- Amazon S3 calls to your specified output location. If the+ -- @ExpectedBucketOwner@ Amazon Web Services account ID does not match the+ -- actual owner of the Amazon S3 bucket, the call fails with a permissions+ -- error.+ --+ -- If workgroup settings override client-side settings, then the query uses+ -- the @ExpectedBucketOwner@ setting that is specified for the workgroup,+ -- and also uses the location for storing query results specified in the+ -- workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ expectedBucketOwner :: Prelude.Maybe Prelude.Text,+ -- | The location in Amazon S3 where your query results are stored, such as+ -- @s3:\/\/path\/to\/query\/bucket\/@. For more information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>+ -- If workgroup settings override client-side settings, then the query uses+ -- the location for the query results and the encryption configuration that+ -- are specified for the workgroup. The \"workgroup settings override\" is+ -- specified in @EnforceWorkGroupConfiguration@ (true\/false) in the+ -- @WorkGroupConfiguration@. See+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+ outputLocation :: Prelude.Maybe Prelude.Text,+ -- | If set to @true@, indicates that the previously-specified ACL+ -- configuration for queries in this workgroup should be ignored and set to+ -- null. If set to @false@ or not set, and a value is present in the+ -- @AclConfiguration@ of @ResultConfigurationUpdates@, the+ -- @AclConfiguration@ in the workgroup\'s @ResultConfiguration@ is updated+ -- with the new value. For more information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ removeAclConfiguration :: Prelude.Maybe Prelude.Bool,+ -- | If set to \"true\", indicates that the previously-specified encryption+ -- configuration (also known as the client-side setting) for queries in+ -- this workgroup should be ignored and set to null. If set to \"false\" or+ -- not set, and a value is present in the @EncryptionConfiguration@ in+ -- @ResultConfigurationUpdates@ (the client-side setting), the+ -- @EncryptionConfiguration@ in the workgroup\'s @ResultConfiguration@ will+ -- be updated with the new value. For more information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ removeEncryptionConfiguration :: Prelude.Maybe Prelude.Bool,+ -- | If set to \"true\", removes the Amazon Web Services account ID+ -- previously specified for ResultConfiguration$ExpectedBucketOwner. If set+ -- to \"false\" or not set, and a value is present in the+ -- @ExpectedBucketOwner@ in @ResultConfigurationUpdates@ (the client-side+ -- setting), the @ExpectedBucketOwner@ in the workgroup\'s+ -- @ResultConfiguration@ is updated with the new value. For more+ -- information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ removeExpectedBucketOwner :: Prelude.Maybe Prelude.Bool,+ -- | If set to \"true\", indicates that the previously-specified query+ -- results location (also known as a client-side setting) for queries in+ -- this workgroup should be ignored and set to null. If set to \"false\" or+ -- not set, and a value is present in the @OutputLocation@ in+ -- @ResultConfigurationUpdates@ (the client-side setting), the+ -- @OutputLocation@ in the workgroup\'s @ResultConfiguration@ will be+ -- updated with the new value. For more information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ removeOutputLocation :: Prelude.Maybe Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResultConfigurationUpdates' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'aclConfiguration', 'resultConfigurationUpdates_aclConfiguration' - The ACL configuration for the query results.+--+-- 'encryptionConfiguration', 'resultConfigurationUpdates_encryptionConfiguration' - The encryption configuration for the query results.+--+-- 'expectedBucketOwner', 'resultConfigurationUpdates_expectedBucketOwner' - The Amazon Web Services account ID that you expect to be the owner of+-- the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If+-- set, Athena uses the value for @ExpectedBucketOwner@ when it makes+-- Amazon S3 calls to your specified output location. If the+-- @ExpectedBucketOwner@ Amazon Web Services account ID does not match the+-- actual owner of the Amazon S3 bucket, the call fails with a permissions+-- error.+--+-- If workgroup settings override client-side settings, then the query uses+-- the @ExpectedBucketOwner@ setting that is specified for the workgroup,+-- and also uses the location for storing query results specified in the+-- workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'outputLocation', 'resultConfigurationUpdates_outputLocation' - The location in Amazon S3 where your query results are stored, such as+-- @s3:\/\/path\/to\/query\/bucket\/@. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>+-- If workgroup settings override client-side settings, then the query uses+-- the location for the query results and the encryption configuration that+-- are specified for the workgroup. The \"workgroup settings override\" is+-- specified in @EnforceWorkGroupConfiguration@ (true\/false) in the+-- @WorkGroupConfiguration@. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+--+-- 'removeAclConfiguration', 'resultConfigurationUpdates_removeAclConfiguration' - If set to @true@, indicates that the previously-specified ACL+-- configuration for queries in this workgroup should be ignored and set to+-- null. If set to @false@ or not set, and a value is present in the+-- @AclConfiguration@ of @ResultConfigurationUpdates@, the+-- @AclConfiguration@ in the workgroup\'s @ResultConfiguration@ is updated+-- with the new value. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'removeEncryptionConfiguration', 'resultConfigurationUpdates_removeEncryptionConfiguration' - If set to \"true\", indicates that the previously-specified encryption+-- configuration (also known as the client-side setting) for queries in+-- this workgroup should be ignored and set to null. If set to \"false\" or+-- not set, and a value is present in the @EncryptionConfiguration@ in+-- @ResultConfigurationUpdates@ (the client-side setting), the+-- @EncryptionConfiguration@ in the workgroup\'s @ResultConfiguration@ will+-- be updated with the new value. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'removeExpectedBucketOwner', 'resultConfigurationUpdates_removeExpectedBucketOwner' - If set to \"true\", removes the Amazon Web Services account ID+-- previously specified for ResultConfiguration$ExpectedBucketOwner. If set+-- to \"false\" or not set, and a value is present in the+-- @ExpectedBucketOwner@ in @ResultConfigurationUpdates@ (the client-side+-- setting), the @ExpectedBucketOwner@ in the workgroup\'s+-- @ResultConfiguration@ is updated with the new value. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'removeOutputLocation', 'resultConfigurationUpdates_removeOutputLocation' - If set to \"true\", indicates that the previously-specified query+-- results location (also known as a client-side setting) for queries in+-- this workgroup should be ignored and set to null. If set to \"false\" or+-- not set, and a value is present in the @OutputLocation@ in+-- @ResultConfigurationUpdates@ (the client-side setting), the+-- @OutputLocation@ in the workgroup\'s @ResultConfiguration@ will be+-- updated with the new value. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+newResultConfigurationUpdates ::+ ResultConfigurationUpdates+newResultConfigurationUpdates =+ ResultConfigurationUpdates'+ { aclConfiguration =+ Prelude.Nothing,+ encryptionConfiguration = Prelude.Nothing,+ expectedBucketOwner = Prelude.Nothing,+ outputLocation = Prelude.Nothing,+ removeAclConfiguration = Prelude.Nothing,+ removeEncryptionConfiguration = Prelude.Nothing,+ removeExpectedBucketOwner = Prelude.Nothing,+ removeOutputLocation = Prelude.Nothing+ }++-- | The ACL configuration for the query results.+resultConfigurationUpdates_aclConfiguration :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe AclConfiguration)+resultConfigurationUpdates_aclConfiguration = Lens.lens (\ResultConfigurationUpdates' {aclConfiguration} -> aclConfiguration) (\s@ResultConfigurationUpdates' {} a -> s {aclConfiguration = a} :: ResultConfigurationUpdates)++-- | The encryption configuration for the query results.+resultConfigurationUpdates_encryptionConfiguration :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe EncryptionConfiguration)+resultConfigurationUpdates_encryptionConfiguration = Lens.lens (\ResultConfigurationUpdates' {encryptionConfiguration} -> encryptionConfiguration) (\s@ResultConfigurationUpdates' {} a -> s {encryptionConfiguration = a} :: ResultConfigurationUpdates)++-- | The Amazon Web Services account ID that you expect to be the owner of+-- the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If+-- set, Athena uses the value for @ExpectedBucketOwner@ when it makes+-- Amazon S3 calls to your specified output location. If the+-- @ExpectedBucketOwner@ Amazon Web Services account ID does not match the+-- actual owner of the Amazon S3 bucket, the call fails with a permissions+-- error.+--+-- If workgroup settings override client-side settings, then the query uses+-- the @ExpectedBucketOwner@ setting that is specified for the workgroup,+-- and also uses the location for storing query results specified in the+-- workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfigurationUpdates_expectedBucketOwner :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe Prelude.Text)+resultConfigurationUpdates_expectedBucketOwner = Lens.lens (\ResultConfigurationUpdates' {expectedBucketOwner} -> expectedBucketOwner) (\s@ResultConfigurationUpdates' {} a -> s {expectedBucketOwner = a} :: ResultConfigurationUpdates)++-- | The location in Amazon S3 where your query results are stored, such as+-- @s3:\/\/path\/to\/query\/bucket\/@. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>+-- If workgroup settings override client-side settings, then the query uses+-- the location for the query results and the encryption configuration that+-- are specified for the workgroup. The \"workgroup settings override\" is+-- specified in @EnforceWorkGroupConfiguration@ (true\/false) in the+-- @WorkGroupConfiguration@. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+resultConfigurationUpdates_outputLocation :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe Prelude.Text)+resultConfigurationUpdates_outputLocation = Lens.lens (\ResultConfigurationUpdates' {outputLocation} -> outputLocation) (\s@ResultConfigurationUpdates' {} a -> s {outputLocation = a} :: ResultConfigurationUpdates)++-- | If set to @true@, indicates that the previously-specified ACL+-- configuration for queries in this workgroup should be ignored and set to+-- null. If set to @false@ or not set, and a value is present in the+-- @AclConfiguration@ of @ResultConfigurationUpdates@, the+-- @AclConfiguration@ in the workgroup\'s @ResultConfiguration@ is updated+-- with the new value. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfigurationUpdates_removeAclConfiguration :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe Prelude.Bool)+resultConfigurationUpdates_removeAclConfiguration = Lens.lens (\ResultConfigurationUpdates' {removeAclConfiguration} -> removeAclConfiguration) (\s@ResultConfigurationUpdates' {} a -> s {removeAclConfiguration = a} :: ResultConfigurationUpdates)++-- | If set to \"true\", indicates that the previously-specified encryption+-- configuration (also known as the client-side setting) for queries in+-- this workgroup should be ignored and set to null. If set to \"false\" or+-- not set, and a value is present in the @EncryptionConfiguration@ in+-- @ResultConfigurationUpdates@ (the client-side setting), the+-- @EncryptionConfiguration@ in the workgroup\'s @ResultConfiguration@ will+-- be updated with the new value. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfigurationUpdates_removeEncryptionConfiguration :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe Prelude.Bool)+resultConfigurationUpdates_removeEncryptionConfiguration = Lens.lens (\ResultConfigurationUpdates' {removeEncryptionConfiguration} -> removeEncryptionConfiguration) (\s@ResultConfigurationUpdates' {} a -> s {removeEncryptionConfiguration = a} :: ResultConfigurationUpdates)++-- | If set to \"true\", removes the Amazon Web Services account ID+-- previously specified for ResultConfiguration$ExpectedBucketOwner. If set+-- to \"false\" or not set, and a value is present in the+-- @ExpectedBucketOwner@ in @ResultConfigurationUpdates@ (the client-side+-- setting), the @ExpectedBucketOwner@ in the workgroup\'s+-- @ResultConfiguration@ is updated with the new value. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfigurationUpdates_removeExpectedBucketOwner :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe Prelude.Bool)+resultConfigurationUpdates_removeExpectedBucketOwner = Lens.lens (\ResultConfigurationUpdates' {removeExpectedBucketOwner} -> removeExpectedBucketOwner) (\s@ResultConfigurationUpdates' {} a -> s {removeExpectedBucketOwner = a} :: ResultConfigurationUpdates)++-- | If set to \"true\", indicates that the previously-specified query+-- results location (also known as a client-side setting) for queries in+-- this workgroup should be ignored and set to null. If set to \"false\" or+-- not set, and a value is present in the @OutputLocation@ in+-- @ResultConfigurationUpdates@ (the client-side setting), the+-- @OutputLocation@ in the workgroup\'s @ResultConfiguration@ will be+-- updated with the new value. For more information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+resultConfigurationUpdates_removeOutputLocation :: Lens.Lens' ResultConfigurationUpdates (Prelude.Maybe Prelude.Bool)+resultConfigurationUpdates_removeOutputLocation = Lens.lens (\ResultConfigurationUpdates' {removeOutputLocation} -> removeOutputLocation) (\s@ResultConfigurationUpdates' {} a -> s {removeOutputLocation = a} :: ResultConfigurationUpdates)++instance Prelude.Hashable ResultConfigurationUpdates where+ hashWithSalt _salt ResultConfigurationUpdates' {..} =+ _salt+ `Prelude.hashWithSalt` aclConfiguration+ `Prelude.hashWithSalt` encryptionConfiguration+ `Prelude.hashWithSalt` expectedBucketOwner+ `Prelude.hashWithSalt` outputLocation+ `Prelude.hashWithSalt` removeAclConfiguration+ `Prelude.hashWithSalt` removeEncryptionConfiguration+ `Prelude.hashWithSalt` removeExpectedBucketOwner+ `Prelude.hashWithSalt` removeOutputLocation++instance Prelude.NFData ResultConfigurationUpdates where+ rnf ResultConfigurationUpdates' {..} =+ Prelude.rnf aclConfiguration+ `Prelude.seq` Prelude.rnf encryptionConfiguration+ `Prelude.seq` Prelude.rnf expectedBucketOwner+ `Prelude.seq` Prelude.rnf outputLocation+ `Prelude.seq` Prelude.rnf removeAclConfiguration+ `Prelude.seq` Prelude.rnf removeEncryptionConfiguration+ `Prelude.seq` Prelude.rnf removeExpectedBucketOwner+ `Prelude.seq` Prelude.rnf removeOutputLocation++instance Data.ToJSON ResultConfigurationUpdates where+ toJSON ResultConfigurationUpdates' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AclConfiguration" Data..=)+ Prelude.<$> aclConfiguration,+ ("EncryptionConfiguration" Data..=)+ Prelude.<$> encryptionConfiguration,+ ("ExpectedBucketOwner" Data..=)+ Prelude.<$> expectedBucketOwner,+ ("OutputLocation" Data..=)+ Prelude.<$> outputLocation,+ ("RemoveAclConfiguration" Data..=)+ Prelude.<$> removeAclConfiguration,+ ("RemoveEncryptionConfiguration" Data..=)+ Prelude.<$> removeEncryptionConfiguration,+ ("RemoveExpectedBucketOwner" Data..=)+ Prelude.<$> removeExpectedBucketOwner,+ ("RemoveOutputLocation" Data..=)+ Prelude.<$> removeOutputLocation+ ]+ )
+ gen/Amazonka/Athena/Types/ResultReuseByAgeConfiguration.hs view
@@ -0,0 +1,107 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ResultReuseByAgeConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ResultReuseByAgeConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Specifies whether previous query results are reused, and if so, their+-- maximum age.+--+-- /See:/ 'newResultReuseByAgeConfiguration' smart constructor.+data ResultReuseByAgeConfiguration = ResultReuseByAgeConfiguration'+ { -- | Specifies, in minutes, the maximum age of a previous query result that+ -- Athena should consider for reuse. The default is 60.+ maxAgeInMinutes :: Prelude.Maybe Prelude.Natural,+ -- | True if previous query results can be reused when the query is run;+ -- otherwise, false. The default is false.+ enabled :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResultReuseByAgeConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxAgeInMinutes', 'resultReuseByAgeConfiguration_maxAgeInMinutes' - Specifies, in minutes, the maximum age of a previous query result that+-- Athena should consider for reuse. The default is 60.+--+-- 'enabled', 'resultReuseByAgeConfiguration_enabled' - True if previous query results can be reused when the query is run;+-- otherwise, false. The default is false.+newResultReuseByAgeConfiguration ::+ -- | 'enabled'+ Prelude.Bool ->+ ResultReuseByAgeConfiguration+newResultReuseByAgeConfiguration pEnabled_ =+ ResultReuseByAgeConfiguration'+ { maxAgeInMinutes =+ Prelude.Nothing,+ enabled = pEnabled_+ }++-- | Specifies, in minutes, the maximum age of a previous query result that+-- Athena should consider for reuse. The default is 60.+resultReuseByAgeConfiguration_maxAgeInMinutes :: Lens.Lens' ResultReuseByAgeConfiguration (Prelude.Maybe Prelude.Natural)+resultReuseByAgeConfiguration_maxAgeInMinutes = Lens.lens (\ResultReuseByAgeConfiguration' {maxAgeInMinutes} -> maxAgeInMinutes) (\s@ResultReuseByAgeConfiguration' {} a -> s {maxAgeInMinutes = a} :: ResultReuseByAgeConfiguration)++-- | True if previous query results can be reused when the query is run;+-- otherwise, false. The default is false.+resultReuseByAgeConfiguration_enabled :: Lens.Lens' ResultReuseByAgeConfiguration Prelude.Bool+resultReuseByAgeConfiguration_enabled = Lens.lens (\ResultReuseByAgeConfiguration' {enabled} -> enabled) (\s@ResultReuseByAgeConfiguration' {} a -> s {enabled = a} :: ResultReuseByAgeConfiguration)++instance Data.FromJSON ResultReuseByAgeConfiguration where+ parseJSON =+ Data.withObject+ "ResultReuseByAgeConfiguration"+ ( \x ->+ ResultReuseByAgeConfiguration'+ Prelude.<$> (x Data..:? "MaxAgeInMinutes")+ Prelude.<*> (x Data..: "Enabled")+ )++instance+ Prelude.Hashable+ ResultReuseByAgeConfiguration+ where+ hashWithSalt _salt ResultReuseByAgeConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` maxAgeInMinutes+ `Prelude.hashWithSalt` enabled++instance Prelude.NFData ResultReuseByAgeConfiguration where+ rnf ResultReuseByAgeConfiguration' {..} =+ Prelude.rnf maxAgeInMinutes+ `Prelude.seq` Prelude.rnf enabled++instance Data.ToJSON ResultReuseByAgeConfiguration where+ toJSON ResultReuseByAgeConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxAgeInMinutes" Data..=)+ Prelude.<$> maxAgeInMinutes,+ Prelude.Just ("Enabled" Data..= enabled)+ ]+ )
+ gen/Amazonka/Athena/Types/ResultReuseConfiguration.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ResultReuseConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ResultReuseConfiguration where++import Amazonka.Athena.Types.ResultReuseByAgeConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Specifies the query result reuse behavior for the query.+--+-- /See:/ 'newResultReuseConfiguration' smart constructor.+data ResultReuseConfiguration = ResultReuseConfiguration'+ { -- | Specifies whether previous query results are reused, and if so, their+ -- maximum age.+ resultReuseByAgeConfiguration :: Prelude.Maybe ResultReuseByAgeConfiguration+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResultReuseConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resultReuseByAgeConfiguration', 'resultReuseConfiguration_resultReuseByAgeConfiguration' - Specifies whether previous query results are reused, and if so, their+-- maximum age.+newResultReuseConfiguration ::+ ResultReuseConfiguration+newResultReuseConfiguration =+ ResultReuseConfiguration'+ { resultReuseByAgeConfiguration =+ Prelude.Nothing+ }++-- | Specifies whether previous query results are reused, and if so, their+-- maximum age.+resultReuseConfiguration_resultReuseByAgeConfiguration :: Lens.Lens' ResultReuseConfiguration (Prelude.Maybe ResultReuseByAgeConfiguration)+resultReuseConfiguration_resultReuseByAgeConfiguration = Lens.lens (\ResultReuseConfiguration' {resultReuseByAgeConfiguration} -> resultReuseByAgeConfiguration) (\s@ResultReuseConfiguration' {} a -> s {resultReuseByAgeConfiguration = a} :: ResultReuseConfiguration)++instance Data.FromJSON ResultReuseConfiguration where+ parseJSON =+ Data.withObject+ "ResultReuseConfiguration"+ ( \x ->+ ResultReuseConfiguration'+ Prelude.<$> (x Data..:? "ResultReuseByAgeConfiguration")+ )++instance Prelude.Hashable ResultReuseConfiguration where+ hashWithSalt _salt ResultReuseConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` resultReuseByAgeConfiguration++instance Prelude.NFData ResultReuseConfiguration where+ rnf ResultReuseConfiguration' {..} =+ Prelude.rnf resultReuseByAgeConfiguration++instance Data.ToJSON ResultReuseConfiguration where+ toJSON ResultReuseConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ResultReuseByAgeConfiguration" Data..=)+ Prelude.<$> resultReuseByAgeConfiguration+ ]+ )
+ gen/Amazonka/Athena/Types/ResultReuseInformation.hs view
@@ -0,0 +1,78 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ResultReuseInformation+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ResultReuseInformation where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about whether the result of a previous query was+-- reused.+--+-- /See:/ 'newResultReuseInformation' smart constructor.+data ResultReuseInformation = ResultReuseInformation'+ { -- | True if a previous query result was reused; false if the result was+ -- generated from a new run of the query.+ reusedPreviousResult :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResultReuseInformation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'reusedPreviousResult', 'resultReuseInformation_reusedPreviousResult' - True if a previous query result was reused; false if the result was+-- generated from a new run of the query.+newResultReuseInformation ::+ -- | 'reusedPreviousResult'+ Prelude.Bool ->+ ResultReuseInformation+newResultReuseInformation pReusedPreviousResult_ =+ ResultReuseInformation'+ { reusedPreviousResult =+ pReusedPreviousResult_+ }++-- | True if a previous query result was reused; false if the result was+-- generated from a new run of the query.+resultReuseInformation_reusedPreviousResult :: Lens.Lens' ResultReuseInformation Prelude.Bool+resultReuseInformation_reusedPreviousResult = Lens.lens (\ResultReuseInformation' {reusedPreviousResult} -> reusedPreviousResult) (\s@ResultReuseInformation' {} a -> s {reusedPreviousResult = a} :: ResultReuseInformation)++instance Data.FromJSON ResultReuseInformation where+ parseJSON =+ Data.withObject+ "ResultReuseInformation"+ ( \x ->+ ResultReuseInformation'+ Prelude.<$> (x Data..: "ReusedPreviousResult")+ )++instance Prelude.Hashable ResultReuseInformation where+ hashWithSalt _salt ResultReuseInformation' {..} =+ _salt `Prelude.hashWithSalt` reusedPreviousResult++instance Prelude.NFData ResultReuseInformation where+ rnf ResultReuseInformation' {..} =+ Prelude.rnf reusedPreviousResult
+ gen/Amazonka/Athena/Types/ResultSet.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ResultSet+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ResultSet where++import Amazonka.Athena.Types.ResultSetMetadata+import Amazonka.Athena.Types.Row+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The metadata and rows that make up a query result set. The metadata+-- describes the column structure and data types. To return a @ResultSet@+-- object, use GetQueryResults.+--+-- /See:/ 'newResultSet' smart constructor.+data ResultSet = ResultSet'+ { -- | The metadata that describes the column structure and data types of a+ -- table of query results.+ resultSetMetadata :: Prelude.Maybe ResultSetMetadata,+ -- | The rows in the table.+ rows :: Prelude.Maybe [Row]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResultSet' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resultSetMetadata', 'resultSet_resultSetMetadata' - The metadata that describes the column structure and data types of a+-- table of query results.+--+-- 'rows', 'resultSet_rows' - The rows in the table.+newResultSet ::+ ResultSet+newResultSet =+ ResultSet'+ { resultSetMetadata = Prelude.Nothing,+ rows = Prelude.Nothing+ }++-- | The metadata that describes the column structure and data types of a+-- table of query results.+resultSet_resultSetMetadata :: Lens.Lens' ResultSet (Prelude.Maybe ResultSetMetadata)+resultSet_resultSetMetadata = Lens.lens (\ResultSet' {resultSetMetadata} -> resultSetMetadata) (\s@ResultSet' {} a -> s {resultSetMetadata = a} :: ResultSet)++-- | The rows in the table.+resultSet_rows :: Lens.Lens' ResultSet (Prelude.Maybe [Row])+resultSet_rows = Lens.lens (\ResultSet' {rows} -> rows) (\s@ResultSet' {} a -> s {rows = a} :: ResultSet) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ResultSet where+ parseJSON =+ Data.withObject+ "ResultSet"+ ( \x ->+ ResultSet'+ Prelude.<$> (x Data..:? "ResultSetMetadata")+ Prelude.<*> (x Data..:? "Rows" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable ResultSet where+ hashWithSalt _salt ResultSet' {..} =+ _salt+ `Prelude.hashWithSalt` resultSetMetadata+ `Prelude.hashWithSalt` rows++instance Prelude.NFData ResultSet where+ rnf ResultSet' {..} =+ Prelude.rnf resultSetMetadata+ `Prelude.seq` Prelude.rnf rows
+ gen/Amazonka/Athena/Types/ResultSetMetadata.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.ResultSetMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.ResultSetMetadata where++import Amazonka.Athena.Types.ColumnInfo+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The metadata that describes the column structure and data types of a+-- table of query results. To return a @ResultSetMetadata@ object, use+-- GetQueryResults.+--+-- /See:/ 'newResultSetMetadata' smart constructor.+data ResultSetMetadata = ResultSetMetadata'+ { -- | Information about the columns returned in a query result metadata.+ columnInfo :: Prelude.Maybe [ColumnInfo]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResultSetMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'columnInfo', 'resultSetMetadata_columnInfo' - Information about the columns returned in a query result metadata.+newResultSetMetadata ::+ ResultSetMetadata+newResultSetMetadata =+ ResultSetMetadata' {columnInfo = Prelude.Nothing}++-- | Information about the columns returned in a query result metadata.+resultSetMetadata_columnInfo :: Lens.Lens' ResultSetMetadata (Prelude.Maybe [ColumnInfo])+resultSetMetadata_columnInfo = Lens.lens (\ResultSetMetadata' {columnInfo} -> columnInfo) (\s@ResultSetMetadata' {} a -> s {columnInfo = a} :: ResultSetMetadata) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ResultSetMetadata where+ parseJSON =+ Data.withObject+ "ResultSetMetadata"+ ( \x ->+ ResultSetMetadata'+ Prelude.<$> (x Data..:? "ColumnInfo" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable ResultSetMetadata where+ hashWithSalt _salt ResultSetMetadata' {..} =+ _salt `Prelude.hashWithSalt` columnInfo++instance Prelude.NFData ResultSetMetadata where+ rnf ResultSetMetadata' {..} = Prelude.rnf columnInfo
+ gen/Amazonka/Athena/Types/Row.hs view
@@ -0,0 +1,68 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.Row+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.Row where++import Amazonka.Athena.Types.Datum+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The rows that make up a query result table.+--+-- /See:/ 'newRow' smart constructor.+data Row = Row'+ { -- | The data that populates a row in a query result table.+ data' :: Prelude.Maybe [Datum]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Row' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'data'', 'row_data' - The data that populates a row in a query result table.+newRow ::+ Row+newRow = Row' {data' = Prelude.Nothing}++-- | The data that populates a row in a query result table.+row_data :: Lens.Lens' Row (Prelude.Maybe [Datum])+row_data = Lens.lens (\Row' {data'} -> data') (\s@Row' {} a -> s {data' = a} :: Row) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON Row where+ parseJSON =+ Data.withObject+ "Row"+ ( \x ->+ Row'+ Prelude.<$> (x Data..:? "Data" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable Row where+ hashWithSalt _salt Row' {..} =+ _salt `Prelude.hashWithSalt` data'++instance Prelude.NFData Row where+ rnf Row' {..} = Prelude.rnf data'
+ gen/Amazonka/Athena/Types/S3AclOption.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.S3AclOption+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.S3AclOption+ ( S3AclOption+ ( ..,+ S3AclOption_BUCKET_OWNER_FULL_CONTROL+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype S3AclOption = S3AclOption'+ { fromS3AclOption ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern S3AclOption_BUCKET_OWNER_FULL_CONTROL :: S3AclOption+pattern S3AclOption_BUCKET_OWNER_FULL_CONTROL = S3AclOption' "BUCKET_OWNER_FULL_CONTROL"++{-# COMPLETE+ S3AclOption_BUCKET_OWNER_FULL_CONTROL,+ S3AclOption'+ #-}
+ gen/Amazonka/Athena/Types/SessionConfiguration.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.SessionConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.SessionConfiguration where++import Amazonka.Athena.Types.EncryptionConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains session configuration information.+--+-- /See:/ 'newSessionConfiguration' smart constructor.+data SessionConfiguration = SessionConfiguration'+ { encryptionConfiguration :: Prelude.Maybe EncryptionConfiguration,+ -- | The ARN of the execution role used for the session.+ executionRole :: Prelude.Maybe Prelude.Text,+ -- | The idle timeout in seconds for the session.+ idleTimeoutSeconds :: Prelude.Maybe Prelude.Integer,+ -- | The Amazon S3 location that stores information for the notebook.+ workingDirectory :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SessionConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'encryptionConfiguration', 'sessionConfiguration_encryptionConfiguration' - Undocumented member.+--+-- 'executionRole', 'sessionConfiguration_executionRole' - The ARN of the execution role used for the session.+--+-- 'idleTimeoutSeconds', 'sessionConfiguration_idleTimeoutSeconds' - The idle timeout in seconds for the session.+--+-- 'workingDirectory', 'sessionConfiguration_workingDirectory' - The Amazon S3 location that stores information for the notebook.+newSessionConfiguration ::+ SessionConfiguration+newSessionConfiguration =+ SessionConfiguration'+ { encryptionConfiguration =+ Prelude.Nothing,+ executionRole = Prelude.Nothing,+ idleTimeoutSeconds = Prelude.Nothing,+ workingDirectory = Prelude.Nothing+ }++-- | Undocumented member.+sessionConfiguration_encryptionConfiguration :: Lens.Lens' SessionConfiguration (Prelude.Maybe EncryptionConfiguration)+sessionConfiguration_encryptionConfiguration = Lens.lens (\SessionConfiguration' {encryptionConfiguration} -> encryptionConfiguration) (\s@SessionConfiguration' {} a -> s {encryptionConfiguration = a} :: SessionConfiguration)++-- | The ARN of the execution role used for the session.+sessionConfiguration_executionRole :: Lens.Lens' SessionConfiguration (Prelude.Maybe Prelude.Text)+sessionConfiguration_executionRole = Lens.lens (\SessionConfiguration' {executionRole} -> executionRole) (\s@SessionConfiguration' {} a -> s {executionRole = a} :: SessionConfiguration)++-- | The idle timeout in seconds for the session.+sessionConfiguration_idleTimeoutSeconds :: Lens.Lens' SessionConfiguration (Prelude.Maybe Prelude.Integer)+sessionConfiguration_idleTimeoutSeconds = Lens.lens (\SessionConfiguration' {idleTimeoutSeconds} -> idleTimeoutSeconds) (\s@SessionConfiguration' {} a -> s {idleTimeoutSeconds = a} :: SessionConfiguration)++-- | The Amazon S3 location that stores information for the notebook.+sessionConfiguration_workingDirectory :: Lens.Lens' SessionConfiguration (Prelude.Maybe Prelude.Text)+sessionConfiguration_workingDirectory = Lens.lens (\SessionConfiguration' {workingDirectory} -> workingDirectory) (\s@SessionConfiguration' {} a -> s {workingDirectory = a} :: SessionConfiguration)++instance Data.FromJSON SessionConfiguration where+ parseJSON =+ Data.withObject+ "SessionConfiguration"+ ( \x ->+ SessionConfiguration'+ Prelude.<$> (x Data..:? "EncryptionConfiguration")+ Prelude.<*> (x Data..:? "ExecutionRole")+ Prelude.<*> (x Data..:? "IdleTimeoutSeconds")+ Prelude.<*> (x Data..:? "WorkingDirectory")+ )++instance Prelude.Hashable SessionConfiguration where+ hashWithSalt _salt SessionConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` encryptionConfiguration+ `Prelude.hashWithSalt` executionRole+ `Prelude.hashWithSalt` idleTimeoutSeconds+ `Prelude.hashWithSalt` workingDirectory++instance Prelude.NFData SessionConfiguration where+ rnf SessionConfiguration' {..} =+ Prelude.rnf encryptionConfiguration+ `Prelude.seq` Prelude.rnf executionRole+ `Prelude.seq` Prelude.rnf idleTimeoutSeconds+ `Prelude.seq` Prelude.rnf workingDirectory
+ gen/Amazonka/Athena/Types/SessionState.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.SessionState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.SessionState+ ( SessionState+ ( ..,+ SessionState_BUSY,+ SessionState_CREATED,+ SessionState_CREATING,+ SessionState_DEGRADED,+ SessionState_FAILED,+ SessionState_IDLE,+ SessionState_TERMINATED,+ SessionState_TERMINATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype SessionState = SessionState'+ { fromSessionState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern SessionState_BUSY :: SessionState+pattern SessionState_BUSY = SessionState' "BUSY"++pattern SessionState_CREATED :: SessionState+pattern SessionState_CREATED = SessionState' "CREATED"++pattern SessionState_CREATING :: SessionState+pattern SessionState_CREATING = SessionState' "CREATING"++pattern SessionState_DEGRADED :: SessionState+pattern SessionState_DEGRADED = SessionState' "DEGRADED"++pattern SessionState_FAILED :: SessionState+pattern SessionState_FAILED = SessionState' "FAILED"++pattern SessionState_IDLE :: SessionState+pattern SessionState_IDLE = SessionState' "IDLE"++pattern SessionState_TERMINATED :: SessionState+pattern SessionState_TERMINATED = SessionState' "TERMINATED"++pattern SessionState_TERMINATING :: SessionState+pattern SessionState_TERMINATING = SessionState' "TERMINATING"++{-# COMPLETE+ SessionState_BUSY,+ SessionState_CREATED,+ SessionState_CREATING,+ SessionState_DEGRADED,+ SessionState_FAILED,+ SessionState_IDLE,+ SessionState_TERMINATED,+ SessionState_TERMINATING,+ SessionState'+ #-}
+ gen/Amazonka/Athena/Types/SessionStatistics.hs view
@@ -0,0 +1,72 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.SessionStatistics+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.SessionStatistics where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains statistics for a notebook session.+--+-- /See:/ 'newSessionStatistics' smart constructor.+data SessionStatistics = SessionStatistics'+ { -- | The data processing unit execution time for a session in milliseconds.+ dpuExecutionInMillis :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SessionStatistics' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dpuExecutionInMillis', 'sessionStatistics_dpuExecutionInMillis' - The data processing unit execution time for a session in milliseconds.+newSessionStatistics ::+ SessionStatistics+newSessionStatistics =+ SessionStatistics'+ { dpuExecutionInMillis =+ Prelude.Nothing+ }++-- | The data processing unit execution time for a session in milliseconds.+sessionStatistics_dpuExecutionInMillis :: Lens.Lens' SessionStatistics (Prelude.Maybe Prelude.Integer)+sessionStatistics_dpuExecutionInMillis = Lens.lens (\SessionStatistics' {dpuExecutionInMillis} -> dpuExecutionInMillis) (\s@SessionStatistics' {} a -> s {dpuExecutionInMillis = a} :: SessionStatistics)++instance Data.FromJSON SessionStatistics where+ parseJSON =+ Data.withObject+ "SessionStatistics"+ ( \x ->+ SessionStatistics'+ Prelude.<$> (x Data..:? "DpuExecutionInMillis")+ )++instance Prelude.Hashable SessionStatistics where+ hashWithSalt _salt SessionStatistics' {..} =+ _salt `Prelude.hashWithSalt` dpuExecutionInMillis++instance Prelude.NFData SessionStatistics where+ rnf SessionStatistics' {..} =+ Prelude.rnf dpuExecutionInMillis
+ gen/Amazonka/Athena/Types/SessionStatus.hs view
@@ -0,0 +1,196 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.SessionStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.SessionStatus where++import Amazonka.Athena.Types.SessionState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about the status of a notebook session.+--+-- /See:/ 'newSessionStatus' smart constructor.+data SessionStatus = SessionStatus'+ { -- | The date and time that the session ended.+ endDateTime :: Prelude.Maybe Data.POSIX,+ -- | The date and time starting at which the session became idle. Can be+ -- empty if the session is not currently idle.+ idleSinceDateTime :: Prelude.Maybe Data.POSIX,+ -- | The most recent date and time that the session was modified.+ lastModifiedDateTime :: Prelude.Maybe Data.POSIX,+ -- | The date and time that the session started.+ startDateTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the session. A description of each state follows.+ --+ -- @CREATING@ - The session is being started, including acquiring+ -- resources.+ --+ -- @CREATED@ - The session has been started.+ --+ -- @IDLE@ - The session is able to accept a calculation.+ --+ -- @BUSY@ - The session is processing another task and is unable to accept+ -- a calculation.+ --+ -- @TERMINATING@ - The session is in the process of shutting down.+ --+ -- @TERMINATED@ - The session and its resources are no longer running.+ --+ -- @DEGRADED@ - The session has no healthy coordinators.+ --+ -- @FAILED@ - Due to a failure, the session and its resources are no longer+ -- running.+ state :: Prelude.Maybe SessionState,+ -- | The reason for the session state change (for example, canceled because+ -- the session was terminated).+ stateChangeReason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SessionStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'endDateTime', 'sessionStatus_endDateTime' - The date and time that the session ended.+--+-- 'idleSinceDateTime', 'sessionStatus_idleSinceDateTime' - The date and time starting at which the session became idle. Can be+-- empty if the session is not currently idle.+--+-- 'lastModifiedDateTime', 'sessionStatus_lastModifiedDateTime' - The most recent date and time that the session was modified.+--+-- 'startDateTime', 'sessionStatus_startDateTime' - The date and time that the session started.+--+-- 'state', 'sessionStatus_state' - The state of the session. A description of each state follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+--+-- 'stateChangeReason', 'sessionStatus_stateChangeReason' - The reason for the session state change (for example, canceled because+-- the session was terminated).+newSessionStatus ::+ SessionStatus+newSessionStatus =+ SessionStatus'+ { endDateTime = Prelude.Nothing,+ idleSinceDateTime = Prelude.Nothing,+ lastModifiedDateTime = Prelude.Nothing,+ startDateTime = Prelude.Nothing,+ state = Prelude.Nothing,+ stateChangeReason = Prelude.Nothing+ }++-- | The date and time that the session ended.+sessionStatus_endDateTime :: Lens.Lens' SessionStatus (Prelude.Maybe Prelude.UTCTime)+sessionStatus_endDateTime = Lens.lens (\SessionStatus' {endDateTime} -> endDateTime) (\s@SessionStatus' {} a -> s {endDateTime = a} :: SessionStatus) Prelude.. Lens.mapping Data._Time++-- | The date and time starting at which the session became idle. Can be+-- empty if the session is not currently idle.+sessionStatus_idleSinceDateTime :: Lens.Lens' SessionStatus (Prelude.Maybe Prelude.UTCTime)+sessionStatus_idleSinceDateTime = Lens.lens (\SessionStatus' {idleSinceDateTime} -> idleSinceDateTime) (\s@SessionStatus' {} a -> s {idleSinceDateTime = a} :: SessionStatus) Prelude.. Lens.mapping Data._Time++-- | The most recent date and time that the session was modified.+sessionStatus_lastModifiedDateTime :: Lens.Lens' SessionStatus (Prelude.Maybe Prelude.UTCTime)+sessionStatus_lastModifiedDateTime = Lens.lens (\SessionStatus' {lastModifiedDateTime} -> lastModifiedDateTime) (\s@SessionStatus' {} a -> s {lastModifiedDateTime = a} :: SessionStatus) Prelude.. Lens.mapping Data._Time++-- | The date and time that the session started.+sessionStatus_startDateTime :: Lens.Lens' SessionStatus (Prelude.Maybe Prelude.UTCTime)+sessionStatus_startDateTime = Lens.lens (\SessionStatus' {startDateTime} -> startDateTime) (\s@SessionStatus' {} a -> s {startDateTime = a} :: SessionStatus) Prelude.. Lens.mapping Data._Time++-- | The state of the session. A description of each state follows.+--+-- @CREATING@ - The session is being started, including acquiring+-- resources.+--+-- @CREATED@ - The session has been started.+--+-- @IDLE@ - The session is able to accept a calculation.+--+-- @BUSY@ - The session is processing another task and is unable to accept+-- a calculation.+--+-- @TERMINATING@ - The session is in the process of shutting down.+--+-- @TERMINATED@ - The session and its resources are no longer running.+--+-- @DEGRADED@ - The session has no healthy coordinators.+--+-- @FAILED@ - Due to a failure, the session and its resources are no longer+-- running.+sessionStatus_state :: Lens.Lens' SessionStatus (Prelude.Maybe SessionState)+sessionStatus_state = Lens.lens (\SessionStatus' {state} -> state) (\s@SessionStatus' {} a -> s {state = a} :: SessionStatus)++-- | The reason for the session state change (for example, canceled because+-- the session was terminated).+sessionStatus_stateChangeReason :: Lens.Lens' SessionStatus (Prelude.Maybe Prelude.Text)+sessionStatus_stateChangeReason = Lens.lens (\SessionStatus' {stateChangeReason} -> stateChangeReason) (\s@SessionStatus' {} a -> s {stateChangeReason = a} :: SessionStatus)++instance Data.FromJSON SessionStatus where+ parseJSON =+ Data.withObject+ "SessionStatus"+ ( \x ->+ SessionStatus'+ Prelude.<$> (x Data..:? "EndDateTime")+ Prelude.<*> (x Data..:? "IdleSinceDateTime")+ Prelude.<*> (x Data..:? "LastModifiedDateTime")+ Prelude.<*> (x Data..:? "StartDateTime")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "StateChangeReason")+ )++instance Prelude.Hashable SessionStatus where+ hashWithSalt _salt SessionStatus' {..} =+ _salt+ `Prelude.hashWithSalt` endDateTime+ `Prelude.hashWithSalt` idleSinceDateTime+ `Prelude.hashWithSalt` lastModifiedDateTime+ `Prelude.hashWithSalt` startDateTime+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` stateChangeReason++instance Prelude.NFData SessionStatus where+ rnf SessionStatus' {..} =+ Prelude.rnf endDateTime+ `Prelude.seq` Prelude.rnf idleSinceDateTime+ `Prelude.seq` Prelude.rnf lastModifiedDateTime+ `Prelude.seq` Prelude.rnf startDateTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateChangeReason
+ gen/Amazonka/Athena/Types/SessionSummary.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.SessionSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.SessionSummary where++import Amazonka.Athena.Types.EngineVersion+import Amazonka.Athena.Types.SessionStatus+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains summary information about a notebook session.+--+-- /See:/ 'newSessionSummary' smart constructor.+data SessionSummary = SessionSummary'+ { -- | The session description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The engine version used by the session (for example,+ -- @PySpark engine version 3@).+ engineVersion :: Prelude.Maybe EngineVersion,+ -- | The notebook version.+ notebookVersion :: Prelude.Maybe Prelude.Text,+ -- | The session ID.+ sessionId :: Prelude.Maybe Prelude.Text,+ -- | Contains information about the session status.+ status :: Prelude.Maybe SessionStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SessionSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'sessionSummary_description' - The session description.+--+-- 'engineVersion', 'sessionSummary_engineVersion' - The engine version used by the session (for example,+-- @PySpark engine version 3@).+--+-- 'notebookVersion', 'sessionSummary_notebookVersion' - The notebook version.+--+-- 'sessionId', 'sessionSummary_sessionId' - The session ID.+--+-- 'status', 'sessionSummary_status' - Contains information about the session status.+newSessionSummary ::+ SessionSummary+newSessionSummary =+ SessionSummary'+ { description = Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ notebookVersion = Prelude.Nothing,+ sessionId = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The session description.+sessionSummary_description :: Lens.Lens' SessionSummary (Prelude.Maybe Prelude.Text)+sessionSummary_description = Lens.lens (\SessionSummary' {description} -> description) (\s@SessionSummary' {} a -> s {description = a} :: SessionSummary)++-- | The engine version used by the session (for example,+-- @PySpark engine version 3@).+sessionSummary_engineVersion :: Lens.Lens' SessionSummary (Prelude.Maybe EngineVersion)+sessionSummary_engineVersion = Lens.lens (\SessionSummary' {engineVersion} -> engineVersion) (\s@SessionSummary' {} a -> s {engineVersion = a} :: SessionSummary)++-- | The notebook version.+sessionSummary_notebookVersion :: Lens.Lens' SessionSummary (Prelude.Maybe Prelude.Text)+sessionSummary_notebookVersion = Lens.lens (\SessionSummary' {notebookVersion} -> notebookVersion) (\s@SessionSummary' {} a -> s {notebookVersion = a} :: SessionSummary)++-- | The session ID.+sessionSummary_sessionId :: Lens.Lens' SessionSummary (Prelude.Maybe Prelude.Text)+sessionSummary_sessionId = Lens.lens (\SessionSummary' {sessionId} -> sessionId) (\s@SessionSummary' {} a -> s {sessionId = a} :: SessionSummary)++-- | Contains information about the session status.+sessionSummary_status :: Lens.Lens' SessionSummary (Prelude.Maybe SessionStatus)+sessionSummary_status = Lens.lens (\SessionSummary' {status} -> status) (\s@SessionSummary' {} a -> s {status = a} :: SessionSummary)++instance Data.FromJSON SessionSummary where+ parseJSON =+ Data.withObject+ "SessionSummary"+ ( \x ->+ SessionSummary'+ Prelude.<$> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "EngineVersion")+ Prelude.<*> (x Data..:? "NotebookVersion")+ Prelude.<*> (x Data..:? "SessionId")+ Prelude.<*> (x Data..:? "Status")+ )++instance Prelude.Hashable SessionSummary where+ hashWithSalt _salt SessionSummary' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` notebookVersion+ `Prelude.hashWithSalt` sessionId+ `Prelude.hashWithSalt` status++instance Prelude.NFData SessionSummary where+ rnf SessionSummary' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf notebookVersion+ `Prelude.seq` Prelude.rnf sessionId+ `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/Athena/Types/StatementType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.StatementType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.StatementType+ ( StatementType+ ( ..,+ StatementType_DDL,+ StatementType_DML,+ StatementType_UTILITY+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype StatementType = StatementType'+ { fromStatementType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern StatementType_DDL :: StatementType+pattern StatementType_DDL = StatementType' "DDL"++pattern StatementType_DML :: StatementType+pattern StatementType_DML = StatementType' "DML"++pattern StatementType_UTILITY :: StatementType+pattern StatementType_UTILITY = StatementType' "UTILITY"++{-# COMPLETE+ StatementType_DDL,+ StatementType_DML,+ StatementType_UTILITY,+ StatementType'+ #-}
+ gen/Amazonka/Athena/Types/TableMetadata.hs view
@@ -0,0 +1,147 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.TableMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.TableMetadata where++import Amazonka.Athena.Types.Column+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains metadata for a table.+--+-- /See:/ 'newTableMetadata' smart constructor.+data TableMetadata = TableMetadata'+ { -- | A list of the columns in the table.+ columns :: Prelude.Maybe [Column],+ -- | The time that the table was created.+ createTime :: Prelude.Maybe Data.POSIX,+ -- | The last time the table was accessed.+ lastAccessTime :: Prelude.Maybe Data.POSIX,+ -- | A set of custom key\/value pairs for table properties.+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | A list of the partition keys in the table.+ partitionKeys :: Prelude.Maybe [Column],+ -- | The type of table. In Athena, only @EXTERNAL_TABLE@ is supported.+ tableType :: Prelude.Maybe Prelude.Text,+ -- | The name of the table.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TableMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'columns', 'tableMetadata_columns' - A list of the columns in the table.+--+-- 'createTime', 'tableMetadata_createTime' - The time that the table was created.+--+-- 'lastAccessTime', 'tableMetadata_lastAccessTime' - The last time the table was accessed.+--+-- 'parameters', 'tableMetadata_parameters' - A set of custom key\/value pairs for table properties.+--+-- 'partitionKeys', 'tableMetadata_partitionKeys' - A list of the partition keys in the table.+--+-- 'tableType', 'tableMetadata_tableType' - The type of table. In Athena, only @EXTERNAL_TABLE@ is supported.+--+-- 'name', 'tableMetadata_name' - The name of the table.+newTableMetadata ::+ -- | 'name'+ Prelude.Text ->+ TableMetadata+newTableMetadata pName_ =+ TableMetadata'+ { columns = Prelude.Nothing,+ createTime = Prelude.Nothing,+ lastAccessTime = Prelude.Nothing,+ parameters = Prelude.Nothing,+ partitionKeys = Prelude.Nothing,+ tableType = Prelude.Nothing,+ name = pName_+ }++-- | A list of the columns in the table.+tableMetadata_columns :: Lens.Lens' TableMetadata (Prelude.Maybe [Column])+tableMetadata_columns = Lens.lens (\TableMetadata' {columns} -> columns) (\s@TableMetadata' {} a -> s {columns = a} :: TableMetadata) Prelude.. Lens.mapping Lens.coerced++-- | The time that the table was created.+tableMetadata_createTime :: Lens.Lens' TableMetadata (Prelude.Maybe Prelude.UTCTime)+tableMetadata_createTime = Lens.lens (\TableMetadata' {createTime} -> createTime) (\s@TableMetadata' {} a -> s {createTime = a} :: TableMetadata) Prelude.. Lens.mapping Data._Time++-- | The last time the table was accessed.+tableMetadata_lastAccessTime :: Lens.Lens' TableMetadata (Prelude.Maybe Prelude.UTCTime)+tableMetadata_lastAccessTime = Lens.lens (\TableMetadata' {lastAccessTime} -> lastAccessTime) (\s@TableMetadata' {} a -> s {lastAccessTime = a} :: TableMetadata) Prelude.. Lens.mapping Data._Time++-- | A set of custom key\/value pairs for table properties.+tableMetadata_parameters :: Lens.Lens' TableMetadata (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+tableMetadata_parameters = Lens.lens (\TableMetadata' {parameters} -> parameters) (\s@TableMetadata' {} a -> s {parameters = a} :: TableMetadata) Prelude.. Lens.mapping Lens.coerced++-- | A list of the partition keys in the table.+tableMetadata_partitionKeys :: Lens.Lens' TableMetadata (Prelude.Maybe [Column])+tableMetadata_partitionKeys = Lens.lens (\TableMetadata' {partitionKeys} -> partitionKeys) (\s@TableMetadata' {} a -> s {partitionKeys = a} :: TableMetadata) Prelude.. Lens.mapping Lens.coerced++-- | The type of table. In Athena, only @EXTERNAL_TABLE@ is supported.+tableMetadata_tableType :: Lens.Lens' TableMetadata (Prelude.Maybe Prelude.Text)+tableMetadata_tableType = Lens.lens (\TableMetadata' {tableType} -> tableType) (\s@TableMetadata' {} a -> s {tableType = a} :: TableMetadata)++-- | The name of the table.+tableMetadata_name :: Lens.Lens' TableMetadata Prelude.Text+tableMetadata_name = Lens.lens (\TableMetadata' {name} -> name) (\s@TableMetadata' {} a -> s {name = a} :: TableMetadata)++instance Data.FromJSON TableMetadata where+ parseJSON =+ Data.withObject+ "TableMetadata"+ ( \x ->+ TableMetadata'+ Prelude.<$> (x Data..:? "Columns" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "CreateTime")+ Prelude.<*> (x Data..:? "LastAccessTime")+ Prelude.<*> (x Data..:? "Parameters" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "PartitionKeys" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "TableType")+ Prelude.<*> (x Data..: "Name")+ )++instance Prelude.Hashable TableMetadata where+ hashWithSalt _salt TableMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` columns+ `Prelude.hashWithSalt` createTime+ `Prelude.hashWithSalt` lastAccessTime+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` partitionKeys+ `Prelude.hashWithSalt` tableType+ `Prelude.hashWithSalt` name++instance Prelude.NFData TableMetadata where+ rnf TableMetadata' {..} =+ Prelude.rnf columns+ `Prelude.seq` Prelude.rnf createTime+ `Prelude.seq` Prelude.rnf lastAccessTime+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf partitionKeys+ `Prelude.seq` Prelude.rnf tableType+ `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/Athena/Types/Tag.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.Tag+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A label that you assign to a resource. In Athena, a resource can be a+-- workgroup or data catalog. Each tag consists of a key and an optional+-- value, both of which you define. For example, you can use tags to+-- categorize Athena workgroups or data catalogs by purpose, owner, or+-- environment. Use a consistent set of tag keys to make it easier to+-- search and filter workgroups or data catalogs in your account. For best+-- practices, see+-- <https://aws.amazon.com/answers/account-management/aws-tagging-strategies/ Tagging Best Practices>.+-- Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values+-- can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and+-- numbers representable in UTF-8, and the following characters: + - = . _+-- : \/ \@. Tag keys and values are case-sensitive. Tag keys must be unique+-- per resource. If you specify more than one tag, separate them by commas.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+ { -- | A tag key. The tag key length is from 1 to 128 Unicode characters in+ -- UTF-8. You can use letters and numbers representable in UTF-8, and the+ -- following characters: + - = . _ : \/ \@. Tag keys are case-sensitive and+ -- must be unique per resource.+ key :: Prelude.Maybe Prelude.Text,+ -- | A tag value. The tag value length is from 0 to 256 Unicode characters in+ -- UTF-8. You can use letters and numbers representable in UTF-8, and the+ -- following characters: + - = . _ : \/ \@. Tag values are case-sensitive.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - A tag key. The tag key length is from 1 to 128 Unicode characters in+-- UTF-8. You can use letters and numbers representable in UTF-8, and the+-- following characters: + - = . _ : \/ \@. Tag keys are case-sensitive and+-- must be unique per resource.+--+-- 'value', 'tag_value' - A tag value. The tag value length is from 0 to 256 Unicode characters in+-- UTF-8. You can use letters and numbers representable in UTF-8, and the+-- following characters: + - = . _ : \/ \@. Tag values are case-sensitive.+newTag ::+ Tag+newTag =+ Tag'+ { key = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | A tag key. The tag key length is from 1 to 128 Unicode characters in+-- UTF-8. You can use letters and numbers representable in UTF-8, and the+-- following characters: + - = . _ : \/ \@. Tag keys are case-sensitive and+-- must be unique per resource.+tag_key :: Lens.Lens' Tag (Prelude.Maybe Prelude.Text)+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | A tag value. The tag value length is from 0 to 256 Unicode characters in+-- UTF-8. You can use letters and numbers representable in UTF-8, and the+-- following characters: + - = . _ : \/ \@. Tag values are case-sensitive.+tag_value :: Lens.Lens' Tag (Prelude.Maybe Prelude.Text)+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+ parseJSON =+ Data.withObject+ "Tag"+ ( \x ->+ Tag'+ Prelude.<$> (x Data..:? "Key")+ Prelude.<*> (x Data..:? "Value")+ )++instance Prelude.Hashable Tag where+ hashWithSalt _salt Tag' {..} =+ _salt+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+ rnf Tag' {..} =+ Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+ toJSON Tag' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Key" Data..=) Prelude.<$> key,+ ("Value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/Athena/Types/UnprocessedNamedQueryId.hs view
@@ -0,0 +1,103 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.UnprocessedNamedQueryId+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.UnprocessedNamedQueryId where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Information about a named query ID that could not be processed.+--+-- /See:/ 'newUnprocessedNamedQueryId' smart constructor.+data UnprocessedNamedQueryId = UnprocessedNamedQueryId'+ { -- | The error code returned when the processing request for the named query+ -- failed, if applicable.+ errorCode :: Prelude.Maybe Prelude.Text,+ -- | The error message returned when the processing request for the named+ -- query failed, if applicable.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The unique identifier of the named query.+ namedQueryId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnprocessedNamedQueryId' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'unprocessedNamedQueryId_errorCode' - The error code returned when the processing request for the named query+-- failed, if applicable.+--+-- 'errorMessage', 'unprocessedNamedQueryId_errorMessage' - The error message returned when the processing request for the named+-- query failed, if applicable.+--+-- 'namedQueryId', 'unprocessedNamedQueryId_namedQueryId' - The unique identifier of the named query.+newUnprocessedNamedQueryId ::+ UnprocessedNamedQueryId+newUnprocessedNamedQueryId =+ UnprocessedNamedQueryId'+ { errorCode =+ Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ namedQueryId = Prelude.Nothing+ }++-- | The error code returned when the processing request for the named query+-- failed, if applicable.+unprocessedNamedQueryId_errorCode :: Lens.Lens' UnprocessedNamedQueryId (Prelude.Maybe Prelude.Text)+unprocessedNamedQueryId_errorCode = Lens.lens (\UnprocessedNamedQueryId' {errorCode} -> errorCode) (\s@UnprocessedNamedQueryId' {} a -> s {errorCode = a} :: UnprocessedNamedQueryId)++-- | The error message returned when the processing request for the named+-- query failed, if applicable.+unprocessedNamedQueryId_errorMessage :: Lens.Lens' UnprocessedNamedQueryId (Prelude.Maybe Prelude.Text)+unprocessedNamedQueryId_errorMessage = Lens.lens (\UnprocessedNamedQueryId' {errorMessage} -> errorMessage) (\s@UnprocessedNamedQueryId' {} a -> s {errorMessage = a} :: UnprocessedNamedQueryId)++-- | The unique identifier of the named query.+unprocessedNamedQueryId_namedQueryId :: Lens.Lens' UnprocessedNamedQueryId (Prelude.Maybe Prelude.Text)+unprocessedNamedQueryId_namedQueryId = Lens.lens (\UnprocessedNamedQueryId' {namedQueryId} -> namedQueryId) (\s@UnprocessedNamedQueryId' {} a -> s {namedQueryId = a} :: UnprocessedNamedQueryId)++instance Data.FromJSON UnprocessedNamedQueryId where+ parseJSON =+ Data.withObject+ "UnprocessedNamedQueryId"+ ( \x ->+ UnprocessedNamedQueryId'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "NamedQueryId")+ )++instance Prelude.Hashable UnprocessedNamedQueryId where+ hashWithSalt _salt UnprocessedNamedQueryId' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` namedQueryId++instance Prelude.NFData UnprocessedNamedQueryId where+ rnf UnprocessedNamedQueryId' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf namedQueryId
+ gen/Amazonka/Athena/Types/UnprocessedPreparedStatementName.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.UnprocessedPreparedStatementName+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.UnprocessedPreparedStatementName where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The name of a prepared statement that could not be returned.+--+-- /See:/ 'newUnprocessedPreparedStatementName' smart constructor.+data UnprocessedPreparedStatementName = UnprocessedPreparedStatementName'+ { -- | The error code returned when the request for the prepared statement+ -- failed.+ errorCode :: Prelude.Maybe Prelude.Text,+ -- | The error message containing the reason why the prepared statement could+ -- not be returned. The following error messages are possible:+ --+ -- - @INVALID_INPUT@ - The name of the prepared statement that was+ -- provided is not valid (for example, the name is too long).+ --+ -- - @STATEMENT_NOT_FOUND@ - A prepared statement with the name provided+ -- could not be found.+ --+ -- - @UNAUTHORIZED@ - The requester does not have permission to access+ -- the workgroup that contains the prepared statement.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The name of a prepared statement that could not be returned due to an+ -- error.+ statementName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnprocessedPreparedStatementName' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'unprocessedPreparedStatementName_errorCode' - The error code returned when the request for the prepared statement+-- failed.+--+-- 'errorMessage', 'unprocessedPreparedStatementName_errorMessage' - The error message containing the reason why the prepared statement could+-- not be returned. The following error messages are possible:+--+-- - @INVALID_INPUT@ - The name of the prepared statement that was+-- provided is not valid (for example, the name is too long).+--+-- - @STATEMENT_NOT_FOUND@ - A prepared statement with the name provided+-- could not be found.+--+-- - @UNAUTHORIZED@ - The requester does not have permission to access+-- the workgroup that contains the prepared statement.+--+-- 'statementName', 'unprocessedPreparedStatementName_statementName' - The name of a prepared statement that could not be returned due to an+-- error.+newUnprocessedPreparedStatementName ::+ UnprocessedPreparedStatementName+newUnprocessedPreparedStatementName =+ UnprocessedPreparedStatementName'+ { errorCode =+ Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ statementName = Prelude.Nothing+ }++-- | The error code returned when the request for the prepared statement+-- failed.+unprocessedPreparedStatementName_errorCode :: Lens.Lens' UnprocessedPreparedStatementName (Prelude.Maybe Prelude.Text)+unprocessedPreparedStatementName_errorCode = Lens.lens (\UnprocessedPreparedStatementName' {errorCode} -> errorCode) (\s@UnprocessedPreparedStatementName' {} a -> s {errorCode = a} :: UnprocessedPreparedStatementName)++-- | The error message containing the reason why the prepared statement could+-- not be returned. The following error messages are possible:+--+-- - @INVALID_INPUT@ - The name of the prepared statement that was+-- provided is not valid (for example, the name is too long).+--+-- - @STATEMENT_NOT_FOUND@ - A prepared statement with the name provided+-- could not be found.+--+-- - @UNAUTHORIZED@ - The requester does not have permission to access+-- the workgroup that contains the prepared statement.+unprocessedPreparedStatementName_errorMessage :: Lens.Lens' UnprocessedPreparedStatementName (Prelude.Maybe Prelude.Text)+unprocessedPreparedStatementName_errorMessage = Lens.lens (\UnprocessedPreparedStatementName' {errorMessage} -> errorMessage) (\s@UnprocessedPreparedStatementName' {} a -> s {errorMessage = a} :: UnprocessedPreparedStatementName)++-- | The name of a prepared statement that could not be returned due to an+-- error.+unprocessedPreparedStatementName_statementName :: Lens.Lens' UnprocessedPreparedStatementName (Prelude.Maybe Prelude.Text)+unprocessedPreparedStatementName_statementName = Lens.lens (\UnprocessedPreparedStatementName' {statementName} -> statementName) (\s@UnprocessedPreparedStatementName' {} a -> s {statementName = a} :: UnprocessedPreparedStatementName)++instance+ Data.FromJSON+ UnprocessedPreparedStatementName+ where+ parseJSON =+ Data.withObject+ "UnprocessedPreparedStatementName"+ ( \x ->+ UnprocessedPreparedStatementName'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "StatementName")+ )++instance+ Prelude.Hashable+ UnprocessedPreparedStatementName+ where+ hashWithSalt+ _salt+ UnprocessedPreparedStatementName' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` statementName++instance+ Prelude.NFData+ UnprocessedPreparedStatementName+ where+ rnf UnprocessedPreparedStatementName' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf statementName
+ gen/Amazonka/Athena/Types/UnprocessedQueryExecutionId.hs view
@@ -0,0 +1,103 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.UnprocessedQueryExecutionId+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.UnprocessedQueryExecutionId where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes a query execution that failed to process.+--+-- /See:/ 'newUnprocessedQueryExecutionId' smart constructor.+data UnprocessedQueryExecutionId = UnprocessedQueryExecutionId'+ { -- | The error code returned when the query execution failed to process, if+ -- applicable.+ errorCode :: Prelude.Maybe Prelude.Text,+ -- | The error message returned when the query execution failed to process,+ -- if applicable.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The unique identifier of the query execution.+ queryExecutionId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnprocessedQueryExecutionId' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'unprocessedQueryExecutionId_errorCode' - The error code returned when the query execution failed to process, if+-- applicable.+--+-- 'errorMessage', 'unprocessedQueryExecutionId_errorMessage' - The error message returned when the query execution failed to process,+-- if applicable.+--+-- 'queryExecutionId', 'unprocessedQueryExecutionId_queryExecutionId' - The unique identifier of the query execution.+newUnprocessedQueryExecutionId ::+ UnprocessedQueryExecutionId+newUnprocessedQueryExecutionId =+ UnprocessedQueryExecutionId'+ { errorCode =+ Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ queryExecutionId = Prelude.Nothing+ }++-- | The error code returned when the query execution failed to process, if+-- applicable.+unprocessedQueryExecutionId_errorCode :: Lens.Lens' UnprocessedQueryExecutionId (Prelude.Maybe Prelude.Text)+unprocessedQueryExecutionId_errorCode = Lens.lens (\UnprocessedQueryExecutionId' {errorCode} -> errorCode) (\s@UnprocessedQueryExecutionId' {} a -> s {errorCode = a} :: UnprocessedQueryExecutionId)++-- | The error message returned when the query execution failed to process,+-- if applicable.+unprocessedQueryExecutionId_errorMessage :: Lens.Lens' UnprocessedQueryExecutionId (Prelude.Maybe Prelude.Text)+unprocessedQueryExecutionId_errorMessage = Lens.lens (\UnprocessedQueryExecutionId' {errorMessage} -> errorMessage) (\s@UnprocessedQueryExecutionId' {} a -> s {errorMessage = a} :: UnprocessedQueryExecutionId)++-- | The unique identifier of the query execution.+unprocessedQueryExecutionId_queryExecutionId :: Lens.Lens' UnprocessedQueryExecutionId (Prelude.Maybe Prelude.Text)+unprocessedQueryExecutionId_queryExecutionId = Lens.lens (\UnprocessedQueryExecutionId' {queryExecutionId} -> queryExecutionId) (\s@UnprocessedQueryExecutionId' {} a -> s {queryExecutionId = a} :: UnprocessedQueryExecutionId)++instance Data.FromJSON UnprocessedQueryExecutionId where+ parseJSON =+ Data.withObject+ "UnprocessedQueryExecutionId"+ ( \x ->+ UnprocessedQueryExecutionId'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "QueryExecutionId")+ )++instance Prelude.Hashable UnprocessedQueryExecutionId where+ hashWithSalt _salt UnprocessedQueryExecutionId' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` queryExecutionId++instance Prelude.NFData UnprocessedQueryExecutionId where+ rnf UnprocessedQueryExecutionId' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf queryExecutionId
+ gen/Amazonka/Athena/Types/WorkGroup.hs view
@@ -0,0 +1,158 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.WorkGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.WorkGroup where++import Amazonka.Athena.Types.WorkGroupConfiguration+import Amazonka.Athena.Types.WorkGroupState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A workgroup, which contains a name, description, creation time, state,+-- and other configuration, listed under WorkGroup$Configuration. Each+-- workgroup enables you to isolate queries for you or your group of users+-- from other queries in the same account, to configure the query results+-- location and the encryption configuration (known as workgroup settings),+-- to enable sending query metrics to Amazon CloudWatch, and to establish+-- per-query data usage control limits for all queries in a workgroup. The+-- workgroup settings override is specified in+-- @EnforceWorkGroupConfiguration@ (true\/false) in the+-- @WorkGroupConfiguration@. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+--+-- /See:/ 'newWorkGroup' smart constructor.+data WorkGroup = WorkGroup'+ { -- | The configuration of the workgroup, which includes the location in+ -- Amazon S3 where query results are stored, the encryption configuration,+ -- if any, used for query results; whether the Amazon CloudWatch Metrics+ -- are enabled for the workgroup; whether workgroup settings override+ -- client-side settings; and the data usage limits for the amount of data+ -- scanned per query or per workgroup. The workgroup settings override is+ -- specified in @EnforceWorkGroupConfiguration@ (true\/false) in the+ -- @WorkGroupConfiguration@. See+ -- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+ configuration :: Prelude.Maybe WorkGroupConfiguration,+ -- | The date and time the workgroup was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The workgroup description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The state of the workgroup: ENABLED or DISABLED.+ state :: Prelude.Maybe WorkGroupState,+ -- | The workgroup name.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'WorkGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'configuration', 'workGroup_configuration' - The configuration of the workgroup, which includes the location in+-- Amazon S3 where query results are stored, the encryption configuration,+-- if any, used for query results; whether the Amazon CloudWatch Metrics+-- are enabled for the workgroup; whether workgroup settings override+-- client-side settings; and the data usage limits for the amount of data+-- scanned per query or per workgroup. The workgroup settings override is+-- specified in @EnforceWorkGroupConfiguration@ (true\/false) in the+-- @WorkGroupConfiguration@. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+--+-- 'creationTime', 'workGroup_creationTime' - The date and time the workgroup was created.+--+-- 'description', 'workGroup_description' - The workgroup description.+--+-- 'state', 'workGroup_state' - The state of the workgroup: ENABLED or DISABLED.+--+-- 'name', 'workGroup_name' - The workgroup name.+newWorkGroup ::+ -- | 'name'+ Prelude.Text ->+ WorkGroup+newWorkGroup pName_ =+ WorkGroup'+ { configuration = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ description = Prelude.Nothing,+ state = Prelude.Nothing,+ name = pName_+ }++-- | The configuration of the workgroup, which includes the location in+-- Amazon S3 where query results are stored, the encryption configuration,+-- if any, used for query results; whether the Amazon CloudWatch Metrics+-- are enabled for the workgroup; whether workgroup settings override+-- client-side settings; and the data usage limits for the amount of data+-- scanned per query or per workgroup. The workgroup settings override is+-- specified in @EnforceWorkGroupConfiguration@ (true\/false) in the+-- @WorkGroupConfiguration@. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+workGroup_configuration :: Lens.Lens' WorkGroup (Prelude.Maybe WorkGroupConfiguration)+workGroup_configuration = Lens.lens (\WorkGroup' {configuration} -> configuration) (\s@WorkGroup' {} a -> s {configuration = a} :: WorkGroup)++-- | The date and time the workgroup was created.+workGroup_creationTime :: Lens.Lens' WorkGroup (Prelude.Maybe Prelude.UTCTime)+workGroup_creationTime = Lens.lens (\WorkGroup' {creationTime} -> creationTime) (\s@WorkGroup' {} a -> s {creationTime = a} :: WorkGroup) Prelude.. Lens.mapping Data._Time++-- | The workgroup description.+workGroup_description :: Lens.Lens' WorkGroup (Prelude.Maybe Prelude.Text)+workGroup_description = Lens.lens (\WorkGroup' {description} -> description) (\s@WorkGroup' {} a -> s {description = a} :: WorkGroup)++-- | The state of the workgroup: ENABLED or DISABLED.+workGroup_state :: Lens.Lens' WorkGroup (Prelude.Maybe WorkGroupState)+workGroup_state = Lens.lens (\WorkGroup' {state} -> state) (\s@WorkGroup' {} a -> s {state = a} :: WorkGroup)++-- | The workgroup name.+workGroup_name :: Lens.Lens' WorkGroup Prelude.Text+workGroup_name = Lens.lens (\WorkGroup' {name} -> name) (\s@WorkGroup' {} a -> s {name = a} :: WorkGroup)++instance Data.FromJSON WorkGroup where+ parseJSON =+ Data.withObject+ "WorkGroup"+ ( \x ->+ WorkGroup'+ Prelude.<$> (x Data..:? "Configuration")+ Prelude.<*> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..: "Name")+ )++instance Prelude.Hashable WorkGroup where+ hashWithSalt _salt WorkGroup' {..} =+ _salt+ `Prelude.hashWithSalt` configuration+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` name++instance Prelude.NFData WorkGroup where+ rnf WorkGroup' {..} =+ Prelude.rnf configuration+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/Athena/Types/WorkGroupConfiguration.hs view
@@ -0,0 +1,276 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.WorkGroupConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.WorkGroupConfiguration where++import Amazonka.Athena.Types.CustomerContentEncryptionConfiguration+import Amazonka.Athena.Types.EngineVersion+import Amazonka.Athena.Types.ResultConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The configuration of the workgroup, which includes the location in+-- Amazon S3 where query results are stored, the encryption option, if any,+-- used for query results, whether the Amazon CloudWatch Metrics are+-- enabled for the workgroup and whether workgroup settings override query+-- settings, and the data usage limits for the amount of data scanned per+-- query or per workgroup. The workgroup settings override is specified in+-- @EnforceWorkGroupConfiguration@ (true\/false) in the+-- @WorkGroupConfiguration@. See+-- WorkGroupConfiguration$EnforceWorkGroupConfiguration.+--+-- /See:/ 'newWorkGroupConfiguration' smart constructor.+data WorkGroupConfiguration = WorkGroupConfiguration'+ { -- | Specifies a user defined JSON string that is passed to the notebook+ -- engine.+ additionalConfiguration :: Prelude.Maybe Prelude.Text,+ -- | The upper data usage limit (cutoff) for the amount of bytes a single+ -- query in a workgroup is allowed to scan.+ bytesScannedCutoffPerQuery :: Prelude.Maybe Prelude.Natural,+ -- | Specifies the KMS key that is used to encrypt the user\'s data stores in+ -- Athena.+ customerContentEncryptionConfiguration :: Prelude.Maybe CustomerContentEncryptionConfiguration,+ -- | If set to \"true\", the settings for the workgroup override client-side+ -- settings. If set to \"false\", client-side settings are used. For more+ -- information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ enforceWorkGroupConfiguration :: Prelude.Maybe Prelude.Bool,+ -- | The engine version that all queries running on the workgroup use.+ -- Queries on the @AmazonAthenaPreviewFunctionality@ workgroup run on the+ -- preview engine regardless of this setting.+ engineVersion :: Prelude.Maybe EngineVersion,+ -- | Role used in a notebook session for accessing the user\'s resources.+ executionRole :: Prelude.Maybe Prelude.Text,+ -- | Indicates that the Amazon CloudWatch metrics are enabled for the+ -- workgroup.+ publishCloudWatchMetricsEnabled :: Prelude.Maybe Prelude.Bool,+ -- | If set to @true@, allows members assigned to a workgroup to reference+ -- Amazon S3 Requester Pays buckets in queries. If set to @false@,+ -- workgroup members cannot query data from Requester Pays buckets, and+ -- queries that retrieve data from Requester Pays buckets cause an error.+ -- The default is @false@. For more information about Requester Pays+ -- buckets, see+ -- <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html Requester Pays Buckets>+ -- in the /Amazon Simple Storage Service Developer Guide/.+ requesterPaysEnabled :: Prelude.Maybe Prelude.Bool,+ -- | The configuration for the workgroup, which includes the location in+ -- Amazon S3 where query results are stored and the encryption option, if+ -- any, used for query results. To run the query, you must specify the+ -- query results location using one of the ways: either in the workgroup+ -- using this setting, or for individual queries (client-side), using+ -- ResultConfiguration$OutputLocation. If none of them is set, Athena+ -- issues an error that no output location is provided. For more+ -- information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>.+ resultConfiguration :: Prelude.Maybe ResultConfiguration+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'WorkGroupConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'additionalConfiguration', 'workGroupConfiguration_additionalConfiguration' - Specifies a user defined JSON string that is passed to the notebook+-- engine.+--+-- 'bytesScannedCutoffPerQuery', 'workGroupConfiguration_bytesScannedCutoffPerQuery' - The upper data usage limit (cutoff) for the amount of bytes a single+-- query in a workgroup is allowed to scan.+--+-- 'customerContentEncryptionConfiguration', 'workGroupConfiguration_customerContentEncryptionConfiguration' - Specifies the KMS key that is used to encrypt the user\'s data stores in+-- Athena.+--+-- 'enforceWorkGroupConfiguration', 'workGroupConfiguration_enforceWorkGroupConfiguration' - If set to \"true\", the settings for the workgroup override client-side+-- settings. If set to \"false\", client-side settings are used. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'engineVersion', 'workGroupConfiguration_engineVersion' - The engine version that all queries running on the workgroup use.+-- Queries on the @AmazonAthenaPreviewFunctionality@ workgroup run on the+-- preview engine regardless of this setting.+--+-- 'executionRole', 'workGroupConfiguration_executionRole' - Role used in a notebook session for accessing the user\'s resources.+--+-- 'publishCloudWatchMetricsEnabled', 'workGroupConfiguration_publishCloudWatchMetricsEnabled' - Indicates that the Amazon CloudWatch metrics are enabled for the+-- workgroup.+--+-- 'requesterPaysEnabled', 'workGroupConfiguration_requesterPaysEnabled' - If set to @true@, allows members assigned to a workgroup to reference+-- Amazon S3 Requester Pays buckets in queries. If set to @false@,+-- workgroup members cannot query data from Requester Pays buckets, and+-- queries that retrieve data from Requester Pays buckets cause an error.+-- The default is @false@. For more information about Requester Pays+-- buckets, see+-- <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html Requester Pays Buckets>+-- in the /Amazon Simple Storage Service Developer Guide/.+--+-- 'resultConfiguration', 'workGroupConfiguration_resultConfiguration' - The configuration for the workgroup, which includes the location in+-- Amazon S3 where query results are stored and the encryption option, if+-- any, used for query results. To run the query, you must specify the+-- query results location using one of the ways: either in the workgroup+-- using this setting, or for individual queries (client-side), using+-- ResultConfiguration$OutputLocation. If none of them is set, Athena+-- issues an error that no output location is provided. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>.+newWorkGroupConfiguration ::+ WorkGroupConfiguration+newWorkGroupConfiguration =+ WorkGroupConfiguration'+ { additionalConfiguration =+ Prelude.Nothing,+ bytesScannedCutoffPerQuery = Prelude.Nothing,+ customerContentEncryptionConfiguration =+ Prelude.Nothing,+ enforceWorkGroupConfiguration = Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ executionRole = Prelude.Nothing,+ publishCloudWatchMetricsEnabled = Prelude.Nothing,+ requesterPaysEnabled = Prelude.Nothing,+ resultConfiguration = Prelude.Nothing+ }++-- | Specifies a user defined JSON string that is passed to the notebook+-- engine.+workGroupConfiguration_additionalConfiguration :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe Prelude.Text)+workGroupConfiguration_additionalConfiguration = Lens.lens (\WorkGroupConfiguration' {additionalConfiguration} -> additionalConfiguration) (\s@WorkGroupConfiguration' {} a -> s {additionalConfiguration = a} :: WorkGroupConfiguration)++-- | The upper data usage limit (cutoff) for the amount of bytes a single+-- query in a workgroup is allowed to scan.+workGroupConfiguration_bytesScannedCutoffPerQuery :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe Prelude.Natural)+workGroupConfiguration_bytesScannedCutoffPerQuery = Lens.lens (\WorkGroupConfiguration' {bytesScannedCutoffPerQuery} -> bytesScannedCutoffPerQuery) (\s@WorkGroupConfiguration' {} a -> s {bytesScannedCutoffPerQuery = a} :: WorkGroupConfiguration)++-- | Specifies the KMS key that is used to encrypt the user\'s data stores in+-- Athena.+workGroupConfiguration_customerContentEncryptionConfiguration :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe CustomerContentEncryptionConfiguration)+workGroupConfiguration_customerContentEncryptionConfiguration = Lens.lens (\WorkGroupConfiguration' {customerContentEncryptionConfiguration} -> customerContentEncryptionConfiguration) (\s@WorkGroupConfiguration' {} a -> s {customerContentEncryptionConfiguration = a} :: WorkGroupConfiguration)++-- | If set to \"true\", the settings for the workgroup override client-side+-- settings. If set to \"false\", client-side settings are used. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+workGroupConfiguration_enforceWorkGroupConfiguration :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe Prelude.Bool)+workGroupConfiguration_enforceWorkGroupConfiguration = Lens.lens (\WorkGroupConfiguration' {enforceWorkGroupConfiguration} -> enforceWorkGroupConfiguration) (\s@WorkGroupConfiguration' {} a -> s {enforceWorkGroupConfiguration = a} :: WorkGroupConfiguration)++-- | The engine version that all queries running on the workgroup use.+-- Queries on the @AmazonAthenaPreviewFunctionality@ workgroup run on the+-- preview engine regardless of this setting.+workGroupConfiguration_engineVersion :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe EngineVersion)+workGroupConfiguration_engineVersion = Lens.lens (\WorkGroupConfiguration' {engineVersion} -> engineVersion) (\s@WorkGroupConfiguration' {} a -> s {engineVersion = a} :: WorkGroupConfiguration)++-- | Role used in a notebook session for accessing the user\'s resources.+workGroupConfiguration_executionRole :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe Prelude.Text)+workGroupConfiguration_executionRole = Lens.lens (\WorkGroupConfiguration' {executionRole} -> executionRole) (\s@WorkGroupConfiguration' {} a -> s {executionRole = a} :: WorkGroupConfiguration)++-- | Indicates that the Amazon CloudWatch metrics are enabled for the+-- workgroup.+workGroupConfiguration_publishCloudWatchMetricsEnabled :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe Prelude.Bool)+workGroupConfiguration_publishCloudWatchMetricsEnabled = Lens.lens (\WorkGroupConfiguration' {publishCloudWatchMetricsEnabled} -> publishCloudWatchMetricsEnabled) (\s@WorkGroupConfiguration' {} a -> s {publishCloudWatchMetricsEnabled = a} :: WorkGroupConfiguration)++-- | If set to @true@, allows members assigned to a workgroup to reference+-- Amazon S3 Requester Pays buckets in queries. If set to @false@,+-- workgroup members cannot query data from Requester Pays buckets, and+-- queries that retrieve data from Requester Pays buckets cause an error.+-- The default is @false@. For more information about Requester Pays+-- buckets, see+-- <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html Requester Pays Buckets>+-- in the /Amazon Simple Storage Service Developer Guide/.+workGroupConfiguration_requesterPaysEnabled :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe Prelude.Bool)+workGroupConfiguration_requesterPaysEnabled = Lens.lens (\WorkGroupConfiguration' {requesterPaysEnabled} -> requesterPaysEnabled) (\s@WorkGroupConfiguration' {} a -> s {requesterPaysEnabled = a} :: WorkGroupConfiguration)++-- | The configuration for the workgroup, which includes the location in+-- Amazon S3 where query results are stored and the encryption option, if+-- any, used for query results. To run the query, you must specify the+-- query results location using one of the ways: either in the workgroup+-- using this setting, or for individual queries (client-side), using+-- ResultConfiguration$OutputLocation. If none of them is set, Athena+-- issues an error that no output location is provided. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/querying.html Query Results>.+workGroupConfiguration_resultConfiguration :: Lens.Lens' WorkGroupConfiguration (Prelude.Maybe ResultConfiguration)+workGroupConfiguration_resultConfiguration = Lens.lens (\WorkGroupConfiguration' {resultConfiguration} -> resultConfiguration) (\s@WorkGroupConfiguration' {} a -> s {resultConfiguration = a} :: WorkGroupConfiguration)++instance Data.FromJSON WorkGroupConfiguration where+ parseJSON =+ Data.withObject+ "WorkGroupConfiguration"+ ( \x ->+ WorkGroupConfiguration'+ Prelude.<$> (x Data..:? "AdditionalConfiguration")+ Prelude.<*> (x Data..:? "BytesScannedCutoffPerQuery")+ Prelude.<*> (x Data..:? "CustomerContentEncryptionConfiguration")+ Prelude.<*> (x Data..:? "EnforceWorkGroupConfiguration")+ Prelude.<*> (x Data..:? "EngineVersion")+ Prelude.<*> (x Data..:? "ExecutionRole")+ Prelude.<*> (x Data..:? "PublishCloudWatchMetricsEnabled")+ Prelude.<*> (x Data..:? "RequesterPaysEnabled")+ Prelude.<*> (x Data..:? "ResultConfiguration")+ )++instance Prelude.Hashable WorkGroupConfiguration where+ hashWithSalt _salt WorkGroupConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` additionalConfiguration+ `Prelude.hashWithSalt` bytesScannedCutoffPerQuery+ `Prelude.hashWithSalt` customerContentEncryptionConfiguration+ `Prelude.hashWithSalt` enforceWorkGroupConfiguration+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` executionRole+ `Prelude.hashWithSalt` publishCloudWatchMetricsEnabled+ `Prelude.hashWithSalt` requesterPaysEnabled+ `Prelude.hashWithSalt` resultConfiguration++instance Prelude.NFData WorkGroupConfiguration where+ rnf WorkGroupConfiguration' {..} =+ Prelude.rnf additionalConfiguration+ `Prelude.seq` Prelude.rnf bytesScannedCutoffPerQuery+ `Prelude.seq` Prelude.rnf customerContentEncryptionConfiguration+ `Prelude.seq` Prelude.rnf enforceWorkGroupConfiguration+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf executionRole+ `Prelude.seq` Prelude.rnf publishCloudWatchMetricsEnabled+ `Prelude.seq` Prelude.rnf requesterPaysEnabled+ `Prelude.seq` Prelude.rnf resultConfiguration++instance Data.ToJSON WorkGroupConfiguration where+ toJSON WorkGroupConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AdditionalConfiguration" Data..=)+ Prelude.<$> additionalConfiguration,+ ("BytesScannedCutoffPerQuery" Data..=)+ Prelude.<$> bytesScannedCutoffPerQuery,+ ("CustomerContentEncryptionConfiguration" Data..=)+ Prelude.<$> customerContentEncryptionConfiguration,+ ("EnforceWorkGroupConfiguration" Data..=)+ Prelude.<$> enforceWorkGroupConfiguration,+ ("EngineVersion" Data..=) Prelude.<$> engineVersion,+ ("ExecutionRole" Data..=) Prelude.<$> executionRole,+ ("PublishCloudWatchMetricsEnabled" Data..=)+ Prelude.<$> publishCloudWatchMetricsEnabled,+ ("RequesterPaysEnabled" Data..=)+ Prelude.<$> requesterPaysEnabled,+ ("ResultConfiguration" Data..=)+ Prelude.<$> resultConfiguration+ ]+ )
+ gen/Amazonka/Athena/Types/WorkGroupConfigurationUpdates.hs view
@@ -0,0 +1,279 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.WorkGroupConfigurationUpdates+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.WorkGroupConfigurationUpdates where++import Amazonka.Athena.Types.CustomerContentEncryptionConfiguration+import Amazonka.Athena.Types.EngineVersion+import Amazonka.Athena.Types.ResultConfigurationUpdates+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The configuration information that will be updated for this workgroup,+-- which includes the location in Amazon S3 where query results are stored,+-- the encryption option, if any, used for query results, whether the+-- Amazon CloudWatch Metrics are enabled for the workgroup, whether the+-- workgroup settings override the client-side settings, and the data usage+-- limit for the amount of bytes scanned per query, if it is specified.+--+-- /See:/ 'newWorkGroupConfigurationUpdates' smart constructor.+data WorkGroupConfigurationUpdates = WorkGroupConfigurationUpdates'+ { -- | Contains a user defined string in JSON format for a Spark-enabled+ -- workgroup.+ additionalConfiguration :: Prelude.Maybe Prelude.Text,+ -- | The upper limit (cutoff) for the amount of bytes a single query in a+ -- workgroup is allowed to scan.+ bytesScannedCutoffPerQuery :: Prelude.Maybe Prelude.Natural,+ customerContentEncryptionConfiguration :: Prelude.Maybe CustomerContentEncryptionConfiguration,+ -- | If set to \"true\", the settings for the workgroup override client-side+ -- settings. If set to \"false\" client-side settings are used. For more+ -- information, see+ -- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+ enforceWorkGroupConfiguration :: Prelude.Maybe Prelude.Bool,+ -- | The engine version requested when a workgroup is updated. After the+ -- update, all queries on the workgroup run on the requested engine+ -- version. If no value was previously set, the default is Auto. Queries on+ -- the @AmazonAthenaPreviewFunctionality@ workgroup run on the preview+ -- engine regardless of this setting.+ engineVersion :: Prelude.Maybe EngineVersion,+ -- | Contains the ARN of the execution role for the workgroup+ executionRole :: Prelude.Maybe Prelude.Text,+ -- | Indicates whether this workgroup enables publishing metrics to Amazon+ -- CloudWatch.+ publishCloudWatchMetricsEnabled :: Prelude.Maybe Prelude.Bool,+ -- | Indicates that the data usage control limit per query is removed.+ -- WorkGroupConfiguration$BytesScannedCutoffPerQuery+ removeBytesScannedCutoffPerQuery :: Prelude.Maybe Prelude.Bool,+ -- | Removes content encryption configuration for a workgroup.+ removeCustomerContentEncryptionConfiguration :: Prelude.Maybe Prelude.Bool,+ -- | If set to @true@, allows members assigned to a workgroup to specify+ -- Amazon S3 Requester Pays buckets in queries. If set to @false@,+ -- workgroup members cannot query data from Requester Pays buckets, and+ -- queries that retrieve data from Requester Pays buckets cause an error.+ -- The default is @false@. For more information about Requester Pays+ -- buckets, see+ -- <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html Requester Pays Buckets>+ -- in the /Amazon Simple Storage Service Developer Guide/.+ requesterPaysEnabled :: Prelude.Maybe Prelude.Bool,+ -- | The result configuration information about the queries in this workgroup+ -- that will be updated. Includes the updated results location and an+ -- updated option for encrypting query results.+ resultConfigurationUpdates :: Prelude.Maybe ResultConfigurationUpdates+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'WorkGroupConfigurationUpdates' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'additionalConfiguration', 'workGroupConfigurationUpdates_additionalConfiguration' - Contains a user defined string in JSON format for a Spark-enabled+-- workgroup.+--+-- 'bytesScannedCutoffPerQuery', 'workGroupConfigurationUpdates_bytesScannedCutoffPerQuery' - The upper limit (cutoff) for the amount of bytes a single query in a+-- workgroup is allowed to scan.+--+-- 'customerContentEncryptionConfiguration', 'workGroupConfigurationUpdates_customerContentEncryptionConfiguration' - Undocumented member.+--+-- 'enforceWorkGroupConfiguration', 'workGroupConfigurationUpdates_enforceWorkGroupConfiguration' - If set to \"true\", the settings for the workgroup override client-side+-- settings. If set to \"false\" client-side settings are used. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+--+-- 'engineVersion', 'workGroupConfigurationUpdates_engineVersion' - The engine version requested when a workgroup is updated. After the+-- update, all queries on the workgroup run on the requested engine+-- version. If no value was previously set, the default is Auto. Queries on+-- the @AmazonAthenaPreviewFunctionality@ workgroup run on the preview+-- engine regardless of this setting.+--+-- 'executionRole', 'workGroupConfigurationUpdates_executionRole' - Contains the ARN of the execution role for the workgroup+--+-- 'publishCloudWatchMetricsEnabled', 'workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled' - Indicates whether this workgroup enables publishing metrics to Amazon+-- CloudWatch.+--+-- 'removeBytesScannedCutoffPerQuery', 'workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery' - Indicates that the data usage control limit per query is removed.+-- WorkGroupConfiguration$BytesScannedCutoffPerQuery+--+-- 'removeCustomerContentEncryptionConfiguration', 'workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration' - Removes content encryption configuration for a workgroup.+--+-- 'requesterPaysEnabled', 'workGroupConfigurationUpdates_requesterPaysEnabled' - If set to @true@, allows members assigned to a workgroup to specify+-- Amazon S3 Requester Pays buckets in queries. If set to @false@,+-- workgroup members cannot query data from Requester Pays buckets, and+-- queries that retrieve data from Requester Pays buckets cause an error.+-- The default is @false@. For more information about Requester Pays+-- buckets, see+-- <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html Requester Pays Buckets>+-- in the /Amazon Simple Storage Service Developer Guide/.+--+-- 'resultConfigurationUpdates', 'workGroupConfigurationUpdates_resultConfigurationUpdates' - The result configuration information about the queries in this workgroup+-- that will be updated. Includes the updated results location and an+-- updated option for encrypting query results.+newWorkGroupConfigurationUpdates ::+ WorkGroupConfigurationUpdates+newWorkGroupConfigurationUpdates =+ WorkGroupConfigurationUpdates'+ { additionalConfiguration =+ Prelude.Nothing,+ bytesScannedCutoffPerQuery = Prelude.Nothing,+ customerContentEncryptionConfiguration =+ Prelude.Nothing,+ enforceWorkGroupConfiguration =+ Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ executionRole = Prelude.Nothing,+ publishCloudWatchMetricsEnabled =+ Prelude.Nothing,+ removeBytesScannedCutoffPerQuery =+ Prelude.Nothing,+ removeCustomerContentEncryptionConfiguration =+ Prelude.Nothing,+ requesterPaysEnabled = Prelude.Nothing,+ resultConfigurationUpdates = Prelude.Nothing+ }++-- | Contains a user defined string in JSON format for a Spark-enabled+-- workgroup.+workGroupConfigurationUpdates_additionalConfiguration :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Text)+workGroupConfigurationUpdates_additionalConfiguration = Lens.lens (\WorkGroupConfigurationUpdates' {additionalConfiguration} -> additionalConfiguration) (\s@WorkGroupConfigurationUpdates' {} a -> s {additionalConfiguration = a} :: WorkGroupConfigurationUpdates)++-- | The upper limit (cutoff) for the amount of bytes a single query in a+-- workgroup is allowed to scan.+workGroupConfigurationUpdates_bytesScannedCutoffPerQuery :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Natural)+workGroupConfigurationUpdates_bytesScannedCutoffPerQuery = Lens.lens (\WorkGroupConfigurationUpdates' {bytesScannedCutoffPerQuery} -> bytesScannedCutoffPerQuery) (\s@WorkGroupConfigurationUpdates' {} a -> s {bytesScannedCutoffPerQuery = a} :: WorkGroupConfigurationUpdates)++-- | Undocumented member.+workGroupConfigurationUpdates_customerContentEncryptionConfiguration :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe CustomerContentEncryptionConfiguration)+workGroupConfigurationUpdates_customerContentEncryptionConfiguration = Lens.lens (\WorkGroupConfigurationUpdates' {customerContentEncryptionConfiguration} -> customerContentEncryptionConfiguration) (\s@WorkGroupConfigurationUpdates' {} a -> s {customerContentEncryptionConfiguration = a} :: WorkGroupConfigurationUpdates)++-- | If set to \"true\", the settings for the workgroup override client-side+-- settings. If set to \"false\" client-side settings are used. For more+-- information, see+-- <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html Workgroup Settings Override Client-Side Settings>.+workGroupConfigurationUpdates_enforceWorkGroupConfiguration :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Bool)+workGroupConfigurationUpdates_enforceWorkGroupConfiguration = Lens.lens (\WorkGroupConfigurationUpdates' {enforceWorkGroupConfiguration} -> enforceWorkGroupConfiguration) (\s@WorkGroupConfigurationUpdates' {} a -> s {enforceWorkGroupConfiguration = a} :: WorkGroupConfigurationUpdates)++-- | The engine version requested when a workgroup is updated. After the+-- update, all queries on the workgroup run on the requested engine+-- version. If no value was previously set, the default is Auto. Queries on+-- the @AmazonAthenaPreviewFunctionality@ workgroup run on the preview+-- engine regardless of this setting.+workGroupConfigurationUpdates_engineVersion :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe EngineVersion)+workGroupConfigurationUpdates_engineVersion = Lens.lens (\WorkGroupConfigurationUpdates' {engineVersion} -> engineVersion) (\s@WorkGroupConfigurationUpdates' {} a -> s {engineVersion = a} :: WorkGroupConfigurationUpdates)++-- | Contains the ARN of the execution role for the workgroup+workGroupConfigurationUpdates_executionRole :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Text)+workGroupConfigurationUpdates_executionRole = Lens.lens (\WorkGroupConfigurationUpdates' {executionRole} -> executionRole) (\s@WorkGroupConfigurationUpdates' {} a -> s {executionRole = a} :: WorkGroupConfigurationUpdates)++-- | Indicates whether this workgroup enables publishing metrics to Amazon+-- CloudWatch.+workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Bool)+workGroupConfigurationUpdates_publishCloudWatchMetricsEnabled = Lens.lens (\WorkGroupConfigurationUpdates' {publishCloudWatchMetricsEnabled} -> publishCloudWatchMetricsEnabled) (\s@WorkGroupConfigurationUpdates' {} a -> s {publishCloudWatchMetricsEnabled = a} :: WorkGroupConfigurationUpdates)++-- | Indicates that the data usage control limit per query is removed.+-- WorkGroupConfiguration$BytesScannedCutoffPerQuery+workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Bool)+workGroupConfigurationUpdates_removeBytesScannedCutoffPerQuery = Lens.lens (\WorkGroupConfigurationUpdates' {removeBytesScannedCutoffPerQuery} -> removeBytesScannedCutoffPerQuery) (\s@WorkGroupConfigurationUpdates' {} a -> s {removeBytesScannedCutoffPerQuery = a} :: WorkGroupConfigurationUpdates)++-- | Removes content encryption configuration for a workgroup.+workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Bool)+workGroupConfigurationUpdates_removeCustomerContentEncryptionConfiguration = Lens.lens (\WorkGroupConfigurationUpdates' {removeCustomerContentEncryptionConfiguration} -> removeCustomerContentEncryptionConfiguration) (\s@WorkGroupConfigurationUpdates' {} a -> s {removeCustomerContentEncryptionConfiguration = a} :: WorkGroupConfigurationUpdates)++-- | If set to @true@, allows members assigned to a workgroup to specify+-- Amazon S3 Requester Pays buckets in queries. If set to @false@,+-- workgroup members cannot query data from Requester Pays buckets, and+-- queries that retrieve data from Requester Pays buckets cause an error.+-- The default is @false@. For more information about Requester Pays+-- buckets, see+-- <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html Requester Pays Buckets>+-- in the /Amazon Simple Storage Service Developer Guide/.+workGroupConfigurationUpdates_requesterPaysEnabled :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe Prelude.Bool)+workGroupConfigurationUpdates_requesterPaysEnabled = Lens.lens (\WorkGroupConfigurationUpdates' {requesterPaysEnabled} -> requesterPaysEnabled) (\s@WorkGroupConfigurationUpdates' {} a -> s {requesterPaysEnabled = a} :: WorkGroupConfigurationUpdates)++-- | The result configuration information about the queries in this workgroup+-- that will be updated. Includes the updated results location and an+-- updated option for encrypting query results.+workGroupConfigurationUpdates_resultConfigurationUpdates :: Lens.Lens' WorkGroupConfigurationUpdates (Prelude.Maybe ResultConfigurationUpdates)+workGroupConfigurationUpdates_resultConfigurationUpdates = Lens.lens (\WorkGroupConfigurationUpdates' {resultConfigurationUpdates} -> resultConfigurationUpdates) (\s@WorkGroupConfigurationUpdates' {} a -> s {resultConfigurationUpdates = a} :: WorkGroupConfigurationUpdates)++instance+ Prelude.Hashable+ WorkGroupConfigurationUpdates+ where+ hashWithSalt _salt WorkGroupConfigurationUpdates' {..} =+ _salt+ `Prelude.hashWithSalt` additionalConfiguration+ `Prelude.hashWithSalt` bytesScannedCutoffPerQuery+ `Prelude.hashWithSalt` customerContentEncryptionConfiguration+ `Prelude.hashWithSalt` enforceWorkGroupConfiguration+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` executionRole+ `Prelude.hashWithSalt` publishCloudWatchMetricsEnabled+ `Prelude.hashWithSalt` removeBytesScannedCutoffPerQuery+ `Prelude.hashWithSalt` removeCustomerContentEncryptionConfiguration+ `Prelude.hashWithSalt` requesterPaysEnabled+ `Prelude.hashWithSalt` resultConfigurationUpdates++instance Prelude.NFData WorkGroupConfigurationUpdates where+ rnf WorkGroupConfigurationUpdates' {..} =+ Prelude.rnf additionalConfiguration+ `Prelude.seq` Prelude.rnf bytesScannedCutoffPerQuery+ `Prelude.seq` Prelude.rnf customerContentEncryptionConfiguration+ `Prelude.seq` Prelude.rnf enforceWorkGroupConfiguration+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf executionRole+ `Prelude.seq` Prelude.rnf publishCloudWatchMetricsEnabled+ `Prelude.seq` Prelude.rnf removeBytesScannedCutoffPerQuery+ `Prelude.seq` Prelude.rnf+ removeCustomerContentEncryptionConfiguration+ `Prelude.seq` Prelude.rnf requesterPaysEnabled+ `Prelude.seq` Prelude.rnf resultConfigurationUpdates++instance Data.ToJSON WorkGroupConfigurationUpdates where+ toJSON WorkGroupConfigurationUpdates' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AdditionalConfiguration" Data..=)+ Prelude.<$> additionalConfiguration,+ ("BytesScannedCutoffPerQuery" Data..=)+ Prelude.<$> bytesScannedCutoffPerQuery,+ ("CustomerContentEncryptionConfiguration" Data..=)+ Prelude.<$> customerContentEncryptionConfiguration,+ ("EnforceWorkGroupConfiguration" Data..=)+ Prelude.<$> enforceWorkGroupConfiguration,+ ("EngineVersion" Data..=) Prelude.<$> engineVersion,+ ("ExecutionRole" Data..=) Prelude.<$> executionRole,+ ("PublishCloudWatchMetricsEnabled" Data..=)+ Prelude.<$> publishCloudWatchMetricsEnabled,+ ("RemoveBytesScannedCutoffPerQuery" Data..=)+ Prelude.<$> removeBytesScannedCutoffPerQuery,+ ( "RemoveCustomerContentEncryptionConfiguration"+ Data..=+ )+ Prelude.<$> removeCustomerContentEncryptionConfiguration,+ ("RequesterPaysEnabled" Data..=)+ Prelude.<$> requesterPaysEnabled,+ ("ResultConfigurationUpdates" Data..=)+ Prelude.<$> resultConfigurationUpdates+ ]+ )
+ gen/Amazonka/Athena/Types/WorkGroupState.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.WorkGroupState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.WorkGroupState+ ( WorkGroupState+ ( ..,+ WorkGroupState_DISABLED,+ WorkGroupState_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype WorkGroupState = WorkGroupState'+ { fromWorkGroupState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern WorkGroupState_DISABLED :: WorkGroupState+pattern WorkGroupState_DISABLED = WorkGroupState' "DISABLED"++pattern WorkGroupState_ENABLED :: WorkGroupState+pattern WorkGroupState_ENABLED = WorkGroupState' "ENABLED"++{-# COMPLETE+ WorkGroupState_DISABLED,+ WorkGroupState_ENABLED,+ WorkGroupState'+ #-}
+ gen/Amazonka/Athena/Types/WorkGroupSummary.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Types.WorkGroupSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Types.WorkGroupSummary where++import Amazonka.Athena.Types.EngineVersion+import Amazonka.Athena.Types.WorkGroupState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The summary information for the workgroup, which includes its name,+-- state, description, and the date and time it was created.+--+-- /See:/ 'newWorkGroupSummary' smart constructor.+data WorkGroupSummary = WorkGroupSummary'+ { -- | The workgroup creation date and time.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The workgroup description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The engine version setting for all queries on the workgroup. Queries on+ -- the @AmazonAthenaPreviewFunctionality@ workgroup run on the preview+ -- engine regardless of this setting.+ engineVersion :: Prelude.Maybe EngineVersion,+ -- | The name of the workgroup.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the workgroup.+ state :: Prelude.Maybe WorkGroupState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'WorkGroupSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'creationTime', 'workGroupSummary_creationTime' - The workgroup creation date and time.+--+-- 'description', 'workGroupSummary_description' - The workgroup description.+--+-- 'engineVersion', 'workGroupSummary_engineVersion' - The engine version setting for all queries on the workgroup. Queries on+-- the @AmazonAthenaPreviewFunctionality@ workgroup run on the preview+-- engine regardless of this setting.+--+-- 'name', 'workGroupSummary_name' - The name of the workgroup.+--+-- 'state', 'workGroupSummary_state' - The state of the workgroup.+newWorkGroupSummary ::+ WorkGroupSummary+newWorkGroupSummary =+ WorkGroupSummary'+ { creationTime = Prelude.Nothing,+ description = Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The workgroup creation date and time.+workGroupSummary_creationTime :: Lens.Lens' WorkGroupSummary (Prelude.Maybe Prelude.UTCTime)+workGroupSummary_creationTime = Lens.lens (\WorkGroupSummary' {creationTime} -> creationTime) (\s@WorkGroupSummary' {} a -> s {creationTime = a} :: WorkGroupSummary) Prelude.. Lens.mapping Data._Time++-- | The workgroup description.+workGroupSummary_description :: Lens.Lens' WorkGroupSummary (Prelude.Maybe Prelude.Text)+workGroupSummary_description = Lens.lens (\WorkGroupSummary' {description} -> description) (\s@WorkGroupSummary' {} a -> s {description = a} :: WorkGroupSummary)++-- | The engine version setting for all queries on the workgroup. Queries on+-- the @AmazonAthenaPreviewFunctionality@ workgroup run on the preview+-- engine regardless of this setting.+workGroupSummary_engineVersion :: Lens.Lens' WorkGroupSummary (Prelude.Maybe EngineVersion)+workGroupSummary_engineVersion = Lens.lens (\WorkGroupSummary' {engineVersion} -> engineVersion) (\s@WorkGroupSummary' {} a -> s {engineVersion = a} :: WorkGroupSummary)++-- | The name of the workgroup.+workGroupSummary_name :: Lens.Lens' WorkGroupSummary (Prelude.Maybe Prelude.Text)+workGroupSummary_name = Lens.lens (\WorkGroupSummary' {name} -> name) (\s@WorkGroupSummary' {} a -> s {name = a} :: WorkGroupSummary)++-- | The state of the workgroup.+workGroupSummary_state :: Lens.Lens' WorkGroupSummary (Prelude.Maybe WorkGroupState)+workGroupSummary_state = Lens.lens (\WorkGroupSummary' {state} -> state) (\s@WorkGroupSummary' {} a -> s {state = a} :: WorkGroupSummary)++instance Data.FromJSON WorkGroupSummary where+ parseJSON =+ Data.withObject+ "WorkGroupSummary"+ ( \x ->+ WorkGroupSummary'+ Prelude.<$> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "EngineVersion")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "State")+ )++instance Prelude.Hashable WorkGroupSummary where+ hashWithSalt _salt WorkGroupSummary' {..} =+ _salt+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` state++instance Prelude.NFData WorkGroupSummary where+ rnf WorkGroupSummary' {..} =+ Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/Athena/UntagResource.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.UntagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes one or more tags from a data catalog or workgroup resource.+module Amazonka.Athena.UntagResource+ ( -- * Creating a Request+ UntagResource (..),+ newUntagResource,++ -- * Request Lenses+ untagResource_resourceARN,+ untagResource_tagKeys,++ -- * Destructuring the Response+ UntagResourceResponse (..),+ newUntagResourceResponse,++ -- * Response Lenses+ untagResourceResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+ { -- | Specifies the ARN of the resource from which tags are to be removed.+ resourceARN :: Prelude.Text,+ -- | A comma-separated list of one or more tag keys whose tags are to be+ -- removed from the specified resource.+ tagKeys :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'untagResource_resourceARN' - Specifies the ARN of the resource from which tags are to be removed.+--+-- 'tagKeys', 'untagResource_tagKeys' - A comma-separated list of one or more tag keys whose tags are to be+-- removed from the specified resource.+newUntagResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ UntagResource+newUntagResource pResourceARN_ =+ UntagResource'+ { resourceARN = pResourceARN_,+ tagKeys = Prelude.mempty+ }++-- | Specifies the ARN of the resource from which tags are to be removed.+untagResource_resourceARN :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceARN = Lens.lens (\UntagResource' {resourceARN} -> resourceARN) (\s@UntagResource' {} a -> s {resourceARN = a} :: UntagResource)++-- | A comma-separated list of one or more tag keys whose tags are to be+-- removed from the specified resource.+untagResource_tagKeys :: Lens.Lens' UntagResource [Prelude.Text]+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+ type+ AWSResponse UntagResource =+ UntagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UntagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UntagResource where+ hashWithSalt _salt UntagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceARN+ `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+ rnf UntagResource' {..} =+ Prelude.rnf resourceARN+ `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonAthena.UntagResource" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UntagResource where+ toJSON UntagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceARN" Data..= resourceARN),+ Prelude.Just ("TagKeys" Data..= tagKeys)+ ]+ )++instance Data.ToPath UntagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+ UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+ rnf UntagResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/UpdateDataCatalog.hs view
@@ -0,0 +1,286 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.UpdateDataCatalog+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the data catalog that has the specified name.+module Amazonka.Athena.UpdateDataCatalog+ ( -- * Creating a Request+ UpdateDataCatalog (..),+ newUpdateDataCatalog,++ -- * Request Lenses+ updateDataCatalog_description,+ updateDataCatalog_parameters,+ updateDataCatalog_name,+ updateDataCatalog_type,++ -- * Destructuring the Response+ UpdateDataCatalogResponse (..),+ newUpdateDataCatalogResponse,++ -- * Response Lenses+ updateDataCatalogResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateDataCatalog' smart constructor.+data UpdateDataCatalog = UpdateDataCatalog'+ { -- | New or modified text that describes the data catalog.+ description :: Prelude.Maybe Prelude.Text,+ -- | Specifies the Lambda function or functions to use for updating the data+ -- catalog. This is a mapping whose values depend on the catalog type.+ --+ -- - For the @HIVE@ data catalog type, use the following syntax. The+ -- @metadata-function@ parameter is required. @The sdk-version@+ -- parameter is optional and defaults to the currently supported+ -- version.+ --+ -- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+ --+ -- - For the @LAMBDA@ data catalog type, use one of the following sets of+ -- required parameters, but not both.+ --+ -- - If you have one Lambda function that processes metadata and+ -- another for reading the actual data, use the following syntax.+ -- Both parameters are required.+ --+ -- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+ --+ -- - If you have a composite Lambda function that processes both+ -- metadata and data, use the following syntax to specify your+ -- Lambda function.+ --+ -- @function=@/@lambda_arn@/@ @+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The name of the data catalog to update. The catalog name must be unique+ -- for the Amazon Web Services account and can use a maximum of 127+ -- alphanumeric, underscore, at sign, or hyphen characters. The remainder+ -- of the length constraint of 256 is reserved for use by Athena.+ name :: Prelude.Text,+ -- | Specifies the type of data catalog to update. Specify @LAMBDA@ for a+ -- federated catalog, @HIVE@ for an external hive metastore, or @GLUE@ for+ -- an Glue Data Catalog.+ type' :: DataCatalogType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateDataCatalog' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateDataCatalog_description' - New or modified text that describes the data catalog.+--+-- 'parameters', 'updateDataCatalog_parameters' - Specifies the Lambda function or functions to use for updating the data+-- catalog. This is a mapping whose values depend on the catalog type.+--+-- - For the @HIVE@ data catalog type, use the following syntax. The+-- @metadata-function@ parameter is required. @The sdk-version@+-- parameter is optional and defaults to the currently supported+-- version.+--+-- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+--+-- - For the @LAMBDA@ data catalog type, use one of the following sets of+-- required parameters, but not both.+--+-- - If you have one Lambda function that processes metadata and+-- another for reading the actual data, use the following syntax.+-- Both parameters are required.+--+-- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+--+-- - If you have a composite Lambda function that processes both+-- metadata and data, use the following syntax to specify your+-- Lambda function.+--+-- @function=@/@lambda_arn@/@ @+--+-- 'name', 'updateDataCatalog_name' - The name of the data catalog to update. The catalog name must be unique+-- for the Amazon Web Services account and can use a maximum of 127+-- alphanumeric, underscore, at sign, or hyphen characters. The remainder+-- of the length constraint of 256 is reserved for use by Athena.+--+-- 'type'', 'updateDataCatalog_type' - Specifies the type of data catalog to update. Specify @LAMBDA@ for a+-- federated catalog, @HIVE@ for an external hive metastore, or @GLUE@ for+-- an Glue Data Catalog.+newUpdateDataCatalog ::+ -- | 'name'+ Prelude.Text ->+ -- | 'type''+ DataCatalogType ->+ UpdateDataCatalog+newUpdateDataCatalog pName_ pType_ =+ UpdateDataCatalog'+ { description = Prelude.Nothing,+ parameters = Prelude.Nothing,+ name = pName_,+ type' = pType_+ }++-- | New or modified text that describes the data catalog.+updateDataCatalog_description :: Lens.Lens' UpdateDataCatalog (Prelude.Maybe Prelude.Text)+updateDataCatalog_description = Lens.lens (\UpdateDataCatalog' {description} -> description) (\s@UpdateDataCatalog' {} a -> s {description = a} :: UpdateDataCatalog)++-- | Specifies the Lambda function or functions to use for updating the data+-- catalog. This is a mapping whose values depend on the catalog type.+--+-- - For the @HIVE@ data catalog type, use the following syntax. The+-- @metadata-function@ parameter is required. @The sdk-version@+-- parameter is optional and defaults to the currently supported+-- version.+--+-- @metadata-function=@/@lambda_arn@/@, sdk-version=@/@version_number@/@ @+--+-- - For the @LAMBDA@ data catalog type, use one of the following sets of+-- required parameters, but not both.+--+-- - If you have one Lambda function that processes metadata and+-- another for reading the actual data, use the following syntax.+-- Both parameters are required.+--+-- @metadata-function=@/@lambda_arn@/@, record-function=@/@lambda_arn@/@ @+--+-- - If you have a composite Lambda function that processes both+-- metadata and data, use the following syntax to specify your+-- Lambda function.+--+-- @function=@/@lambda_arn@/@ @+updateDataCatalog_parameters :: Lens.Lens' UpdateDataCatalog (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+updateDataCatalog_parameters = Lens.lens (\UpdateDataCatalog' {parameters} -> parameters) (\s@UpdateDataCatalog' {} a -> s {parameters = a} :: UpdateDataCatalog) Prelude.. Lens.mapping Lens.coerced++-- | The name of the data catalog to update. The catalog name must be unique+-- for the Amazon Web Services account and can use a maximum of 127+-- alphanumeric, underscore, at sign, or hyphen characters. The remainder+-- of the length constraint of 256 is reserved for use by Athena.+updateDataCatalog_name :: Lens.Lens' UpdateDataCatalog Prelude.Text+updateDataCatalog_name = Lens.lens (\UpdateDataCatalog' {name} -> name) (\s@UpdateDataCatalog' {} a -> s {name = a} :: UpdateDataCatalog)++-- | Specifies the type of data catalog to update. Specify @LAMBDA@ for a+-- federated catalog, @HIVE@ for an external hive metastore, or @GLUE@ for+-- an Glue Data Catalog.+updateDataCatalog_type :: Lens.Lens' UpdateDataCatalog DataCatalogType+updateDataCatalog_type = Lens.lens (\UpdateDataCatalog' {type'} -> type') (\s@UpdateDataCatalog' {} a -> s {type' = a} :: UpdateDataCatalog)++instance Core.AWSRequest UpdateDataCatalog where+ type+ AWSResponse UpdateDataCatalog =+ UpdateDataCatalogResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateDataCatalogResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateDataCatalog where+ hashWithSalt _salt UpdateDataCatalog' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` type'++instance Prelude.NFData UpdateDataCatalog where+ rnf UpdateDataCatalog' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders UpdateDataCatalog where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.UpdateDataCatalog" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateDataCatalog where+ toJSON UpdateDataCatalog' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("Parameters" Data..=) Prelude.<$> parameters,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Type" Data..= type')+ ]+ )++instance Data.ToPath UpdateDataCatalog where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateDataCatalog where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateDataCatalogResponse' smart constructor.+data UpdateDataCatalogResponse = UpdateDataCatalogResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateDataCatalogResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateDataCatalogResponse_httpStatus' - The response's http status code.+newUpdateDataCatalogResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateDataCatalogResponse+newUpdateDataCatalogResponse pHttpStatus_ =+ UpdateDataCatalogResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateDataCatalogResponse_httpStatus :: Lens.Lens' UpdateDataCatalogResponse Prelude.Int+updateDataCatalogResponse_httpStatus = Lens.lens (\UpdateDataCatalogResponse' {httpStatus} -> httpStatus) (\s@UpdateDataCatalogResponse' {} a -> s {httpStatus = a} :: UpdateDataCatalogResponse)++instance Prelude.NFData UpdateDataCatalogResponse where+ rnf UpdateDataCatalogResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/UpdateNamedQuery.hs view
@@ -0,0 +1,208 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.UpdateNamedQuery+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a NamedQuery object. The database or workgroup cannot be+-- updated.+module Amazonka.Athena.UpdateNamedQuery+ ( -- * Creating a Request+ UpdateNamedQuery (..),+ newUpdateNamedQuery,++ -- * Request Lenses+ updateNamedQuery_description,+ updateNamedQuery_namedQueryId,+ updateNamedQuery_name,+ updateNamedQuery_queryString,++ -- * Destructuring the Response+ UpdateNamedQueryResponse (..),+ newUpdateNamedQueryResponse,++ -- * Response Lenses+ updateNamedQueryResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateNamedQuery' smart constructor.+data UpdateNamedQuery = UpdateNamedQuery'+ { -- | The query description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The unique identifier (UUID) of the query.+ namedQueryId :: Prelude.Text,+ -- | The name of the query.+ name :: Prelude.Text,+ -- | The contents of the query with all query statements.+ queryString :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateNamedQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateNamedQuery_description' - The query description.+--+-- 'namedQueryId', 'updateNamedQuery_namedQueryId' - The unique identifier (UUID) of the query.+--+-- 'name', 'updateNamedQuery_name' - The name of the query.+--+-- 'queryString', 'updateNamedQuery_queryString' - The contents of the query with all query statements.+newUpdateNamedQuery ::+ -- | 'namedQueryId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ -- | 'queryString'+ Prelude.Text ->+ UpdateNamedQuery+newUpdateNamedQuery+ pNamedQueryId_+ pName_+ pQueryString_ =+ UpdateNamedQuery'+ { description = Prelude.Nothing,+ namedQueryId = pNamedQueryId_,+ name = pName_,+ queryString = pQueryString_+ }++-- | The query description.+updateNamedQuery_description :: Lens.Lens' UpdateNamedQuery (Prelude.Maybe Prelude.Text)+updateNamedQuery_description = Lens.lens (\UpdateNamedQuery' {description} -> description) (\s@UpdateNamedQuery' {} a -> s {description = a} :: UpdateNamedQuery)++-- | The unique identifier (UUID) of the query.+updateNamedQuery_namedQueryId :: Lens.Lens' UpdateNamedQuery Prelude.Text+updateNamedQuery_namedQueryId = Lens.lens (\UpdateNamedQuery' {namedQueryId} -> namedQueryId) (\s@UpdateNamedQuery' {} a -> s {namedQueryId = a} :: UpdateNamedQuery)++-- | The name of the query.+updateNamedQuery_name :: Lens.Lens' UpdateNamedQuery Prelude.Text+updateNamedQuery_name = Lens.lens (\UpdateNamedQuery' {name} -> name) (\s@UpdateNamedQuery' {} a -> s {name = a} :: UpdateNamedQuery)++-- | The contents of the query with all query statements.+updateNamedQuery_queryString :: Lens.Lens' UpdateNamedQuery Prelude.Text+updateNamedQuery_queryString = Lens.lens (\UpdateNamedQuery' {queryString} -> queryString) (\s@UpdateNamedQuery' {} a -> s {queryString = a} :: UpdateNamedQuery)++instance Core.AWSRequest UpdateNamedQuery where+ type+ AWSResponse UpdateNamedQuery =+ UpdateNamedQueryResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateNamedQueryResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateNamedQuery where+ hashWithSalt _salt UpdateNamedQuery' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` namedQueryId+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` queryString++instance Prelude.NFData UpdateNamedQuery where+ rnf UpdateNamedQuery' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf namedQueryId+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf queryString++instance Data.ToHeaders UpdateNamedQuery where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.UpdateNamedQuery" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateNamedQuery where+ toJSON UpdateNamedQuery' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("NamedQueryId" Data..= namedQueryId),+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("QueryString" Data..= queryString)+ ]+ )++instance Data.ToPath UpdateNamedQuery where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateNamedQuery where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateNamedQueryResponse' smart constructor.+data UpdateNamedQueryResponse = UpdateNamedQueryResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateNamedQueryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateNamedQueryResponse_httpStatus' - The response's http status code.+newUpdateNamedQueryResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateNamedQueryResponse+newUpdateNamedQueryResponse pHttpStatus_ =+ UpdateNamedQueryResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateNamedQueryResponse_httpStatus :: Lens.Lens' UpdateNamedQueryResponse Prelude.Int+updateNamedQueryResponse_httpStatus = Lens.lens (\UpdateNamedQueryResponse' {httpStatus} -> httpStatus) (\s@UpdateNamedQueryResponse' {} a -> s {httpStatus = a} :: UpdateNamedQueryResponse)++instance Prelude.NFData UpdateNamedQueryResponse where+ rnf UpdateNamedQueryResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/UpdateNotebook.hs view
@@ -0,0 +1,237 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.UpdateNotebook+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the contents of a Spark notebook.+module Amazonka.Athena.UpdateNotebook+ ( -- * Creating a Request+ UpdateNotebook (..),+ newUpdateNotebook,++ -- * Request Lenses+ updateNotebook_clientRequestToken,+ updateNotebook_sessionId,+ updateNotebook_notebookId,+ updateNotebook_payload,+ updateNotebook_type,++ -- * Destructuring the Response+ UpdateNotebookResponse (..),+ newUpdateNotebookResponse,++ -- * Response Lenses+ updateNotebookResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateNotebook' smart constructor.+data UpdateNotebook = UpdateNotebook'+ { -- | A unique case-sensitive string used to ensure the request to create the+ -- notebook is idempotent (executes only once).+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for you. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | The ID of the session in which the notebook will be updated.+ sessionId :: Prelude.Maybe Prelude.Text,+ -- | The ID of the notebook to update.+ notebookId :: Prelude.Text,+ -- | The updated content for the notebook.+ payload :: Prelude.Text,+ -- | The notebook content type. Currently, the only valid type is @IPYNB@.+ type' :: NotebookType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateNotebook' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientRequestToken', 'updateNotebook_clientRequestToken' - A unique case-sensitive string used to ensure the request to create the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'sessionId', 'updateNotebook_sessionId' - The ID of the session in which the notebook will be updated.+--+-- 'notebookId', 'updateNotebook_notebookId' - The ID of the notebook to update.+--+-- 'payload', 'updateNotebook_payload' - The updated content for the notebook.+--+-- 'type'', 'updateNotebook_type' - The notebook content type. Currently, the only valid type is @IPYNB@.+newUpdateNotebook ::+ -- | 'notebookId'+ Prelude.Text ->+ -- | 'payload'+ Prelude.Text ->+ -- | 'type''+ NotebookType ->+ UpdateNotebook+newUpdateNotebook pNotebookId_ pPayload_ pType_ =+ UpdateNotebook'+ { clientRequestToken =+ Prelude.Nothing,+ sessionId = Prelude.Nothing,+ notebookId = pNotebookId_,+ payload = pPayload_,+ type' = pType_+ }++-- | A unique case-sensitive string used to ensure the request to create the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+updateNotebook_clientRequestToken :: Lens.Lens' UpdateNotebook (Prelude.Maybe Prelude.Text)+updateNotebook_clientRequestToken = Lens.lens (\UpdateNotebook' {clientRequestToken} -> clientRequestToken) (\s@UpdateNotebook' {} a -> s {clientRequestToken = a} :: UpdateNotebook)++-- | The ID of the session in which the notebook will be updated.+updateNotebook_sessionId :: Lens.Lens' UpdateNotebook (Prelude.Maybe Prelude.Text)+updateNotebook_sessionId = Lens.lens (\UpdateNotebook' {sessionId} -> sessionId) (\s@UpdateNotebook' {} a -> s {sessionId = a} :: UpdateNotebook)++-- | The ID of the notebook to update.+updateNotebook_notebookId :: Lens.Lens' UpdateNotebook Prelude.Text+updateNotebook_notebookId = Lens.lens (\UpdateNotebook' {notebookId} -> notebookId) (\s@UpdateNotebook' {} a -> s {notebookId = a} :: UpdateNotebook)++-- | The updated content for the notebook.+updateNotebook_payload :: Lens.Lens' UpdateNotebook Prelude.Text+updateNotebook_payload = Lens.lens (\UpdateNotebook' {payload} -> payload) (\s@UpdateNotebook' {} a -> s {payload = a} :: UpdateNotebook)++-- | The notebook content type. Currently, the only valid type is @IPYNB@.+updateNotebook_type :: Lens.Lens' UpdateNotebook NotebookType+updateNotebook_type = Lens.lens (\UpdateNotebook' {type'} -> type') (\s@UpdateNotebook' {} a -> s {type' = a} :: UpdateNotebook)++instance Core.AWSRequest UpdateNotebook where+ type+ AWSResponse UpdateNotebook =+ UpdateNotebookResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateNotebookResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateNotebook where+ hashWithSalt _salt UpdateNotebook' {..} =+ _salt+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` sessionId+ `Prelude.hashWithSalt` notebookId+ `Prelude.hashWithSalt` payload+ `Prelude.hashWithSalt` type'++instance Prelude.NFData UpdateNotebook where+ rnf UpdateNotebook' {..} =+ Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf sessionId+ `Prelude.seq` Prelude.rnf notebookId+ `Prelude.seq` Prelude.rnf payload+ `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders UpdateNotebook where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.UpdateNotebook" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateNotebook where+ toJSON UpdateNotebook' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ ("SessionId" Data..=) Prelude.<$> sessionId,+ Prelude.Just ("NotebookId" Data..= notebookId),+ Prelude.Just ("Payload" Data..= payload),+ Prelude.Just ("Type" Data..= type')+ ]+ )++instance Data.ToPath UpdateNotebook where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateNotebook where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateNotebookResponse' smart constructor.+data UpdateNotebookResponse = UpdateNotebookResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateNotebookResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateNotebookResponse_httpStatus' - The response's http status code.+newUpdateNotebookResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateNotebookResponse+newUpdateNotebookResponse pHttpStatus_ =+ UpdateNotebookResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+updateNotebookResponse_httpStatus :: Lens.Lens' UpdateNotebookResponse Prelude.Int+updateNotebookResponse_httpStatus = Lens.lens (\UpdateNotebookResponse' {httpStatus} -> httpStatus) (\s@UpdateNotebookResponse' {} a -> s {httpStatus = a} :: UpdateNotebookResponse)++instance Prelude.NFData UpdateNotebookResponse where+ rnf UpdateNotebookResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/UpdateNotebookMetadata.hs view
@@ -0,0 +1,215 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.UpdateNotebookMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the metadata for a notebook.+module Amazonka.Athena.UpdateNotebookMetadata+ ( -- * Creating a Request+ UpdateNotebookMetadata (..),+ newUpdateNotebookMetadata,++ -- * Request Lenses+ updateNotebookMetadata_clientRequestToken,+ updateNotebookMetadata_notebookId,+ updateNotebookMetadata_name,++ -- * Destructuring the Response+ UpdateNotebookMetadataResponse (..),+ newUpdateNotebookMetadataResponse,++ -- * Response Lenses+ updateNotebookMetadataResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateNotebookMetadata' smart constructor.+data UpdateNotebookMetadata = UpdateNotebookMetadata'+ { -- | A unique case-sensitive string used to ensure the request to create the+ -- notebook is idempotent (executes only once).+ --+ -- This token is listed as not required because Amazon Web Services SDKs+ -- (for example the Amazon Web Services SDK for Java) auto-generate the+ -- token for you. If you are not using the Amazon Web Services SDK or the+ -- Amazon Web Services CLI, you must provide this token or the action will+ -- fail.+ clientRequestToken :: Prelude.Maybe Prelude.Text,+ -- | The ID of the notebook to update the metadata for.+ notebookId :: Prelude.Text,+ -- | The name to update the notebook to.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateNotebookMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientRequestToken', 'updateNotebookMetadata_clientRequestToken' - A unique case-sensitive string used to ensure the request to create the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+--+-- 'notebookId', 'updateNotebookMetadata_notebookId' - The ID of the notebook to update the metadata for.+--+-- 'name', 'updateNotebookMetadata_name' - The name to update the notebook to.+newUpdateNotebookMetadata ::+ -- | 'notebookId'+ Prelude.Text ->+ -- | 'name'+ Prelude.Text ->+ UpdateNotebookMetadata+newUpdateNotebookMetadata pNotebookId_ pName_ =+ UpdateNotebookMetadata'+ { clientRequestToken =+ Prelude.Nothing,+ notebookId = pNotebookId_,+ name = pName_+ }++-- | A unique case-sensitive string used to ensure the request to create the+-- notebook is idempotent (executes only once).+--+-- This token is listed as not required because Amazon Web Services SDKs+-- (for example the Amazon Web Services SDK for Java) auto-generate the+-- token for you. If you are not using the Amazon Web Services SDK or the+-- Amazon Web Services CLI, you must provide this token or the action will+-- fail.+updateNotebookMetadata_clientRequestToken :: Lens.Lens' UpdateNotebookMetadata (Prelude.Maybe Prelude.Text)+updateNotebookMetadata_clientRequestToken = Lens.lens (\UpdateNotebookMetadata' {clientRequestToken} -> clientRequestToken) (\s@UpdateNotebookMetadata' {} a -> s {clientRequestToken = a} :: UpdateNotebookMetadata)++-- | The ID of the notebook to update the metadata for.+updateNotebookMetadata_notebookId :: Lens.Lens' UpdateNotebookMetadata Prelude.Text+updateNotebookMetadata_notebookId = Lens.lens (\UpdateNotebookMetadata' {notebookId} -> notebookId) (\s@UpdateNotebookMetadata' {} a -> s {notebookId = a} :: UpdateNotebookMetadata)++-- | The name to update the notebook to.+updateNotebookMetadata_name :: Lens.Lens' UpdateNotebookMetadata Prelude.Text+updateNotebookMetadata_name = Lens.lens (\UpdateNotebookMetadata' {name} -> name) (\s@UpdateNotebookMetadata' {} a -> s {name = a} :: UpdateNotebookMetadata)++instance Core.AWSRequest UpdateNotebookMetadata where+ type+ AWSResponse UpdateNotebookMetadata =+ UpdateNotebookMetadataResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateNotebookMetadataResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateNotebookMetadata where+ hashWithSalt _salt UpdateNotebookMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` clientRequestToken+ `Prelude.hashWithSalt` notebookId+ `Prelude.hashWithSalt` name++instance Prelude.NFData UpdateNotebookMetadata where+ rnf UpdateNotebookMetadata' {..} =+ Prelude.rnf clientRequestToken+ `Prelude.seq` Prelude.rnf notebookId+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders UpdateNotebookMetadata where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.UpdateNotebookMetadata" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateNotebookMetadata where+ toJSON UpdateNotebookMetadata' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientRequestToken" Data..=)+ Prelude.<$> clientRequestToken,+ Prelude.Just ("NotebookId" Data..= notebookId),+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath UpdateNotebookMetadata where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateNotebookMetadata where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateNotebookMetadataResponse' smart constructor.+data UpdateNotebookMetadataResponse = UpdateNotebookMetadataResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateNotebookMetadataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateNotebookMetadataResponse_httpStatus' - The response's http status code.+newUpdateNotebookMetadataResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateNotebookMetadataResponse+newUpdateNotebookMetadataResponse pHttpStatus_ =+ UpdateNotebookMetadataResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateNotebookMetadataResponse_httpStatus :: Lens.Lens' UpdateNotebookMetadataResponse Prelude.Int+updateNotebookMetadataResponse_httpStatus = Lens.lens (\UpdateNotebookMetadataResponse' {httpStatus} -> httpStatus) (\s@UpdateNotebookMetadataResponse' {} a -> s {httpStatus = a} :: UpdateNotebookMetadataResponse)++instance+ Prelude.NFData+ UpdateNotebookMetadataResponse+ where+ rnf UpdateNotebookMetadataResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/UpdatePreparedStatement.hs view
@@ -0,0 +1,212 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.UpdatePreparedStatement+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a prepared statement.+module Amazonka.Athena.UpdatePreparedStatement+ ( -- * Creating a Request+ UpdatePreparedStatement (..),+ newUpdatePreparedStatement,++ -- * Request Lenses+ updatePreparedStatement_description,+ updatePreparedStatement_statementName,+ updatePreparedStatement_workGroup,+ updatePreparedStatement_queryStatement,++ -- * Destructuring the Response+ UpdatePreparedStatementResponse (..),+ newUpdatePreparedStatementResponse,++ -- * Response Lenses+ updatePreparedStatementResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdatePreparedStatement' smart constructor.+data UpdatePreparedStatement = UpdatePreparedStatement'+ { -- | The description of the prepared statement.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name of the prepared statement.+ statementName :: Prelude.Text,+ -- | The workgroup for the prepared statement.+ workGroup :: Prelude.Text,+ -- | The query string for the prepared statement.+ queryStatement :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdatePreparedStatement' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updatePreparedStatement_description' - The description of the prepared statement.+--+-- 'statementName', 'updatePreparedStatement_statementName' - The name of the prepared statement.+--+-- 'workGroup', 'updatePreparedStatement_workGroup' - The workgroup for the prepared statement.+--+-- 'queryStatement', 'updatePreparedStatement_queryStatement' - The query string for the prepared statement.+newUpdatePreparedStatement ::+ -- | 'statementName'+ Prelude.Text ->+ -- | 'workGroup'+ Prelude.Text ->+ -- | 'queryStatement'+ Prelude.Text ->+ UpdatePreparedStatement+newUpdatePreparedStatement+ pStatementName_+ pWorkGroup_+ pQueryStatement_ =+ UpdatePreparedStatement'+ { description =+ Prelude.Nothing,+ statementName = pStatementName_,+ workGroup = pWorkGroup_,+ queryStatement = pQueryStatement_+ }++-- | The description of the prepared statement.+updatePreparedStatement_description :: Lens.Lens' UpdatePreparedStatement (Prelude.Maybe Prelude.Text)+updatePreparedStatement_description = Lens.lens (\UpdatePreparedStatement' {description} -> description) (\s@UpdatePreparedStatement' {} a -> s {description = a} :: UpdatePreparedStatement)++-- | The name of the prepared statement.+updatePreparedStatement_statementName :: Lens.Lens' UpdatePreparedStatement Prelude.Text+updatePreparedStatement_statementName = Lens.lens (\UpdatePreparedStatement' {statementName} -> statementName) (\s@UpdatePreparedStatement' {} a -> s {statementName = a} :: UpdatePreparedStatement)++-- | The workgroup for the prepared statement.+updatePreparedStatement_workGroup :: Lens.Lens' UpdatePreparedStatement Prelude.Text+updatePreparedStatement_workGroup = Lens.lens (\UpdatePreparedStatement' {workGroup} -> workGroup) (\s@UpdatePreparedStatement' {} a -> s {workGroup = a} :: UpdatePreparedStatement)++-- | The query string for the prepared statement.+updatePreparedStatement_queryStatement :: Lens.Lens' UpdatePreparedStatement Prelude.Text+updatePreparedStatement_queryStatement = Lens.lens (\UpdatePreparedStatement' {queryStatement} -> queryStatement) (\s@UpdatePreparedStatement' {} a -> s {queryStatement = a} :: UpdatePreparedStatement)++instance Core.AWSRequest UpdatePreparedStatement where+ type+ AWSResponse UpdatePreparedStatement =+ UpdatePreparedStatementResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdatePreparedStatementResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdatePreparedStatement where+ hashWithSalt _salt UpdatePreparedStatement' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` statementName+ `Prelude.hashWithSalt` workGroup+ `Prelude.hashWithSalt` queryStatement++instance Prelude.NFData UpdatePreparedStatement where+ rnf UpdatePreparedStatement' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf statementName+ `Prelude.seq` Prelude.rnf workGroup+ `Prelude.seq` Prelude.rnf queryStatement++instance Data.ToHeaders UpdatePreparedStatement where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.UpdatePreparedStatement" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdatePreparedStatement where+ toJSON UpdatePreparedStatement' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("StatementName" Data..= statementName),+ Prelude.Just ("WorkGroup" Data..= workGroup),+ Prelude.Just+ ("QueryStatement" Data..= queryStatement)+ ]+ )++instance Data.ToPath UpdatePreparedStatement where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdatePreparedStatement where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdatePreparedStatementResponse' smart constructor.+data UpdatePreparedStatementResponse = UpdatePreparedStatementResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdatePreparedStatementResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updatePreparedStatementResponse_httpStatus' - The response's http status code.+newUpdatePreparedStatementResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdatePreparedStatementResponse+newUpdatePreparedStatementResponse pHttpStatus_ =+ UpdatePreparedStatementResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updatePreparedStatementResponse_httpStatus :: Lens.Lens' UpdatePreparedStatementResponse Prelude.Int+updatePreparedStatementResponse_httpStatus = Lens.lens (\UpdatePreparedStatementResponse' {httpStatus} -> httpStatus) (\s@UpdatePreparedStatementResponse' {} a -> s {httpStatus = a} :: UpdatePreparedStatementResponse)++instance+ Prelude.NFData+ UpdatePreparedStatementResponse+ where+ rnf UpdatePreparedStatementResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/UpdateWorkGroup.hs view
@@ -0,0 +1,204 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.UpdateWorkGroup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the workgroup with the specified name. The workgroup\'s name+-- cannot be changed. Only one of @ConfigurationsUpdates@ or+-- @ConfigurationUpdates@ can be specified; @ConfigurationsUpdates@ for a+-- workgroup with multi engine support (for example, an Apache Spark+-- enabled workgroup) or @ConfigurationUpdates@ for an Athena SQL+-- workgroup.+module Amazonka.Athena.UpdateWorkGroup+ ( -- * Creating a Request+ UpdateWorkGroup (..),+ newUpdateWorkGroup,++ -- * Request Lenses+ updateWorkGroup_configurationUpdates,+ updateWorkGroup_description,+ updateWorkGroup_state,+ updateWorkGroup_workGroup,++ -- * Destructuring the Response+ UpdateWorkGroupResponse (..),+ newUpdateWorkGroupResponse,++ -- * Response Lenses+ updateWorkGroupResponse_httpStatus,+ )+where++import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateWorkGroup' smart constructor.+data UpdateWorkGroup = UpdateWorkGroup'+ { -- | Contains configuration updates for an Athena SQL workgroup.+ configurationUpdates :: Prelude.Maybe WorkGroupConfigurationUpdates,+ -- | The workgroup description.+ description :: Prelude.Maybe Prelude.Text,+ -- | The workgroup state that will be updated for the given workgroup.+ state :: Prelude.Maybe WorkGroupState,+ -- | The specified workgroup that will be updated.+ workGroup :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateWorkGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'configurationUpdates', 'updateWorkGroup_configurationUpdates' - Contains configuration updates for an Athena SQL workgroup.+--+-- 'description', 'updateWorkGroup_description' - The workgroup description.+--+-- 'state', 'updateWorkGroup_state' - The workgroup state that will be updated for the given workgroup.+--+-- 'workGroup', 'updateWorkGroup_workGroup' - The specified workgroup that will be updated.+newUpdateWorkGroup ::+ -- | 'workGroup'+ Prelude.Text ->+ UpdateWorkGroup+newUpdateWorkGroup pWorkGroup_ =+ UpdateWorkGroup'+ { configurationUpdates =+ Prelude.Nothing,+ description = Prelude.Nothing,+ state = Prelude.Nothing,+ workGroup = pWorkGroup_+ }++-- | Contains configuration updates for an Athena SQL workgroup.+updateWorkGroup_configurationUpdates :: Lens.Lens' UpdateWorkGroup (Prelude.Maybe WorkGroupConfigurationUpdates)+updateWorkGroup_configurationUpdates = Lens.lens (\UpdateWorkGroup' {configurationUpdates} -> configurationUpdates) (\s@UpdateWorkGroup' {} a -> s {configurationUpdates = a} :: UpdateWorkGroup)++-- | The workgroup description.+updateWorkGroup_description :: Lens.Lens' UpdateWorkGroup (Prelude.Maybe Prelude.Text)+updateWorkGroup_description = Lens.lens (\UpdateWorkGroup' {description} -> description) (\s@UpdateWorkGroup' {} a -> s {description = a} :: UpdateWorkGroup)++-- | The workgroup state that will be updated for the given workgroup.+updateWorkGroup_state :: Lens.Lens' UpdateWorkGroup (Prelude.Maybe WorkGroupState)+updateWorkGroup_state = Lens.lens (\UpdateWorkGroup' {state} -> state) (\s@UpdateWorkGroup' {} a -> s {state = a} :: UpdateWorkGroup)++-- | The specified workgroup that will be updated.+updateWorkGroup_workGroup :: Lens.Lens' UpdateWorkGroup Prelude.Text+updateWorkGroup_workGroup = Lens.lens (\UpdateWorkGroup' {workGroup} -> workGroup) (\s@UpdateWorkGroup' {} a -> s {workGroup = a} :: UpdateWorkGroup)++instance Core.AWSRequest UpdateWorkGroup where+ type+ AWSResponse UpdateWorkGroup =+ UpdateWorkGroupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateWorkGroupResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateWorkGroup where+ hashWithSalt _salt UpdateWorkGroup' {..} =+ _salt+ `Prelude.hashWithSalt` configurationUpdates+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` workGroup++instance Prelude.NFData UpdateWorkGroup where+ rnf UpdateWorkGroup' {..} =+ Prelude.rnf configurationUpdates+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf workGroup++instance Data.ToHeaders UpdateWorkGroup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonAthena.UpdateWorkGroup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateWorkGroup where+ toJSON UpdateWorkGroup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ConfigurationUpdates" Data..=)+ Prelude.<$> configurationUpdates,+ ("Description" Data..=) Prelude.<$> description,+ ("State" Data..=) Prelude.<$> state,+ Prelude.Just ("WorkGroup" Data..= workGroup)+ ]+ )++instance Data.ToPath UpdateWorkGroup where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateWorkGroup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateWorkGroupResponse' smart constructor.+data UpdateWorkGroupResponse = UpdateWorkGroupResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateWorkGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateWorkGroupResponse_httpStatus' - The response's http status code.+newUpdateWorkGroupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateWorkGroupResponse+newUpdateWorkGroupResponse pHttpStatus_ =+ UpdateWorkGroupResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+updateWorkGroupResponse_httpStatus :: Lens.Lens' UpdateWorkGroupResponse Prelude.Int+updateWorkGroupResponse_httpStatus = Lens.lens (\UpdateWorkGroupResponse' {httpStatus} -> httpStatus) (\s@UpdateWorkGroupResponse' {} a -> s {httpStatus = a} :: UpdateWorkGroupResponse)++instance Prelude.NFData UpdateWorkGroupResponse where+ rnf UpdateWorkGroupResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Athena/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Athena.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Athena.Waiters where++import Amazonka.Athena.Lens+import Amazonka.Athena.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/Athena.hs
@@ -1,228 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ 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 <http://docs.aws.amazon.com/athena/latest/ug/what-is.html What is Amazon Athena> in the /Amazon Athena User Guide/ .--------- For code samples using the AWS SDK for Java, see <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples> in the /Amazon Athena User Guide/ .----module Network.AWS.Athena- (- -- * Service Configuration- athena-- -- * Errors- -- $errors-- -- ** InvalidRequestException- , _InvalidRequestException-- -- ** TooManyRequestsException- , _TooManyRequestsException-- -- ** InternalServerException- , _InternalServerException-- -- * Waiters- -- $waiters-- -- * Operations- -- $operations-- -- ** GetNamedQuery- , module Network.AWS.Athena.GetNamedQuery-- -- ** CreateNamedQuery- , module Network.AWS.Athena.CreateNamedQuery-- -- ** ListNamedQueries (Paginated)- , module Network.AWS.Athena.ListNamedQueries-- -- ** DeleteNamedQuery- , module Network.AWS.Athena.DeleteNamedQuery-- -- ** StartQueryExecution- , module Network.AWS.Athena.StartQueryExecution-- -- ** BatchGetNamedQuery- , module Network.AWS.Athena.BatchGetNamedQuery-- -- ** GetQueryExecution- , module Network.AWS.Athena.GetQueryExecution-- -- ** BatchGetQueryExecution- , module Network.AWS.Athena.BatchGetQueryExecution-- -- ** StopQueryExecution- , module Network.AWS.Athena.StopQueryExecution-- -- ** GetQueryResults (Paginated)- , module Network.AWS.Athena.GetQueryResults-- -- ** ListQueryExecutions (Paginated)- , module Network.AWS.Athena.ListQueryExecutions-- -- * Types-- -- ** ColumnNullable- , ColumnNullable (..)-- -- ** EncryptionOption- , EncryptionOption (..)-- -- ** QueryExecutionState- , QueryExecutionState (..)-- -- ** ColumnInfo- , ColumnInfo- , columnInfo- , ciScale- , ciPrecision- , ciSchemaName- , ciCatalogName- , ciCaseSensitive- , ciLabel- , ciTableName- , ciNullable- , ciName- , ciType-- -- ** Datum- , Datum- , datum- , dVarCharValue-- -- ** EncryptionConfiguration- , EncryptionConfiguration- , encryptionConfiguration- , ecKMSKey- , ecEncryptionOption-- -- ** NamedQuery- , NamedQuery- , namedQuery- , nqNamedQueryId- , nqDescription- , nqName- , nqDatabase- , nqQueryString-- -- ** QueryExecution- , QueryExecution- , queryExecution- , qeStatus- , qeQueryExecutionContext- , qeResultConfiguration- , qeQuery- , qeStatistics- , qeQueryExecutionId-- -- ** QueryExecutionContext- , QueryExecutionContext- , queryExecutionContext- , qecDatabase-- -- ** QueryExecutionStatistics- , QueryExecutionStatistics- , queryExecutionStatistics- , qesEngineExecutionTimeInMillis- , qesDataScannedInBytes-- -- ** QueryExecutionStatus- , QueryExecutionStatus- , queryExecutionStatus- , qesState- , qesStateChangeReason- , qesSubmissionDateTime- , qesCompletionDateTime-- -- ** ResultConfiguration- , ResultConfiguration- , resultConfiguration- , rcEncryptionConfiguration- , rcOutputLocation-- -- ** ResultSet- , ResultSet- , resultSet- , rsRows- , rsResultSetMetadata-- -- ** ResultSetMetadata- , ResultSetMetadata- , resultSetMetadata- , rsmColumnInfo-- -- ** Row- , Row- , row- , rowData-- -- ** UnprocessedNamedQueryId- , UnprocessedNamedQueryId- , unprocessedNamedQueryId- , unqiNamedQueryId- , unqiErrorCode- , unqiErrorMessage-- -- ** UnprocessedQueryExecutionId- , UnprocessedQueryExecutionId- , unprocessedQueryExecutionId- , uqeiErrorCode- , uqeiQueryExecutionId- , uqeiErrorMessage- ) where--import Network.AWS.Athena.BatchGetNamedQuery-import Network.AWS.Athena.BatchGetQueryExecution-import Network.AWS.Athena.CreateNamedQuery-import Network.AWS.Athena.DeleteNamedQuery-import Network.AWS.Athena.GetNamedQuery-import Network.AWS.Athena.GetQueryExecution-import Network.AWS.Athena.GetQueryResults-import Network.AWS.Athena.ListNamedQueries-import Network.AWS.Athena.ListQueryExecutions-import Network.AWS.Athena.StartQueryExecution-import Network.AWS.Athena.StopQueryExecution-import Network.AWS.Athena.Types-import Network.AWS.Athena.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'Athena'.--}--{- $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.--}--{- $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.--}
− gen/Network/AWS/Athena/BatchGetNamedQuery.hs
@@ -1,147 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.BatchGetNamedQuery--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use 'ListNamedQueries' to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under 'UnprocessedNamedQueryId' . Named queries are different from executed queries. Use 'BatchGetQueryExecution' to get details about each unique query execution, and 'ListQueryExecutions' to get a list of query execution IDs.-------module Network.AWS.Athena.BatchGetNamedQuery- (- -- * Creating a Request- batchGetNamedQuery- , BatchGetNamedQuery- -- * Request Lenses- , bgnqNamedQueryIds-- -- * Destructuring the Response- , batchGetNamedQueryResponse- , BatchGetNamedQueryResponse- -- * Response Lenses- , bgnqrsNamedQueries- , bgnqrsUnprocessedNamedQueryIds- , bgnqrsResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'batchGetNamedQuery' smart constructor.-newtype BatchGetNamedQuery = BatchGetNamedQuery'- { _bgnqNamedQueryIds :: List1 Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchGetNamedQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bgnqNamedQueryIds' - An array of query IDs.-batchGetNamedQuery- :: NonEmpty Text -- ^ 'bgnqNamedQueryIds'- -> BatchGetNamedQuery-batchGetNamedQuery pNamedQueryIds_ =- BatchGetNamedQuery' {_bgnqNamedQueryIds = _List1 # pNamedQueryIds_}----- | An array of query IDs.-bgnqNamedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text)-bgnqNamedQueryIds = lens _bgnqNamedQueryIds (\ s a -> s{_bgnqNamedQueryIds = a}) . _List1--instance AWSRequest BatchGetNamedQuery where- type Rs BatchGetNamedQuery =- BatchGetNamedQueryResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- BatchGetNamedQueryResponse' <$>- (x .?> "NamedQueries" .!@ mempty) <*>- (x .?> "UnprocessedNamedQueryIds" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable BatchGetNamedQuery where--instance NFData BatchGetNamedQuery where--instance ToHeaders BatchGetNamedQuery where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.BatchGetNamedQuery" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON BatchGetNamedQuery where- toJSON BatchGetNamedQuery'{..}- = object- (catMaybes- [Just ("NamedQueryIds" .= _bgnqNamedQueryIds)])--instance ToPath BatchGetNamedQuery where- toPath = const "/"--instance ToQuery BatchGetNamedQuery where- toQuery = const mempty---- | /See:/ 'batchGetNamedQueryResponse' smart constructor.-data BatchGetNamedQueryResponse = BatchGetNamedQueryResponse'- { _bgnqrsNamedQueries :: !(Maybe [NamedQuery])- , _bgnqrsUnprocessedNamedQueryIds :: !(Maybe [UnprocessedNamedQueryId])- , _bgnqrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchGetNamedQueryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bgnqrsNamedQueries' - Information about the named query IDs submitted.------ * 'bgnqrsUnprocessedNamedQueryIds' - Information about provided query IDs.------ * 'bgnqrsResponseStatus' - -- | The response status code.-batchGetNamedQueryResponse- :: Int -- ^ 'bgnqrsResponseStatus'- -> BatchGetNamedQueryResponse-batchGetNamedQueryResponse pResponseStatus_ =- BatchGetNamedQueryResponse'- { _bgnqrsNamedQueries = Nothing- , _bgnqrsUnprocessedNamedQueryIds = Nothing- , _bgnqrsResponseStatus = pResponseStatus_- }----- | Information about the named query IDs submitted.-bgnqrsNamedQueries :: Lens' BatchGetNamedQueryResponse [NamedQuery]-bgnqrsNamedQueries = lens _bgnqrsNamedQueries (\ s a -> s{_bgnqrsNamedQueries = a}) . _Default . _Coerce---- | Information about provided query IDs.-bgnqrsUnprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse [UnprocessedNamedQueryId]-bgnqrsUnprocessedNamedQueryIds = lens _bgnqrsUnprocessedNamedQueryIds (\ s a -> s{_bgnqrsUnprocessedNamedQueryIds = a}) . _Default . _Coerce---- | -- | The response status code.-bgnqrsResponseStatus :: Lens' BatchGetNamedQueryResponse Int-bgnqrsResponseStatus = lens _bgnqrsResponseStatus (\ s a -> s{_bgnqrsResponseStatus = a})--instance NFData BatchGetNamedQueryResponse where
− gen/Network/AWS/Athena/BatchGetQueryExecution.hs
@@ -1,150 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.BatchGetQueryExecution--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. To get a list of query execution IDs, use 'ListQueryExecutions' . Query executions are different from named (saved) queries. Use 'BatchGetNamedQuery' to get details about named queries.-------module Network.AWS.Athena.BatchGetQueryExecution- (- -- * Creating a Request- batchGetQueryExecution- , BatchGetQueryExecution- -- * Request Lenses- , bgqeQueryExecutionIds-- -- * Destructuring the Response- , batchGetQueryExecutionResponse- , BatchGetQueryExecutionResponse- -- * Response Lenses- , bgqersUnprocessedQueryExecutionIds- , bgqersQueryExecutions- , bgqersResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'batchGetQueryExecution' smart constructor.-newtype BatchGetQueryExecution = BatchGetQueryExecution'- { _bgqeQueryExecutionIds :: List1 Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchGetQueryExecution' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bgqeQueryExecutionIds' - An array of query execution IDs.-batchGetQueryExecution- :: NonEmpty Text -- ^ 'bgqeQueryExecutionIds'- -> BatchGetQueryExecution-batchGetQueryExecution pQueryExecutionIds_ =- BatchGetQueryExecution'- {_bgqeQueryExecutionIds = _List1 # pQueryExecutionIds_}----- | An array of query execution IDs.-bgqeQueryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text)-bgqeQueryExecutionIds = lens _bgqeQueryExecutionIds (\ s a -> s{_bgqeQueryExecutionIds = a}) . _List1--instance AWSRequest BatchGetQueryExecution where- type Rs BatchGetQueryExecution =- BatchGetQueryExecutionResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- BatchGetQueryExecutionResponse' <$>- (x .?> "UnprocessedQueryExecutionIds" .!@ mempty) <*>- (x .?> "QueryExecutions" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable BatchGetQueryExecution where--instance NFData BatchGetQueryExecution where--instance ToHeaders BatchGetQueryExecution where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.BatchGetQueryExecution" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON BatchGetQueryExecution where- toJSON BatchGetQueryExecution'{..}- = object- (catMaybes- [Just- ("QueryExecutionIds" .= _bgqeQueryExecutionIds)])--instance ToPath BatchGetQueryExecution where- toPath = const "/"--instance ToQuery BatchGetQueryExecution where- toQuery = const mempty---- | /See:/ 'batchGetQueryExecutionResponse' smart constructor.-data BatchGetQueryExecutionResponse = BatchGetQueryExecutionResponse'- { _bgqersUnprocessedQueryExecutionIds :: !(Maybe [UnprocessedQueryExecutionId])- , _bgqersQueryExecutions :: !(Maybe [QueryExecution])- , _bgqersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchGetQueryExecutionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bgqersUnprocessedQueryExecutionIds' - Information about the query executions that failed to run.------ * 'bgqersQueryExecutions' - Information about a query execution.------ * 'bgqersResponseStatus' - -- | The response status code.-batchGetQueryExecutionResponse- :: Int -- ^ 'bgqersResponseStatus'- -> BatchGetQueryExecutionResponse-batchGetQueryExecutionResponse pResponseStatus_ =- BatchGetQueryExecutionResponse'- { _bgqersUnprocessedQueryExecutionIds = Nothing- , _bgqersQueryExecutions = Nothing- , _bgqersResponseStatus = pResponseStatus_- }----- | Information about the query executions that failed to run.-bgqersUnprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse [UnprocessedQueryExecutionId]-bgqersUnprocessedQueryExecutionIds = lens _bgqersUnprocessedQueryExecutionIds (\ s a -> s{_bgqersUnprocessedQueryExecutionIds = a}) . _Default . _Coerce---- | Information about a query execution.-bgqersQueryExecutions :: Lens' BatchGetQueryExecutionResponse [QueryExecution]-bgqersQueryExecutions = lens _bgqersQueryExecutions (\ s a -> s{_bgqersQueryExecutions = a}) . _Default . _Coerce---- | -- | The response status code.-bgqersResponseStatus :: Lens' BatchGetQueryExecutionResponse Int-bgqersResponseStatus = lens _bgqersResponseStatus (\ s a -> s{_bgqersResponseStatus = a})--instance NFData BatchGetQueryExecutionResponse where
− gen/Network/AWS/Athena/CreateNamedQuery.hs
@@ -1,180 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.CreateNamedQuery--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a named query.--------- For code samples using the AWS SDK for Java, see <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples> in the /Amazon Athena User Guide/ .----module Network.AWS.Athena.CreateNamedQuery- (- -- * Creating a Request- createNamedQuery- , CreateNamedQuery- -- * Request Lenses- , cnqClientRequestToken- , cnqDescription- , cnqName- , cnqDatabase- , cnqQueryString-- -- * Destructuring the Response- , createNamedQueryResponse- , CreateNamedQueryResponse- -- * Response Lenses- , cnqrsNamedQueryId- , cnqrsResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createNamedQuery' smart constructor.-data CreateNamedQuery = CreateNamedQuery'- { _cnqClientRequestToken :: !(Maybe Text)- , _cnqDescription :: !(Maybe Text)- , _cnqName :: !Text- , _cnqDatabase :: !Text- , _cnqQueryString :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateNamedQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cnqClientRequestToken' - A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another @CreateNamedQuery@ request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the @QueryString@ , an error is returned. /Important:/ This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.------ * 'cnqDescription' - A brief explanation of the query.------ * 'cnqName' - The plain language name for the query.------ * 'cnqDatabase' - The database to which the query belongs.------ * 'cnqQueryString' - The text of the query itself. In other words, all query statements.-createNamedQuery- :: Text -- ^ 'cnqName'- -> Text -- ^ 'cnqDatabase'- -> Text -- ^ 'cnqQueryString'- -> CreateNamedQuery-createNamedQuery pName_ pDatabase_ pQueryString_ =- CreateNamedQuery'- { _cnqClientRequestToken = Nothing- , _cnqDescription = Nothing- , _cnqName = pName_- , _cnqDatabase = pDatabase_- , _cnqQueryString = pQueryString_- }----- | A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another @CreateNamedQuery@ request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the @QueryString@ , an error is returned. /Important:/ This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.-cnqClientRequestToken :: Lens' CreateNamedQuery (Maybe Text)-cnqClientRequestToken = lens _cnqClientRequestToken (\ s a -> s{_cnqClientRequestToken = a})---- | A brief explanation of the query.-cnqDescription :: Lens' CreateNamedQuery (Maybe Text)-cnqDescription = lens _cnqDescription (\ s a -> s{_cnqDescription = a})---- | The plain language name for the query.-cnqName :: Lens' CreateNamedQuery Text-cnqName = lens _cnqName (\ s a -> s{_cnqName = a})---- | The database to which the query belongs.-cnqDatabase :: Lens' CreateNamedQuery Text-cnqDatabase = lens _cnqDatabase (\ s a -> s{_cnqDatabase = a})---- | The text of the query itself. In other words, all query statements.-cnqQueryString :: Lens' CreateNamedQuery Text-cnqQueryString = lens _cnqQueryString (\ s a -> s{_cnqQueryString = a})--instance AWSRequest CreateNamedQuery where- type Rs CreateNamedQuery = CreateNamedQueryResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- CreateNamedQueryResponse' <$>- (x .?> "NamedQueryId") <*> (pure (fromEnum s)))--instance Hashable CreateNamedQuery where--instance NFData CreateNamedQuery where--instance ToHeaders CreateNamedQuery where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.CreateNamedQuery" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateNamedQuery where- toJSON CreateNamedQuery'{..}- = object- (catMaybes- [("ClientRequestToken" .=) <$>- _cnqClientRequestToken,- ("Description" .=) <$> _cnqDescription,- Just ("Name" .= _cnqName),- Just ("Database" .= _cnqDatabase),- Just ("QueryString" .= _cnqQueryString)])--instance ToPath CreateNamedQuery where- toPath = const "/"--instance ToQuery CreateNamedQuery where- toQuery = const mempty---- | /See:/ 'createNamedQueryResponse' smart constructor.-data CreateNamedQueryResponse = CreateNamedQueryResponse'- { _cnqrsNamedQueryId :: !(Maybe Text)- , _cnqrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateNamedQueryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cnqrsNamedQueryId' - The unique ID of the query.------ * 'cnqrsResponseStatus' - -- | The response status code.-createNamedQueryResponse- :: Int -- ^ 'cnqrsResponseStatus'- -> CreateNamedQueryResponse-createNamedQueryResponse pResponseStatus_ =- CreateNamedQueryResponse'- {_cnqrsNamedQueryId = Nothing, _cnqrsResponseStatus = pResponseStatus_}----- | The unique ID of the query.-cnqrsNamedQueryId :: Lens' CreateNamedQueryResponse (Maybe Text)-cnqrsNamedQueryId = lens _cnqrsNamedQueryId (\ s a -> s{_cnqrsNamedQueryId = a})---- | -- | The response status code.-cnqrsResponseStatus :: Lens' CreateNamedQueryResponse Int-cnqrsResponseStatus = lens _cnqrsResponseStatus (\ s a -> s{_cnqrsResponseStatus = a})--instance NFData CreateNamedQueryResponse where
− gen/Network/AWS/Athena/DeleteNamedQuery.hs
@@ -1,125 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.DeleteNamedQuery--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a named query.--------- For code samples using the AWS SDK for Java, see <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples> in the /Amazon Athena User Guide/ .----module Network.AWS.Athena.DeleteNamedQuery- (- -- * Creating a Request- deleteNamedQuery- , DeleteNamedQuery- -- * Request Lenses- , dnqNamedQueryId-- -- * Destructuring the Response- , deleteNamedQueryResponse- , DeleteNamedQueryResponse- -- * Response Lenses- , dnqrsResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteNamedQuery' smart constructor.-newtype DeleteNamedQuery = DeleteNamedQuery'- { _dnqNamedQueryId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteNamedQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dnqNamedQueryId' - The unique ID of the query to delete.-deleteNamedQuery- :: Text -- ^ 'dnqNamedQueryId'- -> DeleteNamedQuery-deleteNamedQuery pNamedQueryId_ =- DeleteNamedQuery' {_dnqNamedQueryId = pNamedQueryId_}----- | The unique ID of the query to delete.-dnqNamedQueryId :: Lens' DeleteNamedQuery Text-dnqNamedQueryId = lens _dnqNamedQueryId (\ s a -> s{_dnqNamedQueryId = a})--instance AWSRequest DeleteNamedQuery where- type Rs DeleteNamedQuery = DeleteNamedQueryResponse- request = postJSON athena- response- = receiveEmpty- (\ s h x ->- DeleteNamedQueryResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteNamedQuery where--instance NFData DeleteNamedQuery where--instance ToHeaders DeleteNamedQuery where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.DeleteNamedQuery" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteNamedQuery where- toJSON DeleteNamedQuery'{..}- = object- (catMaybes- [Just ("NamedQueryId" .= _dnqNamedQueryId)])--instance ToPath DeleteNamedQuery where- toPath = const "/"--instance ToQuery DeleteNamedQuery where- toQuery = const mempty---- | /See:/ 'deleteNamedQueryResponse' smart constructor.-newtype DeleteNamedQueryResponse = DeleteNamedQueryResponse'- { _dnqrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteNamedQueryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dnqrsResponseStatus' - -- | The response status code.-deleteNamedQueryResponse- :: Int -- ^ 'dnqrsResponseStatus'- -> DeleteNamedQueryResponse-deleteNamedQueryResponse pResponseStatus_ =- DeleteNamedQueryResponse' {_dnqrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dnqrsResponseStatus :: Lens' DeleteNamedQueryResponse Int-dnqrsResponseStatus = lens _dnqrsResponseStatus (\ s a -> s{_dnqrsResponseStatus = a})--instance NFData DeleteNamedQueryResponse where
− gen/Network/AWS/Athena/GetNamedQuery.hs
@@ -1,133 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.GetNamedQuery--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about a single query.-------module Network.AWS.Athena.GetNamedQuery- (- -- * Creating a Request- getNamedQuery- , GetNamedQuery- -- * Request Lenses- , gnqNamedQueryId-- -- * Destructuring the Response- , getNamedQueryResponse- , GetNamedQueryResponse- -- * Response Lenses- , gnqrsNamedQuery- , gnqrsResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'getNamedQuery' smart constructor.-newtype GetNamedQuery = GetNamedQuery'- { _gnqNamedQueryId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetNamedQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gnqNamedQueryId' - The unique ID of the query. Use 'ListNamedQueries' to get query IDs.-getNamedQuery- :: Text -- ^ 'gnqNamedQueryId'- -> GetNamedQuery-getNamedQuery pNamedQueryId_ =- GetNamedQuery' {_gnqNamedQueryId = pNamedQueryId_}----- | The unique ID of the query. Use 'ListNamedQueries' to get query IDs.-gnqNamedQueryId :: Lens' GetNamedQuery Text-gnqNamedQueryId = lens _gnqNamedQueryId (\ s a -> s{_gnqNamedQueryId = a})--instance AWSRequest GetNamedQuery where- type Rs GetNamedQuery = GetNamedQueryResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- GetNamedQueryResponse' <$>- (x .?> "NamedQuery") <*> (pure (fromEnum s)))--instance Hashable GetNamedQuery where--instance NFData GetNamedQuery where--instance ToHeaders GetNamedQuery where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.GetNamedQuery" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetNamedQuery where- toJSON GetNamedQuery'{..}- = object- (catMaybes- [Just ("NamedQueryId" .= _gnqNamedQueryId)])--instance ToPath GetNamedQuery where- toPath = const "/"--instance ToQuery GetNamedQuery where- toQuery = const mempty---- | /See:/ 'getNamedQueryResponse' smart constructor.-data GetNamedQueryResponse = GetNamedQueryResponse'- { _gnqrsNamedQuery :: !(Maybe NamedQuery)- , _gnqrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetNamedQueryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gnqrsNamedQuery' - Information about the query.------ * 'gnqrsResponseStatus' - -- | The response status code.-getNamedQueryResponse- :: Int -- ^ 'gnqrsResponseStatus'- -> GetNamedQueryResponse-getNamedQueryResponse pResponseStatus_ =- GetNamedQueryResponse'- {_gnqrsNamedQuery = Nothing, _gnqrsResponseStatus = pResponseStatus_}----- | Information about the query.-gnqrsNamedQuery :: Lens' GetNamedQueryResponse (Maybe NamedQuery)-gnqrsNamedQuery = lens _gnqrsNamedQuery (\ s a -> s{_gnqrsNamedQuery = a})---- | -- | The response status code.-gnqrsResponseStatus :: Lens' GetNamedQueryResponse Int-gnqrsResponseStatus = lens _gnqrsResponseStatus (\ s a -> s{_gnqrsResponseStatus = a})--instance NFData GetNamedQueryResponse where
− gen/Network/AWS/Athena/GetQueryExecution.hs
@@ -1,133 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.GetQueryExecution--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID.-------module Network.AWS.Athena.GetQueryExecution- (- -- * Creating a Request- getQueryExecution- , GetQueryExecution- -- * Request Lenses- , gqeQueryExecutionId-- -- * Destructuring the Response- , getQueryExecutionResponse- , GetQueryExecutionResponse- -- * Response Lenses- , gqersQueryExecution- , gqersResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'getQueryExecution' smart constructor.-newtype GetQueryExecution = GetQueryExecution'- { _gqeQueryExecutionId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueryExecution' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqeQueryExecutionId' - The unique ID of the query execution.-getQueryExecution- :: Text -- ^ 'gqeQueryExecutionId'- -> GetQueryExecution-getQueryExecution pQueryExecutionId_ =- GetQueryExecution' {_gqeQueryExecutionId = pQueryExecutionId_}----- | The unique ID of the query execution.-gqeQueryExecutionId :: Lens' GetQueryExecution Text-gqeQueryExecutionId = lens _gqeQueryExecutionId (\ s a -> s{_gqeQueryExecutionId = a})--instance AWSRequest GetQueryExecution where- type Rs GetQueryExecution = GetQueryExecutionResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- GetQueryExecutionResponse' <$>- (x .?> "QueryExecution") <*> (pure (fromEnum s)))--instance Hashable GetQueryExecution where--instance NFData GetQueryExecution where--instance ToHeaders GetQueryExecution where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.GetQueryExecution" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetQueryExecution where- toJSON GetQueryExecution'{..}- = object- (catMaybes- [Just ("QueryExecutionId" .= _gqeQueryExecutionId)])--instance ToPath GetQueryExecution where- toPath = const "/"--instance ToQuery GetQueryExecution where- toQuery = const mempty---- | /See:/ 'getQueryExecutionResponse' smart constructor.-data GetQueryExecutionResponse = GetQueryExecutionResponse'- { _gqersQueryExecution :: !(Maybe QueryExecution)- , _gqersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueryExecutionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqersQueryExecution' - Information about the query execution.------ * 'gqersResponseStatus' - -- | The response status code.-getQueryExecutionResponse- :: Int -- ^ 'gqersResponseStatus'- -> GetQueryExecutionResponse-getQueryExecutionResponse pResponseStatus_ =- GetQueryExecutionResponse'- {_gqersQueryExecution = Nothing, _gqersResponseStatus = pResponseStatus_}----- | Information about the query execution.-gqersQueryExecution :: Lens' GetQueryExecutionResponse (Maybe QueryExecution)-gqersQueryExecution = lens _gqersQueryExecution (\ s a -> s{_gqersQueryExecution = a})---- | -- | The response status code.-gqersResponseStatus :: Lens' GetQueryExecutionResponse Int-gqersResponseStatus = lens _gqersResponseStatus (\ s a -> s{_gqersResponseStatus = a})--instance NFData GetQueryExecutionResponse where
− gen/Network/AWS/Athena/GetQueryResults.hs
@@ -1,178 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.GetQueryResults--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the results of a single query execution specified by @QueryExecutionId@ . This request does not execute the query but returns results. Use 'StartQueryExecution' to run a query.------------ This operation returns paginated results.-module Network.AWS.Athena.GetQueryResults- (- -- * Creating a Request- getQueryResults- , GetQueryResults- -- * Request Lenses- , gqrNextToken- , gqrMaxResults- , gqrQueryExecutionId-- -- * Destructuring the Response- , getQueryResultsResponse- , GetQueryResultsResponse- -- * Response Lenses- , gqrrsNextToken- , gqrrsResultSet- , gqrrsResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'getQueryResults' smart constructor.-data GetQueryResults = GetQueryResults'- { _gqrNextToken :: !(Maybe Text)- , _gqrMaxResults :: !(Maybe Nat)- , _gqrQueryExecutionId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueryResults' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqrNextToken' - The token that specifies where to start pagination if a previous request was truncated.------ * 'gqrMaxResults' - The maximum number of results (rows) to return in this request.------ * 'gqrQueryExecutionId' - The unique ID of the query execution.-getQueryResults- :: Text -- ^ 'gqrQueryExecutionId'- -> GetQueryResults-getQueryResults pQueryExecutionId_ =- GetQueryResults'- { _gqrNextToken = Nothing- , _gqrMaxResults = Nothing- , _gqrQueryExecutionId = pQueryExecutionId_- }----- | The token that specifies where to start pagination if a previous request was truncated.-gqrNextToken :: Lens' GetQueryResults (Maybe Text)-gqrNextToken = lens _gqrNextToken (\ s a -> s{_gqrNextToken = a})---- | The maximum number of results (rows) to return in this request.-gqrMaxResults :: Lens' GetQueryResults (Maybe Natural)-gqrMaxResults = lens _gqrMaxResults (\ s a -> s{_gqrMaxResults = a}) . mapping _Nat---- | The unique ID of the query execution.-gqrQueryExecutionId :: Lens' GetQueryResults Text-gqrQueryExecutionId = lens _gqrQueryExecutionId (\ s a -> s{_gqrQueryExecutionId = a})--instance AWSPager GetQueryResults where- page rq rs- | stop (rs ^. gqrrsNextToken) = Nothing- | stop (rs ^? gqrrsResultSet . _Just . rsRows) =- Nothing- | otherwise =- Just $ rq & gqrNextToken .~ rs ^. gqrrsNextToken--instance AWSRequest GetQueryResults where- type Rs GetQueryResults = GetQueryResultsResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- GetQueryResultsResponse' <$>- (x .?> "NextToken") <*> (x .?> "ResultSet") <*>- (pure (fromEnum s)))--instance Hashable GetQueryResults where--instance NFData GetQueryResults where--instance ToHeaders GetQueryResults where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.GetQueryResults" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetQueryResults where- toJSON GetQueryResults'{..}- = object- (catMaybes- [("NextToken" .=) <$> _gqrNextToken,- ("MaxResults" .=) <$> _gqrMaxResults,- Just ("QueryExecutionId" .= _gqrQueryExecutionId)])--instance ToPath GetQueryResults where- toPath = const "/"--instance ToQuery GetQueryResults where- toQuery = const mempty---- | /See:/ 'getQueryResultsResponse' smart constructor.-data GetQueryResultsResponse = GetQueryResultsResponse'- { _gqrrsNextToken :: !(Maybe Text)- , _gqrrsResultSet :: !(Maybe ResultSet)- , _gqrrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueryResultsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqrrsNextToken' - A token to be used by the next request if this request is truncated.------ * 'gqrrsResultSet' - The results of the query execution.------ * 'gqrrsResponseStatus' - -- | The response status code.-getQueryResultsResponse- :: Int -- ^ 'gqrrsResponseStatus'- -> GetQueryResultsResponse-getQueryResultsResponse pResponseStatus_ =- GetQueryResultsResponse'- { _gqrrsNextToken = Nothing- , _gqrrsResultSet = Nothing- , _gqrrsResponseStatus = pResponseStatus_- }----- | A token to be used by the next request if this request is truncated.-gqrrsNextToken :: Lens' GetQueryResultsResponse (Maybe Text)-gqrrsNextToken = lens _gqrrsNextToken (\ s a -> s{_gqrrsNextToken = a})---- | The results of the query execution.-gqrrsResultSet :: Lens' GetQueryResultsResponse (Maybe ResultSet)-gqrrsResultSet = lens _gqrrsResultSet (\ s a -> s{_gqrrsResultSet = a})---- | -- | The response status code.-gqrrsResponseStatus :: Lens' GetQueryResultsResponse Int-gqrrsResponseStatus = lens _gqrrsResponseStatus (\ s a -> s{_gqrrsResponseStatus = a})--instance NFData GetQueryResultsResponse where
− gen/Network/AWS/Athena/ListNamedQueries.hs
@@ -1,165 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.ListNamedQueries--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Provides a list of all available query IDs.--------- For code samples using the AWS SDK for Java, see <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples> in the /Amazon Athena User Guide/ .--------- This operation returns paginated results.-module Network.AWS.Athena.ListNamedQueries- (- -- * Creating a Request- listNamedQueries- , ListNamedQueries- -- * Request Lenses- , lnqNextToken- , lnqMaxResults-- -- * Destructuring the Response- , listNamedQueriesResponse- , ListNamedQueriesResponse- -- * Response Lenses- , lnqrsNextToken- , lnqrsNamedQueryIds- , lnqrsResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listNamedQueries' smart constructor.-data ListNamedQueries = ListNamedQueries'- { _lnqNextToken :: !(Maybe Text)- , _lnqMaxResults :: !(Maybe Nat)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListNamedQueries' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lnqNextToken' - The token that specifies where to start pagination if a previous request was truncated.------ * 'lnqMaxResults' - The maximum number of queries to return in this request.-listNamedQueries- :: ListNamedQueries-listNamedQueries =- ListNamedQueries' {_lnqNextToken = Nothing, _lnqMaxResults = Nothing}----- | The token that specifies where to start pagination if a previous request was truncated.-lnqNextToken :: Lens' ListNamedQueries (Maybe Text)-lnqNextToken = lens _lnqNextToken (\ s a -> s{_lnqNextToken = a})---- | The maximum number of queries to return in this request.-lnqMaxResults :: Lens' ListNamedQueries (Maybe Natural)-lnqMaxResults = lens _lnqMaxResults (\ s a -> s{_lnqMaxResults = a}) . mapping _Nat--instance AWSPager ListNamedQueries where- page rq rs- | stop (rs ^. lnqrsNextToken) = Nothing- | stop (rs ^. lnqrsNamedQueryIds) = Nothing- | otherwise =- Just $ rq & lnqNextToken .~ rs ^. lnqrsNextToken--instance AWSRequest ListNamedQueries where- type Rs ListNamedQueries = ListNamedQueriesResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- ListNamedQueriesResponse' <$>- (x .?> "NextToken") <*> (x .?> "NamedQueryIds") <*>- (pure (fromEnum s)))--instance Hashable ListNamedQueries where--instance NFData ListNamedQueries where--instance ToHeaders ListNamedQueries where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.ListNamedQueries" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListNamedQueries where- toJSON ListNamedQueries'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lnqNextToken,- ("MaxResults" .=) <$> _lnqMaxResults])--instance ToPath ListNamedQueries where- toPath = const "/"--instance ToQuery ListNamedQueries where- toQuery = const mempty---- | /See:/ 'listNamedQueriesResponse' smart constructor.-data ListNamedQueriesResponse = ListNamedQueriesResponse'- { _lnqrsNextToken :: !(Maybe Text)- , _lnqrsNamedQueryIds :: !(Maybe (List1 Text))- , _lnqrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListNamedQueriesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lnqrsNextToken' - A token to be used by the next request if this request is truncated.------ * 'lnqrsNamedQueryIds' - The list of unique query IDs.------ * 'lnqrsResponseStatus' - -- | The response status code.-listNamedQueriesResponse- :: Int -- ^ 'lnqrsResponseStatus'- -> ListNamedQueriesResponse-listNamedQueriesResponse pResponseStatus_ =- ListNamedQueriesResponse'- { _lnqrsNextToken = Nothing- , _lnqrsNamedQueryIds = Nothing- , _lnqrsResponseStatus = pResponseStatus_- }----- | A token to be used by the next request if this request is truncated.-lnqrsNextToken :: Lens' ListNamedQueriesResponse (Maybe Text)-lnqrsNextToken = lens _lnqrsNextToken (\ s a -> s{_lnqrsNextToken = a})---- | The list of unique query IDs.-lnqrsNamedQueryIds :: Lens' ListNamedQueriesResponse (Maybe (NonEmpty Text))-lnqrsNamedQueryIds = lens _lnqrsNamedQueryIds (\ s a -> s{_lnqrsNamedQueryIds = a}) . mapping _List1---- | -- | The response status code.-lnqrsResponseStatus :: Lens' ListNamedQueriesResponse Int-lnqrsResponseStatus = lens _lnqrsResponseStatus (\ s a -> s{_lnqrsResponseStatus = a})--instance NFData ListNamedQueriesResponse where
− gen/Network/AWS/Athena/ListQueryExecutions.hs
@@ -1,166 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.ListQueryExecutions--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Provides a list of all available query execution IDs.--------- For code samples using the AWS SDK for Java, see <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples> in the /Amazon Athena User Guide/ .--------- This operation returns paginated results.-module Network.AWS.Athena.ListQueryExecutions- (- -- * Creating a Request- listQueryExecutions- , ListQueryExecutions- -- * Request Lenses- , lqeNextToken- , lqeMaxResults-- -- * Destructuring the Response- , listQueryExecutionsResponse- , ListQueryExecutionsResponse- -- * Response Lenses- , lqersQueryExecutionIds- , lqersNextToken- , lqersResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listQueryExecutions' smart constructor.-data ListQueryExecutions = ListQueryExecutions'- { _lqeNextToken :: !(Maybe Text)- , _lqeMaxResults :: !(Maybe Nat)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListQueryExecutions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lqeNextToken' - The token that specifies where to start pagination if a previous request was truncated.------ * 'lqeMaxResults' - The maximum number of query executions to return in this request.-listQueryExecutions- :: ListQueryExecutions-listQueryExecutions =- ListQueryExecutions' {_lqeNextToken = Nothing, _lqeMaxResults = Nothing}----- | The token that specifies where to start pagination if a previous request was truncated.-lqeNextToken :: Lens' ListQueryExecutions (Maybe Text)-lqeNextToken = lens _lqeNextToken (\ s a -> s{_lqeNextToken = a})---- | The maximum number of query executions to return in this request.-lqeMaxResults :: Lens' ListQueryExecutions (Maybe Natural)-lqeMaxResults = lens _lqeMaxResults (\ s a -> s{_lqeMaxResults = a}) . mapping _Nat--instance AWSPager ListQueryExecutions where- page rq rs- | stop (rs ^. lqersNextToken) = Nothing- | stop (rs ^. lqersQueryExecutionIds) = Nothing- | otherwise =- Just $ rq & lqeNextToken .~ rs ^. lqersNextToken--instance AWSRequest ListQueryExecutions where- type Rs ListQueryExecutions =- ListQueryExecutionsResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- ListQueryExecutionsResponse' <$>- (x .?> "QueryExecutionIds") <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListQueryExecutions where--instance NFData ListQueryExecutions where--instance ToHeaders ListQueryExecutions where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.ListQueryExecutions" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListQueryExecutions where- toJSON ListQueryExecutions'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lqeNextToken,- ("MaxResults" .=) <$> _lqeMaxResults])--instance ToPath ListQueryExecutions where- toPath = const "/"--instance ToQuery ListQueryExecutions where- toQuery = const mempty---- | /See:/ 'listQueryExecutionsResponse' smart constructor.-data ListQueryExecutionsResponse = ListQueryExecutionsResponse'- { _lqersQueryExecutionIds :: !(Maybe (List1 Text))- , _lqersNextToken :: !(Maybe Text)- , _lqersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListQueryExecutionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lqersQueryExecutionIds' - The unique IDs of each query execution as an array of strings.------ * 'lqersNextToken' - A token to be used by the next request if this request is truncated.------ * 'lqersResponseStatus' - -- | The response status code.-listQueryExecutionsResponse- :: Int -- ^ 'lqersResponseStatus'- -> ListQueryExecutionsResponse-listQueryExecutionsResponse pResponseStatus_ =- ListQueryExecutionsResponse'- { _lqersQueryExecutionIds = Nothing- , _lqersNextToken = Nothing- , _lqersResponseStatus = pResponseStatus_- }----- | The unique IDs of each query execution as an array of strings.-lqersQueryExecutionIds :: Lens' ListQueryExecutionsResponse (Maybe (NonEmpty Text))-lqersQueryExecutionIds = lens _lqersQueryExecutionIds (\ s a -> s{_lqersQueryExecutionIds = a}) . mapping _List1---- | A token to be used by the next request if this request is truncated.-lqersNextToken :: Lens' ListQueryExecutionsResponse (Maybe Text)-lqersNextToken = lens _lqersNextToken (\ s a -> s{_lqersNextToken = a})---- | -- | The response status code.-lqersResponseStatus :: Lens' ListQueryExecutionsResponse Int-lqersResponseStatus = lens _lqersResponseStatus (\ s a -> s{_lqersResponseStatus = a})--instance NFData ListQueryExecutionsResponse where
− gen/Network/AWS/Athena/StartQueryExecution.hs
@@ -1,171 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.StartQueryExecution--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Runs (executes) the SQL query statements contained in the @Query@ string.--------- For code samples using the AWS SDK for Java, see <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples> in the /Amazon Athena User Guide/ .----module Network.AWS.Athena.StartQueryExecution- (- -- * Creating a Request- startQueryExecution- , StartQueryExecution- -- * Request Lenses- , sqeQueryExecutionContext- , sqeClientRequestToken- , sqeQueryString- , sqeResultConfiguration-- -- * Destructuring the Response- , startQueryExecutionResponse- , StartQueryExecutionResponse- -- * Response Lenses- , sqersQueryExecutionId- , sqersResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'startQueryExecution' smart constructor.-data StartQueryExecution = StartQueryExecution'- { _sqeQueryExecutionContext :: !(Maybe QueryExecutionContext)- , _sqeClientRequestToken :: !(Maybe Text)- , _sqeQueryString :: !Text- , _sqeResultConfiguration :: !ResultConfiguration- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StartQueryExecution' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sqeQueryExecutionContext' - The database within which the query executes.------ * 'sqeClientRequestToken' - A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another @StartQueryExecution@ request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the @QueryString@ , an error is returned. /Important:/ This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.------ * 'sqeQueryString' - The SQL query statements to be executed.------ * 'sqeResultConfiguration' - Specifies information about where and how to save the results of the query execution.-startQueryExecution- :: Text -- ^ 'sqeQueryString'- -> ResultConfiguration -- ^ 'sqeResultConfiguration'- -> StartQueryExecution-startQueryExecution pQueryString_ pResultConfiguration_ =- StartQueryExecution'- { _sqeQueryExecutionContext = Nothing- , _sqeClientRequestToken = Nothing- , _sqeQueryString = pQueryString_- , _sqeResultConfiguration = pResultConfiguration_- }----- | The database within which the query executes.-sqeQueryExecutionContext :: Lens' StartQueryExecution (Maybe QueryExecutionContext)-sqeQueryExecutionContext = lens _sqeQueryExecutionContext (\ s a -> s{_sqeQueryExecutionContext = a})---- | A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another @StartQueryExecution@ request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the @QueryString@ , an error is returned. /Important:/ This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.-sqeClientRequestToken :: Lens' StartQueryExecution (Maybe Text)-sqeClientRequestToken = lens _sqeClientRequestToken (\ s a -> s{_sqeClientRequestToken = a})---- | The SQL query statements to be executed.-sqeQueryString :: Lens' StartQueryExecution Text-sqeQueryString = lens _sqeQueryString (\ s a -> s{_sqeQueryString = a})---- | Specifies information about where and how to save the results of the query execution.-sqeResultConfiguration :: Lens' StartQueryExecution ResultConfiguration-sqeResultConfiguration = lens _sqeResultConfiguration (\ s a -> s{_sqeResultConfiguration = a})--instance AWSRequest StartQueryExecution where- type Rs StartQueryExecution =- StartQueryExecutionResponse- request = postJSON athena- response- = receiveJSON- (\ s h x ->- StartQueryExecutionResponse' <$>- (x .?> "QueryExecutionId") <*> (pure (fromEnum s)))--instance Hashable StartQueryExecution where--instance NFData StartQueryExecution where--instance ToHeaders StartQueryExecution where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.StartQueryExecution" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON StartQueryExecution where- toJSON StartQueryExecution'{..}- = object- (catMaybes- [("QueryExecutionContext" .=) <$>- _sqeQueryExecutionContext,- ("ClientRequestToken" .=) <$> _sqeClientRequestToken,- Just ("QueryString" .= _sqeQueryString),- Just- ("ResultConfiguration" .= _sqeResultConfiguration)])--instance ToPath StartQueryExecution where- toPath = const "/"--instance ToQuery StartQueryExecution where- toQuery = const mempty---- | /See:/ 'startQueryExecutionResponse' smart constructor.-data StartQueryExecutionResponse = StartQueryExecutionResponse'- { _sqersQueryExecutionId :: !(Maybe Text)- , _sqersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StartQueryExecutionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sqersQueryExecutionId' - The unique ID of the query that ran as a result of this request.------ * 'sqersResponseStatus' - -- | The response status code.-startQueryExecutionResponse- :: Int -- ^ 'sqersResponseStatus'- -> StartQueryExecutionResponse-startQueryExecutionResponse pResponseStatus_ =- StartQueryExecutionResponse'- {_sqersQueryExecutionId = Nothing, _sqersResponseStatus = pResponseStatus_}----- | The unique ID of the query that ran as a result of this request.-sqersQueryExecutionId :: Lens' StartQueryExecutionResponse (Maybe Text)-sqersQueryExecutionId = lens _sqersQueryExecutionId (\ s a -> s{_sqersQueryExecutionId = a})---- | -- | The response status code.-sqersResponseStatus :: Lens' StartQueryExecutionResponse Int-sqersResponseStatus = lens _sqersResponseStatus (\ s a -> s{_sqersResponseStatus = a})--instance NFData StartQueryExecutionResponse where
− gen/Network/AWS/Athena/StopQueryExecution.hs
@@ -1,126 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.StopQueryExecution--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Stops a query execution.--------- For code samples using the AWS SDK for Java, see <http://docs.aws.amazon.com/athena/latest/ug/code-samples.html Examples and Code Samples> in the /Amazon Athena User Guide/ .----module Network.AWS.Athena.StopQueryExecution- (- -- * Creating a Request- stopQueryExecution- , StopQueryExecution- -- * Request Lenses- , sqeQueryExecutionId-- -- * Destructuring the Response- , stopQueryExecutionResponse- , StopQueryExecutionResponse- -- * Response Lenses- , srsResponseStatus- ) where--import Network.AWS.Athena.Types-import Network.AWS.Athena.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'stopQueryExecution' smart constructor.-newtype StopQueryExecution = StopQueryExecution'- { _sqeQueryExecutionId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StopQueryExecution' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sqeQueryExecutionId' - The unique ID of the query execution to stop.-stopQueryExecution- :: Text -- ^ 'sqeQueryExecutionId'- -> StopQueryExecution-stopQueryExecution pQueryExecutionId_ =- StopQueryExecution' {_sqeQueryExecutionId = pQueryExecutionId_}----- | The unique ID of the query execution to stop.-sqeQueryExecutionId :: Lens' StopQueryExecution Text-sqeQueryExecutionId = lens _sqeQueryExecutionId (\ s a -> s{_sqeQueryExecutionId = a})--instance AWSRequest StopQueryExecution where- type Rs StopQueryExecution =- StopQueryExecutionResponse- request = postJSON athena- response- = receiveEmpty- (\ s h x ->- StopQueryExecutionResponse' <$> (pure (fromEnum s)))--instance Hashable StopQueryExecution where--instance NFData StopQueryExecution where--instance ToHeaders StopQueryExecution where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonAthena.StopQueryExecution" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON StopQueryExecution where- toJSON StopQueryExecution'{..}- = object- (catMaybes- [Just ("QueryExecutionId" .= _sqeQueryExecutionId)])--instance ToPath StopQueryExecution where- toPath = const "/"--instance ToQuery StopQueryExecution where- toQuery = const mempty---- | /See:/ 'stopQueryExecutionResponse' smart constructor.-newtype StopQueryExecutionResponse = StopQueryExecutionResponse'- { _srsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StopQueryExecutionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'srsResponseStatus' - -- | The response status code.-stopQueryExecutionResponse- :: Int -- ^ 'srsResponseStatus'- -> StopQueryExecutionResponse-stopQueryExecutionResponse pResponseStatus_ =- StopQueryExecutionResponse' {_srsResponseStatus = pResponseStatus_}----- | -- | The response status code.-srsResponseStatus :: Lens' StopQueryExecutionResponse Int-srsResponseStatus = lens _srsResponseStatus (\ s a -> s{_srsResponseStatus = a})--instance NFData StopQueryExecutionResponse where
− gen/Network/AWS/Athena/Types.hs
@@ -1,196 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.Types--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Athena.Types- (- -- * Service Configuration- athena-- -- * Errors- , _InvalidRequestException- , _TooManyRequestsException- , _InternalServerException-- -- * ColumnNullable- , ColumnNullable (..)-- -- * EncryptionOption- , EncryptionOption (..)-- -- * QueryExecutionState- , QueryExecutionState (..)-- -- * ColumnInfo- , ColumnInfo- , columnInfo- , ciScale- , ciPrecision- , ciSchemaName- , ciCatalogName- , ciCaseSensitive- , ciLabel- , ciTableName- , ciNullable- , ciName- , ciType-- -- * Datum- , Datum- , datum- , dVarCharValue-- -- * EncryptionConfiguration- , EncryptionConfiguration- , encryptionConfiguration- , ecKMSKey- , ecEncryptionOption-- -- * NamedQuery- , NamedQuery- , namedQuery- , nqNamedQueryId- , nqDescription- , nqName- , nqDatabase- , nqQueryString-- -- * QueryExecution- , QueryExecution- , queryExecution- , qeStatus- , qeQueryExecutionContext- , qeResultConfiguration- , qeQuery- , qeStatistics- , qeQueryExecutionId-- -- * QueryExecutionContext- , QueryExecutionContext- , queryExecutionContext- , qecDatabase-- -- * QueryExecutionStatistics- , QueryExecutionStatistics- , queryExecutionStatistics- , qesEngineExecutionTimeInMillis- , qesDataScannedInBytes-- -- * QueryExecutionStatus- , QueryExecutionStatus- , queryExecutionStatus- , qesState- , qesStateChangeReason- , qesSubmissionDateTime- , qesCompletionDateTime-- -- * ResultConfiguration- , ResultConfiguration- , resultConfiguration- , rcEncryptionConfiguration- , rcOutputLocation-- -- * ResultSet- , ResultSet- , resultSet- , rsRows- , rsResultSetMetadata-- -- * ResultSetMetadata- , ResultSetMetadata- , resultSetMetadata- , rsmColumnInfo-- -- * Row- , Row- , row- , rowData-- -- * UnprocessedNamedQueryId- , UnprocessedNamedQueryId- , unprocessedNamedQueryId- , unqiNamedQueryId- , unqiErrorCode- , unqiErrorMessage-- -- * UnprocessedQueryExecutionId- , UnprocessedQueryExecutionId- , unprocessedQueryExecutionId- , uqeiErrorCode- , uqeiQueryExecutionId- , uqeiErrorMessage- ) where--import Network.AWS.Athena.Types.Product-import Network.AWS.Athena.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2017-05-18@ of the Amazon Athena SDK configuration.-athena :: Service-athena =- Service- { _svcAbbrev = "Athena"- , _svcSigner = v4- , _svcPrefix = "athena"- , _svcVersion = "2017-05-18"- , _svcEndpoint = defaultEndpoint athena- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "Athena"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.-------_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidRequestException = _MatchServiceError athena "InvalidRequestException"----- | Indicates that the request was throttled.-------_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError-_TooManyRequestsException = _MatchServiceError athena "TooManyRequestsException"----- | Indicates a platform issue, which may be due to a transient condition or outage.-------_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalServerException = _MatchServiceError athena "InternalServerException"-
− gen/Network/AWS/Athena/Types/Product.hs
@@ -1,810 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.Types.Product--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Athena.Types.Product where--import Network.AWS.Athena.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | Information about the columns in a query execution result.------------ /See:/ 'columnInfo' smart constructor.-data ColumnInfo = ColumnInfo'- { _ciScale :: !(Maybe Int)- , _ciPrecision :: !(Maybe Int)- , _ciSchemaName :: !(Maybe Text)- , _ciCatalogName :: !(Maybe Text)- , _ciCaseSensitive :: !(Maybe Bool)- , _ciLabel :: !(Maybe Text)- , _ciTableName :: !(Maybe Text)- , _ciNullable :: !(Maybe ColumnNullable)- , _ciName :: !Text- , _ciType :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-columnInfo- :: Text -- ^ 'ciName'- -> Text -- ^ 'ciType'- -> ColumnInfo-columnInfo pName_ pType_ =- ColumnInfo'- { _ciScale = Nothing- , _ciPrecision = Nothing- , _ciSchemaName = Nothing- , _ciCatalogName = Nothing- , _ciCaseSensitive = Nothing- , _ciLabel = Nothing- , _ciTableName = Nothing- , _ciNullable = Nothing- , _ciName = pName_- , _ciType = pType_- }----- | For @DECIMAL@ data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.-ciScale :: Lens' ColumnInfo (Maybe Int)-ciScale = lens _ciScale (\ s a -> s{_ciScale = a})---- | For @DECIMAL@ data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.-ciPrecision :: Lens' ColumnInfo (Maybe Int)-ciPrecision = lens _ciPrecision (\ s a -> s{_ciPrecision = a})---- | The schema name (database name) to which the query results belong.-ciSchemaName :: Lens' ColumnInfo (Maybe Text)-ciSchemaName = lens _ciSchemaName (\ s a -> s{_ciSchemaName = a})---- | The catalog to which the query results belong.-ciCatalogName :: Lens' ColumnInfo (Maybe Text)-ciCatalogName = lens _ciCatalogName (\ s a -> s{_ciCatalogName = a})---- | Indicates whether values in the column are case-sensitive.-ciCaseSensitive :: Lens' ColumnInfo (Maybe Bool)-ciCaseSensitive = lens _ciCaseSensitive (\ s a -> s{_ciCaseSensitive = a})---- | A column label.-ciLabel :: Lens' ColumnInfo (Maybe Text)-ciLabel = lens _ciLabel (\ s a -> s{_ciLabel = a})---- | The table name for the query results.-ciTableName :: Lens' ColumnInfo (Maybe Text)-ciTableName = lens _ciTableName (\ s a -> s{_ciTableName = a})---- | Indicates the column's nullable status.-ciNullable :: Lens' ColumnInfo (Maybe ColumnNullable)-ciNullable = lens _ciNullable (\ s a -> s{_ciNullable = a})---- | The name of the column.-ciName :: Lens' ColumnInfo Text-ciName = lens _ciName (\ s a -> s{_ciName = a})---- | The data type of the column.-ciType :: Lens' ColumnInfo Text-ciType = lens _ciType (\ s a -> s{_ciType = a})--instance FromJSON ColumnInfo where- parseJSON- = withObject "ColumnInfo"- (\ x ->- ColumnInfo' <$>- (x .:? "Scale") <*> (x .:? "Precision") <*>- (x .:? "SchemaName")- <*> (x .:? "CatalogName")- <*> (x .:? "CaseSensitive")- <*> (x .:? "Label")- <*> (x .:? "TableName")- <*> (x .:? "Nullable")- <*> (x .: "Name")- <*> (x .: "Type"))--instance Hashable ColumnInfo where--instance NFData ColumnInfo where---- | A piece of data (a field in the table).------------ /See:/ 'datum' smart constructor.-newtype Datum = Datum'- { _dVarCharValue :: Maybe Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The value of the datum.-datum- :: Datum-datum = Datum' {_dVarCharValue = Nothing}----- | The value of the datum.-dVarCharValue :: Lens' Datum (Maybe Text)-dVarCharValue = lens _dVarCharValue (\ s a -> s{_dVarCharValue = a})--instance FromJSON Datum where- parseJSON- = withObject "Datum"- (\ x -> Datum' <$> (x .:? "VarCharValue"))--instance Hashable Datum where--instance NFData Datum where---- | If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption option used.------------ /See:/ 'encryptionConfiguration' smart constructor.-data EncryptionConfiguration = EncryptionConfiguration'- { _ecKMSKey :: !(Maybe Text)- , _ecEncryptionOption :: !EncryptionOption- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-encryptionConfiguration- :: EncryptionOption -- ^ 'ecEncryptionOption'- -> EncryptionConfiguration-encryptionConfiguration pEncryptionOption_ =- EncryptionConfiguration'- {_ecKMSKey = Nothing, _ecEncryptionOption = pEncryptionOption_}----- | For @SSE-KMS@ and @CSE-KMS@ , this is the KMS key ARN or ID.-ecKMSKey :: Lens' EncryptionConfiguration (Maybe Text)-ecKMSKey = lens _ecKMSKey (\ s a -> s{_ecKMSKey = a})---- | 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.-ecEncryptionOption :: Lens' EncryptionConfiguration EncryptionOption-ecEncryptionOption = lens _ecEncryptionOption (\ s a -> s{_ecEncryptionOption = a})--instance FromJSON EncryptionConfiguration where- parseJSON- = withObject "EncryptionConfiguration"- (\ x ->- EncryptionConfiguration' <$>- (x .:? "KmsKey") <*> (x .: "EncryptionOption"))--instance Hashable EncryptionConfiguration where--instance NFData EncryptionConfiguration where--instance ToJSON EncryptionConfiguration where- toJSON EncryptionConfiguration'{..}- = object- (catMaybes- [("KmsKey" .=) <$> _ecKMSKey,- Just ("EncryptionOption" .= _ecEncryptionOption)])---- | A query, where @QueryString@ is the SQL query statements that comprise the query.------------ /See:/ 'namedQuery' smart constructor.-data NamedQuery = NamedQuery'- { _nqNamedQueryId :: !(Maybe Text)- , _nqDescription :: !(Maybe Text)- , _nqName :: !Text- , _nqDatabase :: !Text- , _nqQueryString :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The unique identifier of the query.------ * 'nqDescription' - A brief description of the query.------ * 'nqName' - The plain-language name of the query.------ * 'nqDatabase' - The database to which the query belongs.------ * 'nqQueryString' - The SQL query statements that comprise the query.-namedQuery- :: Text -- ^ 'nqName'- -> Text -- ^ 'nqDatabase'- -> Text -- ^ 'nqQueryString'- -> NamedQuery-namedQuery pName_ pDatabase_ pQueryString_ =- NamedQuery'- { _nqNamedQueryId = Nothing- , _nqDescription = Nothing- , _nqName = pName_- , _nqDatabase = pDatabase_- , _nqQueryString = pQueryString_- }----- | The unique identifier of the query.-nqNamedQueryId :: Lens' NamedQuery (Maybe Text)-nqNamedQueryId = lens _nqNamedQueryId (\ s a -> s{_nqNamedQueryId = a})---- | A brief description of the query.-nqDescription :: Lens' NamedQuery (Maybe Text)-nqDescription = lens _nqDescription (\ s a -> s{_nqDescription = a})---- | The plain-language name of the query.-nqName :: Lens' NamedQuery Text-nqName = lens _nqName (\ s a -> s{_nqName = a})---- | The database to which the query belongs.-nqDatabase :: Lens' NamedQuery Text-nqDatabase = lens _nqDatabase (\ s a -> s{_nqDatabase = a})---- | The SQL query statements that comprise the query.-nqQueryString :: Lens' NamedQuery Text-nqQueryString = lens _nqQueryString (\ s a -> s{_nqQueryString = a})--instance FromJSON NamedQuery where- parseJSON- = withObject "NamedQuery"- (\ x ->- NamedQuery' <$>- (x .:? "NamedQueryId") <*> (x .:? "Description") <*>- (x .: "Name")- <*> (x .: "Database")- <*> (x .: "QueryString"))--instance Hashable NamedQuery where--instance NFData NamedQuery where---- | Information about a single instance of a query execution.------------ /See:/ 'queryExecution' smart constructor.-data QueryExecution = QueryExecution'- { _qeStatus :: !(Maybe QueryExecutionStatus)- , _qeQueryExecutionContext :: !(Maybe QueryExecutionContext)- , _qeResultConfiguration :: !(Maybe ResultConfiguration)- , _qeQuery :: !(Maybe Text)- , _qeStatistics :: !(Maybe QueryExecutionStatistics)- , _qeQueryExecutionId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-queryExecution- :: QueryExecution-queryExecution =- QueryExecution'- { _qeStatus = Nothing- , _qeQueryExecutionContext = Nothing- , _qeResultConfiguration = Nothing- , _qeQuery = Nothing- , _qeStatistics = Nothing- , _qeQueryExecutionId = Nothing- }----- | The completion date, current state, submission time, and state change reason (if applicable) for the query execution.-qeStatus :: Lens' QueryExecution (Maybe QueryExecutionStatus)-qeStatus = lens _qeStatus (\ s a -> s{_qeStatus = a})---- | The database in which the query execution occurred.-qeQueryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext)-qeQueryExecutionContext = lens _qeQueryExecutionContext (\ s a -> s{_qeQueryExecutionContext = a})---- | The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.-qeResultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration)-qeResultConfiguration = lens _qeResultConfiguration (\ s a -> s{_qeResultConfiguration = a})---- | The SQL query statements which the query execution ran.-qeQuery :: Lens' QueryExecution (Maybe Text)-qeQuery = lens _qeQuery (\ s a -> s{_qeQuery = a})---- | The amount of data scanned during the query execution and the amount of time that it took to execute.-qeStatistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics)-qeStatistics = lens _qeStatistics (\ s a -> s{_qeStatistics = a})---- | The unique identifier for each query execution.-qeQueryExecutionId :: Lens' QueryExecution (Maybe Text)-qeQueryExecutionId = lens _qeQueryExecutionId (\ s a -> s{_qeQueryExecutionId = a})--instance FromJSON QueryExecution where- parseJSON- = withObject "QueryExecution"- (\ x ->- QueryExecution' <$>- (x .:? "Status") <*> (x .:? "QueryExecutionContext")- <*> (x .:? "ResultConfiguration")- <*> (x .:? "Query")- <*> (x .:? "Statistics")- <*> (x .:? "QueryExecutionId"))--instance Hashable QueryExecution where--instance NFData QueryExecution where---- | The database in which the query execution occurs.------------ /See:/ 'queryExecutionContext' smart constructor.-newtype QueryExecutionContext = QueryExecutionContext'- { _qecDatabase :: Maybe Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The name of the database.-queryExecutionContext- :: QueryExecutionContext-queryExecutionContext = QueryExecutionContext' {_qecDatabase = Nothing}----- | The name of the database.-qecDatabase :: Lens' QueryExecutionContext (Maybe Text)-qecDatabase = lens _qecDatabase (\ s a -> s{_qecDatabase = a})--instance FromJSON QueryExecutionContext where- parseJSON- = withObject "QueryExecutionContext"- (\ x ->- QueryExecutionContext' <$> (x .:? "Database"))--instance Hashable QueryExecutionContext where--instance NFData QueryExecutionContext where--instance ToJSON QueryExecutionContext where- toJSON QueryExecutionContext'{..}- = object- (catMaybes [("Database" .=) <$> _qecDatabase])---- | The amount of data scanned during the query execution and the amount of time that it took to execute.------------ /See:/ 'queryExecutionStatistics' smart constructor.-data QueryExecutionStatistics = QueryExecutionStatistics'- { _qesEngineExecutionTimeInMillis :: !(Maybe Integer)- , _qesDataScannedInBytes :: !(Maybe Integer)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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' - The number of milliseconds that the query took to execute.------ * 'qesDataScannedInBytes' - The number of bytes in the data that was queried.-queryExecutionStatistics- :: QueryExecutionStatistics-queryExecutionStatistics =- QueryExecutionStatistics'- { _qesEngineExecutionTimeInMillis = Nothing- , _qesDataScannedInBytes = Nothing- }----- | The number of milliseconds that the query took to execute.-qesEngineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer)-qesEngineExecutionTimeInMillis = lens _qesEngineExecutionTimeInMillis (\ s a -> s{_qesEngineExecutionTimeInMillis = a})---- | The number of bytes in the data that was queried.-qesDataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer)-qesDataScannedInBytes = lens _qesDataScannedInBytes (\ s a -> s{_qesDataScannedInBytes = a})--instance FromJSON QueryExecutionStatistics where- parseJSON- = withObject "QueryExecutionStatistics"- (\ x ->- QueryExecutionStatistics' <$>- (x .:? "EngineExecutionTimeInMillis") <*>- (x .:? "DataScannedInBytes"))--instance Hashable QueryExecutionStatistics where--instance NFData QueryExecutionStatistics where---- | The completion date, current state, submission time, and state change reason (if applicable) for the query execution.------------ /See:/ 'queryExecutionStatus' smart constructor.-data QueryExecutionStatus = QueryExecutionStatus'- { _qesState :: !(Maybe QueryExecutionState)- , _qesStateChangeReason :: !(Maybe Text)- , _qesSubmissionDateTime :: !(Maybe POSIX)- , _qesCompletionDateTime :: !(Maybe POSIX)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-queryExecutionStatus- :: QueryExecutionStatus-queryExecutionStatus =- QueryExecutionStatus'- { _qesState = Nothing- , _qesStateChangeReason = Nothing- , _qesSubmissionDateTime = Nothing- , _qesCompletionDateTime = Nothing- }----- | 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.-qesState :: Lens' QueryExecutionStatus (Maybe QueryExecutionState)-qesState = lens _qesState (\ s a -> s{_qesState = a})---- | Further detail about the status of the query.-qesStateChangeReason :: Lens' QueryExecutionStatus (Maybe Text)-qesStateChangeReason = lens _qesStateChangeReason (\ s a -> s{_qesStateChangeReason = a})---- | The date and time that the query was submitted.-qesSubmissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)-qesSubmissionDateTime = lens _qesSubmissionDateTime (\ s a -> s{_qesSubmissionDateTime = a}) . mapping _Time---- | The date and time that the query completed.-qesCompletionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)-qesCompletionDateTime = lens _qesCompletionDateTime (\ s a -> s{_qesCompletionDateTime = a}) . mapping _Time--instance FromJSON QueryExecutionStatus where- parseJSON- = withObject "QueryExecutionStatus"- (\ x ->- QueryExecutionStatus' <$>- (x .:? "State") <*> (x .:? "StateChangeReason") <*>- (x .:? "SubmissionDateTime")- <*> (x .:? "CompletionDateTime"))--instance Hashable QueryExecutionStatus where--instance NFData QueryExecutionStatus where---- | The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results.------------ /See:/ 'resultConfiguration' smart constructor.-data ResultConfiguration = ResultConfiguration'- { _rcEncryptionConfiguration :: !(Maybe EncryptionConfiguration)- , _rcOutputLocation :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-resultConfiguration- :: Text -- ^ 'rcOutputLocation'- -> ResultConfiguration-resultConfiguration pOutputLocation_ =- ResultConfiguration'- {_rcEncryptionConfiguration = Nothing, _rcOutputLocation = pOutputLocation_}----- | If query results are encrypted in S3, indicates the S3 encryption option used (for example, @SSE-KMS@ or @CSE-KMS@ and key information.-rcEncryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration)-rcEncryptionConfiguration = lens _rcEncryptionConfiguration (\ s a -> s{_rcEncryptionConfiguration = a})---- | The location in S3 where query results are stored.-rcOutputLocation :: Lens' ResultConfiguration Text-rcOutputLocation = lens _rcOutputLocation (\ s a -> s{_rcOutputLocation = a})--instance FromJSON ResultConfiguration where- parseJSON- = withObject "ResultConfiguration"- (\ x ->- ResultConfiguration' <$>- (x .:? "EncryptionConfiguration") <*>- (x .: "OutputLocation"))--instance Hashable ResultConfiguration where--instance NFData ResultConfiguration where--instance ToJSON ResultConfiguration where- toJSON ResultConfiguration'{..}- = object- (catMaybes- [("EncryptionConfiguration" .=) <$>- _rcEncryptionConfiguration,- Just ("OutputLocation" .= _rcOutputLocation)])---- | The metadata and rows that comprise a query result set. The metadata describes the column structure and data types.------------ /See:/ 'resultSet' smart constructor.-data ResultSet = ResultSet'- { _rsRows :: !(Maybe [Row])- , _rsResultSetMetadata :: !(Maybe ResultSetMetadata)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-resultSet- :: ResultSet-resultSet = ResultSet' {_rsRows = Nothing, _rsResultSetMetadata = Nothing}----- | The rows in the table.-rsRows :: Lens' ResultSet [Row]-rsRows = lens _rsRows (\ s a -> s{_rsRows = a}) . _Default . _Coerce---- | The metadata that describes the column structure and data types of a table of query results.-rsResultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata)-rsResultSetMetadata = lens _rsResultSetMetadata (\ s a -> s{_rsResultSetMetadata = a})--instance FromJSON ResultSet where- parseJSON- = withObject "ResultSet"- (\ x ->- ResultSet' <$>- (x .:? "Rows" .!= mempty) <*>- (x .:? "ResultSetMetadata"))--instance Hashable ResultSet where--instance NFData ResultSet where---- | The metadata that describes the column structure and data types of a table of query results.------------ /See:/ 'resultSetMetadata' smart constructor.-newtype ResultSetMetadata = ResultSetMetadata'- { _rsmColumnInfo :: Maybe [ColumnInfo]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-resultSetMetadata- :: ResultSetMetadata-resultSetMetadata = ResultSetMetadata' {_rsmColumnInfo = Nothing}----- | Information about the columns in a query execution result.-rsmColumnInfo :: Lens' ResultSetMetadata [ColumnInfo]-rsmColumnInfo = lens _rsmColumnInfo (\ s a -> s{_rsmColumnInfo = a}) . _Default . _Coerce--instance FromJSON ResultSetMetadata where- parseJSON- = withObject "ResultSetMetadata"- (\ x ->- ResultSetMetadata' <$>- (x .:? "ColumnInfo" .!= mempty))--instance Hashable ResultSetMetadata where--instance NFData ResultSetMetadata where---- | The rows that comprise a query result table.------------ /See:/ 'row' smart constructor.-newtype Row = Row'- { _rowData :: Maybe [Datum]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-row- :: Row-row = Row' {_rowData = Nothing}----- | The data that populates a row in a query result table.-rowData :: Lens' Row [Datum]-rowData = lens _rowData (\ s a -> s{_rowData = a}) . _Default . _Coerce--instance FromJSON Row where- parseJSON- = withObject "Row"- (\ x -> Row' <$> (x .:? "Data" .!= mempty))--instance Hashable Row where--instance NFData Row where---- | Information about a named query ID that could not be processed.------------ /See:/ 'unprocessedNamedQueryId' smart constructor.-data UnprocessedNamedQueryId = UnprocessedNamedQueryId'- { _unqiNamedQueryId :: !(Maybe Text)- , _unqiErrorCode :: !(Maybe Text)- , _unqiErrorMessage :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-unprocessedNamedQueryId- :: UnprocessedNamedQueryId-unprocessedNamedQueryId =- UnprocessedNamedQueryId'- { _unqiNamedQueryId = Nothing- , _unqiErrorCode = Nothing- , _unqiErrorMessage = Nothing- }----- | The unique identifier of the named query.-unqiNamedQueryId :: Lens' UnprocessedNamedQueryId (Maybe Text)-unqiNamedQueryId = lens _unqiNamedQueryId (\ s a -> s{_unqiNamedQueryId = a})---- | The error code returned when the processing request for the named query failed, if applicable.-unqiErrorCode :: Lens' UnprocessedNamedQueryId (Maybe Text)-unqiErrorCode = lens _unqiErrorCode (\ s a -> s{_unqiErrorCode = a})---- | The error message returned when the processing request for the named query failed, if applicable.-unqiErrorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text)-unqiErrorMessage = lens _unqiErrorMessage (\ s a -> s{_unqiErrorMessage = a})--instance FromJSON UnprocessedNamedQueryId where- parseJSON- = withObject "UnprocessedNamedQueryId"- (\ x ->- UnprocessedNamedQueryId' <$>- (x .:? "NamedQueryId") <*> (x .:? "ErrorCode") <*>- (x .:? "ErrorMessage"))--instance Hashable UnprocessedNamedQueryId where--instance NFData UnprocessedNamedQueryId where---- | Describes a query execution that failed to process.------------ /See:/ 'unprocessedQueryExecutionId' smart constructor.-data UnprocessedQueryExecutionId = UnprocessedQueryExecutionId'- { _uqeiErrorCode :: !(Maybe Text)- , _uqeiQueryExecutionId :: !(Maybe Text)- , _uqeiErrorMessage :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-unprocessedQueryExecutionId- :: UnprocessedQueryExecutionId-unprocessedQueryExecutionId =- UnprocessedQueryExecutionId'- { _uqeiErrorCode = Nothing- , _uqeiQueryExecutionId = Nothing- , _uqeiErrorMessage = Nothing- }----- | The error code returned when the query execution failed to process, if applicable.-uqeiErrorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text)-uqeiErrorCode = lens _uqeiErrorCode (\ s a -> s{_uqeiErrorCode = a})---- | The unique identifier of the query execution.-uqeiQueryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text)-uqeiQueryExecutionId = lens _uqeiQueryExecutionId (\ s a -> s{_uqeiQueryExecutionId = a})---- | The error message returned when the query execution failed to process, if applicable.-uqeiErrorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text)-uqeiErrorMessage = lens _uqeiErrorMessage (\ s a -> s{_uqeiErrorMessage = a})--instance FromJSON UnprocessedQueryExecutionId where- parseJSON- = withObject "UnprocessedQueryExecutionId"- (\ x ->- UnprocessedQueryExecutionId' <$>- (x .:? "ErrorCode") <*> (x .:? "QueryExecutionId")- <*> (x .:? "ErrorMessage"))--instance Hashable UnprocessedQueryExecutionId where--instance NFData UnprocessedQueryExecutionId where
− gen/Network/AWS/Athena/Types/Sum.hs
@@ -1,119 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.Types.Sum--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Athena.Types.Sum where--import Network.AWS.Prelude--data ColumnNullable- = NotNull- | Nullable- | Unknown- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ColumnNullable where- parser = takeLowerText >>= \case- "not_null" -> pure NotNull- "nullable" -> pure Nullable- "unknown" -> pure Unknown- e -> fromTextError $ "Failure parsing ColumnNullable from value: '" <> e- <> "'. Accepted values: not_null, nullable, unknown"--instance ToText ColumnNullable where- toText = \case- NotNull -> "NOT_NULL"- Nullable -> "NULLABLE"- Unknown -> "UNKNOWN"--instance Hashable ColumnNullable-instance NFData ColumnNullable-instance ToByteString ColumnNullable-instance ToQuery ColumnNullable-instance ToHeader ColumnNullable--instance FromJSON ColumnNullable where- parseJSON = parseJSONText "ColumnNullable"--data EncryptionOption- = CseKMS- | SseKMS- | SseS3- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EncryptionOption where- parser = takeLowerText >>= \case- "cse_kms" -> pure CseKMS- "sse_kms" -> pure SseKMS- "sse_s3" -> pure SseS3- e -> fromTextError $ "Failure parsing EncryptionOption from value: '" <> e- <> "'. Accepted values: cse_kms, sse_kms, sse_s3"--instance ToText EncryptionOption where- toText = \case- CseKMS -> "CSE_KMS"- SseKMS -> "SSE_KMS"- SseS3 -> "SSE_S3"--instance Hashable EncryptionOption-instance NFData EncryptionOption-instance ToByteString EncryptionOption-instance ToQuery EncryptionOption-instance ToHeader EncryptionOption--instance ToJSON EncryptionOption where- toJSON = toJSONText--instance FromJSON EncryptionOption where- parseJSON = parseJSONText "EncryptionOption"--data QueryExecutionState- = Cancelled- | Failed- | Queued- | Running- | Succeeded- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText QueryExecutionState where- parser = takeLowerText >>= \case- "cancelled" -> pure Cancelled- "failed" -> pure Failed- "queued" -> pure Queued- "running" -> pure Running- "succeeded" -> pure Succeeded- e -> fromTextError $ "Failure parsing QueryExecutionState from value: '" <> e- <> "'. Accepted values: cancelled, failed, queued, running, succeeded"--instance ToText QueryExecutionState where- toText = \case- Cancelled -> "CANCELLED"- Failed -> "FAILED"- Queued -> "QUEUED"- Running -> "RUNNING"- Succeeded -> "SUCCEEDED"--instance Hashable QueryExecutionState-instance NFData QueryExecutionState-instance ToByteString QueryExecutionState-instance ToQuery QueryExecutionState-instance ToHeader QueryExecutionState--instance FromJSON QueryExecutionState where- parseJSON = parseJSONText "QueryExecutionState"
− gen/Network/AWS/Athena/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Athena.Waiters--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Athena.Waiters where--import Network.AWS.Athena.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.Athena+import Test.Amazonka.Athena.Internal import Test.Tasty-import Test.AWS.Athena-import Test.AWS.Athena.Internal main :: IO ()-main = defaultMain $ testGroup "Athena"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "Athena"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/Athena.hs
@@ -1,20 +0,0 @@--- |--- Module : Test.AWS.Athena--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Athena- ( tests- , fixtures- ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/Athena/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module : Test.AWS.Athena.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Athena.Internal where
− test/Test/AWS/Gen/Athena.hs
@@ -1,237 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.Athena--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.Athena where--import Data.Proxy-import Network.AWS.Athena-import Test.AWS.Athena.Internal-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestGetNamedQuery $--- getNamedQuery------ , requestCreateNamedQuery $--- createNamedQuery------ , requestListNamedQueries $--- listNamedQueries------ , requestDeleteNamedQuery $--- deleteNamedQuery------ , requestStartQueryExecution $--- startQueryExecution------ , requestBatchGetNamedQuery $--- batchGetNamedQuery------ , requestGetQueryExecution $--- getQueryExecution------ , requestBatchGetQueryExecution $--- batchGetQueryExecution------ , requestStopQueryExecution $--- stopQueryExecution------ , requestGetQueryResults $--- getQueryResults------ , requestListQueryExecutions $--- listQueryExecutions------ ]---- , testGroup "response"--- [ responseGetNamedQuery $--- getNamedQueryResponse------ , responseCreateNamedQuery $--- createNamedQueryResponse------ , responseListNamedQueries $--- listNamedQueriesResponse------ , responseDeleteNamedQuery $--- deleteNamedQueryResponse------ , responseStartQueryExecution $--- startQueryExecutionResponse------ , responseBatchGetNamedQuery $--- batchGetNamedQueryResponse------ , responseGetQueryExecution $--- getQueryExecutionResponse------ , responseBatchGetQueryExecution $--- batchGetQueryExecutionResponse------ , responseStopQueryExecution $--- stopQueryExecutionResponse------ , responseGetQueryResults $--- getQueryResultsResponse------ , responseListQueryExecutions $--- listQueryExecutionsResponse------ ]--- ]---- Requests--requestGetNamedQuery :: GetNamedQuery -> TestTree-requestGetNamedQuery = req- "GetNamedQuery"- "fixture/GetNamedQuery.yaml"--requestCreateNamedQuery :: CreateNamedQuery -> TestTree-requestCreateNamedQuery = req- "CreateNamedQuery"- "fixture/CreateNamedQuery.yaml"--requestListNamedQueries :: ListNamedQueries -> TestTree-requestListNamedQueries = req- "ListNamedQueries"- "fixture/ListNamedQueries.yaml"--requestDeleteNamedQuery :: DeleteNamedQuery -> TestTree-requestDeleteNamedQuery = req- "DeleteNamedQuery"- "fixture/DeleteNamedQuery.yaml"--requestStartQueryExecution :: StartQueryExecution -> TestTree-requestStartQueryExecution = req- "StartQueryExecution"- "fixture/StartQueryExecution.yaml"--requestBatchGetNamedQuery :: BatchGetNamedQuery -> TestTree-requestBatchGetNamedQuery = req- "BatchGetNamedQuery"- "fixture/BatchGetNamedQuery.yaml"--requestGetQueryExecution :: GetQueryExecution -> TestTree-requestGetQueryExecution = req- "GetQueryExecution"- "fixture/GetQueryExecution.yaml"--requestBatchGetQueryExecution :: BatchGetQueryExecution -> TestTree-requestBatchGetQueryExecution = req- "BatchGetQueryExecution"- "fixture/BatchGetQueryExecution.yaml"--requestStopQueryExecution :: StopQueryExecution -> TestTree-requestStopQueryExecution = req- "StopQueryExecution"- "fixture/StopQueryExecution.yaml"--requestGetQueryResults :: GetQueryResults -> TestTree-requestGetQueryResults = req- "GetQueryResults"- "fixture/GetQueryResults.yaml"--requestListQueryExecutions :: ListQueryExecutions -> TestTree-requestListQueryExecutions = req- "ListQueryExecutions"- "fixture/ListQueryExecutions.yaml"---- Responses--responseGetNamedQuery :: GetNamedQueryResponse -> TestTree-responseGetNamedQuery = res- "GetNamedQueryResponse"- "fixture/GetNamedQueryResponse.proto"- athena- (Proxy :: Proxy GetNamedQuery)--responseCreateNamedQuery :: CreateNamedQueryResponse -> TestTree-responseCreateNamedQuery = res- "CreateNamedQueryResponse"- "fixture/CreateNamedQueryResponse.proto"- athena- (Proxy :: Proxy CreateNamedQuery)--responseListNamedQueries :: ListNamedQueriesResponse -> TestTree-responseListNamedQueries = res- "ListNamedQueriesResponse"- "fixture/ListNamedQueriesResponse.proto"- athena- (Proxy :: Proxy ListNamedQueries)--responseDeleteNamedQuery :: DeleteNamedQueryResponse -> TestTree-responseDeleteNamedQuery = res- "DeleteNamedQueryResponse"- "fixture/DeleteNamedQueryResponse.proto"- athena- (Proxy :: Proxy DeleteNamedQuery)--responseStartQueryExecution :: StartQueryExecutionResponse -> TestTree-responseStartQueryExecution = res- "StartQueryExecutionResponse"- "fixture/StartQueryExecutionResponse.proto"- athena- (Proxy :: Proxy StartQueryExecution)--responseBatchGetNamedQuery :: BatchGetNamedQueryResponse -> TestTree-responseBatchGetNamedQuery = res- "BatchGetNamedQueryResponse"- "fixture/BatchGetNamedQueryResponse.proto"- athena- (Proxy :: Proxy BatchGetNamedQuery)--responseGetQueryExecution :: GetQueryExecutionResponse -> TestTree-responseGetQueryExecution = res- "GetQueryExecutionResponse"- "fixture/GetQueryExecutionResponse.proto"- athena- (Proxy :: Proxy GetQueryExecution)--responseBatchGetQueryExecution :: BatchGetQueryExecutionResponse -> TestTree-responseBatchGetQueryExecution = res- "BatchGetQueryExecutionResponse"- "fixture/BatchGetQueryExecutionResponse.proto"- athena- (Proxy :: Proxy BatchGetQueryExecution)--responseStopQueryExecution :: StopQueryExecutionResponse -> TestTree-responseStopQueryExecution = res- "StopQueryExecutionResponse"- "fixture/StopQueryExecutionResponse.proto"- athena- (Proxy :: Proxy StopQueryExecution)--responseGetQueryResults :: GetQueryResultsResponse -> TestTree-responseGetQueryResults = res- "GetQueryResultsResponse"- "fixture/GetQueryResultsResponse.proto"- athena- (Proxy :: Proxy GetQueryResults)--responseListQueryExecutions :: ListQueryExecutionsResponse -> TestTree-responseListQueryExecutions = res- "ListQueryExecutionsResponse"- "fixture/ListQueryExecutionsResponse.proto"- athena- (Proxy :: Proxy ListQueryExecutions)
+ test/Test/Amazonka/Athena.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.Athena+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Athena+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/Athena/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.Athena.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Athena.Internal where
+ test/Test/Amazonka/Gen/Athena.hs view
@@ -0,0 +1,1238 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.Athena+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.Athena where++import Amazonka.Athena+import qualified Data.Proxy as Proxy+import Test.Amazonka.Athena.Internal+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestBatchGetNamedQuery $+-- newBatchGetNamedQuery+--+-- , requestBatchGetPreparedStatement $+-- newBatchGetPreparedStatement+--+-- , requestBatchGetQueryExecution $+-- newBatchGetQueryExecution+--+-- , requestCreateDataCatalog $+-- newCreateDataCatalog+--+-- , requestCreateNamedQuery $+-- newCreateNamedQuery+--+-- , requestCreateNotebook $+-- newCreateNotebook+--+-- , requestCreatePreparedStatement $+-- newCreatePreparedStatement+--+-- , requestCreatePresignedNotebookUrl $+-- newCreatePresignedNotebookUrl+--+-- , requestCreateWorkGroup $+-- newCreateWorkGroup+--+-- , requestDeleteDataCatalog $+-- newDeleteDataCatalog+--+-- , requestDeleteNamedQuery $+-- newDeleteNamedQuery+--+-- , requestDeleteNotebook $+-- newDeleteNotebook+--+-- , requestDeletePreparedStatement $+-- newDeletePreparedStatement+--+-- , requestDeleteWorkGroup $+-- newDeleteWorkGroup+--+-- , requestExportNotebook $+-- newExportNotebook+--+-- , requestGetCalculationExecution $+-- newGetCalculationExecution+--+-- , requestGetCalculationExecutionCode $+-- newGetCalculationExecutionCode+--+-- , requestGetCalculationExecutionStatus $+-- newGetCalculationExecutionStatus+--+-- , requestGetDataCatalog $+-- newGetDataCatalog+--+-- , requestGetDatabase $+-- newGetDatabase+--+-- , requestGetNamedQuery $+-- newGetNamedQuery+--+-- , requestGetNotebookMetadata $+-- newGetNotebookMetadata+--+-- , requestGetPreparedStatement $+-- newGetPreparedStatement+--+-- , requestGetQueryExecution $+-- newGetQueryExecution+--+-- , requestGetQueryResults $+-- newGetQueryResults+--+-- , requestGetQueryRuntimeStatistics $+-- newGetQueryRuntimeStatistics+--+-- , requestGetSession $+-- newGetSession+--+-- , requestGetSessionStatus $+-- newGetSessionStatus+--+-- , requestGetTableMetadata $+-- newGetTableMetadata+--+-- , requestGetWorkGroup $+-- newGetWorkGroup+--+-- , requestImportNotebook $+-- newImportNotebook+--+-- , requestListApplicationDPUSizes $+-- newListApplicationDPUSizes+--+-- , requestListCalculationExecutions $+-- newListCalculationExecutions+--+-- , requestListDataCatalogs $+-- newListDataCatalogs+--+-- , requestListDatabases $+-- newListDatabases+--+-- , requestListEngineVersions $+-- newListEngineVersions+--+-- , requestListExecutors $+-- newListExecutors+--+-- , requestListNamedQueries $+-- newListNamedQueries+--+-- , requestListNotebookMetadata $+-- newListNotebookMetadata+--+-- , requestListNotebookSessions $+-- newListNotebookSessions+--+-- , requestListPreparedStatements $+-- newListPreparedStatements+--+-- , requestListQueryExecutions $+-- newListQueryExecutions+--+-- , requestListSessions $+-- newListSessions+--+-- , requestListTableMetadata $+-- newListTableMetadata+--+-- , requestListTagsForResource $+-- newListTagsForResource+--+-- , requestListWorkGroups $+-- newListWorkGroups+--+-- , requestStartCalculationExecution $+-- newStartCalculationExecution+--+-- , requestStartQueryExecution $+-- newStartQueryExecution+--+-- , requestStartSession $+-- newStartSession+--+-- , requestStopCalculationExecution $+-- newStopCalculationExecution+--+-- , requestStopQueryExecution $+-- newStopQueryExecution+--+-- , requestTagResource $+-- newTagResource+--+-- , requestTerminateSession $+-- newTerminateSession+--+-- , requestUntagResource $+-- newUntagResource+--+-- , requestUpdateDataCatalog $+-- newUpdateDataCatalog+--+-- , requestUpdateNamedQuery $+-- newUpdateNamedQuery+--+-- , requestUpdateNotebook $+-- newUpdateNotebook+--+-- , requestUpdateNotebookMetadata $+-- newUpdateNotebookMetadata+--+-- , requestUpdatePreparedStatement $+-- newUpdatePreparedStatement+--+-- , requestUpdateWorkGroup $+-- newUpdateWorkGroup+--+-- ]++-- , testGroup "response"+-- [ responseBatchGetNamedQuery $+-- newBatchGetNamedQueryResponse+--+-- , responseBatchGetPreparedStatement $+-- newBatchGetPreparedStatementResponse+--+-- , responseBatchGetQueryExecution $+-- newBatchGetQueryExecutionResponse+--+-- , responseCreateDataCatalog $+-- newCreateDataCatalogResponse+--+-- , responseCreateNamedQuery $+-- newCreateNamedQueryResponse+--+-- , responseCreateNotebook $+-- newCreateNotebookResponse+--+-- , responseCreatePreparedStatement $+-- newCreatePreparedStatementResponse+--+-- , responseCreatePresignedNotebookUrl $+-- newCreatePresignedNotebookUrlResponse+--+-- , responseCreateWorkGroup $+-- newCreateWorkGroupResponse+--+-- , responseDeleteDataCatalog $+-- newDeleteDataCatalogResponse+--+-- , responseDeleteNamedQuery $+-- newDeleteNamedQueryResponse+--+-- , responseDeleteNotebook $+-- newDeleteNotebookResponse+--+-- , responseDeletePreparedStatement $+-- newDeletePreparedStatementResponse+--+-- , responseDeleteWorkGroup $+-- newDeleteWorkGroupResponse+--+-- , responseExportNotebook $+-- newExportNotebookResponse+--+-- , responseGetCalculationExecution $+-- newGetCalculationExecutionResponse+--+-- , responseGetCalculationExecutionCode $+-- newGetCalculationExecutionCodeResponse+--+-- , responseGetCalculationExecutionStatus $+-- newGetCalculationExecutionStatusResponse+--+-- , responseGetDataCatalog $+-- newGetDataCatalogResponse+--+-- , responseGetDatabase $+-- newGetDatabaseResponse+--+-- , responseGetNamedQuery $+-- newGetNamedQueryResponse+--+-- , responseGetNotebookMetadata $+-- newGetNotebookMetadataResponse+--+-- , responseGetPreparedStatement $+-- newGetPreparedStatementResponse+--+-- , responseGetQueryExecution $+-- newGetQueryExecutionResponse+--+-- , responseGetQueryResults $+-- newGetQueryResultsResponse+--+-- , responseGetQueryRuntimeStatistics $+-- newGetQueryRuntimeStatisticsResponse+--+-- , responseGetSession $+-- newGetSessionResponse+--+-- , responseGetSessionStatus $+-- newGetSessionStatusResponse+--+-- , responseGetTableMetadata $+-- newGetTableMetadataResponse+--+-- , responseGetWorkGroup $+-- newGetWorkGroupResponse+--+-- , responseImportNotebook $+-- newImportNotebookResponse+--+-- , responseListApplicationDPUSizes $+-- newListApplicationDPUSizesResponse+--+-- , responseListCalculationExecutions $+-- newListCalculationExecutionsResponse+--+-- , responseListDataCatalogs $+-- newListDataCatalogsResponse+--+-- , responseListDatabases $+-- newListDatabasesResponse+--+-- , responseListEngineVersions $+-- newListEngineVersionsResponse+--+-- , responseListExecutors $+-- newListExecutorsResponse+--+-- , responseListNamedQueries $+-- newListNamedQueriesResponse+--+-- , responseListNotebookMetadata $+-- newListNotebookMetadataResponse+--+-- , responseListNotebookSessions $+-- newListNotebookSessionsResponse+--+-- , responseListPreparedStatements $+-- newListPreparedStatementsResponse+--+-- , responseListQueryExecutions $+-- newListQueryExecutionsResponse+--+-- , responseListSessions $+-- newListSessionsResponse+--+-- , responseListTableMetadata $+-- newListTableMetadataResponse+--+-- , responseListTagsForResource $+-- newListTagsForResourceResponse+--+-- , responseListWorkGroups $+-- newListWorkGroupsResponse+--+-- , responseStartCalculationExecution $+-- newStartCalculationExecutionResponse+--+-- , responseStartQueryExecution $+-- newStartQueryExecutionResponse+--+-- , responseStartSession $+-- newStartSessionResponse+--+-- , responseStopCalculationExecution $+-- newStopCalculationExecutionResponse+--+-- , responseStopQueryExecution $+-- newStopQueryExecutionResponse+--+-- , responseTagResource $+-- newTagResourceResponse+--+-- , responseTerminateSession $+-- newTerminateSessionResponse+--+-- , responseUntagResource $+-- newUntagResourceResponse+--+-- , responseUpdateDataCatalog $+-- newUpdateDataCatalogResponse+--+-- , responseUpdateNamedQuery $+-- newUpdateNamedQueryResponse+--+-- , responseUpdateNotebook $+-- newUpdateNotebookResponse+--+-- , responseUpdateNotebookMetadata $+-- newUpdateNotebookMetadataResponse+--+-- , responseUpdatePreparedStatement $+-- newUpdatePreparedStatementResponse+--+-- , responseUpdateWorkGroup $+-- newUpdateWorkGroupResponse+--+-- ]+-- ]++-- Requests++requestBatchGetNamedQuery :: BatchGetNamedQuery -> TestTree+requestBatchGetNamedQuery =+ req+ "BatchGetNamedQuery"+ "fixture/BatchGetNamedQuery.yaml"++requestBatchGetPreparedStatement :: BatchGetPreparedStatement -> TestTree+requestBatchGetPreparedStatement =+ req+ "BatchGetPreparedStatement"+ "fixture/BatchGetPreparedStatement.yaml"++requestBatchGetQueryExecution :: BatchGetQueryExecution -> TestTree+requestBatchGetQueryExecution =+ req+ "BatchGetQueryExecution"+ "fixture/BatchGetQueryExecution.yaml"++requestCreateDataCatalog :: CreateDataCatalog -> TestTree+requestCreateDataCatalog =+ req+ "CreateDataCatalog"+ "fixture/CreateDataCatalog.yaml"++requestCreateNamedQuery :: CreateNamedQuery -> TestTree+requestCreateNamedQuery =+ req+ "CreateNamedQuery"+ "fixture/CreateNamedQuery.yaml"++requestCreateNotebook :: CreateNotebook -> TestTree+requestCreateNotebook =+ req+ "CreateNotebook"+ "fixture/CreateNotebook.yaml"++requestCreatePreparedStatement :: CreatePreparedStatement -> TestTree+requestCreatePreparedStatement =+ req+ "CreatePreparedStatement"+ "fixture/CreatePreparedStatement.yaml"++requestCreatePresignedNotebookUrl :: CreatePresignedNotebookUrl -> TestTree+requestCreatePresignedNotebookUrl =+ req+ "CreatePresignedNotebookUrl"+ "fixture/CreatePresignedNotebookUrl.yaml"++requestCreateWorkGroup :: CreateWorkGroup -> TestTree+requestCreateWorkGroup =+ req+ "CreateWorkGroup"+ "fixture/CreateWorkGroup.yaml"++requestDeleteDataCatalog :: DeleteDataCatalog -> TestTree+requestDeleteDataCatalog =+ req+ "DeleteDataCatalog"+ "fixture/DeleteDataCatalog.yaml"++requestDeleteNamedQuery :: DeleteNamedQuery -> TestTree+requestDeleteNamedQuery =+ req+ "DeleteNamedQuery"+ "fixture/DeleteNamedQuery.yaml"++requestDeleteNotebook :: DeleteNotebook -> TestTree+requestDeleteNotebook =+ req+ "DeleteNotebook"+ "fixture/DeleteNotebook.yaml"++requestDeletePreparedStatement :: DeletePreparedStatement -> TestTree+requestDeletePreparedStatement =+ req+ "DeletePreparedStatement"+ "fixture/DeletePreparedStatement.yaml"++requestDeleteWorkGroup :: DeleteWorkGroup -> TestTree+requestDeleteWorkGroup =+ req+ "DeleteWorkGroup"+ "fixture/DeleteWorkGroup.yaml"++requestExportNotebook :: ExportNotebook -> TestTree+requestExportNotebook =+ req+ "ExportNotebook"+ "fixture/ExportNotebook.yaml"++requestGetCalculationExecution :: GetCalculationExecution -> TestTree+requestGetCalculationExecution =+ req+ "GetCalculationExecution"+ "fixture/GetCalculationExecution.yaml"++requestGetCalculationExecutionCode :: GetCalculationExecutionCode -> TestTree+requestGetCalculationExecutionCode =+ req+ "GetCalculationExecutionCode"+ "fixture/GetCalculationExecutionCode.yaml"++requestGetCalculationExecutionStatus :: GetCalculationExecutionStatus -> TestTree+requestGetCalculationExecutionStatus =+ req+ "GetCalculationExecutionStatus"+ "fixture/GetCalculationExecutionStatus.yaml"++requestGetDataCatalog :: GetDataCatalog -> TestTree+requestGetDataCatalog =+ req+ "GetDataCatalog"+ "fixture/GetDataCatalog.yaml"++requestGetDatabase :: GetDatabase -> TestTree+requestGetDatabase =+ req+ "GetDatabase"+ "fixture/GetDatabase.yaml"++requestGetNamedQuery :: GetNamedQuery -> TestTree+requestGetNamedQuery =+ req+ "GetNamedQuery"+ "fixture/GetNamedQuery.yaml"++requestGetNotebookMetadata :: GetNotebookMetadata -> TestTree+requestGetNotebookMetadata =+ req+ "GetNotebookMetadata"+ "fixture/GetNotebookMetadata.yaml"++requestGetPreparedStatement :: GetPreparedStatement -> TestTree+requestGetPreparedStatement =+ req+ "GetPreparedStatement"+ "fixture/GetPreparedStatement.yaml"++requestGetQueryExecution :: GetQueryExecution -> TestTree+requestGetQueryExecution =+ req+ "GetQueryExecution"+ "fixture/GetQueryExecution.yaml"++requestGetQueryResults :: GetQueryResults -> TestTree+requestGetQueryResults =+ req+ "GetQueryResults"+ "fixture/GetQueryResults.yaml"++requestGetQueryRuntimeStatistics :: GetQueryRuntimeStatistics -> TestTree+requestGetQueryRuntimeStatistics =+ req+ "GetQueryRuntimeStatistics"+ "fixture/GetQueryRuntimeStatistics.yaml"++requestGetSession :: GetSession -> TestTree+requestGetSession =+ req+ "GetSession"+ "fixture/GetSession.yaml"++requestGetSessionStatus :: GetSessionStatus -> TestTree+requestGetSessionStatus =+ req+ "GetSessionStatus"+ "fixture/GetSessionStatus.yaml"++requestGetTableMetadata :: GetTableMetadata -> TestTree+requestGetTableMetadata =+ req+ "GetTableMetadata"+ "fixture/GetTableMetadata.yaml"++requestGetWorkGroup :: GetWorkGroup -> TestTree+requestGetWorkGroup =+ req+ "GetWorkGroup"+ "fixture/GetWorkGroup.yaml"++requestImportNotebook :: ImportNotebook -> TestTree+requestImportNotebook =+ req+ "ImportNotebook"+ "fixture/ImportNotebook.yaml"++requestListApplicationDPUSizes :: ListApplicationDPUSizes -> TestTree+requestListApplicationDPUSizes =+ req+ "ListApplicationDPUSizes"+ "fixture/ListApplicationDPUSizes.yaml"++requestListCalculationExecutions :: ListCalculationExecutions -> TestTree+requestListCalculationExecutions =+ req+ "ListCalculationExecutions"+ "fixture/ListCalculationExecutions.yaml"++requestListDataCatalogs :: ListDataCatalogs -> TestTree+requestListDataCatalogs =+ req+ "ListDataCatalogs"+ "fixture/ListDataCatalogs.yaml"++requestListDatabases :: ListDatabases -> TestTree+requestListDatabases =+ req+ "ListDatabases"+ "fixture/ListDatabases.yaml"++requestListEngineVersions :: ListEngineVersions -> TestTree+requestListEngineVersions =+ req+ "ListEngineVersions"+ "fixture/ListEngineVersions.yaml"++requestListExecutors :: ListExecutors -> TestTree+requestListExecutors =+ req+ "ListExecutors"+ "fixture/ListExecutors.yaml"++requestListNamedQueries :: ListNamedQueries -> TestTree+requestListNamedQueries =+ req+ "ListNamedQueries"+ "fixture/ListNamedQueries.yaml"++requestListNotebookMetadata :: ListNotebookMetadata -> TestTree+requestListNotebookMetadata =+ req+ "ListNotebookMetadata"+ "fixture/ListNotebookMetadata.yaml"++requestListNotebookSessions :: ListNotebookSessions -> TestTree+requestListNotebookSessions =+ req+ "ListNotebookSessions"+ "fixture/ListNotebookSessions.yaml"++requestListPreparedStatements :: ListPreparedStatements -> TestTree+requestListPreparedStatements =+ req+ "ListPreparedStatements"+ "fixture/ListPreparedStatements.yaml"++requestListQueryExecutions :: ListQueryExecutions -> TestTree+requestListQueryExecutions =+ req+ "ListQueryExecutions"+ "fixture/ListQueryExecutions.yaml"++requestListSessions :: ListSessions -> TestTree+requestListSessions =+ req+ "ListSessions"+ "fixture/ListSessions.yaml"++requestListTableMetadata :: ListTableMetadata -> TestTree+requestListTableMetadata =+ req+ "ListTableMetadata"+ "fixture/ListTableMetadata.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+ req+ "ListTagsForResource"+ "fixture/ListTagsForResource.yaml"++requestListWorkGroups :: ListWorkGroups -> TestTree+requestListWorkGroups =+ req+ "ListWorkGroups"+ "fixture/ListWorkGroups.yaml"++requestStartCalculationExecution :: StartCalculationExecution -> TestTree+requestStartCalculationExecution =+ req+ "StartCalculationExecution"+ "fixture/StartCalculationExecution.yaml"++requestStartQueryExecution :: StartQueryExecution -> TestTree+requestStartQueryExecution =+ req+ "StartQueryExecution"+ "fixture/StartQueryExecution.yaml"++requestStartSession :: StartSession -> TestTree+requestStartSession =+ req+ "StartSession"+ "fixture/StartSession.yaml"++requestStopCalculationExecution :: StopCalculationExecution -> TestTree+requestStopCalculationExecution =+ req+ "StopCalculationExecution"+ "fixture/StopCalculationExecution.yaml"++requestStopQueryExecution :: StopQueryExecution -> TestTree+requestStopQueryExecution =+ req+ "StopQueryExecution"+ "fixture/StopQueryExecution.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+ req+ "TagResource"+ "fixture/TagResource.yaml"++requestTerminateSession :: TerminateSession -> TestTree+requestTerminateSession =+ req+ "TerminateSession"+ "fixture/TerminateSession.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+ req+ "UntagResource"+ "fixture/UntagResource.yaml"++requestUpdateDataCatalog :: UpdateDataCatalog -> TestTree+requestUpdateDataCatalog =+ req+ "UpdateDataCatalog"+ "fixture/UpdateDataCatalog.yaml"++requestUpdateNamedQuery :: UpdateNamedQuery -> TestTree+requestUpdateNamedQuery =+ req+ "UpdateNamedQuery"+ "fixture/UpdateNamedQuery.yaml"++requestUpdateNotebook :: UpdateNotebook -> TestTree+requestUpdateNotebook =+ req+ "UpdateNotebook"+ "fixture/UpdateNotebook.yaml"++requestUpdateNotebookMetadata :: UpdateNotebookMetadata -> TestTree+requestUpdateNotebookMetadata =+ req+ "UpdateNotebookMetadata"+ "fixture/UpdateNotebookMetadata.yaml"++requestUpdatePreparedStatement :: UpdatePreparedStatement -> TestTree+requestUpdatePreparedStatement =+ req+ "UpdatePreparedStatement"+ "fixture/UpdatePreparedStatement.yaml"++requestUpdateWorkGroup :: UpdateWorkGroup -> TestTree+requestUpdateWorkGroup =+ req+ "UpdateWorkGroup"+ "fixture/UpdateWorkGroup.yaml"++-- Responses++responseBatchGetNamedQuery :: BatchGetNamedQueryResponse -> TestTree+responseBatchGetNamedQuery =+ res+ "BatchGetNamedQueryResponse"+ "fixture/BatchGetNamedQueryResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy BatchGetNamedQuery)++responseBatchGetPreparedStatement :: BatchGetPreparedStatementResponse -> TestTree+responseBatchGetPreparedStatement =+ res+ "BatchGetPreparedStatementResponse"+ "fixture/BatchGetPreparedStatementResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy BatchGetPreparedStatement)++responseBatchGetQueryExecution :: BatchGetQueryExecutionResponse -> TestTree+responseBatchGetQueryExecution =+ res+ "BatchGetQueryExecutionResponse"+ "fixture/BatchGetQueryExecutionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy BatchGetQueryExecution)++responseCreateDataCatalog :: CreateDataCatalogResponse -> TestTree+responseCreateDataCatalog =+ res+ "CreateDataCatalogResponse"+ "fixture/CreateDataCatalogResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateDataCatalog)++responseCreateNamedQuery :: CreateNamedQueryResponse -> TestTree+responseCreateNamedQuery =+ res+ "CreateNamedQueryResponse"+ "fixture/CreateNamedQueryResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateNamedQuery)++responseCreateNotebook :: CreateNotebookResponse -> TestTree+responseCreateNotebook =+ res+ "CreateNotebookResponse"+ "fixture/CreateNotebookResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateNotebook)++responseCreatePreparedStatement :: CreatePreparedStatementResponse -> TestTree+responseCreatePreparedStatement =+ res+ "CreatePreparedStatementResponse"+ "fixture/CreatePreparedStatementResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreatePreparedStatement)++responseCreatePresignedNotebookUrl :: CreatePresignedNotebookUrlResponse -> TestTree+responseCreatePresignedNotebookUrl =+ res+ "CreatePresignedNotebookUrlResponse"+ "fixture/CreatePresignedNotebookUrlResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreatePresignedNotebookUrl)++responseCreateWorkGroup :: CreateWorkGroupResponse -> TestTree+responseCreateWorkGroup =+ res+ "CreateWorkGroupResponse"+ "fixture/CreateWorkGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateWorkGroup)++responseDeleteDataCatalog :: DeleteDataCatalogResponse -> TestTree+responseDeleteDataCatalog =+ res+ "DeleteDataCatalogResponse"+ "fixture/DeleteDataCatalogResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteDataCatalog)++responseDeleteNamedQuery :: DeleteNamedQueryResponse -> TestTree+responseDeleteNamedQuery =+ res+ "DeleteNamedQueryResponse"+ "fixture/DeleteNamedQueryResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteNamedQuery)++responseDeleteNotebook :: DeleteNotebookResponse -> TestTree+responseDeleteNotebook =+ res+ "DeleteNotebookResponse"+ "fixture/DeleteNotebookResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteNotebook)++responseDeletePreparedStatement :: DeletePreparedStatementResponse -> TestTree+responseDeletePreparedStatement =+ res+ "DeletePreparedStatementResponse"+ "fixture/DeletePreparedStatementResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeletePreparedStatement)++responseDeleteWorkGroup :: DeleteWorkGroupResponse -> TestTree+responseDeleteWorkGroup =+ res+ "DeleteWorkGroupResponse"+ "fixture/DeleteWorkGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteWorkGroup)++responseExportNotebook :: ExportNotebookResponse -> TestTree+responseExportNotebook =+ res+ "ExportNotebookResponse"+ "fixture/ExportNotebookResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ExportNotebook)++responseGetCalculationExecution :: GetCalculationExecutionResponse -> TestTree+responseGetCalculationExecution =+ res+ "GetCalculationExecutionResponse"+ "fixture/GetCalculationExecutionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetCalculationExecution)++responseGetCalculationExecutionCode :: GetCalculationExecutionCodeResponse -> TestTree+responseGetCalculationExecutionCode =+ res+ "GetCalculationExecutionCodeResponse"+ "fixture/GetCalculationExecutionCodeResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetCalculationExecutionCode)++responseGetCalculationExecutionStatus :: GetCalculationExecutionStatusResponse -> TestTree+responseGetCalculationExecutionStatus =+ res+ "GetCalculationExecutionStatusResponse"+ "fixture/GetCalculationExecutionStatusResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetCalculationExecutionStatus)++responseGetDataCatalog :: GetDataCatalogResponse -> TestTree+responseGetDataCatalog =+ res+ "GetDataCatalogResponse"+ "fixture/GetDataCatalogResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetDataCatalog)++responseGetDatabase :: GetDatabaseResponse -> TestTree+responseGetDatabase =+ res+ "GetDatabaseResponse"+ "fixture/GetDatabaseResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetDatabase)++responseGetNamedQuery :: GetNamedQueryResponse -> TestTree+responseGetNamedQuery =+ res+ "GetNamedQueryResponse"+ "fixture/GetNamedQueryResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetNamedQuery)++responseGetNotebookMetadata :: GetNotebookMetadataResponse -> TestTree+responseGetNotebookMetadata =+ res+ "GetNotebookMetadataResponse"+ "fixture/GetNotebookMetadataResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetNotebookMetadata)++responseGetPreparedStatement :: GetPreparedStatementResponse -> TestTree+responseGetPreparedStatement =+ res+ "GetPreparedStatementResponse"+ "fixture/GetPreparedStatementResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetPreparedStatement)++responseGetQueryExecution :: GetQueryExecutionResponse -> TestTree+responseGetQueryExecution =+ res+ "GetQueryExecutionResponse"+ "fixture/GetQueryExecutionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetQueryExecution)++responseGetQueryResults :: GetQueryResultsResponse -> TestTree+responseGetQueryResults =+ res+ "GetQueryResultsResponse"+ "fixture/GetQueryResultsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetQueryResults)++responseGetQueryRuntimeStatistics :: GetQueryRuntimeStatisticsResponse -> TestTree+responseGetQueryRuntimeStatistics =+ res+ "GetQueryRuntimeStatisticsResponse"+ "fixture/GetQueryRuntimeStatisticsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetQueryRuntimeStatistics)++responseGetSession :: GetSessionResponse -> TestTree+responseGetSession =+ res+ "GetSessionResponse"+ "fixture/GetSessionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetSession)++responseGetSessionStatus :: GetSessionStatusResponse -> TestTree+responseGetSessionStatus =+ res+ "GetSessionStatusResponse"+ "fixture/GetSessionStatusResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetSessionStatus)++responseGetTableMetadata :: GetTableMetadataResponse -> TestTree+responseGetTableMetadata =+ res+ "GetTableMetadataResponse"+ "fixture/GetTableMetadataResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetTableMetadata)++responseGetWorkGroup :: GetWorkGroupResponse -> TestTree+responseGetWorkGroup =+ res+ "GetWorkGroupResponse"+ "fixture/GetWorkGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetWorkGroup)++responseImportNotebook :: ImportNotebookResponse -> TestTree+responseImportNotebook =+ res+ "ImportNotebookResponse"+ "fixture/ImportNotebookResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ImportNotebook)++responseListApplicationDPUSizes :: ListApplicationDPUSizesResponse -> TestTree+responseListApplicationDPUSizes =+ res+ "ListApplicationDPUSizesResponse"+ "fixture/ListApplicationDPUSizesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListApplicationDPUSizes)++responseListCalculationExecutions :: ListCalculationExecutionsResponse -> TestTree+responseListCalculationExecutions =+ res+ "ListCalculationExecutionsResponse"+ "fixture/ListCalculationExecutionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListCalculationExecutions)++responseListDataCatalogs :: ListDataCatalogsResponse -> TestTree+responseListDataCatalogs =+ res+ "ListDataCatalogsResponse"+ "fixture/ListDataCatalogsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListDataCatalogs)++responseListDatabases :: ListDatabasesResponse -> TestTree+responseListDatabases =+ res+ "ListDatabasesResponse"+ "fixture/ListDatabasesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListDatabases)++responseListEngineVersions :: ListEngineVersionsResponse -> TestTree+responseListEngineVersions =+ res+ "ListEngineVersionsResponse"+ "fixture/ListEngineVersionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListEngineVersions)++responseListExecutors :: ListExecutorsResponse -> TestTree+responseListExecutors =+ res+ "ListExecutorsResponse"+ "fixture/ListExecutorsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListExecutors)++responseListNamedQueries :: ListNamedQueriesResponse -> TestTree+responseListNamedQueries =+ res+ "ListNamedQueriesResponse"+ "fixture/ListNamedQueriesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListNamedQueries)++responseListNotebookMetadata :: ListNotebookMetadataResponse -> TestTree+responseListNotebookMetadata =+ res+ "ListNotebookMetadataResponse"+ "fixture/ListNotebookMetadataResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListNotebookMetadata)++responseListNotebookSessions :: ListNotebookSessionsResponse -> TestTree+responseListNotebookSessions =+ res+ "ListNotebookSessionsResponse"+ "fixture/ListNotebookSessionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListNotebookSessions)++responseListPreparedStatements :: ListPreparedStatementsResponse -> TestTree+responseListPreparedStatements =+ res+ "ListPreparedStatementsResponse"+ "fixture/ListPreparedStatementsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListPreparedStatements)++responseListQueryExecutions :: ListQueryExecutionsResponse -> TestTree+responseListQueryExecutions =+ res+ "ListQueryExecutionsResponse"+ "fixture/ListQueryExecutionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListQueryExecutions)++responseListSessions :: ListSessionsResponse -> TestTree+responseListSessions =+ res+ "ListSessionsResponse"+ "fixture/ListSessionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListSessions)++responseListTableMetadata :: ListTableMetadataResponse -> TestTree+responseListTableMetadata =+ res+ "ListTableMetadataResponse"+ "fixture/ListTableMetadataResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTableMetadata)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+ res+ "ListTagsForResourceResponse"+ "fixture/ListTagsForResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseListWorkGroups :: ListWorkGroupsResponse -> TestTree+responseListWorkGroups =+ res+ "ListWorkGroupsResponse"+ "fixture/ListWorkGroupsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListWorkGroups)++responseStartCalculationExecution :: StartCalculationExecutionResponse -> TestTree+responseStartCalculationExecution =+ res+ "StartCalculationExecutionResponse"+ "fixture/StartCalculationExecutionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartCalculationExecution)++responseStartQueryExecution :: StartQueryExecutionResponse -> TestTree+responseStartQueryExecution =+ res+ "StartQueryExecutionResponse"+ "fixture/StartQueryExecutionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartQueryExecution)++responseStartSession :: StartSessionResponse -> TestTree+responseStartSession =+ res+ "StartSessionResponse"+ "fixture/StartSessionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartSession)++responseStopCalculationExecution :: StopCalculationExecutionResponse -> TestTree+responseStopCalculationExecution =+ res+ "StopCalculationExecutionResponse"+ "fixture/StopCalculationExecutionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StopCalculationExecution)++responseStopQueryExecution :: StopQueryExecutionResponse -> TestTree+responseStopQueryExecution =+ res+ "StopQueryExecutionResponse"+ "fixture/StopQueryExecutionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StopQueryExecution)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+ res+ "TagResourceResponse"+ "fixture/TagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TagResource)++responseTerminateSession :: TerminateSessionResponse -> TestTree+responseTerminateSession =+ res+ "TerminateSessionResponse"+ "fixture/TerminateSessionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TerminateSession)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+ res+ "UntagResourceResponse"+ "fixture/UntagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateDataCatalog :: UpdateDataCatalogResponse -> TestTree+responseUpdateDataCatalog =+ res+ "UpdateDataCatalogResponse"+ "fixture/UpdateDataCatalogResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateDataCatalog)++responseUpdateNamedQuery :: UpdateNamedQueryResponse -> TestTree+responseUpdateNamedQuery =+ res+ "UpdateNamedQueryResponse"+ "fixture/UpdateNamedQueryResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateNamedQuery)++responseUpdateNotebook :: UpdateNotebookResponse -> TestTree+responseUpdateNotebook =+ res+ "UpdateNotebookResponse"+ "fixture/UpdateNotebookResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateNotebook)++responseUpdateNotebookMetadata :: UpdateNotebookMetadataResponse -> TestTree+responseUpdateNotebookMetadata =+ res+ "UpdateNotebookMetadataResponse"+ "fixture/UpdateNotebookMetadataResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateNotebookMetadata)++responseUpdatePreparedStatement :: UpdatePreparedStatementResponse -> TestTree+responseUpdatePreparedStatement =+ res+ "UpdatePreparedStatementResponse"+ "fixture/UpdatePreparedStatementResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdatePreparedStatement)++responseUpdateWorkGroup :: UpdateWorkGroupResponse -> TestTree+responseUpdateWorkGroup =+ res+ "UpdateWorkGroupResponse"+ "fixture/UpdateWorkGroupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateWorkGroup)