cognitosyncdouble

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 cognitosyncdouble contains test double implementation of cognitosynciface.CognitoSyncAPI

Package cognitosyncdouble provides a TestDouble implementation of cognitosynciface.CognitoSyncAPI

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 CognitoSyncDouble

type CognitoSyncDouble struct {
	cognitosynciface.CognitoSyncAPI
	*awsdouble.AWSTestDouble
}

CognitoSyncDouble is TestDouble for cognitosynciface.CognitoSyncAPI

func NewDouble

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

Constructor for CognitoSyncDouble 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 (*CognitoSyncDouble) BulkPublish

func (*CognitoSyncDouble) BulkPublishRequest

func (*CognitoSyncDouble) BulkPublishWithContext

func (d *CognitoSyncDouble) BulkPublishWithContext(i0 context.Context, i1 *cognitosync.BulkPublishInput, i2 ...request.Option) (r0 *cognitosync.BulkPublishOutput, r1 error)

func (*CognitoSyncDouble) DeleteDataset

func (*CognitoSyncDouble) DeleteDatasetRequest

func (*CognitoSyncDouble) DeleteDatasetWithContext

func (d *CognitoSyncDouble) DeleteDatasetWithContext(i0 context.Context, i1 *cognitosync.DeleteDatasetInput, i2 ...request.Option) (r0 *cognitosync.DeleteDatasetOutput, r1 error)

func (*CognitoSyncDouble) DescribeDataset

func (*CognitoSyncDouble) DescribeDatasetRequest

func (*CognitoSyncDouble) DescribeDatasetWithContext

func (*CognitoSyncDouble) DescribeIdentityUsage

func (*CognitoSyncDouble) DescribeIdentityUsageRequest

func (*CognitoSyncDouble) DescribeIdentityUsageWithContext

func (*CognitoSyncDouble) GetBulkPublishDetails

func (*CognitoSyncDouble) GetBulkPublishDetailsRequest

func (*CognitoSyncDouble) GetBulkPublishDetailsWithContext

func (*CognitoSyncDouble) GetCognitoEvents

func (*CognitoSyncDouble) GetCognitoEventsRequest

func (*CognitoSyncDouble) GetCognitoEventsWithContext

func (*CognitoSyncDouble) ListDatasets

func (*CognitoSyncDouble) ListDatasetsRequest

func (*CognitoSyncDouble) ListDatasetsWithContext

func (d *CognitoSyncDouble) ListDatasetsWithContext(i0 context.Context, i1 *cognitosync.ListDatasetsInput, i2 ...request.Option) (r0 *cognitosync.ListDatasetsOutput, r1 error)

func (*CognitoSyncDouble) ListIdentityPoolUsage

func (*CognitoSyncDouble) ListIdentityPoolUsageRequest

func (*CognitoSyncDouble) ListIdentityPoolUsageWithContext

func (*CognitoSyncDouble) ListRecords

func (*CognitoSyncDouble) ListRecordsRequest

func (*CognitoSyncDouble) ListRecordsWithContext

func (d *CognitoSyncDouble) ListRecordsWithContext(i0 context.Context, i1 *cognitosync.ListRecordsInput, i2 ...request.Option) (r0 *cognitosync.ListRecordsOutput, r1 error)

func (*CognitoSyncDouble) RegisterDevice

func (*CognitoSyncDouble) RegisterDeviceRequest

func (*CognitoSyncDouble) RegisterDeviceWithContext

func (*CognitoSyncDouble) SetCognitoEvents

func (*CognitoSyncDouble) SetCognitoEventsRequest

func (*CognitoSyncDouble) SetCognitoEventsWithContext

func (*CognitoSyncDouble) SubscribeToDataset

func (*CognitoSyncDouble) SubscribeToDatasetRequest

func (*CognitoSyncDouble) SubscribeToDatasetWithContext

func (*CognitoSyncDouble) UnsubscribeFromDataset

func (*CognitoSyncDouble) UnsubscribeFromDatasetWithContext

func (*CognitoSyncDouble) UpdateRecords

func (*CognitoSyncDouble) UpdateRecordsRequest

func (*CognitoSyncDouble) UpdateRecordsWithContext

func (d *CognitoSyncDouble) UpdateRecordsWithContext(i0 context.Context, i1 *cognitosync.UpdateRecordsInput, i2 ...request.Option) (r0 *cognitosync.UpdateRecordsOutput, r1 error)

Jump to

Keyboard shortcuts

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