5.0.0 • Published 7 years ago
@datafire/amazonaws_api_pricing v5.0.0
@datafire/amazonaws_api_pricing
Client library for AWS Price List Service
Installation and Usage
npm install --save @datafire/amazonaws_api_pricing
let amazonaws_api_pricing = require('@datafire/amazonaws_api_pricing').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
amazonaws_api_pricing.DescribeServices({}).then(data => {
console.log(data);
});
Description
Actions
DescribeServices
amazonaws_api_pricing.DescribeServices({}, context)
Input
- input
object
- MaxResults
string
- NextToken
string
- FormatVersion String
- MaxResults BoxedInteger
- NextToken String
- ServiceCode String
- MaxResults
Output
- output DescribeServicesResponse
GetAttributeValues
amazonaws_api_pricing.GetAttributeValues({
"ServiceCode": "",
"AttributeName": ""
}, context)
Input
- input
object
- MaxResults
string
- NextToken
string
- AttributeName required String
- MaxResults BoxedInteger
- NextToken String
- ServiceCode required String
- MaxResults
Output
- output GetAttributeValuesResponse
GetProducts
amazonaws_api_pricing.GetProducts({}, context)
Input
- input
object
- MaxResults
string
- NextToken
string
- Filters Filters
- FormatVersion String
- MaxResults BoxedInteger
- NextToken String
- ServiceCode String
- MaxResults
Output
- output GetProductsResponse
Definitions
AttributeNameList
- AttributeNameList
array
- items String
AttributeValue
- AttributeValue
object
: The values of a given attribute, such as Throughput Optimized HDD or Provisioned IOPS for the Amazon EC2 volumeType attribute.- Value String
AttributeValueList
- AttributeValueList
array
- items AttributeValue
BoxedInteger
- BoxedInteger
integer
DescribeServicesRequest
- DescribeServicesRequest
object
- FormatVersion String
- MaxResults BoxedInteger
- NextToken String
- ServiceCode String
DescribeServicesResponse
- DescribeServicesResponse
object
- FormatVersion String
- NextToken String
- Services ServiceList
ExpiredNextTokenException
- ExpiredNextTokenException
object
: The pagination token expired. Try again without a pagination token.- Message errorMessage
Filter
- Filter
object
: The constraints that you want all returned products to match.- Field required String
- Type required FilterType
- Value required String
FilterType
- FilterType
string
(values: TERM_MATCH)
Filters
- Filters
array
- items Filter
GetAttributeValuesRequest
- GetAttributeValuesRequest
object
- AttributeName required String
- MaxResults BoxedInteger
- NextToken String
- ServiceCode required String
GetAttributeValuesResponse
- GetAttributeValuesResponse
object
- AttributeValues AttributeValueList
- NextToken String
GetProductsRequest
- GetProductsRequest
object
- Filters Filters
- FormatVersion String
- MaxResults BoxedInteger
- NextToken String
- ServiceCode String
GetProductsResponse
InternalErrorException
- InternalErrorException
object
: An error on the server occurred during the processing of your request. Try again later.- Message errorMessage
InvalidNextTokenException
- InvalidNextTokenException
object
: The pagination token is invalid. Try again without a pagination token.- Message errorMessage
InvalidParameterException
- InvalidParameterException
object
: One or more parameters had an invalid value.- Message errorMessage
NotFoundException
- NotFoundException
object
: The requested resource can't be found.- Message errorMessage
PriceList
- PriceList
array
- items PriceListItemJSON
PriceListItemJSON
- PriceListItemJSON
string
Service
- Service
object
: The metadata for a service, such as the service code and available attribute names.- AttributeNames AttributeNameList
- ServiceCode String
ServiceList
- ServiceList
array
- items Service
String
- String
string
errorMessage
- errorMessage
string