aws-cognito-idp: add page (#9032)

pull/1/head
Shivam 2022-10-16 02:26:32 +05:30 committed by GitHub
parent 38ccb9777b
commit 94cdc9be2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# aws cognito-idp
> Manage Amazon Cognito user pool and its users and groups using the CLI.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cognito-idp/index.html>.
- 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}}`