new Aws(res, serviceName)
Represents a AWS client call. Automatically captures data from the supplied response object,
Data captured depends on the whitelisting file supplied.
The base whitelisting file can be found at /lib/resources/aws_whitelist.json.
Parameters:
Name | Type | Description |
---|---|---|
res |
any | The response object from the AWS call. Typed as any to avoid AWS SDK dependency. Otherwise would be AWS.Response. |
serviceName |
string | The service name of the AWS client. |