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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_pi

v5.0.0

Published

DataFire integration for AWS Performance Insights

Downloads

15

Readme

@datafire/amazonaws_pi

Client library for AWS Performance Insights

Installation and Usage

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

amazonaws_pi.DescribeDimensionKeys({
  "ServiceType": "",
  "Identifier": "",
  "StartTime": "",
  "EndTime": "",
  "Metric": "",
  "GroupBy": {
    "Group": ""
  }
}).then(data => {
  console.log(data);
});

Description

Actions

DescribeDimensionKeys

amazonaws_pi.DescribeDimensionKeys({
  "ServiceType": "",
  "Identifier": "",
  "StartTime": "",
  "EndTime": "",
  "Metric": "",
  "GroupBy": {
    "Group": ""
  }
}, context)

Input

Output

GetResourceMetrics

amazonaws_pi.GetResourceMetrics({
  "ServiceType": "",
  "Identifier": "",
  "MetricQueries": [],
  "StartTime": "",
  "EndTime": ""
}, context)

Input

Output

Definitions

DataPoint

  • DataPoint object: A timestamp, and a single numerical value, which together represent a measurement at a particular point in time.

DataPointsList

DescribeDimensionKeysRequest

DescribeDimensionKeysResponse

DimensionGroup

  • DimensionGroup object: A logical grouping of Performance Insights metrics for a related subject area. For example, the db.sql dimension group consists of the following dimensions: db.sql.id, db.sql.db_id, db.sql.statement, and db.sql.tokenized_id.

DimensionKeyDescription

  • DimensionKeyDescription object: An array of descriptions and aggregated values for each dimension within a dimension group.

DimensionKeyDescriptionList

DimensionMap

Double

  • Double number

GetResourceMetricsRequest

GetResourceMetricsResponse

ISOTimestamp

  • ISOTimestamp string

Integer

  • Integer integer

InternalServiceError

  • InternalServiceError object: The request failed due to an unknown error.

InvalidArgumentException

  • InvalidArgumentException object: One of the arguments provided is invalid for this request.

Limit

  • Limit integer

MaxResults

  • MaxResults integer

MetricKeyDataPoints

MetricKeyDataPointsList

MetricQuery

  • MetricQuery object: A single query to be processed. You must provide the metric to query. If no other parameters are specified, Performance Insights returns all of the data points for that metric. You can optionally request that the data points be aggregated by dimension group ( GroupBy), and return only those data points that match your criteria (Filter).

MetricQueryFilterMap

  • MetricQueryFilterMap array

MetricQueryList

MetricValuesList

  • MetricValuesList array

NotAuthorizedException

  • NotAuthorizedException object: The user is not authorized to perform this request.

ResponsePartitionKey

  • ResponsePartitionKey object: If PartitionBy was specified in a DescribeDimensionKeys request, the dimensions are returned in an array. Each element in the array specifies one dimension.

ResponsePartitionKeyList

ResponseResourceMetricKey

  • ResponseResourceMetricKey object: An object describing a Performance Insights metric and one or more dimensions for that metric.

ServiceType

  • ServiceType string (values: RDS)

String

  • String string

StringList