Class CognitoDomainHandler


  • public class CognitoDomainHandler
    extends Object
    Cognito API implementation.
    • Field Detail

      • cognitoIdp

        private com.amazonaws.services.cognitoidp.AWSCognitoIdentityProvider cognitoIdp
        AWS Cognito API client.
    • Constructor Detail

      • CognitoDomainHandler

        public CognitoDomainHandler​(com.amazonaws.services.cognitoidp.AWSCognitoIdentityProvider cognitoIdp)
        Initializes object with given Cognito client.
        Parameters:
        cognitoIdp - AWS Cognito client.
    • Method Detail

      • read

        public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.cognitoidp.model.DomainDescriptionType> read​(CognitoDomainDataRequest input,
                                                                                                                                               String physicalResourceId)
        Handles domain description.
        Parameters:
        input - Resource creation request.
        physicalResourceId - Physical ID of existing resource (if present).
        Returns:
        Data about created project.
      • delete

        public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.cognitoidp.model.DomainDescriptionType> delete​(CognitoDomainDataRequest input,
                                                                                                                                                 String physicalResourceId)
        Handles project deletion.
        Parameters:
        input - Resource delete request.
        physicalResourceId - Physical ID of existing resource (if present).
        Returns:
        Empty response.