Construct an AwsCognitoTools instance.
ReadonlyclientThe effective SDK client (captured when X-Ray is enabled).
Import AWS SDK *Command classes as needed and call tools.client.send(...).
ReadonlyclientThe effective client config used to construct the base client.
Note: this may contain functions/providers (e.g., credential providers).
ReadonlyloggerThe logger used by this wrapper and (when applicable) by the AWS client.
ReadonlyxrayMaterialized X-Ray state (mode + enabled + daemonAddress when relevant).
List all users in a User Pool with auto-pagination and guardrails.
Options including guardrails: maxResults, maxPages,
onPage callback. Manual pagination is available via
tools.client.send(new ListUsersCommand({...})).
Purge all users from a User Pool.
Resolves the pool (via resolveUserPool), logs the estimated count,
then deletes users one at a time (Cognito has no batch delete API).
Resolve a Cognito User Pool by explicit ID or name convention.
Resolution order:
poolId is provided, describe it directly.*-{env}.
X-Ray-enabled AWS Cognito Identity Provider wrapper.
Provides composite convenience methods for operations that compose multiple SDK calls. All single-operation Cognito calls should use AwsCognitoTools.client directly with AWS SDK v3 Command classes.