Each of my customers pays for its part of my total AWS costs. Therefore, I tagged all my resources (EC2, EBS, S3, ...) and I created an AWS Cost and Usage Report for each of my customer. But I couldn't find a way to tag API calls to Amazon Rekognition.
Code
AmazonRekognition rekognitionClient = AmazonRekognitionClientBuilder.defaultClient();
S3Object s3Object = new S3Object().withBucket(bucketName).withName(fileName);
DetectModerationLabelsRequest request = new DetectModerationLabelsRequest()
.withImage(new Image().withS3Object(s3Object))
.withMinConfidence(0F);
DetectModerationLabelsResult result = rekognitionClient.detectModerationLabels(request);
Reasearch
I read JavaDoc for DetectModerationLabelsRequest
, AmazonRekognitionClientBuilder
and ClientConfiguration
, but I couldn't find anything about tagging.
Question
How can I tag my API calls to Amazon Rekognition?