5.0.0 • Published 7 years ago

@datafire/amazonaws_athena v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_athena

Client library for Amazon Athena

Installation and Usage

npm install --save @datafire/amazonaws_athena
let amazonaws_athena = require('@datafire/amazonaws_athena').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_athena.BatchGetNamedQuery({
  "NamedQueryIds": []
}).then(data => {
  console.log(data);
});

Description

Actions

BatchGetNamedQuery

amazonaws_athena.BatchGetNamedQuery({
  "NamedQueryIds": []
}, context)

Input

Output

BatchGetQueryExecution

amazonaws_athena.BatchGetQueryExecution({
  "QueryExecutionIds": []
}, context)

Input

Output

CreateNamedQuery

amazonaws_athena.CreateNamedQuery({
  "Name": "",
  "Database": "",
  "QueryString": ""
}, context)

Input

Output

DeleteNamedQuery

amazonaws_athena.DeleteNamedQuery({
  "NamedQueryId": ""
}, context)

Input

Output

GetNamedQuery

amazonaws_athena.GetNamedQuery({
  "NamedQueryId": ""
}, context)

Input

Output

GetQueryExecution

amazonaws_athena.GetQueryExecution({
  "QueryExecutionId": ""
}, context)

Input

Output

GetQueryResults

amazonaws_athena.GetQueryResults({
  "QueryExecutionId": ""
}, context)

Input

Output

ListNamedQueries

amazonaws_athena.ListNamedQueries({}, context)

Input

Output

ListQueryExecutions

amazonaws_athena.ListQueryExecutions({}, context)

Input

Output

StartQueryExecution

amazonaws_athena.StartQueryExecution({
  "QueryString": "",
  "ResultConfiguration": {
    "OutputLocation": ""
  }
}, context)

Input

Output

StopQueryExecution

amazonaws_athena.StopQueryExecution({
  "QueryExecutionId": ""
}, context)

Input

Output

Definitions

BatchGetNamedQueryInput

BatchGetNamedQueryOutput

BatchGetQueryExecutionInput

BatchGetQueryExecutionOutput

Boolean

  • Boolean boolean

ColumnInfo

ColumnInfoList

ColumnNullable

  • ColumnNullable string (values: NOT_NULL, NULLABLE, UNKNOWN)

CreateNamedQueryInput

CreateNamedQueryOutput

DatabaseString

  • DatabaseString string

Date

  • Date string

Datum

  • Datum object: A piece of data (a field in the table).

DeleteNamedQueryInput

  • DeleteNamedQueryInput object

DeleteNamedQueryOutput

  • DeleteNamedQueryOutput object

DescriptionString

  • DescriptionString string

EncryptionConfiguration

  • EncryptionConfiguration object: If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption option used.

EncryptionOption

  • EncryptionOption string (values: SSE_S3, SSE_KMS, CSE_KMS)

ErrorCode

  • ErrorCode string

ErrorMessage

  • ErrorMessage string

GetNamedQueryInput

GetNamedQueryOutput

GetQueryExecutionInput

GetQueryExecutionOutput

GetQueryResultsInput

GetQueryResultsOutput

IdempotencyToken

  • IdempotencyToken string

Integer

  • Integer integer

InternalServerException

  • InternalServerException object: Indicates a platform issue, which may be due to a transient condition or outage.

InvalidRequestException

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

ListNamedQueriesInput

ListNamedQueriesOutput

ListQueryExecutionsInput

ListQueryExecutionsOutput

Long

  • Long integer

MaxNamedQueriesCount

  • MaxNamedQueriesCount integer

MaxQueryExecutionsCount

  • MaxQueryExecutionsCount integer

MaxQueryResults

  • MaxQueryResults integer

NameString

  • NameString string

NamedQuery

NamedQueryId

  • NamedQueryId string

NamedQueryIdList

NamedQueryList

QueryExecution

QueryExecutionContext

  • QueryExecutionContext object: The database in which the query execution occurs.

QueryExecutionId

  • QueryExecutionId string

QueryExecutionIdList

QueryExecutionList

QueryExecutionState

  • QueryExecutionState string (values: QUEUED, RUNNING, SUCCEEDED, FAILED, CANCELLED)

QueryExecutionStatistics

  • QueryExecutionStatistics object: The amount of data scanned during the query execution and the amount of time that it took to execute.
    • DataScannedInBytes Long
    • EngineExecutionTimeInMillis Long

QueryExecutionStatus

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

QueryString

  • QueryString string

ResultConfiguration

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

ResultSet

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

ResultSetMetadata

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

Row

  • Row object: The rows that comprise a query result table.

RowList

  • RowList array

StartQueryExecutionInput

StartQueryExecutionOutput

StopQueryExecutionInput

StopQueryExecutionOutput

  • StopQueryExecutionOutput object

String

  • String string

ThrottleReason

  • ThrottleReason string (values: CONCURRENT_QUERY_LIMIT_EXCEEDED)

Token

  • Token string

TooManyRequestsException

UnprocessedNamedQueryId

UnprocessedNamedQueryIdList

UnprocessedQueryExecutionId

UnprocessedQueryExecutionIdList

datumList

  • datumList array

datumString

  • datumString string
5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago