{"id":16301933,"url":"https://github.com/scmorrison/perl6-aws-pricing","last_synced_at":"2026-04-27T20:32:13.893Z","repository":{"id":77431104,"uuid":"49176926","full_name":"scmorrison/perl6-aws-pricing","owner":"scmorrison","description":"AWS Price List API library (Perl 6)","archived":false,"fork":false,"pushed_at":"2017-05-05T11:14:28.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T01:18:59.168Z","etag":null,"topics":["aws","aws-price","perl6"],"latest_commit_sha":null,"homepage":null,"language":"Perl6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scmorrison.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-07T02:55:47.000Z","updated_at":"2021-06-08T13:19:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"5da441ec-87f3-4e17-8771-9d67c63eea99","html_url":"https://github.com/scmorrison/perl6-aws-pricing","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/scmorrison/perl6-aws-pricing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scmorrison%2Fperl6-aws-pricing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scmorrison%2Fperl6-aws-pricing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scmorrison%2Fperl6-aws-pricing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scmorrison%2Fperl6-aws-pricing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scmorrison","download_url":"https://codeload.github.com/scmorrison/perl6-aws-pricing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scmorrison%2Fperl6-aws-pricing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-price","perl6"],"created_at":"2024-10-10T20:56:03.163Z","updated_at":"2026-04-27T20:32:13.872Z","avatar_url":"https://github.com/scmorrison.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"AWS::Pricing [![Build Status](https://travis-ci.org/scmorrison/perl6-aws-pricing.svg?branch=master)](https://travis-ci.org/scmorrison/perl6-aws-pricing)\n============\n\nDescription\n===========\n\nReturn, and cache, current offers from the AWS Price List API.\n\nUsage\n=====\n\n```bash\naws-pricing - Pull AWS Pricing data from the AWS Pricing API\n\nUSAGE\n\n    aws-pricing services\n    aws-pricing service-offers \u003cservice_code\u003e;\n    aws-pricing service-codes\n    aws-pricing regions \n    aws-pricing version\n\nCOMMANDS\n\n    services           Return Service Offer index\n    service-offers     Return Service Offers for specific service code and/or region\n    service-codes      List all valid service codes\n    regions            List all valid regions\n    version            Display aws-pricing version\n\nOPTIONS\n\n    service-offers specific\n\n    --format           json|csv Default json\n    --region           Filter AWS region to pull offer data\n    --header           Display the CSV header. Disabled by default\n\nFLAGS\n\n    --refresh          Force cache_dir refresh\n    --cache_path       Path to cache path service offer files (Default ~/.aws-pricing)\n    --quiet            No output, cache only (services, service-offers)\n```\n\nCLI\n===\n\n## List services\n```\n# Return Service Offer Index\naws-pricing services\n\n# Refresh local cache\naws-pricing --refresh services\n\n# Refresh local cache, no output\naws-pricing --refresh --quiet services\n```\n\n## List service offers\n```\n# Default json format\naws-pricing service-offers AmazonEC2\n\n# Output csv format\naws-pricing --format=csv service-offers AmazonEC2\n\n# Output csv format with headers\naws-pricing --headers --format=csv service-offers AmazonEC2\n\n# Refresh local cache\naws-pricing --refresh --format=csv service-offers AmazonEC2\n\n# Refresh local cache, no output\naws-pricing --refresh --quiet --format=csv service-offers AmazonEC2\n```\n\n## List valid Service Codes\n```\naws-pricing service-codes\n```\n\n## List valid Regions\n```\naws-pricing regions\n```\n\n## Print aws-pricing version\n```\naws-pricing version\n```\n\nModules and utilities\n=====================\n\nAWS::Pricing\n--------------\n\n```perl6\nuse AWS::Pricing;\n\nmy $config = AWS::Pricing::config(\n    refresh    =\u003e True,\n    cache_path =\u003e '~/.aws-pricing'  # Default path\n);\n\n# Service Offer Index JSON\nAWS::Pricing::services;\n\t\n# Service Offer Indexes with custom config\nAWS::Pricing::services config =\u003e $config;\n\n# Service Codes List\nAWS::Pricing::service-codes;\n\n# Regions List\nAWS::Pricing::regions;\n\n# Service Offers: All regions\nAWS::Pricing::service-offers(service_code =\u003e 'AmazonEC2');\n\n# Service Offers: Single region\nAWS::Pricing::service-offers(\n    service_code =\u003e 'AmazonEC2',\n    region       =\u003e 'us-west-1'\n);\n\n# Service Offers: Single region, config, csv, region\nAWS::Pricing::service-offers(\n    config          =\u003e $config,\n    service_code    =\u003e 'AmazonS3',\n    format          =\u003e 'csv',\n    region          =\u003e 'eu-west-1',\n    display_header  =\u003e True\n);\n```\n\n### Valid service codes:\n\n* AmazonS3\n* AmazonGlacier\n* AmazonSES\n* AmazonRDS\n* AmazonSimpleDB\n* AmazonDynamoDB\n* AmazonEC2\n* AmazonRoute53\n* AmazonRedshift\n* AmazonElastiCache\n* AmazonCloudFront\n* awskms\n* AmazonVPC\n\n### Valid regions\n\n* us-east-1\n* us-east-2\n* us-west-1\n* us-west-2\n* eu-west-1\n* ap-southeast-1\n* ap-southeast-2\n* ap-northeast-1\n* ap-northeast-2\n* sa-east-1\n* eu-central-1\n* us-gov-west-1\n* ap-south-1\n* ca-central-1\n* eu-west-2\n\nInstallation\n============\n\nInstall directly with zef:\n\n```\nzef install AWS::Pricing\n```\n\nTesting\n=======\n\nTo run tests:\n\n```\n$ prove -e \"perl6 -Ilib\"\n```\n\nTodo\n====\n\n* ~~Cache offer files, these are large~~\n* Search offers (must cache first)\n* Tests\n\nSee also\n========\n\n* http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html\n\nAuthors\n=======\n\n  * Sam Morrison\n\nCopyright and license\n=====================\n\nCopyright 2015 Sam Morrison\n\nThis library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscmorrison%2Fperl6-aws-pricing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscmorrison%2Fperl6-aws-pricing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscmorrison%2Fperl6-aws-pricing/lists"}