comprehenddouble

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 comprehenddouble contains test double implementation of comprehendiface.ComprehendAPI

Package comprehenddouble provides a TestDouble implementation of comprehendiface.ComprehendAPI

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 ComprehendDouble

type ComprehendDouble struct {
	comprehendiface.ComprehendAPI
	*awsdouble.AWSTestDouble
}

ComprehendDouble is TestDouble for comprehendiface.ComprehendAPI

func NewDouble

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

Constructor for ComprehendDouble 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 (*ComprehendDouble) BatchDetectEntities

func (*ComprehendDouble) BatchDetectEntitiesRequest

func (*ComprehendDouble) BatchDetectEntitiesWithContext

func (d *ComprehendDouble) BatchDetectEntitiesWithContext(i0 context.Context, i1 *comprehend.BatchDetectEntitiesInput, i2 ...request.Option) (r0 *comprehend.BatchDetectEntitiesOutput, r1 error)

func (*ComprehendDouble) BatchDetectKeyPhrases

func (*ComprehendDouble) BatchDetectKeyPhrasesRequest

func (*ComprehendDouble) BatchDetectKeyPhrasesWithContext

func (*ComprehendDouble) BatchDetectSentiment

func (*ComprehendDouble) BatchDetectSentimentRequest

func (*ComprehendDouble) BatchDetectSentimentWithContext

func (*ComprehendDouble) BatchDetectSyntax

func (*ComprehendDouble) BatchDetectSyntaxRequest

func (*ComprehendDouble) BatchDetectSyntaxWithContext

func (d *ComprehendDouble) BatchDetectSyntaxWithContext(i0 context.Context, i1 *comprehend.BatchDetectSyntaxInput, i2 ...request.Option) (r0 *comprehend.BatchDetectSyntaxOutput, r1 error)

func (*ComprehendDouble) ClassifyDocument

func (*ComprehendDouble) ClassifyDocumentRequest

func (*ComprehendDouble) ClassifyDocumentWithContext

func (d *ComprehendDouble) ClassifyDocumentWithContext(i0 context.Context, i1 *comprehend.ClassifyDocumentInput, i2 ...request.Option) (r0 *comprehend.ClassifyDocumentOutput, r1 error)

func (*ComprehendDouble) CreateDocumentClassifier

func (*ComprehendDouble) CreateDocumentClassifierWithContext

func (*ComprehendDouble) CreateEndpoint

func (*ComprehendDouble) CreateEndpointRequest

func (*ComprehendDouble) CreateEndpointWithContext

func (d *ComprehendDouble) CreateEndpointWithContext(i0 context.Context, i1 *comprehend.CreateEndpointInput, i2 ...request.Option) (r0 *comprehend.CreateEndpointOutput, r1 error)

func (*ComprehendDouble) CreateEntityRecognizer

func (*ComprehendDouble) CreateEntityRecognizerRequest

func (*ComprehendDouble) CreateEntityRecognizerWithContext

func (*ComprehendDouble) DeleteDocumentClassifier

func (*ComprehendDouble) DeleteDocumentClassifierWithContext

func (*ComprehendDouble) DeleteEndpoint

func (*ComprehendDouble) DeleteEndpointRequest

func (*ComprehendDouble) DeleteEndpointWithContext

func (d *ComprehendDouble) DeleteEndpointWithContext(i0 context.Context, i1 *comprehend.DeleteEndpointInput, i2 ...request.Option) (r0 *comprehend.DeleteEndpointOutput, r1 error)

func (*ComprehendDouble) DeleteEntityRecognizer

func (*ComprehendDouble) DeleteEntityRecognizerRequest

func (*ComprehendDouble) DeleteEntityRecognizerWithContext

func (*ComprehendDouble) DescribeEndpoint

func (*ComprehendDouble) DescribeEndpointRequest

func (*ComprehendDouble) DescribeEndpointWithContext

func (d *ComprehendDouble) DescribeEndpointWithContext(i0 context.Context, i1 *comprehend.DescribeEndpointInput, i2 ...request.Option) (r0 *comprehend.DescribeEndpointOutput, r1 error)

func (*ComprehendDouble) DescribeEntityRecognizer

func (*ComprehendDouble) DescribeEntityRecognizerWithContext

func (*ComprehendDouble) DetectDominantLanguage

func (*ComprehendDouble) DetectDominantLanguageRequest

func (*ComprehendDouble) DetectDominantLanguageWithContext

func (*ComprehendDouble) DetectEntities

func (*ComprehendDouble) DetectEntitiesRequest

func (*ComprehendDouble) DetectEntitiesWithContext

func (d *ComprehendDouble) DetectEntitiesWithContext(i0 context.Context, i1 *comprehend.DetectEntitiesInput, i2 ...request.Option) (r0 *comprehend.DetectEntitiesOutput, r1 error)

func (*ComprehendDouble) DetectKeyPhrases

func (*ComprehendDouble) DetectKeyPhrasesRequest

func (*ComprehendDouble) DetectKeyPhrasesWithContext

func (d *ComprehendDouble) DetectKeyPhrasesWithContext(i0 context.Context, i1 *comprehend.DetectKeyPhrasesInput, i2 ...request.Option) (r0 *comprehend.DetectKeyPhrasesOutput, r1 error)

func (*ComprehendDouble) DetectSentiment

func (*ComprehendDouble) DetectSentimentRequest

func (*ComprehendDouble) DetectSentimentWithContext

func (d *ComprehendDouble) DetectSentimentWithContext(i0 context.Context, i1 *comprehend.DetectSentimentInput, i2 ...request.Option) (r0 *comprehend.DetectSentimentOutput, r1 error)

func (*ComprehendDouble) DetectSyntax

func (*ComprehendDouble) DetectSyntaxRequest

func (*ComprehendDouble) DetectSyntaxWithContext

func (d *ComprehendDouble) DetectSyntaxWithContext(i0 context.Context, i1 *comprehend.DetectSyntaxInput, i2 ...request.Option) (r0 *comprehend.DetectSyntaxOutput, r1 error)

func (*ComprehendDouble) ListDocumentClassificationJobsPagesWithContext

func (d *ComprehendDouble) ListDocumentClassificationJobsPagesWithContext(i0 context.Context, i1 *comprehend.ListDocumentClassificationJobsInput, i2 func(*comprehend.ListDocumentClassificationJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*ComprehendDouble) ListDocumentClassifiers

func (*ComprehendDouble) ListDocumentClassifiersPages

func (*ComprehendDouble) ListDocumentClassifiersPagesWithContext

func (d *ComprehendDouble) ListDocumentClassifiersPagesWithContext(i0 context.Context, i1 *comprehend.ListDocumentClassifiersInput, i2 func(*comprehend.ListDocumentClassifiersOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*ComprehendDouble) ListDocumentClassifiersWithContext

func (*ComprehendDouble) ListEndpoints

func (*ComprehendDouble) ListEndpointsRequest

func (*ComprehendDouble) ListEndpointsWithContext

func (d *ComprehendDouble) ListEndpointsWithContext(i0 context.Context, i1 *comprehend.ListEndpointsInput, i2 ...request.Option) (r0 *comprehend.ListEndpointsOutput, r1 error)

func (*ComprehendDouble) ListEntitiesDetectionJobsPages

func (*ComprehendDouble) ListEntitiesDetectionJobsPagesWithContext

func (d *ComprehendDouble) ListEntitiesDetectionJobsPagesWithContext(i0 context.Context, i1 *comprehend.ListEntitiesDetectionJobsInput, i2 func(*comprehend.ListEntitiesDetectionJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*ComprehendDouble) ListEntityRecognizers

func (*ComprehendDouble) ListEntityRecognizersPages

func (d *ComprehendDouble) ListEntityRecognizersPages(i0 *comprehend.ListEntityRecognizersInput, i1 func(*comprehend.ListEntityRecognizersOutput, bool) bool) (r0 error)

func (*ComprehendDouble) ListEntityRecognizersPagesWithContext

func (d *ComprehendDouble) ListEntityRecognizersPagesWithContext(i0 context.Context, i1 *comprehend.ListEntityRecognizersInput, i2 func(*comprehend.ListEntityRecognizersOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*ComprehendDouble) ListEntityRecognizersRequest

func (*ComprehendDouble) ListEntityRecognizersWithContext

func (*ComprehendDouble) ListKeyPhrasesDetectionJobsPages

func (*ComprehendDouble) ListKeyPhrasesDetectionJobsPagesWithContext

func (d *ComprehendDouble) ListKeyPhrasesDetectionJobsPagesWithContext(i0 context.Context, i1 *comprehend.ListKeyPhrasesDetectionJobsInput, i2 func(*comprehend.ListKeyPhrasesDetectionJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*ComprehendDouble) ListSentimentDetectionJobsPages

func (*ComprehendDouble) ListSentimentDetectionJobsPagesWithContext

func (d *ComprehendDouble) ListSentimentDetectionJobsPagesWithContext(i0 context.Context, i1 *comprehend.ListSentimentDetectionJobsInput, i2 func(*comprehend.ListSentimentDetectionJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*ComprehendDouble) ListTagsForResource

func (*ComprehendDouble) ListTagsForResourceRequest

func (*ComprehendDouble) ListTagsForResourceWithContext

func (d *ComprehendDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *comprehend.ListTagsForResourceInput, i2 ...request.Option) (r0 *comprehend.ListTagsForResourceOutput, r1 error)

func (*ComprehendDouble) ListTopicsDetectionJobs

func (*ComprehendDouble) ListTopicsDetectionJobsPages

func (*ComprehendDouble) ListTopicsDetectionJobsPagesWithContext

func (d *ComprehendDouble) ListTopicsDetectionJobsPagesWithContext(i0 context.Context, i1 *comprehend.ListTopicsDetectionJobsInput, i2 func(*comprehend.ListTopicsDetectionJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*ComprehendDouble) ListTopicsDetectionJobsWithContext

func (*ComprehendDouble) StartTopicsDetectionJob

func (*ComprehendDouble) StartTopicsDetectionJobWithContext

func (*ComprehendDouble) StopEntitiesDetectionJob

func (*ComprehendDouble) StopEntitiesDetectionJobWithContext

func (*ComprehendDouble) TagResource

func (*ComprehendDouble) TagResourceRequest

func (*ComprehendDouble) TagResourceWithContext

func (d *ComprehendDouble) TagResourceWithContext(i0 context.Context, i1 *comprehend.TagResourceInput, i2 ...request.Option) (r0 *comprehend.TagResourceOutput, r1 error)

func (*ComprehendDouble) UntagResource

func (*ComprehendDouble) UntagResourceRequest

func (*ComprehendDouble) UntagResourceWithContext

func (d *ComprehendDouble) UntagResourceWithContext(i0 context.Context, i1 *comprehend.UntagResourceInput, i2 ...request.Option) (r0 *comprehend.UntagResourceOutput, r1 error)

func (*ComprehendDouble) UpdateEndpoint

func (*ComprehendDouble) UpdateEndpointRequest

func (*ComprehendDouble) UpdateEndpointWithContext

func (d *ComprehendDouble) UpdateEndpointWithContext(i0 context.Context, i1 *comprehend.UpdateEndpointInput, i2 ...request.Option) (r0 *comprehend.UpdateEndpointOutput, r1 error)

Jump to

Keyboard shortcuts

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