Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mfriesen committed Jul 4, 2024
1 parent 232fab4 commit 90af0c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ Resources:
Action:
- cognito-idp:ListGroups
- cognito-idp:ListUsers
- cognito-idp:GetGroup
- cognito-idp:ListUsersInGroup
- cognito-idp:CreateGroup
- cognito-idp:DeleteGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public class GroupRequestHandler implements ApiGatewayRequestHandler, ApiGateway

@Override
public ApiRequestHandlerResponse get(final LambdaLogger logger,
final ApiGatewayRequestEvent event, final ApiAuthorization authorization,
final AwsServiceCache awsservice) throws Exception {
final ApiGatewayRequestEvent event, final ApiAuthorization authorization,
final AwsServiceCache awsservice) throws Exception {

CognitoIdentityProviderService service =
awsservice.getExtension(CognitoIdentityProviderService.class);
awsservice.getExtension(CognitoIdentityProviderService.class);

String groupName = event.getPathParameters().get("groupName");
GetGroupResponse response = service.getGroup(groupName);
Expand Down

0 comments on commit 90af0c6

Please sign in to comment.