Skip to content

Commit

Permalink
Merge branch 'main' into add-ephemeral-storage-size
Browse files Browse the repository at this point in the history
  • Loading branch information
fossamagna committed Jan 11, 2025
2 parents 08f542d + a001291 commit 3e19abb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ signInWithRedirect({ provider: {
}})
```

### Auto sign-in
## Auto sign-in

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:

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

await autoSignIn();
```
<Callout>
**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.
</Callout>

</InlineFilter>
<InlineFilter filters={['react-native']}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,17 @@ enum PredictionsActions {
}
```

<Callout info>

The `@predictions` directive relies on the following AWS services, which must support the region in which the AppSync API is deployed:

- `identifyText` uses [Amazon Rekognition](https://docs.aws.amazon.com/general/latest/gr/rekognition.html)
- `identifyLabels` uses [Amazon Rekognition](https://docs.aws.amazon.com/general/latest/gr/rekognition.html)
- `convertTextToSpeech` uses [Amazon Polly](https://docs.aws.amazon.com/general/latest/gr/pol.html)
- `translateText` uses [Amazon Translate](https://docs.aws.amazon.com/general/latest/gr/translate-service.html)

</Callout>

`@predictions` creates resources to communicate with Amazon Rekognition, Translate, and Polly. For each action the following is created:

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

0 comments on commit 3e19abb

Please sign in to comment.