To use the API, the client needs to authenticate to AWS Cognito using an AWS SDK:
- Here are AWS SDKs for Various Programming Languages
The authentication process requires three steps:
- Getting a token from the user pool
- Getting AWS credentials using the token
- Using the AWS credentials to sign the requests to the Pantone API
The AWS SDKs provide methods to easliy authenticate to AWS Cognito. You can check the SDK and samples for AWS Cognito
here: Amazon Cognito Developer Resources.