forked from SaltwaterC/aws2js
-
Notifications
You must be signed in to change notification settings - Fork 0
aws.load()
SaltwaterC edited this page Nov 15, 2011
·
4 revisions
This is the API client loader. Instead of having a bunch of client instances loaded by default, aws2js loads on demand the clients with the default configuration.
aws.load(client, [accessKeyId], [secretAccessKey])
- 'client' - the supported API client (eg: ec2, rds, s3, etc.).
- 'accessKeyId' - optional. If available together with secretAccessKey, then client.setCredentials() is automatically called.
- 'secretAccessKey' - optional.