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

Amazonka.Athena

Description

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 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 Accessing Amazon Athena with JDBC.

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

Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

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

InvalidRequestException

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

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

MetadataException

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

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

TooManyRequestsException

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

Indicates that the request was throttled.

InternalServerException

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

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

ResourceNotFoundException

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

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

Waiters

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

Operations

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

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

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

ListDatabases (Paginated)

data ListDatabases Source #

See: newListDatabases smart constructor.

Instances

Instances details
Eq ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Read ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Show ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Generic ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Associated Types

type Rep ListDatabases :: Type -> Type #

NFData ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Methods

rnf :: ListDatabases -> () #

Hashable ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

ToJSON ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

AWSPager ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

AWSRequest ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Associated Types

type AWSResponse ListDatabases #

ToHeaders ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

ToPath ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

ToQuery ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

type Rep ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

type Rep ListDatabases = D1 ('MetaData "ListDatabases" "Amazonka.Athena.ListDatabases" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListDatabases'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "catalogName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDatabases Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

newListDatabases Source #

Create a value of ListDatabases with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListDatabases', 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.

$sel:maxResults:ListDatabases', listDatabases_maxResults - Specifies the maximum number of results to return.

$sel:catalogName:ListDatabases', listDatabases_catalogName - The name of the data catalog that contains the databases to return.

data ListDatabasesResponse Source #

See: newListDatabasesResponse smart constructor.

Instances

Instances details
Eq ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Read ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Show ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Generic ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Associated Types

type Rep ListDatabasesResponse :: Type -> Type #

NFData ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

Methods

rnf :: ListDatabasesResponse -> () #

type Rep ListDatabasesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDatabases

type Rep ListDatabasesResponse = D1 ('MetaData "ListDatabasesResponse" "Amazonka.Athena.ListDatabases" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListDatabasesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "databaseList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Database])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDatabasesResponse Source #

Create a value of ListDatabasesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:databaseList:ListDatabasesResponse', listDatabasesResponse_databaseList - A list of databases from a data catalog.

$sel:nextToken:ListDatabases', 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.

$sel:httpStatus:ListDatabasesResponse', listDatabasesResponse_httpStatus - The response's http status code.

CreatePreparedStatement

data CreatePreparedStatement Source #

See: newCreatePreparedStatement smart constructor.

Instances

Instances details
Eq CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Read CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Show CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Generic CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Associated Types

type Rep CreatePreparedStatement :: Type -> Type #

NFData CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Methods

rnf :: CreatePreparedStatement -> () #

Hashable CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToJSON CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

AWSRequest CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToHeaders CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToPath CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToQuery CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

type Rep CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

type Rep CreatePreparedStatement = D1 ('MetaData "CreatePreparedStatement" "Amazonka.Athena.CreatePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreatePreparedStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

newCreatePreparedStatement Source #

Create a value of CreatePreparedStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:description:CreatePreparedStatement', createPreparedStatement_description - The description of the prepared statement.

$sel:statementName:CreatePreparedStatement', createPreparedStatement_statementName - The name of the prepared statement.

$sel:workGroup:CreatePreparedStatement', createPreparedStatement_workGroup - The name of the workgroup to which the prepared statement belongs.

$sel:queryStatement:CreatePreparedStatement', createPreparedStatement_queryStatement - The query string for the prepared statement.

data CreatePreparedStatementResponse Source #

See: newCreatePreparedStatementResponse smart constructor.

Instances

Instances details
Eq CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Read CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Show CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Generic CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Associated Types

type Rep CreatePreparedStatementResponse :: Type -> Type #

NFData CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

type Rep CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

type Rep CreatePreparedStatementResponse = D1 ('MetaData "CreatePreparedStatementResponse" "Amazonka.Athena.CreatePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreatePreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreatePreparedStatementResponse Source #

Create a value of CreatePreparedStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreatePreparedStatementResponse', createPreparedStatementResponse_httpStatus - The response's http status code.

DeleteWorkGroup

data DeleteWorkGroup Source #

See: newDeleteWorkGroup smart constructor.

Instances

Instances details
Eq DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Read DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Show DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Generic DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Associated Types

type Rep DeleteWorkGroup :: Type -> Type #

NFData DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Methods

rnf :: DeleteWorkGroup -> () #

Hashable DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

ToJSON DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

AWSRequest DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Associated Types

type AWSResponse DeleteWorkGroup #

ToHeaders DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

ToPath DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

ToQuery DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

type Rep DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

type Rep DeleteWorkGroup = D1 ('MetaData "DeleteWorkGroup" "Amazonka.Athena.DeleteWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteWorkGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recursiveDeleteOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

newDeleteWorkGroup Source #

Create a value of DeleteWorkGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:recursiveDeleteOption:DeleteWorkGroup', deleteWorkGroup_recursiveDeleteOption - The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.

$sel:workGroup:DeleteWorkGroup', deleteWorkGroup_workGroup - The unique name of the workgroup to delete.

data DeleteWorkGroupResponse Source #

See: newDeleteWorkGroupResponse smart constructor.

Instances

Instances details
Eq DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Read DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Show DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Generic DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Associated Types

type Rep DeleteWorkGroupResponse :: Type -> Type #

NFData DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

Methods

rnf :: DeleteWorkGroupResponse -> () #

type Rep DeleteWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteWorkGroup

type Rep DeleteWorkGroupResponse = D1 ('MetaData "DeleteWorkGroupResponse" "Amazonka.Athena.DeleteWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteWorkGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteWorkGroupResponse Source #

Create a value of DeleteWorkGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteWorkGroupResponse', deleteWorkGroupResponse_httpStatus - The response's http status code.

UpdateWorkGroup

data UpdateWorkGroup Source #

See: newUpdateWorkGroup smart constructor.

Instances

Instances details
Eq UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Read UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Show UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Generic UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type Rep UpdateWorkGroup :: Type -> Type #

NFData UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Methods

rnf :: UpdateWorkGroup -> () #

Hashable UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

ToJSON UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

AWSRequest UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type AWSResponse UpdateWorkGroup #

ToHeaders UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

ToPath UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

ToQuery UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroup = D1 ('MetaData "UpdateWorkGroup" "Amazonka.Athena.UpdateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdateWorkGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupState)) :*: S1 ('MetaSel ('Just "configurationUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupConfigurationUpdates))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

newUpdateWorkGroup Source #

Create a value of UpdateWorkGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:state:UpdateWorkGroup', updateWorkGroup_state - The workgroup state that will be updated for the given workgroup.

$sel:configurationUpdates:UpdateWorkGroup', updateWorkGroup_configurationUpdates - The workgroup configuration that will be updated for the given workgroup.

$sel:description:UpdateWorkGroup', updateWorkGroup_description - The workgroup description.

$sel:workGroup:UpdateWorkGroup', updateWorkGroup_workGroup - The specified workgroup that will be updated.

data UpdateWorkGroupResponse Source #

See: newUpdateWorkGroupResponse smart constructor.

Instances

Instances details
Eq UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Read UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Show UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Generic UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type Rep UpdateWorkGroupResponse :: Type -> Type #

NFData UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Methods

rnf :: UpdateWorkGroupResponse -> () #

type Rep UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroupResponse = D1 ('MetaData "UpdateWorkGroupResponse" "Amazonka.Athena.UpdateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdateWorkGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateWorkGroupResponse Source #

Create a value of UpdateWorkGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateWorkGroupResponse', updateWorkGroupResponse_httpStatus - The response's http status code.

GetNamedQuery

data GetNamedQuery Source #

See: newGetNamedQuery smart constructor.

Constructors

GetNamedQuery' Text 

Instances

Instances details
Eq GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Read GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Show GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Generic GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQuery :: Type -> Type #

NFData GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Methods

rnf :: GetNamedQuery -> () #

Hashable GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

ToJSON GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

AWSRequest GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Associated Types

type AWSResponse GetNamedQuery #

ToHeaders GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

ToPath GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

ToQuery GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

type Rep GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

type Rep GetNamedQuery = D1 ('MetaData "GetNamedQuery" "Amazonka.Athena.GetNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetNamedQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

newGetNamedQuery Source #

Create a value of GetNamedQuery with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:namedQueryId:GetNamedQuery', getNamedQuery_namedQueryId - The unique ID of the query. Use ListNamedQueries to get query IDs.

data GetNamedQueryResponse Source #

See: newGetNamedQueryResponse smart constructor.

Instances

Instances details
Eq GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Read GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Show GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Generic GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQueryResponse :: Type -> Type #

NFData GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Methods

rnf :: GetNamedQueryResponse -> () #

type Rep GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

type Rep GetNamedQueryResponse = D1 ('MetaData "GetNamedQueryResponse" "Amazonka.Athena.GetNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetNamedQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NamedQuery)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetNamedQueryResponse Source #

Create a value of GetNamedQueryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:namedQuery:GetNamedQueryResponse', getNamedQueryResponse_namedQuery - Information about the query.

$sel:httpStatus:GetNamedQueryResponse', getNamedQueryResponse_httpStatus - The response's http status code.

ListTagsForResource (Paginated)

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

ToJSON ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

AWSPager ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.Athena.ListTagsForResource" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

newListTagsForResource Source #

Create a value of ListTagsForResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTagsForResource', 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.

$sel:maxResults:ListTagsForResource', listTagsForResource_maxResults - The maximum number of results to be returned per request that lists the tags for the resource.

$sel:resourceARN:ListTagsForResource', listTagsForResource_resourceARN - Lists the tags for the resource with the specified ARN.

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.Athena.ListTagsForResource" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTagsForResourceResponse Source #

Create a value of ListTagsForResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTagsForResource', listTagsForResourceResponse_nextToken - A token to be used by the next request if this request is truncated.

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - The list of tags associated with the specified resource.

$sel:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.

DeleteDataCatalog

data DeleteDataCatalog Source #

See: newDeleteDataCatalog smart constructor.

Constructors

DeleteDataCatalog' Text 

Instances

Instances details
Eq DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Read DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Show DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Generic DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Associated Types

type Rep DeleteDataCatalog :: Type -> Type #

NFData DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Methods

rnf :: DeleteDataCatalog -> () #

Hashable DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

ToJSON DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

AWSRequest DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Associated Types

type AWSResponse DeleteDataCatalog #

ToHeaders DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

ToPath DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

ToQuery DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

type Rep DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

type Rep DeleteDataCatalog = D1 ('MetaData "DeleteDataCatalog" "Amazonka.Athena.DeleteDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteDataCatalog'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

newDeleteDataCatalog Source #

Create a value of DeleteDataCatalog with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:DeleteDataCatalog', deleteDataCatalog_name - The name of the data catalog to delete.

data DeleteDataCatalogResponse Source #

See: newDeleteDataCatalogResponse smart constructor.

Instances

Instances details
Eq DeleteDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Read DeleteDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Show DeleteDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Generic DeleteDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

Associated Types

type Rep DeleteDataCatalogResponse :: Type -> Type #

NFData DeleteDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

type Rep DeleteDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteDataCatalog

type Rep DeleteDataCatalogResponse = D1 ('MetaData "DeleteDataCatalogResponse" "Amazonka.Athena.DeleteDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteDataCatalogResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteDataCatalogResponse Source #

Create a value of DeleteDataCatalogResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteDataCatalogResponse', deleteDataCatalogResponse_httpStatus - The response's http status code.

UpdateDataCatalog

data UpdateDataCatalog Source #

See: newUpdateDataCatalog smart constructor.

Instances

Instances details
Eq UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Read UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Show UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Generic UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Associated Types

type Rep UpdateDataCatalog :: Type -> Type #

NFData UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Methods

rnf :: UpdateDataCatalog -> () #

Hashable UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

ToJSON UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

AWSRequest UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Associated Types

type AWSResponse UpdateDataCatalog #

ToHeaders UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

ToPath UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

ToQuery UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

type Rep UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

type Rep UpdateDataCatalog = D1 ('MetaData "UpdateDataCatalog" "Amazonka.Athena.UpdateDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdateDataCatalog'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataCatalogType))))
type AWSResponse UpdateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

newUpdateDataCatalog Source #

Create a value of UpdateDataCatalog with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:parameters:UpdateDataCatalog', 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

$sel:description:UpdateDataCatalog', updateDataCatalog_description - New or modified text that describes the data catalog.

$sel:name:UpdateDataCatalog', 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 128 alphanumeric, underscore, at sign, or hyphen characters.

$sel:type':UpdateDataCatalog', 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.

data UpdateDataCatalogResponse Source #

See: newUpdateDataCatalogResponse smart constructor.

Instances

Instances details
Eq UpdateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Read UpdateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Show UpdateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Generic UpdateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

Associated Types

type Rep UpdateDataCatalogResponse :: Type -> Type #

NFData UpdateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

type Rep UpdateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateDataCatalog

type Rep UpdateDataCatalogResponse = D1 ('MetaData "UpdateDataCatalogResponse" "Amazonka.Athena.UpdateDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdateDataCatalogResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateDataCatalogResponse Source #

Create a value of UpdateDataCatalogResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateDataCatalogResponse', updateDataCatalogResponse_httpStatus - The response's http status code.

ListDataCatalogs (Paginated)

data ListDataCatalogs Source #

See: newListDataCatalogs smart constructor.

Instances

Instances details
Eq ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Read ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Show ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Generic ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Associated Types

type Rep ListDataCatalogs :: Type -> Type #

NFData ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Methods

rnf :: ListDataCatalogs -> () #

Hashable ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

ToJSON ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

AWSPager ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

AWSRequest ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Associated Types

type AWSResponse ListDataCatalogs #

ToHeaders ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

ToPath ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

ToQuery ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

type Rep ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

type Rep ListDataCatalogs = D1 ('MetaData "ListDataCatalogs" "Amazonka.Athena.ListDataCatalogs" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListDataCatalogs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListDataCatalogs Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

newListDataCatalogs :: ListDataCatalogs Source #

Create a value of ListDataCatalogs with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListDataCatalogs', 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.

$sel:maxResults:ListDataCatalogs', listDataCatalogs_maxResults - Specifies the maximum number of data catalogs to return.

data ListDataCatalogsResponse Source #

See: newListDataCatalogsResponse smart constructor.

Instances

Instances details
Eq ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Read ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Show ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Generic ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

Associated Types

type Rep ListDataCatalogsResponse :: Type -> Type #

NFData ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

type Rep ListDataCatalogsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListDataCatalogs

type Rep ListDataCatalogsResponse = D1 ('MetaData "ListDataCatalogsResponse" "Amazonka.Athena.ListDataCatalogs" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListDataCatalogsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataCatalogsSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataCatalogSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDataCatalogsResponse Source #

Create a value of ListDataCatalogsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataCatalogsSummary:ListDataCatalogsResponse', listDataCatalogsResponse_dataCatalogsSummary - A summary list of data catalogs.

$sel:nextToken:ListDataCatalogs', 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.

$sel:httpStatus:ListDataCatalogsResponse', listDataCatalogsResponse_httpStatus - The response's http status code.

CreateNamedQuery

data CreateNamedQuery Source #

See: newCreateNamedQuery smart constructor.

Instances

Instances details
Eq CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Read CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Show CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Generic CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Associated Types

type Rep CreateNamedQuery :: Type -> Type #

NFData CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Methods

rnf :: CreateNamedQuery -> () #

Hashable CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

ToJSON CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

AWSRequest CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Associated Types

type AWSResponse CreateNamedQuery #

ToHeaders CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

ToPath CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

ToQuery CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

type Rep CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

type Rep CreateNamedQuery = D1 ('MetaData "CreateNamedQuery" "Amazonka.Athena.CreateNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateNamedQuery'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

newCreateNamedQuery Source #

Create a value of CreateNamedQuery with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientRequestToken:CreateNamedQuery', 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.

$sel:description:CreateNamedQuery', createNamedQuery_description - The query description.

$sel:workGroup:CreateNamedQuery', createNamedQuery_workGroup - The name of the workgroup in which the named query is being created.

$sel:name:CreateNamedQuery', createNamedQuery_name - The query name.

$sel:database:CreateNamedQuery', createNamedQuery_database - The database to which the query belongs.

$sel:queryString:CreateNamedQuery', createNamedQuery_queryString - The contents of the query with all query statements.

data CreateNamedQueryResponse Source #

See: newCreateNamedQueryResponse smart constructor.

Instances

Instances details
Eq CreateNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Read CreateNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Show CreateNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Generic CreateNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

Associated Types

type Rep CreateNamedQueryResponse :: Type -> Type #

NFData CreateNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

type Rep CreateNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateNamedQuery

type Rep CreateNamedQueryResponse = D1 ('MetaData "CreateNamedQueryResponse" "Amazonka.Athena.CreateNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateNamedQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateNamedQueryResponse Source #

Create a value of CreateNamedQueryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:namedQueryId:CreateNamedQueryResponse', createNamedQueryResponse_namedQueryId - The unique ID of the query.

$sel:httpStatus:CreateNamedQueryResponse', createNamedQueryResponse_httpStatus - The response's http status code.

GetTableMetadata

data GetTableMetadata Source #

See: newGetTableMetadata smart constructor.

Instances

Instances details
Eq GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Read GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Show GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Generic GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type Rep GetTableMetadata :: Type -> Type #

NFData GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Methods

rnf :: GetTableMetadata -> () #

Hashable GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

ToJSON GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

AWSRequest GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type AWSResponse GetTableMetadata #

ToHeaders GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

ToPath GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

ToQuery GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadata = D1 ('MetaData "GetTableMetadata" "Amazonka.Athena.GetTableMetadata" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetTableMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

newGetTableMetadata Source #

Create a value of GetTableMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:catalogName:GetTableMetadata', getTableMetadata_catalogName - The name of the data catalog that contains the database and table metadata to return.

$sel:databaseName:GetTableMetadata', getTableMetadata_databaseName - The name of the database that contains the table metadata to return.

$sel:tableName:GetTableMetadata', getTableMetadata_tableName - The name of the table for which metadata is returned.

data GetTableMetadataResponse Source #

See: newGetTableMetadataResponse smart constructor.

Instances

Instances details
Eq GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Read GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Show GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Generic GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

Associated Types

type Rep GetTableMetadataResponse :: Type -> Type #

NFData GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.GetTableMetadata

type Rep GetTableMetadataResponse = D1 ('MetaData "GetTableMetadataResponse" "Amazonka.Athena.GetTableMetadata" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetTableMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableMetadata)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTableMetadataResponse Source #

Create a value of GetTableMetadataResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tableMetadata:GetTableMetadataResponse', getTableMetadataResponse_tableMetadata - An object that contains table metadata.

$sel:httpStatus:GetTableMetadataResponse', getTableMetadataResponse_httpStatus - The response's http status code.

ListNamedQueries (Paginated)

data ListNamedQueries Source #

See: newListNamedQueries smart constructor.

Instances

Instances details
Eq ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Read ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Show ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Generic ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Associated Types

type Rep ListNamedQueries :: Type -> Type #

NFData ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Methods

rnf :: ListNamedQueries -> () #

Hashable ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

ToJSON ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

AWSPager ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

AWSRequest ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Associated Types

type AWSResponse ListNamedQueries #

ToHeaders ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

ToPath ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

ToQuery ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

type Rep ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

type Rep ListNamedQueries = D1 ('MetaData "ListNamedQueries" "Amazonka.Athena.ListNamedQueries" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListNamedQueries'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListNamedQueries Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

newListNamedQueries :: ListNamedQueries Source #

Create a value of ListNamedQueries with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListNamedQueries', 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.

$sel:workGroup:ListNamedQueries', 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.

$sel:maxResults:ListNamedQueries', listNamedQueries_maxResults - The maximum number of queries to return in this request.

data ListNamedQueriesResponse Source #

See: newListNamedQueriesResponse smart constructor.

Instances

Instances details
Eq ListNamedQueriesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Read ListNamedQueriesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Show ListNamedQueriesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Generic ListNamedQueriesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

Associated Types

type Rep ListNamedQueriesResponse :: Type -> Type #

NFData ListNamedQueriesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

type Rep ListNamedQueriesResponse Source # 
Instance details

Defined in Amazonka.Athena.ListNamedQueries

type Rep ListNamedQueriesResponse = D1 ('MetaData "ListNamedQueriesResponse" "Amazonka.Athena.ListNamedQueries" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListNamedQueriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "namedQueryIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListNamedQueriesResponse Source #

Create a value of ListNamedQueriesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListNamedQueries', 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.

$sel:namedQueryIds:ListNamedQueriesResponse', listNamedQueriesResponse_namedQueryIds - The list of unique query IDs.

$sel:httpStatus:ListNamedQueriesResponse', listNamedQueriesResponse_httpStatus - The response's http status code.

DeleteNamedQuery

data DeleteNamedQuery Source #

See: newDeleteNamedQuery smart constructor.

Constructors

DeleteNamedQuery' Text 

Instances

Instances details
Eq DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Read DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Show DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Generic DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Associated Types

type Rep DeleteNamedQuery :: Type -> Type #

NFData DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Methods

rnf :: DeleteNamedQuery -> () #

Hashable DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

ToJSON DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

AWSRequest DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Associated Types

type AWSResponse DeleteNamedQuery #

ToHeaders DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

ToPath DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

ToQuery DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQuery = D1 ('MetaData "DeleteNamedQuery" "Amazonka.Athena.DeleteNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteNamedQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

newDeleteNamedQuery Source #

Create a value of DeleteNamedQuery with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:namedQueryId:DeleteNamedQuery', deleteNamedQuery_namedQueryId - The unique ID of the query to delete.

data DeleteNamedQueryResponse Source #

See: newDeleteNamedQueryResponse smart constructor.

Instances

Instances details
Eq DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Read DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Show DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Generic DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

Associated Types

type Rep DeleteNamedQueryResponse :: Type -> Type #

NFData DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.DeleteNamedQuery

type Rep DeleteNamedQueryResponse = D1 ('MetaData "DeleteNamedQueryResponse" "Amazonka.Athena.DeleteNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeleteNamedQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteNamedQueryResponse Source #

Create a value of DeleteNamedQueryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteNamedQueryResponse', deleteNamedQueryResponse_httpStatus - The response's http status code.

StartQueryExecution

data StartQueryExecution Source #

See: newStartQueryExecution smart constructor.

Instances

Instances details
Eq StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Read StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Show StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Generic StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Associated Types

type Rep StartQueryExecution :: Type -> Type #

NFData StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Methods

rnf :: StartQueryExecution -> () #

Hashable StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

ToJSON StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

AWSRequest StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Associated Types

type AWSResponse StartQueryExecution #

ToHeaders StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

ToPath StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

ToQuery StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

type Rep StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

type Rep StartQueryExecution = D1 ('MetaData "StartQueryExecution" "Amazonka.Athena.StartQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "StartQueryExecution'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queryExecutionContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryExecutionContext)) :*: S1 ('MetaSel ('Just "resultConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultConfiguration))) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse StartQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

newStartQueryExecution Source #

Create a value of StartQueryExecution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryExecutionContext:StartQueryExecution', startQueryExecution_queryExecutionContext - The database within which the query executes.

$sel:resultConfiguration:StartQueryExecution', 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.

$sel:clientRequestToken:StartQueryExecution', 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.

$sel:workGroup:StartQueryExecution', startQueryExecution_workGroup - The name of the workgroup in which the query is being started.

$sel:queryString:StartQueryExecution', startQueryExecution_queryString - The SQL query statements to be executed.

data StartQueryExecutionResponse Source #

See: newStartQueryExecutionResponse smart constructor.

Instances

Instances details
Eq StartQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Read StartQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Show StartQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Generic StartQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

Associated Types

type Rep StartQueryExecutionResponse :: Type -> Type #

NFData StartQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

type Rep StartQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StartQueryExecution

type Rep StartQueryExecutionResponse = D1 ('MetaData "StartQueryExecutionResponse" "Amazonka.Athena.StartQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "StartQueryExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartQueryExecutionResponse Source #

Create a value of StartQueryExecutionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryExecutionId:StartQueryExecutionResponse', startQueryExecutionResponse_queryExecutionId - The unique ID of the query that ran as a result of this request.

$sel:httpStatus:StartQueryExecutionResponse', startQueryExecutionResponse_httpStatus - The response's http status code.

BatchGetNamedQuery

data BatchGetNamedQuery Source #

See: newBatchGetNamedQuery smart constructor.

Instances

Instances details
Eq BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Read BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Show BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Generic BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQuery :: Type -> Type #

NFData BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Methods

rnf :: BatchGetNamedQuery -> () #

Hashable BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

ToJSON BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

AWSRequest BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type AWSResponse BatchGetNamedQuery #

ToHeaders BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

ToPath BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

ToQuery BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQuery = D1 ('MetaData "BatchGetNamedQuery" "Amazonka.Athena.BatchGetNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "BatchGetNamedQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueryIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

newBatchGetNamedQuery Source #

Create a value of BatchGetNamedQuery with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:namedQueryIds:BatchGetNamedQuery', batchGetNamedQuery_namedQueryIds - An array of query IDs.

data BatchGetNamedQueryResponse Source #

See: newBatchGetNamedQueryResponse smart constructor.

Instances

Instances details
Eq BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Read BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Show BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Generic BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQueryResponse :: Type -> Type #

NFData BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQueryResponse = D1 ('MetaData "BatchGetNamedQueryResponse" "Amazonka.Athena.BatchGetNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "BatchGetNamedQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NamedQuery])) :*: (S1 ('MetaSel ('Just "unprocessedNamedQueryIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedNamedQueryId])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetNamedQueryResponse Source #

Create a value of BatchGetNamedQueryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:namedQueries:BatchGetNamedQueryResponse', batchGetNamedQueryResponse_namedQueries - Information about the named query IDs submitted.

$sel:unprocessedNamedQueryIds:BatchGetNamedQueryResponse', batchGetNamedQueryResponse_unprocessedNamedQueryIds - Information about provided query IDs.

$sel:httpStatus:BatchGetNamedQueryResponse', batchGetNamedQueryResponse_httpStatus - The response's http status code.

GetQueryExecution

data GetQueryExecution Source #

See: newGetQueryExecution smart constructor.

Constructors

GetQueryExecution' Text 

Instances

Instances details
Eq GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Read GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Show GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Generic GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type Rep GetQueryExecution :: Type -> Type #

NFData GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Methods

rnf :: GetQueryExecution -> () #

Hashable GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

ToJSON GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

AWSRequest GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type AWSResponse GetQueryExecution #

ToHeaders GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

ToPath GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

ToQuery GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type Rep GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type Rep GetQueryExecution = D1 ('MetaData "GetQueryExecution" "Amazonka.Athena.GetQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetQueryExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

newGetQueryExecution Source #

Create a value of GetQueryExecution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryExecutionId:GetQueryExecution', getQueryExecution_queryExecutionId - The unique ID of the query execution.

data GetQueryExecutionResponse Source #

See: newGetQueryExecutionResponse smart constructor.

Instances

Instances details
Eq GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Read GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Show GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Generic GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type Rep GetQueryExecutionResponse :: Type -> Type #

NFData GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type Rep GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type Rep GetQueryExecutionResponse = D1 ('MetaData "GetQueryExecutionResponse" "Amazonka.Athena.GetQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetQueryExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryExecution)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetQueryExecutionResponse Source #

Create a value of GetQueryExecutionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryExecution:GetQueryExecutionResponse', getQueryExecutionResponse_queryExecution - Information about the query execution.

$sel:httpStatus:GetQueryExecutionResponse', getQueryExecutionResponse_httpStatus - The response's http status code.

ListPreparedStatements

data ListPreparedStatements Source #

See: newListPreparedStatements smart constructor.

Instances

Instances details
Eq ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Read ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Show ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Generic ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Associated Types

type Rep ListPreparedStatements :: Type -> Type #

NFData ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Methods

rnf :: ListPreparedStatements -> () #

Hashable ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

ToJSON ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

AWSRequest ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Associated Types

type AWSResponse ListPreparedStatements #

ToHeaders ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

ToPath ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

ToQuery ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

type Rep ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

type Rep ListPreparedStatements = D1 ('MetaData "ListPreparedStatements" "Amazonka.Athena.ListPreparedStatements" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListPreparedStatements'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPreparedStatements Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

newListPreparedStatements Source #

Create a value of ListPreparedStatements with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListPreparedStatements', 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.

$sel:maxResults:ListPreparedStatements', listPreparedStatements_maxResults - The maximum number of results to return in this request.

$sel:workGroup:ListPreparedStatements', listPreparedStatements_workGroup - The workgroup to list the prepared statements for.

data ListPreparedStatementsResponse Source #

See: newListPreparedStatementsResponse smart constructor.

Instances

Instances details
Eq ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Read ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Show ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Generic ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

Associated Types

type Rep ListPreparedStatementsResponse :: Type -> Type #

NFData ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

type Rep ListPreparedStatementsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListPreparedStatements

type Rep ListPreparedStatementsResponse = D1 ('MetaData "ListPreparedStatementsResponse" "Amazonka.Athena.ListPreparedStatements" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListPreparedStatementsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preparedStatements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PreparedStatementSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPreparedStatementsResponse Source #

Create a value of ListPreparedStatementsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:preparedStatements:ListPreparedStatementsResponse', listPreparedStatementsResponse_preparedStatements - The list of prepared statements for the workgroup.

$sel:nextToken:ListPreparedStatements', 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.

$sel:httpStatus:ListPreparedStatementsResponse', listPreparedStatementsResponse_httpStatus - The response's http status code.

CreateDataCatalog

data CreateDataCatalog Source #

See: newCreateDataCatalog smart constructor.

Instances

Instances details
Eq CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Read CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Show CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Generic CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Associated Types

type Rep CreateDataCatalog :: Type -> Type #

NFData CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Methods

rnf :: CreateDataCatalog -> () #

Hashable CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

ToJSON CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

AWSRequest CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Associated Types

type AWSResponse CreateDataCatalog #

ToHeaders CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

ToPath CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

ToQuery CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

type Rep CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

type Rep CreateDataCatalog = D1 ('MetaData "CreateDataCatalog" "Amazonka.Athena.CreateDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateDataCatalog'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataCatalogType)))))
type AWSResponse CreateDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

newCreateDataCatalog Source #

Create a value of CreateDataCatalog with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:parameters:CreateDataCatalog', 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.

$sel:description:CreateDataCatalog', createDataCatalog_description - A description of the data catalog to be created.

$sel:tags:CreateDataCatalog', createDataCatalog_tags - A list of comma separated tags to add to the data catalog that is created.

$sel:name:CreateDataCatalog', 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 128 alphanumeric, underscore, at sign, or hyphen characters.

$sel:type':CreateDataCatalog', 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.

data CreateDataCatalogResponse Source #

See: newCreateDataCatalogResponse smart constructor.

Instances

Instances details
Eq CreateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Read CreateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Show CreateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Generic CreateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

Associated Types

type Rep CreateDataCatalogResponse :: Type -> Type #

NFData CreateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

type Rep CreateDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateDataCatalog

type Rep CreateDataCatalogResponse = D1 ('MetaData "CreateDataCatalogResponse" "Amazonka.Athena.CreateDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateDataCatalogResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateDataCatalogResponse Source #

Create a value of CreateDataCatalogResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateDataCatalogResponse', createDataCatalogResponse_httpStatus - The response's http status code.

ListWorkGroups

data ListWorkGroups Source #

See: newListWorkGroups smart constructor.

Instances

Instances details
Eq ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Read ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Show ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Generic ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Associated Types

type Rep ListWorkGroups :: Type -> Type #

NFData ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Methods

rnf :: ListWorkGroups -> () #

Hashable ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

ToJSON ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

AWSRequest ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Associated Types

type AWSResponse ListWorkGroups #

ToHeaders ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

ToPath ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

ToQuery ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

type Rep ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

type Rep ListWorkGroups = D1 ('MetaData "ListWorkGroups" "Amazonka.Athena.ListWorkGroups" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListWorkGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListWorkGroups Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

newListWorkGroups :: ListWorkGroups Source #

Create a value of ListWorkGroups with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListWorkGroups', 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.

$sel:maxResults:ListWorkGroups', listWorkGroups_maxResults - The maximum number of workgroups to return in this request.

data ListWorkGroupsResponse Source #

See: newListWorkGroupsResponse smart constructor.

Instances

Instances details
Eq ListWorkGroupsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Read ListWorkGroupsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Show ListWorkGroupsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Generic ListWorkGroupsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Associated Types

type Rep ListWorkGroupsResponse :: Type -> Type #

NFData ListWorkGroupsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

Methods

rnf :: ListWorkGroupsResponse -> () #

type Rep ListWorkGroupsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListWorkGroups

type Rep ListWorkGroupsResponse = D1 ('MetaData "ListWorkGroupsResponse" "Amazonka.Athena.ListWorkGroups" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListWorkGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [WorkGroupSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListWorkGroupsResponse Source #

Create a value of ListWorkGroupsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListWorkGroups', 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.

$sel:workGroups:ListWorkGroupsResponse', listWorkGroupsResponse_workGroups - A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.

$sel:httpStatus:ListWorkGroupsResponse', listWorkGroupsResponse_httpStatus - The response's http status code.

CreateWorkGroup

data CreateWorkGroup Source #

See: newCreateWorkGroup smart constructor.

Instances

Instances details
Eq CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Read CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Show CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Generic CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Associated Types

type Rep CreateWorkGroup :: Type -> Type #

NFData CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Methods

rnf :: CreateWorkGroup -> () #

Hashable CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

ToJSON CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

AWSRequest CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Associated Types

type AWSResponse CreateWorkGroup #

ToHeaders CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

ToPath CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

ToQuery CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

type Rep CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

type Rep CreateWorkGroup = D1 ('MetaData "CreateWorkGroup" "Amazonka.Athena.CreateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateWorkGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupConfiguration)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

newCreateWorkGroup Source #

Create a value of CreateWorkGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:configuration:CreateWorkGroup', createWorkGroup_configuration - The configuration for the 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.

$sel:description:CreateWorkGroup', createWorkGroup_description - The workgroup description.

$sel:tags:CreateWorkGroup', createWorkGroup_tags - A list of comma separated tags to add to the workgroup that is created.

$sel:name:CreateWorkGroup', createWorkGroup_name - The workgroup name.

data CreateWorkGroupResponse Source #

See: newCreateWorkGroupResponse smart constructor.

Instances

Instances details
Eq CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Read CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Show CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Generic CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Associated Types

type Rep CreateWorkGroupResponse :: Type -> Type #

NFData CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Methods

rnf :: CreateWorkGroupResponse -> () #

type Rep CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

type Rep CreateWorkGroupResponse = D1 ('MetaData "CreateWorkGroupResponse" "Amazonka.Athena.CreateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateWorkGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateWorkGroupResponse Source #

Create a value of CreateWorkGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateWorkGroupResponse', createWorkGroupResponse_httpStatus - The response's http status code.

BatchGetQueryExecution

data BatchGetQueryExecution Source #

See: newBatchGetQueryExecution smart constructor.

Instances

Instances details
Eq BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Read BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Show BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Generic BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Associated Types

type Rep BatchGetQueryExecution :: Type -> Type #

NFData BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Methods

rnf :: BatchGetQueryExecution -> () #

Hashable BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

ToJSON BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

AWSRequest BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Associated Types

type AWSResponse BatchGetQueryExecution #

ToHeaders BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

ToPath BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

ToQuery BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecution = D1 ('MetaData "BatchGetQueryExecution" "Amazonka.Athena.BatchGetQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "BatchGetQueryExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

newBatchGetQueryExecution Source #

Create a value of BatchGetQueryExecution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryExecutionIds:BatchGetQueryExecution', batchGetQueryExecution_queryExecutionIds - An array of query execution IDs.

data BatchGetQueryExecutionResponse Source #

See: newBatchGetQueryExecutionResponse smart constructor.

Instances

Instances details
Eq BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Read BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Show BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Generic BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Associated Types

type Rep BatchGetQueryExecutionResponse :: Type -> Type #

NFData BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecutionResponse = D1 ('MetaData "BatchGetQueryExecutionResponse" "Amazonka.Athena.BatchGetQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "BatchGetQueryExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unprocessedQueryExecutionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedQueryExecutionId])) :*: (S1 ('MetaSel ('Just "queryExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryExecution])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetQueryExecutionResponse Source #

Create a value of BatchGetQueryExecutionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:unprocessedQueryExecutionIds:BatchGetQueryExecutionResponse', batchGetQueryExecutionResponse_unprocessedQueryExecutionIds - Information about the query executions that failed to run.

$sel:queryExecutions:BatchGetQueryExecutionResponse', batchGetQueryExecutionResponse_queryExecutions - Information about a query execution.

$sel:httpStatus:BatchGetQueryExecutionResponse', batchGetQueryExecutionResponse_httpStatus - The response's http status code.

ListEngineVersions

data ListEngineVersions Source #

See: newListEngineVersions smart constructor.

Instances

Instances details
Eq ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Read ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Show ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Generic ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Associated Types

type Rep ListEngineVersions :: Type -> Type #

NFData ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Methods

rnf :: ListEngineVersions -> () #

Hashable ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

ToJSON ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

AWSRequest ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Associated Types

type AWSResponse ListEngineVersions #

ToHeaders ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

ToPath ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

ToQuery ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersions = D1 ('MetaData "ListEngineVersions" "Amazonka.Athena.ListEngineVersions" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListEngineVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListEngineVersions Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

newListEngineVersions :: ListEngineVersions Source #

Create a value of ListEngineVersions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListEngineVersions', 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.

$sel:maxResults:ListEngineVersions', listEngineVersions_maxResults - The maximum number of engine versions to return in this request.

data ListEngineVersionsResponse Source #

See: newListEngineVersionsResponse smart constructor.

Instances

Instances details
Eq ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Read ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Show ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Generic ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

Associated Types

type Rep ListEngineVersionsResponse :: Type -> Type #

NFData ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListEngineVersions

type Rep ListEngineVersionsResponse = D1 ('MetaData "ListEngineVersionsResponse" "Amazonka.Athena.ListEngineVersions" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListEngineVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "engineVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EngineVersion])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEngineVersionsResponse Source #

Create a value of ListEngineVersionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListEngineVersions', 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.

$sel:engineVersions:ListEngineVersionsResponse', listEngineVersionsResponse_engineVersions - A list of engine versions that are available to choose from.

$sel:httpStatus:ListEngineVersionsResponse', listEngineVersionsResponse_httpStatus - The response's http status code.

GetDataCatalog

data GetDataCatalog Source #

See: newGetDataCatalog smart constructor.

Constructors

GetDataCatalog' Text 

Instances

Instances details
Eq GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Read GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Show GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Generic GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Associated Types

type Rep GetDataCatalog :: Type -> Type #

NFData GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Methods

rnf :: GetDataCatalog -> () #

Hashable GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

ToJSON GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

AWSRequest GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Associated Types

type AWSResponse GetDataCatalog #

ToHeaders GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

ToPath GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

ToQuery GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

type Rep GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

type Rep GetDataCatalog = D1 ('MetaData "GetDataCatalog" "Amazonka.Athena.GetDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetDataCatalog'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDataCatalog Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

newGetDataCatalog Source #

Create a value of GetDataCatalog with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:GetDataCatalog', getDataCatalog_name - The name of the data catalog to return.

data GetDataCatalogResponse Source #

See: newGetDataCatalogResponse smart constructor.

Instances

Instances details
Eq GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Read GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Show GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Generic GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Associated Types

type Rep GetDataCatalogResponse :: Type -> Type #

NFData GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

Methods

rnf :: GetDataCatalogResponse -> () #

type Rep GetDataCatalogResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDataCatalog

type Rep GetDataCatalogResponse = D1 ('MetaData "GetDataCatalogResponse" "Amazonka.Athena.GetDataCatalog" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetDataCatalogResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataCatalog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataCatalog)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDataCatalogResponse Source #

Create a value of GetDataCatalogResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataCatalog:GetDataCatalogResponse', getDataCatalogResponse_dataCatalog - The data catalog returned.

$sel:httpStatus:GetDataCatalogResponse', getDataCatalogResponse_httpStatus - The response's http status code.

StopQueryExecution

data StopQueryExecution Source #

See: newStopQueryExecution smart constructor.

Instances

Instances details
Eq StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Read StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Show StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Generic StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type Rep StopQueryExecution :: Type -> Type #

NFData StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Methods

rnf :: StopQueryExecution -> () #

Hashable StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

ToJSON StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

AWSRequest StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type AWSResponse StopQueryExecution #

ToHeaders StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

ToPath StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

ToQuery StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

type Rep StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

type Rep StopQueryExecution = D1 ('MetaData "StopQueryExecution" "Amazonka.Athena.StopQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "StopQueryExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

newStopQueryExecution Source #

Create a value of StopQueryExecution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryExecutionId:StopQueryExecution', stopQueryExecution_queryExecutionId - The unique ID of the query execution to stop.

data StopQueryExecutionResponse Source #

See: newStopQueryExecutionResponse smart constructor.

Instances

Instances details
Eq StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Read StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Show StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Generic StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

Associated Types

type Rep StopQueryExecutionResponse :: Type -> Type #

NFData StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

type Rep StopQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.StopQueryExecution

type Rep StopQueryExecutionResponse = D1 ('MetaData "StopQueryExecutionResponse" "Amazonka.Athena.StopQueryExecution" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "StopQueryExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopQueryExecutionResponse Source #

Create a value of StopQueryExecutionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:StopQueryExecutionResponse', stopQueryExecutionResponse_httpStatus - The response's http status code.

TagResource

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' Text [Tag] 

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.Athena.TagResource" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.Athena.TagResource

newTagResource Source #

Create a value of TagResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceARN:TagResource', tagResource_resourceARN - Specifies the ARN of the Athena resource (workgroup or data catalog) to which tags are to be added.

$sel:tags:TagResource', tagResource_tags - A collection of one or more tags, separated by commas, to be added to an Athena workgroup or data catalog resource.

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.Athena.TagResource" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagResourceResponse Source #

Create a value of TagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:TagResourceResponse', tagResourceResponse_httpStatus - The response's http status code.

GetWorkGroup

data GetWorkGroup Source #

See: newGetWorkGroup smart constructor.

Constructors

GetWorkGroup' Text 

Instances

Instances details
Eq GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Read GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Show GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Generic GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Associated Types

type Rep GetWorkGroup :: Type -> Type #

NFData GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Methods

rnf :: GetWorkGroup -> () #

Hashable GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

ToJSON GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

AWSRequest GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Associated Types

type AWSResponse GetWorkGroup #

ToHeaders GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

ToPath GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

ToQuery GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

type Rep GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

type Rep GetWorkGroup = D1 ('MetaData "GetWorkGroup" "Amazonka.Athena.GetWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetWorkGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

newGetWorkGroup Source #

Create a value of GetWorkGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:workGroup:GetWorkGroup', getWorkGroup_workGroup - The name of the workgroup.

data GetWorkGroupResponse Source #

See: newGetWorkGroupResponse smart constructor.

Instances

Instances details
Eq GetWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Read GetWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Show GetWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Generic GetWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Associated Types

type Rep GetWorkGroupResponse :: Type -> Type #

NFData GetWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

Methods

rnf :: GetWorkGroupResponse -> () #

type Rep GetWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.GetWorkGroup

type Rep GetWorkGroupResponse = D1 ('MetaData "GetWorkGroupResponse" "Amazonka.Athena.GetWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetWorkGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetWorkGroupResponse Source #

Create a value of GetWorkGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:workGroup:GetWorkGroup', getWorkGroupResponse_workGroup - Information about the workgroup.

$sel:httpStatus:GetWorkGroupResponse', getWorkGroupResponse_httpStatus - The response's http status code.

GetDatabase

data GetDatabase Source #

See: newGetDatabase smart constructor.

Constructors

GetDatabase' Text Text 

Instances

Instances details
Eq GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Read GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Show GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Generic GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Associated Types

type Rep GetDatabase :: Type -> Type #

NFData GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Methods

rnf :: GetDatabase -> () #

Hashable GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

ToJSON GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

AWSRequest GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Associated Types

type AWSResponse GetDatabase #

ToHeaders GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Methods

toHeaders :: GetDatabase -> [Header] #

ToPath GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

ToQuery GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

type Rep GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

type Rep GetDatabase = D1 ('MetaData "GetDatabase" "Amazonka.Athena.GetDatabase" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetDatabase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

newGetDatabase Source #

Create a value of GetDatabase with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:catalogName:GetDatabase', getDatabase_catalogName - The name of the data catalog that contains the database to return.

$sel:databaseName:GetDatabase', getDatabase_databaseName - The name of the database to return.

data GetDatabaseResponse Source #

See: newGetDatabaseResponse smart constructor.

Instances

Instances details
Eq GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Read GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Show GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Generic GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Associated Types

type Rep GetDatabaseResponse :: Type -> Type #

NFData GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Methods

rnf :: GetDatabaseResponse -> () #

type Rep GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

type Rep GetDatabaseResponse = D1 ('MetaData "GetDatabaseResponse" "Amazonka.Athena.GetDatabase" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetDatabaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Database)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDatabaseResponse Source #

Create a value of GetDatabaseResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:database:GetDatabaseResponse', getDatabaseResponse_database - The database returned.

$sel:httpStatus:GetDatabaseResponse', getDatabaseResponse_httpStatus - The response's http status code.

UntagResource

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' Text [Text] 

Instances

Instances details
Eq UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Read UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Generic UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

NFData UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Methods

rnf :: UntagResource -> () #

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Associated Types

type AWSResponse UntagResource #

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.Athena.UntagResource" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

newUntagResource Source #

Create a value of UntagResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceARN:UntagResource', untagResource_resourceARN - Specifies the ARN of the resource from which tags are to be removed.

$sel:tagKeys:UntagResource', untagResource_tagKeys - A comma-separated list of one or more tag keys whose tags are to be removed from the specified resource.

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Athena.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.Athena.UntagResource" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUntagResourceResponse Source #

Create a value of UntagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.

GetPreparedStatement

data GetPreparedStatement Source #

See: newGetPreparedStatement smart constructor.

Instances

Instances details
Eq GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Read GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Show GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Generic GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Associated Types

type Rep GetPreparedStatement :: Type -> Type #

NFData GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Methods

rnf :: GetPreparedStatement -> () #

Hashable GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

ToJSON GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

AWSRequest GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Associated Types

type AWSResponse GetPreparedStatement #

ToHeaders GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

ToPath GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

ToQuery GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

type Rep GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

type Rep GetPreparedStatement = D1 ('MetaData "GetPreparedStatement" "Amazonka.Athena.GetPreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetPreparedStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

newGetPreparedStatement Source #

Create a value of GetPreparedStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:statementName:GetPreparedStatement', getPreparedStatement_statementName - The name of the prepared statement to retrieve.

$sel:workGroup:GetPreparedStatement', getPreparedStatement_workGroup - The workgroup to which the statement to be retrieved belongs.

data GetPreparedStatementResponse Source #

See: newGetPreparedStatementResponse smart constructor.

Instances

Instances details
Eq GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Read GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Show GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Generic GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Associated Types

type Rep GetPreparedStatementResponse :: Type -> Type #

NFData GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

type Rep GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

type Rep GetPreparedStatementResponse = D1 ('MetaData "GetPreparedStatementResponse" "Amazonka.Athena.GetPreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetPreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preparedStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PreparedStatement)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPreparedStatementResponse Source #

Create a value of GetPreparedStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:preparedStatement:GetPreparedStatementResponse', getPreparedStatementResponse_preparedStatement - The name of the prepared statement that was retrieved.

$sel:httpStatus:GetPreparedStatementResponse', getPreparedStatementResponse_httpStatus - The response's http status code.

GetQueryResults (Paginated)

data GetQueryResults Source #

See: newGetQueryResults smart constructor.

Instances

Instances details
Eq GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Read GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Show GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Generic GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Associated Types

type Rep GetQueryResults :: Type -> Type #

NFData GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Methods

rnf :: GetQueryResults -> () #

Hashable GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

ToJSON GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

AWSPager GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

AWSRequest GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Associated Types

type AWSResponse GetQueryResults #

ToHeaders GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

ToPath GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

ToQuery GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

type Rep GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

type Rep GetQueryResults = D1 ('MetaData "GetQueryResults" "Amazonka.Athena.GetQueryResults" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetQueryResults'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "queryExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetQueryResults Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

newGetQueryResults Source #

Create a value of GetQueryResults with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:GetQueryResults', 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.

$sel:maxResults:GetQueryResults', getQueryResults_maxResults - The maximum number of results (rows) to return in this request.

$sel:queryExecutionId:GetQueryResults', getQueryResults_queryExecutionId - The unique ID of the query execution.

data GetQueryResultsResponse Source #

See: newGetQueryResultsResponse smart constructor.

Instances

Instances details
Eq GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Read GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Show GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Generic GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Associated Types

type Rep GetQueryResultsResponse :: Type -> Type #

NFData GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

Methods

rnf :: GetQueryResultsResponse -> () #

type Rep GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryResults

type Rep GetQueryResultsResponse = D1 ('MetaData "GetQueryResultsResponse" "Amazonka.Athena.GetQueryResults" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetQueryResultsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "updateCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resultSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetQueryResultsResponse Source #

Create a value of GetQueryResultsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:updateCount:GetQueryResultsResponse', getQueryResultsResponse_updateCount - The number of rows inserted with a CREATE TABLE AS SELECT statement.

$sel:nextToken:GetQueryResults', 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.

$sel:resultSet:GetQueryResultsResponse', getQueryResultsResponse_resultSet - The results of the query execution.

$sel:httpStatus:GetQueryResultsResponse', getQueryResultsResponse_httpStatus - The response's http status code.

ListTableMetadata (Paginated)

data ListTableMetadata Source #

See: newListTableMetadata smart constructor.

Instances

Instances details
Eq ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Read ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Show ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Generic ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Associated Types

type Rep ListTableMetadata :: Type -> Type #

NFData ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Methods

rnf :: ListTableMetadata -> () #

Hashable ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

ToJSON ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

AWSPager ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

AWSRequest ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Associated Types

type AWSResponse ListTableMetadata #

ToHeaders ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

ToPath ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

ToQuery ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

type Rep ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

type Rep ListTableMetadata = D1 ('MetaData "ListTableMetadata" "Amazonka.Athena.ListTableMetadata" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListTableMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "catalogName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListTableMetadata Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

newListTableMetadata Source #

Create a value of ListTableMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTableMetadata', 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.

$sel:expression:ListTableMetadata', listTableMetadata_expression - A regex filter that pattern-matches table names. If no expression is supplied, metadata for all tables are listed.

$sel:maxResults:ListTableMetadata', listTableMetadata_maxResults - Specifies the maximum number of results to return.

$sel:catalogName:ListTableMetadata', listTableMetadata_catalogName - The name of the data catalog for which table metadata should be returned.

$sel:databaseName:ListTableMetadata', listTableMetadata_databaseName - The name of the database for which table metadata should be returned.

data ListTableMetadataResponse Source #

See: newListTableMetadataResponse smart constructor.

Instances

Instances details
Eq ListTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Read ListTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Show ListTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Generic ListTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

Associated Types

type Rep ListTableMetadataResponse :: Type -> Type #

NFData ListTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

type Rep ListTableMetadataResponse Source # 
Instance details

Defined in Amazonka.Athena.ListTableMetadata

type Rep ListTableMetadataResponse = D1 ('MetaData "ListTableMetadataResponse" "Amazonka.Athena.ListTableMetadata" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListTableMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tableMetadataList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableMetadata])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTableMetadataResponse Source #

Create a value of ListTableMetadataResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTableMetadata', 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.

$sel:tableMetadataList:ListTableMetadataResponse', listTableMetadataResponse_tableMetadataList - A list of table metadata.

$sel:httpStatus:ListTableMetadataResponse', listTableMetadataResponse_httpStatus - The response's http status code.

ListQueryExecutions (Paginated)

data ListQueryExecutions Source #

See: newListQueryExecutions smart constructor.

Instances

Instances details
Eq ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Read ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Show ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Generic ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Associated Types

type Rep ListQueryExecutions :: Type -> Type #

NFData ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Methods

rnf :: ListQueryExecutions -> () #

Hashable ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

ToJSON ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

AWSPager ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

AWSRequest ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Associated Types

type AWSResponse ListQueryExecutions #

ToHeaders ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

ToPath ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

ToQuery ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

type Rep ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

type Rep ListQueryExecutions = D1 ('MetaData "ListQueryExecutions" "Amazonka.Athena.ListQueryExecutions" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListQueryExecutions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListQueryExecutions Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

newListQueryExecutions :: ListQueryExecutions Source #

Create a value of ListQueryExecutions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListQueryExecutions', 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.

$sel:workGroup:ListQueryExecutions', 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.

$sel:maxResults:ListQueryExecutions', listQueryExecutions_maxResults - The maximum number of query executions to return in this request.

data ListQueryExecutionsResponse Source #

See: newListQueryExecutionsResponse smart constructor.

Instances

Instances details
Eq ListQueryExecutionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Read ListQueryExecutionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Show ListQueryExecutionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Generic ListQueryExecutionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

Associated Types

type Rep ListQueryExecutionsResponse :: Type -> Type #

NFData ListQueryExecutionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

type Rep ListQueryExecutionsResponse Source # 
Instance details

Defined in Amazonka.Athena.ListQueryExecutions

type Rep ListQueryExecutionsResponse = D1 ('MetaData "ListQueryExecutionsResponse" "Amazonka.Athena.ListQueryExecutions" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ListQueryExecutionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListQueryExecutionsResponse Source #

Create a value of ListQueryExecutionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryExecutionIds:ListQueryExecutionsResponse', listQueryExecutionsResponse_queryExecutionIds - The unique IDs of each query execution as an array of strings.

$sel:nextToken:ListQueryExecutions', listQueryExecutionsResponse_nextToken - A token to be used by the next request if this request is truncated.

$sel:httpStatus:ListQueryExecutionsResponse', listQueryExecutionsResponse_httpStatus - The response's http status code.

DeletePreparedStatement

data DeletePreparedStatement Source #

See: newDeletePreparedStatement smart constructor.

Instances

Instances details
Eq DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Read DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Show DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Generic DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Associated Types

type Rep DeletePreparedStatement :: Type -> Type #

NFData DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Methods

rnf :: DeletePreparedStatement -> () #

Hashable DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

ToJSON DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

AWSRequest DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

ToHeaders DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

ToPath DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

ToQuery DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type Rep DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type Rep DeletePreparedStatement = D1 ('MetaData "DeletePreparedStatement" "Amazonka.Athena.DeletePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeletePreparedStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

newDeletePreparedStatement Source #

Create a value of DeletePreparedStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:statementName:DeletePreparedStatement', deletePreparedStatement_statementName - The name of the prepared statement to delete.

$sel:workGroup:DeletePreparedStatement', deletePreparedStatement_workGroup - The workgroup to which the statement to be deleted belongs.

data DeletePreparedStatementResponse Source #

See: newDeletePreparedStatementResponse smart constructor.

Instances

Instances details
Eq DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Read DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Show DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Generic DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

Associated Types

type Rep DeletePreparedStatementResponse :: Type -> Type #

NFData DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type Rep DeletePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.DeletePreparedStatement

type Rep DeletePreparedStatementResponse = D1 ('MetaData "DeletePreparedStatementResponse" "Amazonka.Athena.DeletePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "DeletePreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeletePreparedStatementResponse Source #

Create a value of DeletePreparedStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeletePreparedStatementResponse', deletePreparedStatementResponse_httpStatus - The response's http status code.

UpdatePreparedStatement

data UpdatePreparedStatement Source #

See: newUpdatePreparedStatement smart constructor.

Instances

Instances details
Eq UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Read UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Show UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Generic UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Associated Types

type Rep UpdatePreparedStatement :: Type -> Type #

NFData UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Methods

rnf :: UpdatePreparedStatement -> () #

Hashable UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToJSON UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

AWSRequest UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToHeaders UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToPath UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToQuery UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatement = D1 ('MetaData "UpdatePreparedStatement" "Amazonka.Athena.UpdatePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdatePreparedStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

newUpdatePreparedStatement Source #

Create a value of UpdatePreparedStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:description:UpdatePreparedStatement', updatePreparedStatement_description - The description of the prepared statement.

$sel:statementName:UpdatePreparedStatement', updatePreparedStatement_statementName - The name of the prepared statement.

$sel:workGroup:UpdatePreparedStatement', updatePreparedStatement_workGroup - The workgroup for the prepared statement.

$sel:queryStatement:UpdatePreparedStatement', updatePreparedStatement_queryStatement - The query string for the prepared statement.

data UpdatePreparedStatementResponse Source #

See: newUpdatePreparedStatementResponse smart constructor.

Instances

Instances details
Eq UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Read UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Show UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Generic UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Associated Types

type Rep UpdatePreparedStatementResponse :: Type -> Type #

NFData UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatementResponse = D1 ('MetaData "UpdatePreparedStatementResponse" "Amazonka.Athena.UpdatePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdatePreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdatePreparedStatementResponse Source #

Create a value of UpdatePreparedStatementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdatePreparedStatementResponse', updatePreparedStatementResponse_httpStatus - The response's http status code.

Types

ColumnNullable

newtype ColumnNullable Source #

Constructors

ColumnNullable' 

Instances

Instances details
Eq ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Ord ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Read ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Show ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Generic ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Associated Types

type Rep ColumnNullable :: Type -> Type #

NFData ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Methods

rnf :: ColumnNullable -> () #

Hashable ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToJSON ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToJSONKey ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

FromJSON ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

FromJSONKey ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToLog ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToHeader ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToQuery ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

FromXML ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToXML ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

Methods

toXML :: ColumnNullable -> XML #

ToByteString ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

FromText ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

ToText ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

type Rep ColumnNullable Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnNullable

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

DataCatalogType

newtype DataCatalogType Source #

Constructors

DataCatalogType' 

Instances

Instances details
Eq DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Ord DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Read DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Show DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Generic DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Associated Types

type Rep DataCatalogType :: Type -> Type #

NFData DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Methods

rnf :: DataCatalogType -> () #

Hashable DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToJSON DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToJSONKey DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

FromJSON DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

FromJSONKey DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToLog DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToHeader DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToQuery DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

FromXML DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToXML DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

Methods

toXML :: DataCatalogType -> XML #

ToByteString DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

FromText DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

ToText DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

type Rep DataCatalogType Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogType

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

EncryptionOption

newtype EncryptionOption Source #

Instances

Instances details
Eq EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Ord EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Read EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Show EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Generic EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Associated Types

type Rep EncryptionOption :: Type -> Type #

NFData EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

Methods

rnf :: EncryptionOption -> () #

Hashable EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToJSON EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToJSONKey EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

FromJSON EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

FromJSONKey EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToLog EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToHeader EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToQuery EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

FromXML EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToXML EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToByteString EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

FromText EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

ToText EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

type Rep EncryptionOption Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionOption

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

QueryExecutionState

newtype QueryExecutionState Source #

Instances

Instances details
Eq QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Ord QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Read QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Show QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Generic QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Associated Types

type Rep QueryExecutionState :: Type -> Type #

NFData QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

Methods

rnf :: QueryExecutionState -> () #

Hashable QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToJSON QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToJSONKey QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

FromJSON QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

FromJSONKey QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToLog QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToHeader QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToQuery QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

FromXML QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToXML QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToByteString QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

FromText QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

ToText QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

type Rep QueryExecutionState Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionState

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

StatementType

newtype StatementType Source #

Constructors

StatementType' 

Instances

Instances details
Eq StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Ord StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Read StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Show StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Generic StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Associated Types

type Rep StatementType :: Type -> Type #

NFData StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Methods

rnf :: StatementType -> () #

Hashable StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToJSON StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToJSONKey StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

FromJSON StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

FromJSONKey StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToLog StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToHeader StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToQuery StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

FromXML StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToXML StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Methods

toXML :: StatementType -> XML #

ToByteString StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

FromText StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

ToText StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

Methods

toText :: StatementType -> Text #

type Rep StatementType Source # 
Instance details

Defined in Amazonka.Athena.Types.StatementType

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

WorkGroupState

newtype WorkGroupState Source #

Constructors

WorkGroupState' 

Instances

Instances details
Eq WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Ord WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Read WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Show WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Generic WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Associated Types

type Rep WorkGroupState :: Type -> Type #

NFData WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Methods

rnf :: WorkGroupState -> () #

Hashable WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToJSON WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToJSONKey WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

FromJSON WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

FromJSONKey WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToLog WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToHeader WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToQuery WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

FromXML WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToXML WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

Methods

toXML :: WorkGroupState -> XML #

ToByteString WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

FromText WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

ToText WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

type Rep WorkGroupState Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupState

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

Column

data Column Source #

Contains metadata for a column in a table.

See: newColumn smart constructor.

Constructors

Column' (Maybe Text) (Maybe Text) Text 

Instances

Instances details
Eq Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

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

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

Read Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Show Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Generic Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Associated Types

type Rep Column :: Type -> Type #

Methods

from :: Column -> Rep Column x #

to :: Rep Column x -> Column #

NFData Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

rnf :: Column -> () #

Hashable Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

hashWithSalt :: Int -> Column -> Int #

hash :: Column -> Int #

FromJSON Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

type Rep Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

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

newColumn Source #

Create a value of Column with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:comment:Column', column_comment - Optional information about the column.

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

ColumnInfo

data ColumnInfo Source #

Information about the columns in a query execution result.

See: newColumnInfo smart constructor.

Instances

Instances details
Eq ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Read ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Show ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Generic ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Associated Types

type Rep ColumnInfo :: Type -> Type #

NFData ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

Methods

rnf :: ColumnInfo -> () #

Hashable ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

FromJSON ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

type Rep ColumnInfo Source # 
Instance details

Defined in Amazonka.Athena.Types.ColumnInfo

newColumnInfo Source #

Create a value of ColumnInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

$sel:caseSensitive:ColumnInfo', columnInfo_caseSensitive - Indicates whether values in the column are case-sensitive.

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

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

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

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

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

DataCatalog

data DataCatalog Source #

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

See: newDataCatalog smart constructor.

Instances

Instances details
Eq DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Read DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Show DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Generic DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Associated Types

type Rep DataCatalog :: Type -> Type #

NFData DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

Methods

rnf :: DataCatalog -> () #

Hashable DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

FromJSON DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

type Rep DataCatalog Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalog

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

newDataCatalog Source #

Create a value of DataCatalog with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

    metadata-function=lambda_arn, sdk-version=version_number
  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

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

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

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

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

$sel:description:DataCatalog', dataCatalog_description - An optional description of the data catalog.

$sel:name:DataCatalog', dataCatalog_name - The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

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

DataCatalogSummary

data DataCatalogSummary Source #

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

See: newDataCatalogSummary smart constructor.

Instances

Instances details
Eq DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Read DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Show DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Generic DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Associated Types

type Rep DataCatalogSummary :: Type -> Type #

NFData DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

Methods

rnf :: DataCatalogSummary -> () #

Hashable DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

FromJSON DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

type Rep DataCatalogSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.DataCatalogSummary

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

newDataCatalogSummary :: DataCatalogSummary Source #

Create a value of DataCatalogSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:catalogName:DataCatalogSummary', dataCatalogSummary_catalogName - The name of the data catalog.

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

Database

data Database Source #

Contains metadata information for a database in a data catalog.

See: newDatabase smart constructor.

Instances

Instances details
Eq Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Read Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Show Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Generic Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Associated Types

type Rep Database :: Type -> Type #

Methods

from :: Database -> Rep Database x #

to :: Rep Database x -> Database #

NFData Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Methods

rnf :: Database -> () #

Hashable Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

FromJSON Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

type Rep Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

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

newDatabase Source #

Create a value of Database with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:description:Database', database_description - An optional description of the database.

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

Datum

data Datum Source #

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

See: newDatum smart constructor.

Constructors

Datum' (Maybe Text) 

Instances

Instances details
Eq Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

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

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

Read Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Show Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

Generic Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Associated Types

type Rep Datum :: Type -> Type #

Methods

from :: Datum -> Rep Datum x #

to :: Rep Datum x -> Datum #

NFData Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

rnf :: Datum -> () #

Hashable Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

Methods

hashWithSalt :: Int -> Datum -> Int #

hash :: Datum -> Int #

FromJSON Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

type Rep Datum Source # 
Instance details

Defined in Amazonka.Athena.Types.Datum

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

newDatum :: Datum Source #

Create a value of Datum with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:varCharValue:Datum', datum_varCharValue - The value of the datum.

EncryptionConfiguration

data EncryptionConfiguration Source #

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

See: newEncryptionConfiguration smart constructor.

Instances

Instances details
Eq EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Read EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Show EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Generic EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

NFData EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Methods

rnf :: EncryptionConfiguration -> () #

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

FromJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

type Rep EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

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

newEncryptionConfiguration Source #

Create a value of EncryptionConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:kmsKey:EncryptionConfiguration', encryptionConfiguration_kmsKey - For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.

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

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

EngineVersion

data EngineVersion Source #

The Athena engine version for running queries.

See: newEngineVersion smart constructor.

Constructors

EngineVersion' (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Read EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Show EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Generic EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Associated Types

type Rep EngineVersion :: Type -> Type #

NFData EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

Methods

rnf :: EngineVersion -> () #

Hashable EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

ToJSON EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

FromJSON EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

type Rep EngineVersion Source # 
Instance details

Defined in Amazonka.Athena.Types.EngineVersion

type Rep EngineVersion = D1 ('MetaData "EngineVersion" "Amazonka.Athena.Types.EngineVersion" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "EngineVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "effectiveEngineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "selectedEngineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEngineVersion :: EngineVersion Source #

Create a value of EngineVersion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:effectiveEngineVersion:EngineVersion', engineVersion_effectiveEngineVersion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.

$sel:selectedEngineVersion:EngineVersion', engineVersion_selectedEngineVersion - The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including Auto. The default is Auto.

NamedQuery

data NamedQuery Source #

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

See: newNamedQuery smart constructor.

Instances

Instances details
Eq NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Read NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Show NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Generic NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Associated Types

type Rep NamedQuery :: Type -> Type #

NFData NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Methods

rnf :: NamedQuery -> () #

Hashable NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

FromJSON NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

type Rep NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

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

newNamedQuery Source #

Create a value of NamedQuery with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:description:NamedQuery', namedQuery_description - The query description.

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

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

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

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

PreparedStatement

data PreparedStatement Source #

A prepared SQL statement for use with Athena.

See: newPreparedStatement smart constructor.

Instances

Instances details
Eq PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Read PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Show PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Generic PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Associated Types

type Rep PreparedStatement :: Type -> Type #

NFData PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Methods

rnf :: PreparedStatement -> () #

Hashable PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

FromJSON PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

type Rep PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

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

newPreparedStatement :: PreparedStatement Source #

Create a value of PreparedStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

$sel:description:PreparedStatement', preparedStatement_description - The description of the prepared statement.

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

PreparedStatementSummary

data PreparedStatementSummary Source #

The name and last modified time of the prepared statement.

See: newPreparedStatementSummary smart constructor.

Instances

Instances details
Eq PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Read PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Show PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Generic PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Associated Types

type Rep PreparedStatementSummary :: Type -> Type #

NFData PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

Hashable PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

FromJSON PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

type Rep PreparedStatementSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatementSummary

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

newPreparedStatementSummary :: PreparedStatementSummary Source #

Create a value of PreparedStatementSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

QueryExecution

data QueryExecution Source #

Information about a single instance of a query execution.

See: newQueryExecution smart constructor.

Instances

Instances details
Eq QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Read QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Show QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Generic QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Associated Types

type Rep QueryExecution :: Type -> Type #

NFData QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Methods

rnf :: QueryExecution -> () #

Hashable QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

FromJSON QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

type Rep QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

newQueryExecution :: QueryExecution Source #

Create a value of QueryExecution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:engineVersion:QueryExecution', queryExecution_engineVersion - The engine version that executed the query.

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

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

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

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

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

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

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

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

QueryExecutionContext

data QueryExecutionContext Source #

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

See: newQueryExecutionContext smart constructor.

Instances

Instances details
Eq QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Read QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Show QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Generic QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Associated Types

type Rep QueryExecutionContext :: Type -> Type #

NFData QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Methods

rnf :: QueryExecutionContext -> () #

Hashable QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

ToJSON QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

FromJSON QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

type Rep QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

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

newQueryExecutionContext :: QueryExecutionContext Source #

Create a value of QueryExecutionContext with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:catalog:QueryExecutionContext', queryExecutionContext_catalog - The name of the data catalog used in the query execution.

QueryExecutionStatistics

data QueryExecutionStatistics Source #

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

See: newQueryExecutionStatistics smart constructor.

Instances

Instances details
Eq QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Read QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Show QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Generic QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Associated Types

type Rep QueryExecutionStatistics :: Type -> Type #

NFData QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

Hashable QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

FromJSON QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

type Rep QueryExecutionStatistics Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatistics

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

newQueryExecutionStatistics :: QueryExecutionStatistics Source #

Create a value of QueryExecutionStatistics with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

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

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

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

QueryExecutionStatus

data QueryExecutionStatus Source #

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

See: newQueryExecutionStatus smart constructor.

Instances

Instances details
Eq QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Read QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Show QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Generic QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Associated Types

type Rep QueryExecutionStatus :: Type -> Type #

NFData QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

Methods

rnf :: QueryExecutionStatus -> () #

Hashable QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

FromJSON QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

type Rep QueryExecutionStatus Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionStatus

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

newQueryExecutionStatus :: QueryExecutionStatus Source #

Create a value of QueryExecutionStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

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

ResultConfiguration

data ResultConfiguration Source #

The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. 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.

Instances

Instances details
Eq ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Read ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Show ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Generic ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Associated Types

type Rep ResultConfiguration :: Type -> Type #

NFData ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

Methods

rnf :: ResultConfiguration -> () #

Hashable ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

ToJSON ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

FromJSON ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

type Rep ResultConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfiguration

type Rep ResultConfiguration = D1 ('MetaData "ResultConfiguration" "Amazonka.Athena.Types.ResultConfiguration" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ResultConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "outputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResultConfiguration :: ResultConfiguration Source #

Create a value of ResultConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

ResultConfigurationUpdates

data ResultConfigurationUpdates Source #

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

See: newResultConfigurationUpdates smart constructor.

Instances

Instances details
Eq ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Read ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Show ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Generic ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Associated Types

type Rep ResultConfigurationUpdates :: Type -> Type #

NFData ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

Hashable ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

ToJSON ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

type Rep ResultConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultConfigurationUpdates

type Rep ResultConfigurationUpdates = D1 ('MetaData "ResultConfigurationUpdates" "Amazonka.Athena.Types.ResultConfigurationUpdates" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ResultConfigurationUpdates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "removeOutputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "removeEncryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "outputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResultConfigurationUpdates :: ResultConfigurationUpdates Source #

Create a value of ResultConfigurationUpdates with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

ResultSet

data ResultSet Source #

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

See: newResultSet smart constructor.

Instances

Instances details
Eq ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Read ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Show ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Generic ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Associated Types

type Rep ResultSet :: Type -> Type #

NFData ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Methods

rnf :: ResultSet -> () #

Hashable ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

FromJSON ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

type Rep ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

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

newResultSet :: ResultSet Source #

Create a value of ResultSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:resultSetMetadata:ResultSet', resultSet_resultSetMetadata - The metadata that describes the column structure and data types of a table of query results.

ResultSetMetadata

data ResultSetMetadata Source #

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

See: newResultSetMetadata smart constructor.

Instances

Instances details
Eq ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Read ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Show ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Generic ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Associated Types

type Rep ResultSetMetadata :: Type -> Type #

NFData ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

Methods

rnf :: ResultSetMetadata -> () #

Hashable ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

FromJSON ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

type Rep ResultSetMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSetMetadata

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

newResultSetMetadata :: ResultSetMetadata Source #

Create a value of ResultSetMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:columnInfo:ResultSetMetadata', resultSetMetadata_columnInfo - Information about the columns returned in a query result metadata.

Row

data Row Source #

The rows that comprise a query result table.

See: newRow smart constructor.

Constructors

Row' (Maybe [Datum]) 

Instances

Instances details
Eq Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

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

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

Read Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Show Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

showsPrec :: Int -> Row -> ShowS #

show :: Row -> String #

showList :: [Row] -> ShowS #

Generic Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Associated Types

type Rep Row :: Type -> Type #

Methods

from :: Row -> Rep Row x #

to :: Rep Row x -> Row #

NFData Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

rnf :: Row -> () #

Hashable Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

Methods

hashWithSalt :: Int -> Row -> Int #

hash :: Row -> Int #

FromJSON Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

type Rep Row Source # 
Instance details

Defined in Amazonka.Athena.Types.Row

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

newRow :: Row Source #

Create a value of Row with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:data':Row', row_data - The data that populates a row in a query result table.

TableMetadata

data TableMetadata Source #

Contains metadata for a table.

See: newTableMetadata smart constructor.

Instances

Instances details
Eq TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Read TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Show TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Generic TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Associated Types

type Rep TableMetadata :: Type -> Type #

NFData TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Methods

rnf :: TableMetadata -> () #

Hashable TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

FromJSON TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

type Rep TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

newTableMetadata Source #

Create a value of TableMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

$sel:columns:TableMetadata', tableMetadata_columns - A list of the columns in the table.

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

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

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

$sel:name:TableMetadata', tableMetadata_name - The name of the table.

Tag

data Tag Source #

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

See: newTag smart constructor.

Constructors

Tag' (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

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

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

Read Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

FromJSON Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.Athena.Types.Tag

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

newTag :: Tag Source #

Create a value of Tag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

UnprocessedNamedQueryId

data UnprocessedNamedQueryId Source #

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

See: newUnprocessedNamedQueryId smart constructor.

Instances

Instances details
Eq UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Read UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Show UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Generic UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Associated Types

type Rep UnprocessedNamedQueryId :: Type -> Type #

NFData UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

Methods

rnf :: UnprocessedNamedQueryId -> () #

Hashable UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

FromJSON UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

type Rep UnprocessedNamedQueryId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedNamedQueryId

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

newUnprocessedNamedQueryId :: UnprocessedNamedQueryId Source #

Create a value of UnprocessedNamedQueryId with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:errorCode:UnprocessedNamedQueryId', unprocessedNamedQueryId_errorCode - The error code returned when the processing request for the named query failed, if applicable.

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

UnprocessedQueryExecutionId

data UnprocessedQueryExecutionId Source #

Describes a query execution that failed to process.

See: newUnprocessedQueryExecutionId smart constructor.

Instances

Instances details
Eq UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Read UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Show UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Generic UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Associated Types

type Rep UnprocessedQueryExecutionId :: Type -> Type #

NFData UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

Hashable UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

FromJSON UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

type Rep UnprocessedQueryExecutionId Source # 
Instance details

Defined in Amazonka.Athena.Types.UnprocessedQueryExecutionId

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

newUnprocessedQueryExecutionId :: UnprocessedQueryExecutionId Source #

Create a value of UnprocessedQueryExecutionId with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:errorCode:UnprocessedQueryExecutionId', unprocessedQueryExecutionId_errorCode - The error code returned when the query execution failed to process, if applicable.

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

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

WorkGroup

data WorkGroup Source #

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

See: newWorkGroup smart constructor.

Instances

Instances details
Eq WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Read WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Show WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Generic WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Associated Types

type Rep WorkGroup :: Type -> Type #

NFData WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Methods

rnf :: WorkGroup -> () #

Hashable WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

FromJSON WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

type Rep WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

type Rep WorkGroup = D1 ('MetaData "WorkGroup" "Amazonka.Athena.Types.WorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "WorkGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupState))) :*: (S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupConfiguration)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newWorkGroup Source #

Create a value of WorkGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

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

WorkGroupConfiguration

data WorkGroupConfiguration Source #

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

See: newWorkGroupConfiguration smart constructor.

Instances

Instances details
Eq WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Read WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Show WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Generic WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Associated Types

type Rep WorkGroupConfiguration :: Type -> Type #

NFData WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

Methods

rnf :: WorkGroupConfiguration -> () #

Hashable WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

ToJSON WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

FromJSON WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

type Rep WorkGroupConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfiguration

type Rep WorkGroupConfiguration = D1 ('MetaData "WorkGroupConfiguration" "Amazonka.Athena.Types.WorkGroupConfiguration" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "WorkGroupConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EngineVersion)) :*: (S1 ('MetaSel ('Just "requesterPaysEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "resultConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultConfiguration)))) :*: (S1 ('MetaSel ('Just "bytesScannedCutoffPerQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "enforceWorkGroupConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "publishCloudWatchMetricsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newWorkGroupConfiguration :: WorkGroupConfiguration Source #

Create a value of WorkGroupConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

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

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

WorkGroupConfigurationUpdates

data WorkGroupConfigurationUpdates Source #

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

See: newWorkGroupConfigurationUpdates smart constructor.

Instances

Instances details
Eq WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Read WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Show WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Generic WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Associated Types

type Rep WorkGroupConfigurationUpdates :: Type -> Type #

NFData WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

Hashable WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

ToJSON WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

type Rep WorkGroupConfigurationUpdates Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupConfigurationUpdates

type Rep WorkGroupConfigurationUpdates = D1 ('MetaData "WorkGroupConfigurationUpdates" "Amazonka.Athena.Types.WorkGroupConfigurationUpdates" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "WorkGroupConfigurationUpdates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EngineVersion)) :*: (S1 ('MetaSel ('Just "requesterPaysEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "resultConfigurationUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultConfigurationUpdates)))) :*: ((S1 ('MetaSel ('Just "bytesScannedCutoffPerQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "removeBytesScannedCutoffPerQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "enforceWorkGroupConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "publishCloudWatchMetricsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newWorkGroupConfigurationUpdates :: WorkGroupConfigurationUpdates Source #

Create a value of WorkGroupConfigurationUpdates with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

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

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

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

WorkGroupSummary

data WorkGroupSummary Source #

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

See: newWorkGroupSummary smart constructor.

Instances

Instances details
Eq WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Read WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Show WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Generic WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Associated Types

type Rep WorkGroupSummary :: Type -> Type #

NFData WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

Methods

rnf :: WorkGroupSummary -> () #

Hashable WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

FromJSON WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

type Rep WorkGroupSummary Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroupSummary

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

newWorkGroupSummary :: WorkGroupSummary Source #

Create a value of WorkGroupSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:creationTime:WorkGroupSummary', workGroupSummary_creationTime - The workgroup creation date and time.

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

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

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

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