Pricing
import { Pricing } from "https://aws-api.deno.dev/v0.2/services/pricing.ts?docs=full";
class Pricing { }
constructor(apiFactory: client.ApiFactory);
async describeServices(params?: DescribeServicesRequest, opts?: client.RequestOptions): Promise<DescribeServicesResponse>;
async getAttributeValues(params: GetAttributeValuesRequest, opts?: client.RequestOptions): Promise<GetAttributeValuesResponse>;
async getProducts(params?: GetProductsRequest, opts?: client.RequestOptions): Promise<GetProductsResponse>;
§Constructors
§
new Pricing(apiFactory: client.ApiFactory)
[src]§Methods
§
describeServices(params?: DescribeServicesRequest, opts?: client.RequestOptions): Promise<DescribeServicesResponse>
[src]Returns the metadata for one service or a list of the metadata for all services.
Use this without a service code to get the service codes for all services.
Use it with a service code, such as AmazonEC2
, to get information specific to that service, such as the attribute names available for that service.
For example, some of the attribute names available for EC2 are volumeType
, maxIopsVolume
, operation
, locationType
, and instanceCapacity10xlarge
.
§
getAttributeValues(params: GetAttributeValuesRequest, opts?: client.RequestOptions): Promise<GetAttributeValuesResponse>
[src]Returns a list of attribute values. Attibutes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the Amazon Web Services Billing and Cost Management User Guide.
§
getProducts(params?: GetProductsRequest, opts?: client.RequestOptions): Promise<GetProductsResponse>
[src]Returns a list of all products that match the filter criteria.
§Static Properties
§
ApiMetadata: client.ApiMetadata
[src]