api

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2020 License: AGPL-3.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package api defines CRUD actions for the Cognito Api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct{}

The API has receiver methods for each of the handlers.

func (API) GetUser

func (API) GetUser(input *models.GetUserInput) (*models.GetUserOutput, error)

GetUser calls userGateway to get user information.

func (API) InviteUser

func (API) InviteUser(input *models.InviteUserInput) (*models.InviteUserOutput, error)

InviteUser adds a new user to the Cognito user pool.

func (API) ListUsers added in v0.2.0

func (API) ListUsers(input *models.ListUsersInput) (*models.ListUsersOutput, error)

ListUsers lists details for each user in Panther.

func (API) RemoveUser added in v0.2.0

func (API) RemoveUser(input *models.RemoveUserInput) error

RemoveUser deletes a user from cognito.

func (API) ResetUserPassword

func (API) ResetUserPassword(input *models.ResetUserPasswordInput) error

ResetUserPassword resets a user password.

func (API) UpdateUser

func (API) UpdateUser(input *models.UpdateUserInput) error

UpdateUser modifies user attributes and roles.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL