cognitoidentitydouble

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 cognitoidentitydouble contains test double implementation of cognitoidentityiface.CognitoIdentityAPI

Package cognitoidentitydouble provides a TestDouble implementation of cognitoidentityiface.CognitoIdentityAPI

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 CognitoIdentityDouble

type CognitoIdentityDouble struct {
	cognitoidentityiface.CognitoIdentityAPI
	*awsdouble.AWSTestDouble
}

CognitoIdentityDouble is TestDouble for cognitoidentityiface.CognitoIdentityAPI

func NewDouble

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

Constructor for CognitoIdentityDouble 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 (*CognitoIdentityDouble) CreateIdentityPool

func (*CognitoIdentityDouble) CreateIdentityPoolRequest

func (*CognitoIdentityDouble) CreateIdentityPoolWithContext

func (*CognitoIdentityDouble) DeleteIdentities

func (*CognitoIdentityDouble) DeleteIdentitiesRequest

func (*CognitoIdentityDouble) DeleteIdentitiesWithContext

func (*CognitoIdentityDouble) DeleteIdentityPool

func (*CognitoIdentityDouble) DeleteIdentityPoolWithContext

func (*CognitoIdentityDouble) DescribeIdentity

func (*CognitoIdentityDouble) DescribeIdentityPool

func (*CognitoIdentityDouble) DescribeIdentityPoolRequest

func (*CognitoIdentityDouble) DescribeIdentityPoolWithContext

func (*CognitoIdentityDouble) DescribeIdentityRequest

func (*CognitoIdentityDouble) DescribeIdentityWithContext

func (*CognitoIdentityDouble) GetId

func (*CognitoIdentityDouble) GetIdRequest

func (*CognitoIdentityDouble) GetIdWithContext

func (*CognitoIdentityDouble) GetOpenIdToken

func (*CognitoIdentityDouble) GetOpenIdTokenRequest

func (*CognitoIdentityDouble) GetOpenIdTokenWithContext

func (*CognitoIdentityDouble) ListIdentities

func (*CognitoIdentityDouble) ListIdentitiesRequest

func (*CognitoIdentityDouble) ListIdentitiesWithContext

func (*CognitoIdentityDouble) ListIdentityPools

func (*CognitoIdentityDouble) ListIdentityPoolsRequest

func (*CognitoIdentityDouble) ListIdentityPoolsWithContext

func (*CognitoIdentityDouble) ListTagsForResource

func (*CognitoIdentityDouble) ListTagsForResourceWithContext

func (*CognitoIdentityDouble) TagResource

func (*CognitoIdentityDouble) TagResourceRequest

func (*CognitoIdentityDouble) TagResourceWithContext

func (*CognitoIdentityDouble) UnlinkIdentity

func (*CognitoIdentityDouble) UnlinkIdentityRequest

func (*CognitoIdentityDouble) UnlinkIdentityWithContext

func (*CognitoIdentityDouble) UntagResource

func (*CognitoIdentityDouble) UntagResourceRequest

func (*CognitoIdentityDouble) UntagResourceWithContext

func (*CognitoIdentityDouble) UpdateIdentityPool

func (*CognitoIdentityDouble) UpdateIdentityPoolRequest

func (d *CognitoIdentityDouble) UpdateIdentityPoolRequest(i0 *cognitoidentity.IdentityPool) (r0 *request.Request, r1 *cognitoidentity.IdentityPool)

func (*CognitoIdentityDouble) UpdateIdentityPoolWithContext

func (d *CognitoIdentityDouble) UpdateIdentityPoolWithContext(i0 context.Context, i1 *cognitoidentity.IdentityPool, i2 ...request.Option) (r0 *cognitoidentity.IdentityPool, r1 error)

Jump to

Keyboard shortcuts

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