@gravitywelluk/aws
Version:
Library of commonly used AWS wrapper functions to communicate with the AWS SDK
10 lines (9 loc) • 512 B
TypeScript
import type AWSModule from "aws-sdk";
/**
* List the Cognito groups
*
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#listGroups-property
* @params cognitoServiceProvider - A Cognito identity service object
* @params param - Cognito list group parameters
*/
export declare const cognitoListGroups: (cognitoServiceProvider: AWSModule.CognitoIdentityServiceProvider, params: AWSModule.CognitoIdentityServiceProvider.ListGroupsRequest) => Promise<string[]>;