(Unauthorized) not authorized error when using context.services.get for Data Federation to move data to S3

You most likely have the IAM role misconfigured on the AWS side