Documentation ¶
Index ¶
- type CognitoClient
- func (c *CognitoClient) GetGroupsForUser(user string) (*cognitoidentityprovider.AdminListGroupsForUserOutput, error)
- func (c *CognitoClient) GetUserByEmail(email string) (*cognitoidentityprovider.AdminGetUserOutput, error)
- func (c *CognitoClient) GetUserByID(id string) (*cognitoidentityprovider.AdminGetUserOutput, error)
- func (c *CognitoClient) ListGroups() ([]*cognitoidentityprovider.GroupType, error)
- func (c *CognitoClient) ListUsers(ctx context.Context) ([]*cognitoidentityprovider.UserType, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CognitoClient ¶
type CognitoClient struct {
// contains filtered or unexported fields
}
func NewCognitoClient ¶
func NewCognitoClient(accessKey, secretKey, userPoolID, region string) (*CognitoClient, error)
func (*CognitoClient) GetGroupsForUser ¶
func (c *CognitoClient) GetGroupsForUser(user string) (*cognitoidentityprovider.AdminListGroupsForUserOutput, error)
func (*CognitoClient) GetUserByEmail ¶
func (c *CognitoClient) GetUserByEmail(email string) (*cognitoidentityprovider.AdminGetUserOutput, error)
func (*CognitoClient) GetUserByID ¶
func (c *CognitoClient) GetUserByID(id string) (*cognitoidentityprovider.AdminGetUserOutput, error)
func (*CognitoClient) ListGroups ¶
func (c *CognitoClient) ListGroups() ([]*cognitoidentityprovider.GroupType, error)
func (*CognitoClient) ListUsers ¶
func (c *CognitoClient) ListUsers(ctx context.Context) ([]*cognitoidentityprovider.UserType, error)
Click to show internal directories.
Click to hide internal directories.