Skip to content

Commit 874906a

Browse files
authored
add region callout for gen1 predictions directive (#8111)
1 parent 3a0073f commit 874906a

File tree

1 file changed

+11
-0
lines changed
  • src/pages/gen1/[platform]/build-a-backend/graphqlapi/connect-machine-learning-services

1 file changed

+11
-0
lines changed

src/pages/gen1/[platform]/build-a-backend/graphqlapi/connect-machine-learning-services/index.mdx

+11
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,17 @@ enum PredictionsActions {
253253
}
254254
```
255255

256+
<Callout info>
257+
258+
The `@predictions` directive relies on the following AWS services, which must support the region in which the AppSync API is deployed:
259+
260+
- `identifyText` uses [Amazon Rekognition](https://docs.aws.amazon.com/general/latest/gr/rekognition.html)
261+
- `identifyLabels` uses [Amazon Rekognition](https://docs.aws.amazon.com/general/latest/gr/rekognition.html)
262+
- `convertTextToSpeech` uses [Amazon Polly](https://docs.aws.amazon.com/general/latest/gr/pol.html)
263+
- `translateText` uses [Amazon Translate](https://docs.aws.amazon.com/general/latest/gr/translate-service.html)
264+
265+
</Callout>
266+
256267
`@predictions` creates resources to communicate with Amazon Rekognition, Translate, and Polly. For each action the following is created:
257268

258269
- IAM Policy for each service (e.g. Amazon Rekognition `detectText` Policy)

0 commit comments

Comments
 (0)