Documentation ¶
Index ¶
- type CallGetUserPoolMfaConfig
- type CallSetUserPoolMfaConfigWithContext
- type MockCognitoIdentityProviderClient
- func (m *MockCognitoIdentityProviderClient) GetUserPoolMfaConfig(i *cognitoidentityprovider.GetUserPoolMfaConfigInput) (*cognitoidentityprovider.GetUserPoolMfaConfigOutput, error)
- func (m *MockCognitoIdentityProviderClient) SetUserPoolMfaConfigWithContext(ctx context.Context, i *cognitoidentityprovider.SetUserPoolMfaConfigInput, ...) (*cognitoidentityprovider.SetUserPoolMfaConfigOutput, error)
- type MockCognitoIdentityProviderClientCall
- 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 CallGetUserPoolMfaConfig ¶ added in v0.34.0
type CallGetUserPoolMfaConfig struct { Ctx aws.Context I *cognitoidentityprovider.GetUserPoolMfaConfigInput Opts []request.Option }
CallGetUserPoolMfaConfig to log call
type CallSetUserPoolMfaConfigWithContext ¶ added in v0.34.0
type CallSetUserPoolMfaConfigWithContext struct { Ctx aws.Context I *cognitoidentityprovider.SetUserPoolMfaConfigInput Opts []request.Option }
CallSetUserPoolMfaConfigWithContext to log call
type MockCognitoIdentityProviderClient ¶ added in v0.34.0
type MockCognitoIdentityProviderClient struct { cognitoidentityprovideriface.CognitoIdentityProviderAPI MockGetUserPoolMfaConfig func(*cognitoidentityprovider.GetUserPoolMfaConfigInput) (*cognitoidentityprovider.GetUserPoolMfaConfigOutput, error) MockSetUserPoolMfaConfigWithContext func(context.Context, *cognitoidentityprovider.SetUserPoolMfaConfigInput, []request.Option) (*cognitoidentityprovider.SetUserPoolMfaConfigOutput, error) Called MockCognitoIdentityProviderClientCall }
MockCognitoIdentityProviderClient for testing
func (*MockCognitoIdentityProviderClient) GetUserPoolMfaConfig ¶ added in v0.34.0
func (m *MockCognitoIdentityProviderClient) GetUserPoolMfaConfig(i *cognitoidentityprovider.GetUserPoolMfaConfigInput) (*cognitoidentityprovider.GetUserPoolMfaConfigOutput, error)
GetUserPoolMfaConfig calls MockGetUserPoolMfaConfig
func (*MockCognitoIdentityProviderClient) SetUserPoolMfaConfigWithContext ¶ added in v0.34.0
func (m *MockCognitoIdentityProviderClient) SetUserPoolMfaConfigWithContext(ctx context.Context, i *cognitoidentityprovider.SetUserPoolMfaConfigInput, opts ...request.Option) (*cognitoidentityprovider.SetUserPoolMfaConfigOutput, error)
SetUserPoolMfaConfigWithContext calls MockSetUserPoolMfaConfigWithContext
type MockCognitoIdentityProviderClientCall ¶ added in v0.34.0
type MockCognitoIdentityProviderClientCall struct { GetUserPoolMfaConfig []*CallGetUserPoolMfaConfig SetUserPoolMfaConfigWithContext []*CallSetUserPoolMfaConfigWithContext }
MockCognitoIdentityProviderClientCall to log calls
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.