Trying to figure out how to input a AWSDateTime. I don’t want to use Java 8. createDate requires Temporal.DateTime Is there any other way I can accomplish this? Answer I ended up using the function in DateUtils. https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html AWSDateTime An extended ISO 8601 date and time string in the format YYYY-MM-DDThh:mm:ss.sssZ. Note: This will store the date in GMT time.
Tag: aws-amplify
How to identify authentification error type in AWS Amplify using Kotlin?
I want to display different errors to the user when they are logging in through AWS Amplify using Kotlin. This is what I have set up as my last parameter of Amplify.Auth.signIn(): “error” is a “Throwable?” which I wanted to cast to various AWS exceptions and check whether the cast was a success. Yet all of the AWS Amplify exceptions