Skip to content

Add table aws_cognito_user_group #2485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 20, 2025
Merged

Add table aws_cognito_user_group #2485

merged 7 commits into from
May 20, 2025

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented May 5, 2025

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
> select * from aws_cognito_user_group;
+-------------+---------------------+------------------------------------------------------+---------------------------+---------------------------+------------+----------------------------------------------------------------+-------------+--->
| group_name  | user_pool_id        | description                                          | creation_date             | last_modified_date        | precedence | role_arn                                                       | title       | ak>
+-------------+---------------------+------------------------------------------------------+---------------------------+---------------------------+------------+----------------------------------------------------------------+-------------+--->
| Manage-only | us-east-1_gGmiZc2pr | Auto-created Group for managing Amplify Backend data | 2022-10-11T21:54:18+05:30 | 2022-10-11T21:54:18+05:30 | 2          | arn:aws:iam::123456789012:role/us-east-1_gGmiZc2pr_Manage-only | Manage-only | [">
| Full-access | us-east-1_gGmiZc2pr | Auto-created Group for managing Amplify Backends     | 2022-10-11T21:54:17+05:30 | 2022-10-11T21:54:17+05:30 | 1          | arn:aws:iam::123456789012:role/us-east-1_gGmiZc2pr_Full-access | Full-access | [">
+-------------+---------------------+------------------------------------------------------+---------------------------+---------------------------+------------+----------------------------------------------------------------+-------------+--->

@ParthaI ParthaI requested review from misraved and Copilot May 5, 2025 14:55
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for an AWS Cognito User Group table to the project by introducing documentation, a new table definition in Go, and updating the plugin registration.

  • Introduces a new documentation file with usage examples for aws_cognito_user_group
  • Implements the table definition and related hydrate functions in a new Go file
  • Updates the aws/plugin.go file to register the new table

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/tables/aws_cognito_user_group.md Adds documentation with examples for the aws_cognito_user_group table
aws/table_aws_cognito_user_group.go Implements the table definition and related API calls
aws/plugin.go Registers the new aws_cognito_user_group table in the plugin

@ParthaI ParthaI requested a review from Copilot May 7, 2025 06:45
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new table for querying AWS Cognito User Groups, adds corresponding documentation, and registers the table with the plugin.

  • Added a markdown file with table details and examples.
  • Implemented the table definition including list and get functions in Go.
  • Updated the plugin registration to include the new table.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/tables/aws_cognito_user_group.md Added documentation for the aws_cognito_user_group table with SQL query examples
aws/table_aws_cognito_user_group.go Introduced table definition, list and get functions for AWS Cognito User Groups
aws/plugin.go Registered the aws_cognito_user_group table with the plugin

@ParthaI ParthaI self-assigned this May 7, 2025
Copy link
Contributor

@misraved misraved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ParthaI please take a look at the review comments.

Thanks!!

@misraved misraved merged commit d26ab9e into main May 20, 2025
1 check passed
@misraved misraved deleted the add-cognito-user-group branch May 20, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants