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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_cur

v5.0.0

Published

DataFire integration for AWS Cost and Usage Report Service

Readme

@datafire/amazonaws_cur

Client library for AWS Cost and Usage Report Service

Installation and Usage

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

amazonaws_cur.DeleteReportDefinition({}).then(data => {
  console.log(data);
});

Description

All public APIs for AWS Cost and Usage Report service

Actions

DeleteReportDefinition

amazonaws_cur.DeleteReportDefinition({}, context)

Input

Output

DescribeReportDefinitions

amazonaws_cur.DescribeReportDefinitions({}, context)

Input

Output

PutReportDefinition

amazonaws_cur.PutReportDefinition({
  "ReportDefinition": {
    "ReportName": "",
    "TimeUnit": "",
    "Format": "",
    "Compression": "",
    "AdditionalSchemaElements": [],
    "S3Bucket": "",
    "S3Prefix": "",
    "S3Region": ""
  }
}, context)

Input

Output

Definitions

AWSRegion

  • AWSRegion string (values: us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1): Region of customer S3 bucket.

AdditionalArtifact

  • AdditionalArtifact string (values: REDSHIFT, QUICKSIGHT): Enable support for Redshift and/or QuickSight.

AdditionalArtifactList

CompressionFormat

  • CompressionFormat string (values: ZIP, GZIP): Preferred compression format for report.

DeleteReportDefinitionRequest

  • DeleteReportDefinitionRequest object: Request of DeleteReportDefinition

DeleteReportDefinitionResponse

  • DeleteReportDefinitionResponse object: Response of DeleteReportDefinition

DeleteResponseMessage

  • DeleteResponseMessage string: A message indicates if the deletion is successful.

DescribeReportDefinitionsRequest

  • DescribeReportDefinitionsRequest object: Request of DescribeReportDefinitions

DescribeReportDefinitionsResponse

DuplicateReportNameException

  • DuplicateReportNameException object: This exception is thrown when putting a report preference with a name that already exists.

ErrorMessage

  • ErrorMessage string: A message to show the detail of the exception.

GenericString

  • GenericString string: A generic string.

InternalErrorException

  • InternalErrorException object: This exception is thrown on a known dependency failure.

MaxResults

  • MaxResults integer: The max number of results returned by the operation.

PutReportDefinitionRequest

  • PutReportDefinitionRequest object: Request of PutReportDefinition

PutReportDefinitionResponse

  • PutReportDefinitionResponse object: Response of PutReportDefinition

ReportDefinition

ReportDefinitionList

ReportFormat

  • ReportFormat string (values: textORcsv): Preferred format for report.

ReportLimitReachedException

  • ReportLimitReachedException object: This exception is thrown when the number of report preference reaches max limit. The max number is 5.

ReportName

  • ReportName string: Preferred name for a report, it has to be unique. Must starts with a number/letter, case sensitive. Limited to 256 characters.

S3Bucket

  • S3Bucket string: Name of customer S3 bucket.

S3Prefix

  • S3Prefix string: Preferred report path prefix. Limited to 256 characters.

SchemaElement

  • SchemaElement string (values: RESOURCES): Preference of including Resource IDs. You can include additional details about individual resource IDs in your report.

SchemaElementList

  • SchemaElementList array: A list of schema elements.

TimeUnit

  • TimeUnit string (values: HOURLY, DAILY): The frequency on which report data are measured and displayed.

ValidationException

  • ValidationException object: This exception is thrown when providing an invalid input. eg. Put a report preference with an invalid report name, or Delete a report preference with an empty report name.