The AWS JavaScript SDK (and presumably SDKs for other langauges) are dynamically configured from JSON files that specify all the possible API endpoints and their request/response structure for the given service.
In the case of Amazon Personalize, the minimal documentation only describes how to "load" these JSON files for the CLI SDK:
https://docs.aws.amazon.com/personalize/latest/dg/aws-personalize-set-up-aws-cli.html
Here is an example of how to configure a service client object in the JavaScript SDK. I arrived at this conclusion by exploring the node_modules/aws_sdk
directory, specifically the apis
, and clients
subdirectory.
(Download the service models from the page linked above.)