From 94cdc9be2c5506644a6474f20d67e8456c63eb2d Mon Sep 17 00:00:00 2001 From: Shivam Date: Sun, 16 Oct 2022 02:26:32 +0530 Subject: [PATCH] aws-cognito-idp: add page (#9032) --- pages/common/aws-cognito-idp.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/aws-cognito-idp.md diff --git a/pages/common/aws-cognito-idp.md b/pages/common/aws-cognito-idp.md new file mode 100644 index 000000000..00aa1978c --- /dev/null +++ b/pages/common/aws-cognito-idp.md @@ -0,0 +1,28 @@ +# aws cognito-idp + +> Manage Amazon Cognito user pool and its users and groups using the CLI. +> More information: . + +- Create a new Cognito user pool: + +`aws cognito-idp create-user-pool --pool-name {{name}}` + +- List all user pools: + +`aws cognito-idp list-user-pools --max-results {{10}}` + +- Delete a specific user pool: + +`aws cognito-idp delete-user-pool --user-pool-id {{user_pool_id}}` + +- Create a user in a specific pool: + +`aws cognito-idp admin-create-user --username {{username}} --user-pool-id {{user_pool_id}}` + +- List the users of a specific pool: + +`aws cognito-idp list-users --user-pool-id {{user_pool_id}}` + +- Delete a user from a specific pool: + +`aws cognito-idp admin-delete-user --username {{username}} --user-pool-id {{user_pool_id}}`