Class CognitoDomainHandler
- java.lang.Object
-
- pl.wrzasq.lambda.cform.cognito.domain.data.service.CognitoDomainHandler
-
public class CognitoDomainHandler extends Object
Cognito API implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private com.amazonaws.services.cognitoidp.AWSCognitoIdentityProvider
cognitoIdp
AWS Cognito API client.
-
Constructor Summary
Constructors Constructor Description CognitoDomainHandler(com.amazonaws.services.cognitoidp.AWSCognitoIdentityProvider cognitoIdp)
Initializes object with given Cognito client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.cognitoidp.model.DomainDescriptionType>
delete(CognitoDomainDataRequest input, String physicalResourceId)
Handles project deletion.pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.cognitoidp.model.DomainDescriptionType>
read(CognitoDomainDataRequest input, String physicalResourceId)
Handles domain description.
-
-
-
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.
-
-