Documentation ¶
Index ¶
- type MockGroupUserMembershipClient
- func (m *MockGroupUserMembershipClient) AdminAddUserToGroup(ctx context.Context, input *cognitoidentityprovider.AdminAddUserToGroupInput, ...) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error)
- func (m *MockGroupUserMembershipClient) AdminListGroupsForUser(ctx context.Context, ...) (*cognitoidentityprovider.AdminListGroupsForUserOutput, error)
- func (m *MockGroupUserMembershipClient) AdminRemoveUserFromGroup(ctx context.Context, ...) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGroupUserMembershipClient ¶
type MockGroupUserMembershipClient struct { MockAdminAddUserToGroup func(ctx context.Context, input *cognitoidentityprovider.AdminAddUserToGroupInput, opts []func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error) MockAdminRemoveUserFromGroup func(ctx context.Context, input *cognitoidentityprovider.AdminRemoveUserFromGroupInput, opts []func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error) MockAdminListGroupsForUser func(ctx context.Context, input *cognitoidentityprovider.AdminListGroupsForUserInput, opts []func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.AdminListGroupsForUserOutput, error) }
MockGroupUserMembershipClient is a type that implements all the methods for GroupUserMembership Client interface
func (*MockGroupUserMembershipClient) AdminAddUserToGroup ¶
func (m *MockGroupUserMembershipClient) AdminAddUserToGroup(ctx context.Context, input *cognitoidentityprovider.AdminAddUserToGroupInput, opts ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.AdminAddUserToGroupOutput, error)
AdminAddUserToGroup mocks AdminAddUserToGroup method
func (*MockGroupUserMembershipClient) AdminListGroupsForUser ¶
func (m *MockGroupUserMembershipClient) AdminListGroupsForUser(ctx context.Context, input *cognitoidentityprovider.AdminListGroupsForUserInput, opts ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.AdminListGroupsForUserOutput, error)
AdminListGroupsForUser mocks AdminListGroupsForUser method
func (*MockGroupUserMembershipClient) AdminRemoveUserFromGroup ¶
func (m *MockGroupUserMembershipClient) AdminRemoveUserFromGroup(ctx context.Context, input *cognitoidentityprovider.AdminRemoveUserFromGroupInput, opts ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.AdminRemoveUserFromGroupOutput, error)
AdminRemoveUserFromGroup mocks AdminRemoveUserFromGroup method
Click to show internal directories.
Click to hide internal directories.