How to make requests using federated user temporary credentials with AWS SDK