npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_athena

v5.0.0

Published

DataFire integration for Amazon Athena

Downloads

23

Readme

@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