5.0.0 • Published 7 years ago

@datafire/amazonaws_resourcegroupstaggingapi v5.0.0

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

@datafire/amazonaws_resourcegroupstaggingapi

Client library for AWS Resource Groups Tagging API

Installation and Usage

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

amazonaws_resourcegroupstaggingapi.GetResources({}).then(data => {
  console.log(data);
});

Description

Resource Groups Tagging API This guide describes the API operations for the resource groups tagging. A tag is a label that you assign to an AWS resource. A tag consists of a key and a value, both of which you define. For example, if you have two Amazon EC2 instances, you might assign both a tag key of "Stack." But the value of "Stack" might be "Testing" for one and "Production" for the other. Tagging can help you organize your resources and enables you to simplify resource management, access management and cost allocation. For more information about tagging, see Working with Tag Editor and Working with Resource Groups. For more information about permissions you need to use the resource groups tagging APIs, see Obtaining Permissions for Resource Groups and Obtaining Permissions for Tagging . You can use the resource groups tagging APIs to complete the following tasks: Tag and untag supported resources located in the specified region for the AWS account Use tag-based filters to search for resources located in the specified region for the AWS account List all existing tag keys in the specified region for the AWS account List all existing values for the specified key in the specified region for the AWS account Not all resources can have tags. For a lists of resources that you can tag, see Supported Resources in the AWS Resource Groups and Tag Editor User Guide. To make full use of the resource groups tagging APIs, you might need additional IAM permissions, including permission to access the resources of individual services as well as permission to view and apply tags to those resources. For more information, see Obtaining Permissions for Tagging in the AWS Resource Groups and Tag Editor User Guide.

Actions

GetResources

amazonaws_resourcegroupstaggingapi.GetResources({}, context)

Input

Output

GetTagKeys

amazonaws_resourcegroupstaggingapi.GetTagKeys({}, context)

Input

Output

GetTagValues

amazonaws_resourcegroupstaggingapi.GetTagValues({
  "Key": ""
}, context)

Input

Output

TagResources

amazonaws_resourcegroupstaggingapi.TagResources({
  "ResourceARNList": [],
  "Tags": []
}, context)

Input

Output

UntagResources

amazonaws_resourcegroupstaggingapi.UntagResources({
  "ResourceARNList": [],
  "TagKeys": []
}, context)

Input

Output

Definitions

AmazonResourceType

  • AmazonResourceType string

ErrorCode

  • ErrorCode string (values: InternalServiceException, InvalidParameterException)

ErrorMessage

  • ErrorMessage string

ExceptionMessage

  • ExceptionMessage string

FailedResourcesMap

FailureInfo

GetResourcesInput

GetResourcesOutput

GetTagKeysInput

GetTagKeysOutput

GetTagValuesInput

GetTagValuesOutput

InternalServiceException

  • InternalServiceException object: The request processing failed because of an unknown error, exception, or failure. You can retry the request.

InvalidParameterException

  • InvalidParameterException object: A parameter is missing or a malformed string or invalid or out-of-range value was supplied for the request parameter.

PaginationToken

  • PaginationToken string

PaginationTokenExpiredException

  • PaginationTokenExpiredException object: A PaginationToken is valid for a maximum of 15 minutes. Your request was denied because the specified PaginationToken has expired.

ResourceARN

  • ResourceARN string

ResourceARNList

ResourceTagMapping

  • ResourceTagMapping object: A list of resource ARNs and the tags (keys and values) that are associated with each.

ResourceTagMappingList

ResourceTypeFilterList

ResourcesPerPage

  • ResourcesPerPage integer

StatusCode

  • StatusCode integer

Tag

  • Tag object: The metadata that you apply to AWS resources to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. For more information, see Tag Basics in the Amazon EC2 User Guide for Linux Instances.

TagFilter

  • TagFilter object: A list of tags (keys and values) that are used to specify the associated resources.

TagFilterList

TagKey

  • TagKey string

TagKeyList

TagKeyListForUntag

  • TagKeyListForUntag array

TagList

  • TagList array

TagMap

TagResourcesInput

TagResourcesOutput

TagValue

  • TagValue string

TagValueList

TagValuesOutputList

TagsPerPage

  • TagsPerPage integer

ThrottledException

  • ThrottledException object: The request was denied to limit the frequency of submitted requests.

UntagResourcesInput

UntagResourcesOutput