Instance Propertyswift-aws-lambda-events 1.0.0AWSLambdaEvents
userAttributes
One or more name-value pairs representing user attributes.
let userAttributes: [String : String]
One or more name-value pairs representing user attributes.
let userAttributes: [String : String]
s15AWSLambdaEvents12CognitoEventO18PostAuthenticationV14userAttributesSDyS2SGvp
What are these?Z9U0
import AWSLambdaEvents
A supporting library for Swift AWS Lambda Runtime.
struct PostAuthentication
enum CognitoEvent
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html
@frozen struct String
A Unicode string value that is a collection of characters.
init(from decoder: any Decoder) throws
let clientMetadata: [String : String]?
One or more key-value pairs that you can provide as custom input to the Lambda function that you specify for the post authentication trigger.
let newDeviceUsed: Bool
This flag indicates if the user has signed in on a new device. Amazon Cognito only sets this flag if the remembered devices value of the user pool is Always or User Opt-In.