Documentation ¶
Index ¶
- func BulkGenerateUsers(userCount int, userNames []string) *cognitoidentityprovider.ListUsersOutput
- func GenerateMockIDToken(email string) string
- type CognitoIdentityProviderClientStub
- func (m *CognitoIdentityProviderClientStub) AddGroupWithName(name string) error
- func (m *CognitoIdentityProviderClientStub) AddGroupWithNameAndDescription(name, description string) error
- func (m *CognitoIdentityProviderClientStub) AddGroupWithNameAndPrecedence(name string, precedence int64) error
- func (m *CognitoIdentityProviderClientStub) AddMultipleUsers(usersCount int)
- func (m *CognitoIdentityProviderClientStub) AddUserToGroup(username string, groupName string) error
- func (m *CognitoIdentityProviderClientStub) AddUserWithEmail(email, password string, isConfirmed bool)
- func (m *CognitoIdentityProviderClientStub) AddUserWithUsername(username, email string, isConfirmed bool)
- func (m *CognitoIdentityProviderClientStub) AdminAddUserToGroup(input *cognitoidentityprovider.AdminAddUserToGroupInput) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminConfirmSignUp(input *cognitoidentityprovider.AdminConfirmSignUpInput) (*cognitoidentityprovider.AdminConfirmSignUpOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminCreateUser(input *cognitoidentityprovider.AdminCreateUserInput) (*cognitoidentityprovider.AdminCreateUserOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminDeleteUser(input *cognitoidentityprovider.AdminDeleteUserInput) (*cognitoidentityprovider.AdminDeleteUserOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminDisableUser(input *cognitoidentityprovider.AdminDisableUserInput) (*cognitoidentityprovider.AdminDisableUserOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminEnableUser(input *cognitoidentityprovider.AdminEnableUserInput) (*cognitoidentityprovider.AdminEnableUserOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminGetUser(input *cognitoidentityprovider.AdminGetUserInput) (*cognitoidentityprovider.AdminGetUserOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminRemoveUserFromGroup(input *cognitoidentityprovider.AdminRemoveUserFromGroupInput) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminSetUserPassword(input *cognitoidentityprovider.AdminSetUserPasswordInput) (*cognitoidentityprovider.AdminSetUserPasswordOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminUpdateUserAttributes(input *cognitoidentityprovider.AdminUpdateUserAttributesInput) (*cognitoidentityprovider.AdminUpdateUserAttributesOutput, error)
- func (m *CognitoIdentityProviderClientStub) AdminUserGlobalSignOut(...) (*cognitoidentityprovider.AdminUserGlobalSignOutOutput, error)
- func (m *CognitoIdentityProviderClientStub) ConfirmForgotPassword(input *cognitoidentityprovider.ConfirmForgotPasswordInput) (*cognitoidentityprovider.ConfirmForgotPasswordOutput, error)
- func (m *CognitoIdentityProviderClientStub) CreateGroup(input *cognitoidentityprovider.CreateGroupInput) (*cognitoidentityprovider.CreateGroupOutput, error)
- func (m *CognitoIdentityProviderClientStub) CreateIdTokenForEmail(email string) string
- func (m *CognitoIdentityProviderClientStub) CreateSessionWithAccessToken(accessToken string)
- func (m *CognitoIdentityProviderClientStub) DeleteGroup(input *cognitoidentityprovider.DeleteGroupInput) (*cognitoidentityprovider.DeleteGroupOutput, error)
- func (m *CognitoIdentityProviderClientStub) DescribeUserPool(poolInputData *cognitoidentityprovider.DescribeUserPoolInput) (*cognitoidentityprovider.DescribeUserPoolOutput, error)
- func (m *CognitoIdentityProviderClientStub) ForgotPassword(input *cognitoidentityprovider.ForgotPasswordInput) (*cognitoidentityprovider.ForgotPasswordOutput, error)
- func (m *CognitoIdentityProviderClientStub) GenerateGroup(name, description string, precedence int64) (*Group, error)
- func (m *CognitoIdentityProviderClientStub) GenerateSession(accessToken string, idToken string, refreshToken string) Session
- func (m *CognitoIdentityProviderClientStub) GenerateUser(id, email, password, givenName, familyName string, isConfirmed bool) *User
- func (m *CognitoIdentityProviderClientStub) GetGroup(input *cognitoidentityprovider.GetGroupInput) (*cognitoidentityprovider.GetGroupOutput, error)
- func (m *CognitoIdentityProviderClientStub) GlobalSignOut(signOutInput *cognitoidentityprovider.GlobalSignOutInput) (*cognitoidentityprovider.GlobalSignOutOutput, error)
- func (m *CognitoIdentityProviderClientStub) InitiateAuth(input *cognitoidentityprovider.InitiateAuthInput) (*cognitoidentityprovider.InitiateAuthOutput, error)
- func (m *CognitoIdentityProviderClientStub) ListUsers(input *cognitoidentityprovider.ListUsersInput) (*cognitoidentityprovider.ListUsersOutput, error)
- func (m *CognitoIdentityProviderClientStub) ListUsersInGroup(input *cognitoidentityprovider.ListUsersInGroupInput) (*cognitoidentityprovider.ListUsersInGroupOutput, error)
- func (m *CognitoIdentityProviderClientStub) ReadGroup(groupName string) *Group
- func (m *CognitoIdentityProviderClientStub) ReadUser(username string) *User
- func (m *CognitoIdentityProviderClientStub) RespondToAuthChallenge(input *cognitoidentityprovider.RespondToAuthChallengeInput) (*cognitoidentityprovider.RespondToAuthChallengeOutput, error)
- func (m *CognitoIdentityProviderClientStub) SetUserActiveState(username, active string)
- type Group
- type MockCognitoIdentityProviderClient
- func (m *MockCognitoIdentityProviderClient) AdminAddUserToGroup(input *cognitoidentityprovider.AdminAddUserToGroupInput) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminConfirmSignUp(input *cognitoidentityprovider.AdminConfirmSignUpInput) (*cognitoidentityprovider.AdminConfirmSignUpOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminCreateUser(userInput *cognitoidentityprovider.AdminCreateUserInput) (*cognitoidentityprovider.AdminCreateUserOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminDeleteUser(input *cognitoidentityprovider.AdminDeleteUserInput) (*cognitoidentityprovider.AdminDeleteUserOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminDisableUser(input *cognitoidentityprovider.AdminDisableUserInput) (*cognitoidentityprovider.AdminDisableUserOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminEnableUser(input *cognitoidentityprovider.AdminEnableUserInput) (*cognitoidentityprovider.AdminEnableUserOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminGetUser(input *cognitoidentityprovider.AdminGetUserInput) (*cognitoidentityprovider.AdminGetUserOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminRemoveUserFromGroup(input *cognitoidentityprovider.AdminRemoveUserFromGroupInput) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminSetUserPassword(input *cognitoidentityprovider.AdminSetUserPasswordInput) (*cognitoidentityprovider.AdminSetUserPasswordOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminUpdateUserAttributes(input *cognitoidentityprovider.AdminUpdateUserAttributesInput) (*cognitoidentityprovider.AdminUpdateUserAttributesOutput, error)
- func (m *MockCognitoIdentityProviderClient) AdminUserGlobalSignOut(...) (*cognitoidentityprovider.AdminUserGlobalSignOutOutput, error)
- func (m *MockCognitoIdentityProviderClient) ConfirmForgotPassword(input *cognitoidentityprovider.ConfirmForgotPasswordInput) (*cognitoidentityprovider.ConfirmForgotPasswordOutput, error)
- func (m *MockCognitoIdentityProviderClient) CreateGroup(input *cognitoidentityprovider.CreateGroupInput) (*cognitoidentityprovider.CreateGroupOutput, error)
- func (m *MockCognitoIdentityProviderClient) DeleteGroup(input *cognitoidentityprovider.DeleteGroupInput) (*cognitoidentityprovider.DeleteGroupOutput, error)
- func (m *MockCognitoIdentityProviderClient) DescribeUserPool(poolInputData *cognitoidentityprovider.DescribeUserPoolInput) (*cognitoidentityprovider.DescribeUserPoolOutput, error)
- func (m *MockCognitoIdentityProviderClient) ForgotPassword(input *cognitoidentityprovider.ForgotPasswordInput) (*cognitoidentityprovider.ForgotPasswordOutput, error)
- func (m *MockCognitoIdentityProviderClient) GetGroup(input *cognitoidentityprovider.GetGroupInput) (*cognitoidentityprovider.GetGroupOutput, error)
- func (m *MockCognitoIdentityProviderClient) GlobalSignOut(signOutInput *cognitoidentityprovider.GlobalSignOutInput) (*cognitoidentityprovider.GlobalSignOutOutput, error)
- func (m *MockCognitoIdentityProviderClient) InitiateAuth(authInput *cognitoidentityprovider.InitiateAuthInput) (*cognitoidentityprovider.InitiateAuthOutput, error)
- func (m *MockCognitoIdentityProviderClient) ListUsers(usersInput *cognitoidentityprovider.ListUsersInput) (*cognitoidentityprovider.ListUsersOutput, error)
- func (m *MockCognitoIdentityProviderClient) ListUsersInGroup(input *cognitoidentityprovider.ListUsersInGroupInput) (*cognitoidentityprovider.ListUsersInGroupOutput, error)
- func (m *MockCognitoIdentityProviderClient) RespondToAuthChallenge(input *cognitoidentityprovider.RespondToAuthChallengeInput) (*cognitoidentityprovider.RespondToAuthChallengeOutput, error)
- type Session
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkGenerateUsers ¶ added in v1.19.0
func BulkGenerateUsers(userCount int, userNames []string) *cognitoidentityprovider.ListUsersOutput
BulkGenerateUsers - bulk generate 'n' users for testing purposes
if usernames array is nil or length is different, will auto-assign UUIDs
func GenerateMockIDToken ¶ added in v1.7.0
Types ¶
type CognitoIdentityProviderClientStub ¶ added in v1.5.0
type CognitoIdentityProviderClientStub struct { cognitoidentityprovideriface.CognitoIdentityProviderAPI UserPools []string Users []*User Sessions []Session Groups []*Group }
func (*CognitoIdentityProviderClientStub) AddGroupWithName ¶ added in v1.13.0
func (m *CognitoIdentityProviderClientStub) AddGroupWithName(name string) error
func (*CognitoIdentityProviderClientStub) AddGroupWithNameAndDescription ¶ added in v1.13.0
func (m *CognitoIdentityProviderClientStub) AddGroupWithNameAndDescription(name, description string) error
func (*CognitoIdentityProviderClientStub) AddGroupWithNameAndPrecedence ¶ added in v1.13.0
func (m *CognitoIdentityProviderClientStub) AddGroupWithNameAndPrecedence(name string, precedence int64) error
func (*CognitoIdentityProviderClientStub) AddMultipleUsers ¶ added in v1.20.0
func (m *CognitoIdentityProviderClientStub) AddMultipleUsers(usersCount int)
Generates the required number of users in the system
func (*CognitoIdentityProviderClientStub) AddUserToGroup ¶ added in v1.16.0
func (m *CognitoIdentityProviderClientStub) AddUserToGroup(username string, groupName string) error
func (*CognitoIdentityProviderClientStub) AddUserWithEmail ¶ added in v1.12.0
func (m *CognitoIdentityProviderClientStub) AddUserWithEmail(email, password string, isConfirmed bool)
func (*CognitoIdentityProviderClientStub) AddUserWithUsername ¶ added in v1.6.0
func (m *CognitoIdentityProviderClientStub) AddUserWithUsername(username, email string, isConfirmed bool)
func (*CognitoIdentityProviderClientStub) AdminAddUserToGroup ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) AdminAddUserToGroup(input *cognitoidentityprovider.AdminAddUserToGroupInput) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error)
func (*CognitoIdentityProviderClientStub) AdminConfirmSignUp ¶ added in v1.17.0
func (m *CognitoIdentityProviderClientStub) AdminConfirmSignUp(input *cognitoidentityprovider.AdminConfirmSignUpInput) (*cognitoidentityprovider.AdminConfirmSignUpOutput, error)
Added to fully implement interface but only used in the local dummy data builder
func (*CognitoIdentityProviderClientStub) AdminCreateUser ¶ added in v1.7.0
func (m *CognitoIdentityProviderClientStub) AdminCreateUser(input *cognitoidentityprovider.AdminCreateUserInput) (*cognitoidentityprovider.AdminCreateUserOutput, error)
func (*CognitoIdentityProviderClientStub) AdminDeleteUser ¶ added in v1.17.0
func (m *CognitoIdentityProviderClientStub) AdminDeleteUser(input *cognitoidentityprovider.AdminDeleteUserInput) (*cognitoidentityprovider.AdminDeleteUserOutput, error)
Added to fully implement interface but only used in the local dummy data builder
func (*CognitoIdentityProviderClientStub) AdminDisableUser ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) AdminDisableUser(input *cognitoidentityprovider.AdminDisableUserInput) (*cognitoidentityprovider.AdminDisableUserOutput, error)
func (*CognitoIdentityProviderClientStub) AdminEnableUser ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) AdminEnableUser(input *cognitoidentityprovider.AdminEnableUserInput) (*cognitoidentityprovider.AdminEnableUserOutput, error)
func (*CognitoIdentityProviderClientStub) AdminGetUser ¶ added in v1.12.0
func (m *CognitoIdentityProviderClientStub) AdminGetUser(input *cognitoidentityprovider.AdminGetUserInput) (*cognitoidentityprovider.AdminGetUserOutput, error)
func (*CognitoIdentityProviderClientStub) AdminRemoveUserFromGroup ¶ added in v1.16.0
func (m *CognitoIdentityProviderClientStub) AdminRemoveUserFromGroup(input *cognitoidentityprovider.AdminRemoveUserFromGroupInput) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error)
func (*CognitoIdentityProviderClientStub) AdminSetUserPassword ¶ added in v1.17.0
func (m *CognitoIdentityProviderClientStub) AdminSetUserPassword(input *cognitoidentityprovider.AdminSetUserPasswordInput) (*cognitoidentityprovider.AdminSetUserPasswordOutput, error)
Added to fully implement interface but only used in the local dummy data builder
func (*CognitoIdentityProviderClientStub) AdminUpdateUserAttributes ¶ added in v1.13.0
func (m *CognitoIdentityProviderClientStub) AdminUpdateUserAttributes(input *cognitoidentityprovider.AdminUpdateUserAttributesInput) (*cognitoidentityprovider.AdminUpdateUserAttributesOutput, error)
func (*CognitoIdentityProviderClientStub) AdminUserGlobalSignOut ¶ added in v1.7.0
func (m *CognitoIdentityProviderClientStub) AdminUserGlobalSignOut(adminUserGlobalSignOutInput *cognitoidentityprovider.AdminUserGlobalSignOutInput) (*cognitoidentityprovider.AdminUserGlobalSignOutOutput, error)
func (*CognitoIdentityProviderClientStub) ConfirmForgotPassword ¶ added in v1.14.0
func (m *CognitoIdentityProviderClientStub) ConfirmForgotPassword(input *cognitoidentityprovider.ConfirmForgotPasswordInput) (*cognitoidentityprovider.ConfirmForgotPasswordOutput, error)
func (*CognitoIdentityProviderClientStub) CreateGroup ¶ added in v1.13.0
func (m *CognitoIdentityProviderClientStub) CreateGroup(input *cognitoidentityprovider.CreateGroupInput) (*cognitoidentityprovider.CreateGroupOutput, error)
func (*CognitoIdentityProviderClientStub) CreateIdTokenForEmail ¶ added in v1.7.0
func (m *CognitoIdentityProviderClientStub) CreateIdTokenForEmail(email string) string
func (*CognitoIdentityProviderClientStub) CreateSessionWithAccessToken ¶ added in v1.5.0
func (m *CognitoIdentityProviderClientStub) CreateSessionWithAccessToken(accessToken string)
func (*CognitoIdentityProviderClientStub) DeleteGroup ¶ added in v1.17.0
func (m *CognitoIdentityProviderClientStub) DeleteGroup(input *cognitoidentityprovider.DeleteGroupInput) (*cognitoidentityprovider.DeleteGroupOutput, error)
Added to fully implement interface but only used in the local dummy data builder
func (*CognitoIdentityProviderClientStub) DescribeUserPool ¶ added in v1.5.0
func (m *CognitoIdentityProviderClientStub) DescribeUserPool(poolInputData *cognitoidentityprovider.DescribeUserPoolInput) (*cognitoidentityprovider.DescribeUserPoolOutput, error)
func (*CognitoIdentityProviderClientStub) ForgotPassword ¶ added in v1.11.0
func (m *CognitoIdentityProviderClientStub) ForgotPassword(input *cognitoidentityprovider.ForgotPasswordInput) (*cognitoidentityprovider.ForgotPasswordOutput, error)
func (*CognitoIdentityProviderClientStub) GenerateGroup ¶ added in v1.13.0
func (m *CognitoIdentityProviderClientStub) GenerateGroup(name, description string, precedence int64) (*Group, error)
func (*CognitoIdentityProviderClientStub) GenerateSession ¶ added in v1.5.0
func (m *CognitoIdentityProviderClientStub) GenerateSession(accessToken string, idToken string, refreshToken string) Session
func (*CognitoIdentityProviderClientStub) GenerateUser ¶ added in v1.6.0
func (m *CognitoIdentityProviderClientStub) GenerateUser(id, email, password, givenName, familyName string, isConfirmed bool) *User
func (*CognitoIdentityProviderClientStub) GetGroup ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) GetGroup(input *cognitoidentityprovider.GetGroupInput) (*cognitoidentityprovider.GetGroupOutput, error)
func (*CognitoIdentityProviderClientStub) GlobalSignOut ¶ added in v1.5.0
func (m *CognitoIdentityProviderClientStub) GlobalSignOut(signOutInput *cognitoidentityprovider.GlobalSignOutInput) (*cognitoidentityprovider.GlobalSignOutOutput, error)
func (*CognitoIdentityProviderClientStub) InitiateAuth ¶ added in v1.6.0
func (m *CognitoIdentityProviderClientStub) InitiateAuth(input *cognitoidentityprovider.InitiateAuthInput) (*cognitoidentityprovider.InitiateAuthOutput, error)
func (*CognitoIdentityProviderClientStub) ListUsers ¶ added in v1.7.0
func (m *CognitoIdentityProviderClientStub) ListUsers(input *cognitoidentityprovider.ListUsersInput) (*cognitoidentityprovider.ListUsersOutput, error)
func (*CognitoIdentityProviderClientStub) ListUsersInGroup ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) ListUsersInGroup(input *cognitoidentityprovider.ListUsersInGroupInput) (*cognitoidentityprovider.ListUsersInGroupOutput, error)
func (*CognitoIdentityProviderClientStub) ReadGroup ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) ReadGroup(groupName string) *Group
func (*CognitoIdentityProviderClientStub) ReadUser ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) ReadUser(username string) *User
func (*CognitoIdentityProviderClientStub) RespondToAuthChallenge ¶ added in v1.10.0
func (m *CognitoIdentityProviderClientStub) RespondToAuthChallenge(input *cognitoidentityprovider.RespondToAuthChallengeInput) (*cognitoidentityprovider.RespondToAuthChallengeOutput, error)
func (*CognitoIdentityProviderClientStub) SetUserActiveState ¶ added in v1.15.0
func (m *CognitoIdentityProviderClientStub) SetUserActiveState(username, active string)
type MockCognitoIdentityProviderClient ¶
type MockCognitoIdentityProviderClient struct { cognitoidentityprovideriface.CognitoIdentityProviderAPI DescribeUserPoolFunc func(poolInputData *cognitoidentityprovider.DescribeUserPoolInput) (*cognitoidentityprovider.DescribeUserPoolOutput, error) AdminCreateUserFunc func(userInput *cognitoidentityprovider.AdminCreateUserInput) (*cognitoidentityprovider.AdminCreateUserOutput, error) GlobalSignOutFunc func(signOutInput *cognitoidentityprovider.GlobalSignOutInput) (*cognitoidentityprovider.GlobalSignOutOutput, error) ListUsersFunc func(usersInput *cognitoidentityprovider.ListUsersInput) (*cognitoidentityprovider.ListUsersOutput, error) InitiateAuthFunc func(authInput *cognitoidentityprovider.InitiateAuthInput) (*cognitoidentityprovider.InitiateAuthOutput, error) AdminUserGlobalSignOutFunc func(adminUserGlobalSignOutInput *cognitoidentityprovider.AdminUserGlobalSignOutInput) (*cognitoidentityprovider.AdminUserGlobalSignOutOutput, error) RespondToAuthChallengeFunc func(input *cognitoidentityprovider.RespondToAuthChallengeInput) (*cognitoidentityprovider.RespondToAuthChallengeOutput, error) ConfirmForgotPasswordFunc func(input *cognitoidentityprovider.ConfirmForgotPasswordInput) (*cognitoidentityprovider.ConfirmForgotPasswordOutput, error) ForgotPasswordFunc func(input *cognitoidentityprovider.ForgotPasswordInput) (*cognitoidentityprovider.ForgotPasswordOutput, error) AdminGetUserFunc func(input *cognitoidentityprovider.AdminGetUserInput) (*cognitoidentityprovider.AdminGetUserOutput, error) CreateGroupFunc func(input *cognitoidentityprovider.CreateGroupInput) (*cognitoidentityprovider.CreateGroupOutput, error) GetGroupFunc func(input *cognitoidentityprovider.GetGroupInput) (*cognitoidentityprovider.GetGroupOutput, error) AdminUpdateUserAttributesFunc func(input *cognitoidentityprovider.AdminUpdateUserAttributesInput) (*cognitoidentityprovider.AdminUpdateUserAttributesOutput, error) AdminEnableUserFunc func(input *cognitoidentityprovider.AdminEnableUserInput) (*cognitoidentityprovider.AdminEnableUserOutput, error) AdminDisableUserFunc func(input *cognitoidentityprovider.AdminDisableUserInput) (*cognitoidentityprovider.AdminDisableUserOutput, error) AdminAddUserToGroupFunc func(input *cognitoidentityprovider.AdminAddUserToGroupInput) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error) ListUsersInGroupFunc func(input *cognitoidentityprovider.ListUsersInGroupInput) (*cognitoidentityprovider.ListUsersInGroupOutput, error) AdminRemoveUserFromGroupFunc func(input *cognitoidentityprovider.AdminRemoveUserFromGroupInput) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error) AdminConfirmSignUpFunc func(input *cognitoidentityprovider.AdminConfirmSignUpInput) (*cognitoidentityprovider.AdminConfirmSignUpOutput, error) AdminDeleteUserFunc func(input *cognitoidentityprovider.AdminDeleteUserInput) (*cognitoidentityprovider.AdminDeleteUserOutput, error) DeleteGroupFunc func(input *cognitoidentityprovider.DeleteGroupInput) (*cognitoidentityprovider.DeleteGroupOutput, error) AdminSetUserPasswordFunc func(input *cognitoidentityprovider.AdminSetUserPasswordInput) (*cognitoidentityprovider.AdminSetUserPasswordOutput, error) }
func (*MockCognitoIdentityProviderClient) AdminAddUserToGroup ¶ added in v1.15.0
func (m *MockCognitoIdentityProviderClient) AdminAddUserToGroup(input *cognitoidentityprovider.AdminAddUserToGroupInput) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error)
func (*MockCognitoIdentityProviderClient) AdminConfirmSignUp ¶ added in v1.17.0
func (m *MockCognitoIdentityProviderClient) AdminConfirmSignUp(input *cognitoidentityprovider.AdminConfirmSignUpInput) (*cognitoidentityprovider.AdminConfirmSignUpOutput, error)
func (*MockCognitoIdentityProviderClient) AdminCreateUser ¶ added in v1.7.0
func (m *MockCognitoIdentityProviderClient) AdminCreateUser(userInput *cognitoidentityprovider.AdminCreateUserInput) (*cognitoidentityprovider.AdminCreateUserOutput, error)
AdminCreateUser function
func (*MockCognitoIdentityProviderClient) AdminDeleteUser ¶ added in v1.17.0
func (m *MockCognitoIdentityProviderClient) AdminDeleteUser(input *cognitoidentityprovider.AdminDeleteUserInput) (*cognitoidentityprovider.AdminDeleteUserOutput, error)
func (*MockCognitoIdentityProviderClient) AdminDisableUser ¶ added in v1.15.0
func (m *MockCognitoIdentityProviderClient) AdminDisableUser(input *cognitoidentityprovider.AdminDisableUserInput) (*cognitoidentityprovider.AdminDisableUserOutput, error)
func (*MockCognitoIdentityProviderClient) AdminEnableUser ¶ added in v1.15.0
func (m *MockCognitoIdentityProviderClient) AdminEnableUser(input *cognitoidentityprovider.AdminEnableUserInput) (*cognitoidentityprovider.AdminEnableUserOutput, error)
func (*MockCognitoIdentityProviderClient) AdminGetUser ¶ added in v1.12.0
func (m *MockCognitoIdentityProviderClient) AdminGetUser(input *cognitoidentityprovider.AdminGetUserInput) (*cognitoidentityprovider.AdminGetUserOutput, error)
func (*MockCognitoIdentityProviderClient) AdminRemoveUserFromGroup ¶ added in v1.16.0
func (m *MockCognitoIdentityProviderClient) AdminRemoveUserFromGroup(input *cognitoidentityprovider.AdminRemoveUserFromGroupInput) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error)
func (*MockCognitoIdentityProviderClient) AdminSetUserPassword ¶ added in v1.17.0
func (m *MockCognitoIdentityProviderClient) AdminSetUserPassword(input *cognitoidentityprovider.AdminSetUserPasswordInput) (*cognitoidentityprovider.AdminSetUserPasswordOutput, error)
func (*MockCognitoIdentityProviderClient) AdminUpdateUserAttributes ¶ added in v1.13.0
func (m *MockCognitoIdentityProviderClient) AdminUpdateUserAttributes(input *cognitoidentityprovider.AdminUpdateUserAttributesInput) (*cognitoidentityprovider.AdminUpdateUserAttributesOutput, error)
func (*MockCognitoIdentityProviderClient) AdminUserGlobalSignOut ¶ added in v1.7.0
func (m *MockCognitoIdentityProviderClient) AdminUserGlobalSignOut(adminUserGlobalSignOutInput *cognitoidentityprovider.AdminUserGlobalSignOutInput) (*cognitoidentityprovider.AdminUserGlobalSignOutOutput, error)
func (*MockCognitoIdentityProviderClient) ConfirmForgotPassword ¶ added in v1.14.0
func (m *MockCognitoIdentityProviderClient) ConfirmForgotPassword(input *cognitoidentityprovider.ConfirmForgotPasswordInput) (*cognitoidentityprovider.ConfirmForgotPasswordOutput, error)
func (*MockCognitoIdentityProviderClient) CreateGroup ¶ added in v1.13.0
func (m *MockCognitoIdentityProviderClient) CreateGroup(input *cognitoidentityprovider.CreateGroupInput) (*cognitoidentityprovider.CreateGroupOutput, error)
func (*MockCognitoIdentityProviderClient) DeleteGroup ¶ added in v1.17.0
func (m *MockCognitoIdentityProviderClient) DeleteGroup(input *cognitoidentityprovider.DeleteGroupInput) (*cognitoidentityprovider.DeleteGroupOutput, error)
func (*MockCognitoIdentityProviderClient) DescribeUserPool ¶
func (m *MockCognitoIdentityProviderClient) DescribeUserPool(poolInputData *cognitoidentityprovider.DescribeUserPoolInput) (*cognitoidentityprovider.DescribeUserPoolOutput, error)
func (*MockCognitoIdentityProviderClient) ForgotPassword ¶ added in v1.11.0
func (m *MockCognitoIdentityProviderClient) ForgotPassword(input *cognitoidentityprovider.ForgotPasswordInput) (*cognitoidentityprovider.ForgotPasswordOutput, error)
func (*MockCognitoIdentityProviderClient) GetGroup ¶ added in v1.13.0
func (m *MockCognitoIdentityProviderClient) GetGroup(input *cognitoidentityprovider.GetGroupInput) (*cognitoidentityprovider.GetGroupOutput, error)
func (*MockCognitoIdentityProviderClient) GlobalSignOut ¶ added in v1.5.0
func (m *MockCognitoIdentityProviderClient) GlobalSignOut(signOutInput *cognitoidentityprovider.GlobalSignOutInput) (*cognitoidentityprovider.GlobalSignOutOutput, error)
func (*MockCognitoIdentityProviderClient) InitiateAuth ¶ added in v1.7.0
func (m *MockCognitoIdentityProviderClient) InitiateAuth(authInput *cognitoidentityprovider.InitiateAuthInput) (*cognitoidentityprovider.InitiateAuthOutput, error)
func (*MockCognitoIdentityProviderClient) ListUsers ¶ added in v1.7.0
func (m *MockCognitoIdentityProviderClient) ListUsers(usersInput *cognitoidentityprovider.ListUsersInput) (*cognitoidentityprovider.ListUsersOutput, error)
func (*MockCognitoIdentityProviderClient) ListUsersInGroup ¶ added in v1.15.0
func (m *MockCognitoIdentityProviderClient) ListUsersInGroup(input *cognitoidentityprovider.ListUsersInGroupInput) (*cognitoidentityprovider.ListUsersInGroupOutput, error)
func (*MockCognitoIdentityProviderClient) RespondToAuthChallenge ¶ added in v1.10.0
func (m *MockCognitoIdentityProviderClient) RespondToAuthChallenge(input *cognitoidentityprovider.RespondToAuthChallengeInput) (*cognitoidentityprovider.RespondToAuthChallengeOutput, error)
Click to show internal directories.
Click to hide internal directories.