5.0.0 • Published 7 years ago

@datafire/amazonaws_pi v5.0.0

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

@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