HomePhabricator

Add AWS Region support to PhutilAWSFuture.

Description

Add AWS Region support to PhutilAWSFuture.

Summary:
Almost all AWS services endpoints follow this structure: SERVICE_NAME.REGION_ID.amazonaws.com. This revision adds support for setting a region in PhutilAWSFuture.

There are couple of exceptions to above rule - some services do not have region in their endpoint url (DevPay, Route 53, IAM, Import/Export, Security Token Service), some have a single endpoint in one region (OpsWorks, Support), some are funky (S3), but they all can be covered by overriding getHost() method.

Test Plan: No tests added. I acked through three repositories (libphutil, arcanist & phabricator) and couldn't find AWS used anywhere.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8311

Details

Provenance
seporaitisAuthored on
epriestleyCommitted on Feb 23 2014, 11:30 PM
epriestleyPushed on Feb 23 2014, 11:30 PM
Reviewer
epriestley
Differential Revision
D8311: Add AWS Region support to PhutilAWSFuture.
Parents
rPHU8fb705f8e4b9: XHPAST array_function_derefence support
Branches
Unknown
Tags
Unknown

Event Timeline