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_resource_groups

v5.0.0

Published

DataFire integration for AWS Resource Groups

Readme

@datafire/amazonaws_resource_groups

Client library for AWS Resource Groups

Installation and Usage

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

amazonaws_resource_groups.ListGroups({}).then(data => {
  console.log(data);
});

Description

AWS Resource Groups AWS Resource Groups lets you organize AWS resources such as Amazon EC2 instances, Amazon Relational Database Service databases, and Amazon S3 buckets into groups using criteria that you define as tags. A resource group is a collection of resources that match the resource types specified in a query, and share one or more tags or portions of tags. You can create a group of resources based on their roles in your cloud infrastructure, lifecycle stages, regions, application layers, or virtually any criteria. Resource groups enable you to automate management tasks, such as those in AWS Systems Manager Automation documents, on tag-related resources in AWS Systems Manager. Groups of tagged resources also let you quickly view a custom console in AWS Systems Manager that shows AWS Config compliance and other monitoring data about member resources. To create a resource group, build a resource query, and specify tags that identify the criteria that members of the group have in common. Tags are key-value pairs. For more information about Resource Groups, see the AWS Resource Groups User Guide. AWS Resource Groups uses a REST-compliant API that you can use to perform the following types of operations. Create, Read, Update, and Delete (CRUD) operations on resource groups and resource query entities Applying, editing, and removing tags from resource groups Resolving resource group member ARNs so they can be returned as search results Getting data about resources that are members of a group Searching AWS resources based on a resource query

Actions

ListGroups

amazonaws_resource_groups.ListGroups({}, context)

Input

  • input object
    • MaxResults string
    • NextToken string

Output

CreateGroup

amazonaws_resource_groups.CreateGroup({
  "Name": "",
  "ResourceQuery": {
    "Type": "",
    "Query": ""
  }
}, context)

Input

Output

DeleteGroup

amazonaws_resource_groups.DeleteGroup({
  "GroupName": ""
}, context)

Input

  • input object
    • GroupName required string

Output

GetGroup

amazonaws_resource_groups.GetGroup({
  "GroupName": ""
}, context)

Input

  • input object
    • GroupName required string

Output

UpdateGroup

amazonaws_resource_groups.UpdateGroup({
  "GroupName": ""
}, context)

Input

Output

GetGroupQuery

amazonaws_resource_groups.GetGroupQuery({
  "GroupName": ""
}, context)

Input

  • input object
    • GroupName required string

Output

UpdateGroupQuery

amazonaws_resource_groups.UpdateGroupQuery({
  "GroupName": "",
  "ResourceQuery": {
    "Type": "",
    "Query": ""
  }
}, context)

Input

  • input object

Output

ListGroupResources

amazonaws_resource_groups.ListGroupResources({
  "GroupName": ""
}, context)

Input

  • input object
    • MaxResults string
    • NextToken string
    • GroupName required string

Output

SearchResources

amazonaws_resource_groups.SearchResources({
  "ResourceQuery": {
    "Type": "",
    "Query": ""
  }
}, context)

Input

Output

GetTags

amazonaws_resource_groups.GetTags({
  "Arn": ""
}, context)

Input

  • input object
    • Arn required string

Output

Untag

amazonaws_resource_groups.Untag({
  "Arn": "",
  "Keys": []
}, context)

Input

  • input object

Output

Tag

amazonaws_resource_groups.Tag({
  "Arn": "",
  "Tags": []
}, context)

Input

  • input object
    • Arn required string
    • Tags required Tags

Output

Definitions

BadRequestException

  • BadRequestException object: The request does not comply with validation rules that are defined for the request parameters.

CreateGroupInput

CreateGroupOutput

DeleteGroupInput

  • DeleteGroupInput object

DeleteGroupOutput

  • DeleteGroupOutput object

ErrorMessage

  • ErrorMessage string

ForbiddenException

  • ForbiddenException object: The caller is not authorized to make the request.

GetGroupInput

  • GetGroupInput object

GetGroupOutput

  • GetGroupOutput object

GetGroupQueryInput

  • GetGroupQueryInput object

GetGroupQueryOutput

GetTagsInput

  • GetTagsInput object

GetTagsOutput

Group

GroupArn

  • GroupArn string

GroupDescription

  • GroupDescription string

GroupList

  • GroupList array

GroupName

  • GroupName string

GroupQuery

  • GroupQuery object: The underlying resource query of a resource group. Resources that match query results are part of the group.

InternalServerErrorException

  • InternalServerErrorException object: An internal error occurred while processing the request.

ListGroupResourcesInput

  • ListGroupResourcesInput object

ListGroupResourcesOutput

ListGroupsInput

  • ListGroupsInput object

ListGroupsOutput

MaxResults

  • MaxResults integer

MethodNotAllowedException

  • MethodNotAllowedException object: The request uses an HTTP method which is not allowed for the specified resource.

NextToken

  • NextToken string

NotFoundException

  • NotFoundException object: One or more resources specified in the request do not exist.

Query

  • Query string

QueryType

  • QueryType string (values: TAG_FILTERS_1_0)

ResourceArn

  • ResourceArn string

ResourceIdentifier

  • ResourceIdentifier object: The ARN of a resource, and its resource type.

ResourceIdentifierList

ResourceQuery

  • ResourceQuery object: The query that is used to define a resource group or a search for resources.

ResourceType

  • ResourceType string

SearchResourcesInput

SearchResourcesOutput

TagInput

  • TagInput object

TagKey

  • TagKey string

TagKeyList

TagOutput

TagValue

  • TagValue string

Tags

TooManyRequestsException

  • TooManyRequestsException object: The caller has exceeded throttling limits.

UnauthorizedException

  • UnauthorizedException object: The request has not been applied because it lacks valid authentication credentials for the target resource.

UntagInput

UntagOutput

UpdateGroupInput

UpdateGroupOutput

  • UpdateGroupOutput object

UpdateGroupQueryInput

UpdateGroupQueryOutput

  • UpdateGroupQueryOutput object