cognitoidentityproviderdouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package cognitoidentityproviderdouble contains test double implementation of cognitoidentityprovideriface.CognitoIdentityProviderAPI

Package cognitoidentityproviderdouble provides a TestDouble implementation of cognitoidentityprovideriface.CognitoIdentityProviderAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CognitoIdentityProviderDouble

type CognitoIdentityProviderDouble struct {
	cognitoidentityprovideriface.CognitoIdentityProviderAPI
	*awsdouble.AWSTestDouble
}

CognitoIdentityProviderDouble is TestDouble for cognitoidentityprovideriface.CognitoIdentityProviderAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *CognitoIdentityProviderDouble

Constructor for CognitoIdentityProviderDouble Default configuration will ensure

  • API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.

  • WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.

  • Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.

    This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.

func (*CognitoIdentityProviderDouble) CreateGroup

func (*CognitoIdentityProviderDouble) CreateGroupWithContext

func (*CognitoIdentityProviderDouble) DeleteGroup

func (*CognitoIdentityProviderDouble) DeleteGroupWithContext

func (*CognitoIdentityProviderDouble) DeleteUser

func (*CognitoIdentityProviderDouble) DeleteUserWithContext

func (*CognitoIdentityProviderDouble) GetDevice

func (*CognitoIdentityProviderDouble) GetDeviceRequest

func (*CognitoIdentityProviderDouble) GetDeviceWithContext

func (*CognitoIdentityProviderDouble) GetGroup

func (*CognitoIdentityProviderDouble) GetGroupRequest

func (*CognitoIdentityProviderDouble) GetGroupWithContext

func (*CognitoIdentityProviderDouble) GetUser

func (*CognitoIdentityProviderDouble) GetUserRequest

func (*CognitoIdentityProviderDouble) GetUserWithContext

func (*CognitoIdentityProviderDouble) ListDevices

func (*CognitoIdentityProviderDouble) ListDevicesWithContext

func (*CognitoIdentityProviderDouble) ListGroups

func (*CognitoIdentityProviderDouble) ListGroupsPages

func (*CognitoIdentityProviderDouble) ListGroupsPagesWithContext

func (*CognitoIdentityProviderDouble) ListGroupsWithContext

func (*CognitoIdentityProviderDouble) ListUserPoolsPages

func (*CognitoIdentityProviderDouble) ListUserPoolsPagesWithContext

func (*CognitoIdentityProviderDouble) ListUsers

func (*CognitoIdentityProviderDouble) ListUsersInGroupPages

func (*CognitoIdentityProviderDouble) ListUsersInGroupPagesWithContext

func (*CognitoIdentityProviderDouble) ListUsersPages

func (*CognitoIdentityProviderDouble) ListUsersPagesWithContext

func (*CognitoIdentityProviderDouble) ListUsersRequest

func (*CognitoIdentityProviderDouble) ListUsersWithContext

func (*CognitoIdentityProviderDouble) SignUp

func (*CognitoIdentityProviderDouble) SignUpRequest

func (*CognitoIdentityProviderDouble) SignUpWithContext

func (*CognitoIdentityProviderDouble) TagResource

func (*CognitoIdentityProviderDouble) TagResourceWithContext

func (*CognitoIdentityProviderDouble) UpdateGroup

func (*CognitoIdentityProviderDouble) UpdateGroupWithContext

Jump to

Keyboard shortcuts

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