Skip to content

Commit 3e19abb

Browse files
committed
Merge branch 'main' into add-ephemeral-storage-size
2 parents 08f542d + a001291 commit 3e19abb

File tree

2 files changed

+15
-1
lines changed
  • src/pages
    • [platform]/build-a-backend/auth/connect-your-frontend/sign-in
    • gen1/[platform]/build-a-backend/graphqlapi/connect-machine-learning-services

2 files changed

+15
-1
lines changed

src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ signInWithRedirect({ provider: {
830830
}})
831831
```
832832

833-
### Auto sign-in
833+
## Auto sign-in
834834

835835
The `autoSignIn` API will automatically sign-in a user when it was previously enabled by the `signUp` API and after any of the following cases has completed:
836836

@@ -842,6 +842,9 @@ import { autoSignIn } from 'aws-amplify/auth';
842842

843843
await autoSignIn();
844844
```
845+
<Callout>
846+
**Note**: When MFA is enabled, your users may be presented with multiple consecutive steps that require them to enter an OTP to proceed with the sign up and subsequent sign in flow. This requirement is not present when using the `USER_AUTH` flow.
847+
</Callout>
845848

846849
</InlineFilter>
847850
<InlineFilter filters={['react-native']}

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

Lines changed: 11 additions & 0 deletions
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)