AWS Price List API library (Perl 6)
Perl6 Shell
Switch branches/tags
Nothing to show
Latest commit a2bed38 Apr 26, 2017 @scmorrison committed on GitHub Merge pull request #1 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json

AWS::Pricing Build Status


Return current offers from the AWS Price List API.



  aws-pricing list services
  aws-pricing [--format=json|csv] service offers <service_code>;

Optional arguments:
  --refresh    - Force cache_dir refresh
  --cache_dir  - Path to cache_dir service offer files (Default ~/.aws-pricing)
  --region     - AWS region to pull offer data (Default us-east-1)

Modules and utilities


use AWS::Pricing;

# List all Service Offer indexes
say AWS::Pricing::list-offers();
# List current offers for specific service. Valid formats are json or csv.
say AWS::Pricing::service-offers(service_code => 'AmazonS3', format => 'json');

Valid service codes:

  • AmazonS3
  • AmazonGlacier
  • AmazonSES
  • AmazonRDS
  • AmazonSimpleDB
  • AmazonDynamoDB
  • AmazonEC2
  • AmazonRoute53
  • AmazonRedshift
  • AmazonElastiCache
  • AmazonCloudFront
  • awskms
  • AmazonVPC


Install directly with "panda":

# From the source directory

	panda install .

	# Or with helper script



To run tests:

$ prove -e "perl6 -Ilib"


  • Cache offer files, these are large
  • Search offers (must cache first)
  • Tests

See also


  • Sam Morrison

Copyright and license

Copyright 2015 Sam Morrison

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.