forked from SaltwaterC/aws2js
-
Notifications
You must be signed in to change notification settings - Fork 0
s3.setEndPoint()
SaltwaterC edited this page Jan 20, 2012
·
2 revisions
S3 helper for setting region specific endpoints.
s3.setEndPoint(endpointPrefix)
- 'endpointPrefix' - the endpoint prefix which should be something like: s3-us-west-1, s3-us-west-2, etc. The endpoint list is available here.
While technically this is just an alias of s3.setBucket(), this method has this additional name in order to remove any ambiguity into the code that calls this client.
This method is chainable (aka it returns the client object).