All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.aws.lambda.events.cognito.CognitoUserPoolEvent Maven / Gradle / Ivy

package io.aws.lambda.events.cognito;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Map;

/**
 * Please Add Description Here.
 *
 * @author Anton Kurako (GoodforGod)
 * @since 24.07.2021
 */
@Data
@Accessors(chain = true)
public class CognitoUserPoolEvent implements Serializable {

    private String version;
    private String triggerSource;
    private String region;
    private String userPoolId;
    private String userName;
    private CallerContext callerContext;

    @Data
    @Accessors(chain = true)
    public static class Request {

        /**
         * One or more pairs of user attribute names and values.
         */
        private Map userAttributes;
    }

    @Data
    @Accessors(chain = true)
    public static class CallerContext implements Serializable {

        private String awsSdkVersion;
        private String clientId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy