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 comprehendmedicaldouble contains test double implementation of comprehendmedicaliface.ComprehendMedicalAPI
Package comprehendmedicaldouble provides a TestDouble implementation of comprehendmedicaliface.ComprehendMedicalAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type ComprehendMedicalDouble
- func (d *ComprehendMedicalDouble) DescribeEntitiesDetectionV2Job(i0 *comprehendmedical.DescribeEntitiesDetectionV2JobInput) (r0 *comprehendmedical.DescribeEntitiesDetectionV2JobOutput, r1 error)
- func (d *ComprehendMedicalDouble) DescribeEntitiesDetectionV2JobRequest(i0 *comprehendmedical.DescribeEntitiesDetectionV2JobInput) (r0 *request.Request, ...)
- func (d *ComprehendMedicalDouble) DescribeEntitiesDetectionV2JobWithContext(i0 context.Context, i1 *comprehendmedical.DescribeEntitiesDetectionV2JobInput, ...) (r0 *comprehendmedical.DescribeEntitiesDetectionV2JobOutput, r1 error)
- func (d *ComprehendMedicalDouble) DescribePHIDetectionJob(i0 *comprehendmedical.DescribePHIDetectionJobInput) (r0 *comprehendmedical.DescribePHIDetectionJobOutput, r1 error)
- func (d *ComprehendMedicalDouble) DescribePHIDetectionJobRequest(i0 *comprehendmedical.DescribePHIDetectionJobInput) (r0 *request.Request, r1 *comprehendmedical.DescribePHIDetectionJobOutput)
- func (d *ComprehendMedicalDouble) DescribePHIDetectionJobWithContext(i0 context.Context, i1 *comprehendmedical.DescribePHIDetectionJobInput, ...) (r0 *comprehendmedical.DescribePHIDetectionJobOutput, r1 error)
- func (d *ComprehendMedicalDouble) DetectEntities(i0 *comprehendmedical.DetectEntitiesInput) (r0 *comprehendmedical.DetectEntitiesOutput, r1 error)
- func (d *ComprehendMedicalDouble) DetectEntitiesRequest(i0 *comprehendmedical.DetectEntitiesInput) (r0 *request.Request, r1 *comprehendmedical.DetectEntitiesOutput)
- func (d *ComprehendMedicalDouble) DetectEntitiesV2(i0 *comprehendmedical.DetectEntitiesV2Input) (r0 *comprehendmedical.DetectEntitiesV2Output, r1 error)
- func (d *ComprehendMedicalDouble) DetectEntitiesV2Request(i0 *comprehendmedical.DetectEntitiesV2Input) (r0 *request.Request, r1 *comprehendmedical.DetectEntitiesV2Output)
- func (d *ComprehendMedicalDouble) DetectEntitiesV2WithContext(i0 context.Context, i1 *comprehendmedical.DetectEntitiesV2Input, ...) (r0 *comprehendmedical.DetectEntitiesV2Output, r1 error)
- func (d *ComprehendMedicalDouble) DetectEntitiesWithContext(i0 context.Context, i1 *comprehendmedical.DetectEntitiesInput, ...) (r0 *comprehendmedical.DetectEntitiesOutput, r1 error)
- func (d *ComprehendMedicalDouble) DetectPHI(i0 *comprehendmedical.DetectPHIInput) (r0 *comprehendmedical.DetectPHIOutput, r1 error)
- func (d *ComprehendMedicalDouble) DetectPHIRequest(i0 *comprehendmedical.DetectPHIInput) (r0 *request.Request, r1 *comprehendmedical.DetectPHIOutput)
- func (d *ComprehendMedicalDouble) DetectPHIWithContext(i0 context.Context, i1 *comprehendmedical.DetectPHIInput, i2 ...request.Option) (r0 *comprehendmedical.DetectPHIOutput, r1 error)
- func (d *ComprehendMedicalDouble) InferICD10CM(i0 *comprehendmedical.InferICD10CMInput) (r0 *comprehendmedical.InferICD10CMOutput, r1 error)
- func (d *ComprehendMedicalDouble) InferICD10CMRequest(i0 *comprehendmedical.InferICD10CMInput) (r0 *request.Request, r1 *comprehendmedical.InferICD10CMOutput)
- func (d *ComprehendMedicalDouble) InferICD10CMWithContext(i0 context.Context, i1 *comprehendmedical.InferICD10CMInput, ...) (r0 *comprehendmedical.InferICD10CMOutput, r1 error)
- func (d *ComprehendMedicalDouble) InferRxNorm(i0 *comprehendmedical.InferRxNormInput) (r0 *comprehendmedical.InferRxNormOutput, r1 error)
- func (d *ComprehendMedicalDouble) InferRxNormRequest(i0 *comprehendmedical.InferRxNormInput) (r0 *request.Request, r1 *comprehendmedical.InferRxNormOutput)
- func (d *ComprehendMedicalDouble) InferRxNormWithContext(i0 context.Context, i1 *comprehendmedical.InferRxNormInput, ...) (r0 *comprehendmedical.InferRxNormOutput, r1 error)
- func (d *ComprehendMedicalDouble) ListEntitiesDetectionV2Jobs(i0 *comprehendmedical.ListEntitiesDetectionV2JobsInput) (r0 *comprehendmedical.ListEntitiesDetectionV2JobsOutput, r1 error)
- func (d *ComprehendMedicalDouble) ListEntitiesDetectionV2JobsRequest(i0 *comprehendmedical.ListEntitiesDetectionV2JobsInput) (r0 *request.Request, r1 *comprehendmedical.ListEntitiesDetectionV2JobsOutput)
- func (d *ComprehendMedicalDouble) ListEntitiesDetectionV2JobsWithContext(i0 context.Context, i1 *comprehendmedical.ListEntitiesDetectionV2JobsInput, ...) (r0 *comprehendmedical.ListEntitiesDetectionV2JobsOutput, r1 error)
- func (d *ComprehendMedicalDouble) ListPHIDetectionJobs(i0 *comprehendmedical.ListPHIDetectionJobsInput) (r0 *comprehendmedical.ListPHIDetectionJobsOutput, r1 error)
- func (d *ComprehendMedicalDouble) ListPHIDetectionJobsRequest(i0 *comprehendmedical.ListPHIDetectionJobsInput) (r0 *request.Request, r1 *comprehendmedical.ListPHIDetectionJobsOutput)
- func (d *ComprehendMedicalDouble) ListPHIDetectionJobsWithContext(i0 context.Context, i1 *comprehendmedical.ListPHIDetectionJobsInput, ...) (r0 *comprehendmedical.ListPHIDetectionJobsOutput, r1 error)
- func (d *ComprehendMedicalDouble) StartEntitiesDetectionV2Job(i0 *comprehendmedical.StartEntitiesDetectionV2JobInput) (r0 *comprehendmedical.StartEntitiesDetectionV2JobOutput, r1 error)
- func (d *ComprehendMedicalDouble) StartEntitiesDetectionV2JobRequest(i0 *comprehendmedical.StartEntitiesDetectionV2JobInput) (r0 *request.Request, r1 *comprehendmedical.StartEntitiesDetectionV2JobOutput)
- func (d *ComprehendMedicalDouble) StartEntitiesDetectionV2JobWithContext(i0 context.Context, i1 *comprehendmedical.StartEntitiesDetectionV2JobInput, ...) (r0 *comprehendmedical.StartEntitiesDetectionV2JobOutput, r1 error)
- func (d *ComprehendMedicalDouble) StartPHIDetectionJob(i0 *comprehendmedical.StartPHIDetectionJobInput) (r0 *comprehendmedical.StartPHIDetectionJobOutput, r1 error)
- func (d *ComprehendMedicalDouble) StartPHIDetectionJobRequest(i0 *comprehendmedical.StartPHIDetectionJobInput) (r0 *request.Request, r1 *comprehendmedical.StartPHIDetectionJobOutput)
- func (d *ComprehendMedicalDouble) StartPHIDetectionJobWithContext(i0 context.Context, i1 *comprehendmedical.StartPHIDetectionJobInput, ...) (r0 *comprehendmedical.StartPHIDetectionJobOutput, r1 error)
- func (d *ComprehendMedicalDouble) StopEntitiesDetectionV2Job(i0 *comprehendmedical.StopEntitiesDetectionV2JobInput) (r0 *comprehendmedical.StopEntitiesDetectionV2JobOutput, r1 error)
- func (d *ComprehendMedicalDouble) StopEntitiesDetectionV2JobRequest(i0 *comprehendmedical.StopEntitiesDetectionV2JobInput) (r0 *request.Request, r1 *comprehendmedical.StopEntitiesDetectionV2JobOutput)
- func (d *ComprehendMedicalDouble) StopEntitiesDetectionV2JobWithContext(i0 context.Context, i1 *comprehendmedical.StopEntitiesDetectionV2JobInput, ...) (r0 *comprehendmedical.StopEntitiesDetectionV2JobOutput, r1 error)
- func (d *ComprehendMedicalDouble) StopPHIDetectionJob(i0 *comprehendmedical.StopPHIDetectionJobInput) (r0 *comprehendmedical.StopPHIDetectionJobOutput, r1 error)
- func (d *ComprehendMedicalDouble) StopPHIDetectionJobRequest(i0 *comprehendmedical.StopPHIDetectionJobInput) (r0 *request.Request, r1 *comprehendmedical.StopPHIDetectionJobOutput)
- func (d *ComprehendMedicalDouble) StopPHIDetectionJobWithContext(i0 context.Context, i1 *comprehendmedical.StopPHIDetectionJobInput, ...) (r0 *comprehendmedical.StopPHIDetectionJobOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComprehendMedicalDouble ¶
type ComprehendMedicalDouble struct { comprehendmedicaliface.ComprehendMedicalAPI *awsdouble.AWSTestDouble }
ComprehendMedicalDouble is TestDouble for comprehendmedicaliface.ComprehendMedicalAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *ComprehendMedicalDouble
Constructor for ComprehendMedicalDouble 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 (*ComprehendMedicalDouble) DescribeEntitiesDetectionV2Job ¶
func (d *ComprehendMedicalDouble) DescribeEntitiesDetectionV2Job(i0 *comprehendmedical.DescribeEntitiesDetectionV2JobInput) (r0 *comprehendmedical.DescribeEntitiesDetectionV2JobOutput, r1 error)
func (*ComprehendMedicalDouble) DescribeEntitiesDetectionV2JobRequest ¶
func (d *ComprehendMedicalDouble) DescribeEntitiesDetectionV2JobRequest(i0 *comprehendmedical.DescribeEntitiesDetectionV2JobInput) (r0 *request.Request, r1 *comprehendmedical.DescribeEntitiesDetectionV2JobOutput)
func (*ComprehendMedicalDouble) DescribeEntitiesDetectionV2JobWithContext ¶
func (d *ComprehendMedicalDouble) DescribeEntitiesDetectionV2JobWithContext(i0 context.Context, i1 *comprehendmedical.DescribeEntitiesDetectionV2JobInput, i2 ...request.Option) (r0 *comprehendmedical.DescribeEntitiesDetectionV2JobOutput, r1 error)
func (*ComprehendMedicalDouble) DescribePHIDetectionJob ¶
func (d *ComprehendMedicalDouble) DescribePHIDetectionJob(i0 *comprehendmedical.DescribePHIDetectionJobInput) (r0 *comprehendmedical.DescribePHIDetectionJobOutput, r1 error)
func (*ComprehendMedicalDouble) DescribePHIDetectionJobRequest ¶
func (d *ComprehendMedicalDouble) DescribePHIDetectionJobRequest(i0 *comprehendmedical.DescribePHIDetectionJobInput) (r0 *request.Request, r1 *comprehendmedical.DescribePHIDetectionJobOutput)
func (*ComprehendMedicalDouble) DescribePHIDetectionJobWithContext ¶
func (d *ComprehendMedicalDouble) DescribePHIDetectionJobWithContext(i0 context.Context, i1 *comprehendmedical.DescribePHIDetectionJobInput, i2 ...request.Option) (r0 *comprehendmedical.DescribePHIDetectionJobOutput, r1 error)
func (*ComprehendMedicalDouble) DetectEntities ¶
func (d *ComprehendMedicalDouble) DetectEntities(i0 *comprehendmedical.DetectEntitiesInput) (r0 *comprehendmedical.DetectEntitiesOutput, r1 error)
func (*ComprehendMedicalDouble) DetectEntitiesRequest ¶
func (d *ComprehendMedicalDouble) DetectEntitiesRequest(i0 *comprehendmedical.DetectEntitiesInput) (r0 *request.Request, r1 *comprehendmedical.DetectEntitiesOutput)
func (*ComprehendMedicalDouble) DetectEntitiesV2 ¶
func (d *ComprehendMedicalDouble) DetectEntitiesV2(i0 *comprehendmedical.DetectEntitiesV2Input) (r0 *comprehendmedical.DetectEntitiesV2Output, r1 error)
func (*ComprehendMedicalDouble) DetectEntitiesV2Request ¶
func (d *ComprehendMedicalDouble) DetectEntitiesV2Request(i0 *comprehendmedical.DetectEntitiesV2Input) (r0 *request.Request, r1 *comprehendmedical.DetectEntitiesV2Output)
func (*ComprehendMedicalDouble) DetectEntitiesV2WithContext ¶
func (d *ComprehendMedicalDouble) DetectEntitiesV2WithContext(i0 context.Context, i1 *comprehendmedical.DetectEntitiesV2Input, i2 ...request.Option) (r0 *comprehendmedical.DetectEntitiesV2Output, r1 error)
func (*ComprehendMedicalDouble) DetectEntitiesWithContext ¶
func (d *ComprehendMedicalDouble) DetectEntitiesWithContext(i0 context.Context, i1 *comprehendmedical.DetectEntitiesInput, i2 ...request.Option) (r0 *comprehendmedical.DetectEntitiesOutput, r1 error)
func (*ComprehendMedicalDouble) DetectPHI ¶
func (d *ComprehendMedicalDouble) DetectPHI(i0 *comprehendmedical.DetectPHIInput) (r0 *comprehendmedical.DetectPHIOutput, r1 error)
func (*ComprehendMedicalDouble) DetectPHIRequest ¶
func (d *ComprehendMedicalDouble) DetectPHIRequest(i0 *comprehendmedical.DetectPHIInput) (r0 *request.Request, r1 *comprehendmedical.DetectPHIOutput)
func (*ComprehendMedicalDouble) DetectPHIWithContext ¶
func (d *ComprehendMedicalDouble) DetectPHIWithContext(i0 context.Context, i1 *comprehendmedical.DetectPHIInput, i2 ...request.Option) (r0 *comprehendmedical.DetectPHIOutput, r1 error)
func (*ComprehendMedicalDouble) InferICD10CM ¶
func (d *ComprehendMedicalDouble) InferICD10CM(i0 *comprehendmedical.InferICD10CMInput) (r0 *comprehendmedical.InferICD10CMOutput, r1 error)
func (*ComprehendMedicalDouble) InferICD10CMRequest ¶
func (d *ComprehendMedicalDouble) InferICD10CMRequest(i0 *comprehendmedical.InferICD10CMInput) (r0 *request.Request, r1 *comprehendmedical.InferICD10CMOutput)
func (*ComprehendMedicalDouble) InferICD10CMWithContext ¶
func (d *ComprehendMedicalDouble) InferICD10CMWithContext(i0 context.Context, i1 *comprehendmedical.InferICD10CMInput, i2 ...request.Option) (r0 *comprehendmedical.InferICD10CMOutput, r1 error)
func (*ComprehendMedicalDouble) InferRxNorm ¶
func (d *ComprehendMedicalDouble) InferRxNorm(i0 *comprehendmedical.InferRxNormInput) (r0 *comprehendmedical.InferRxNormOutput, r1 error)
func (*ComprehendMedicalDouble) InferRxNormRequest ¶
func (d *ComprehendMedicalDouble) InferRxNormRequest(i0 *comprehendmedical.InferRxNormInput) (r0 *request.Request, r1 *comprehendmedical.InferRxNormOutput)
func (*ComprehendMedicalDouble) InferRxNormWithContext ¶
func (d *ComprehendMedicalDouble) InferRxNormWithContext(i0 context.Context, i1 *comprehendmedical.InferRxNormInput, i2 ...request.Option) (r0 *comprehendmedical.InferRxNormOutput, r1 error)
func (*ComprehendMedicalDouble) ListEntitiesDetectionV2Jobs ¶
func (d *ComprehendMedicalDouble) ListEntitiesDetectionV2Jobs(i0 *comprehendmedical.ListEntitiesDetectionV2JobsInput) (r0 *comprehendmedical.ListEntitiesDetectionV2JobsOutput, r1 error)
func (*ComprehendMedicalDouble) ListEntitiesDetectionV2JobsRequest ¶
func (d *ComprehendMedicalDouble) ListEntitiesDetectionV2JobsRequest(i0 *comprehendmedical.ListEntitiesDetectionV2JobsInput) (r0 *request.Request, r1 *comprehendmedical.ListEntitiesDetectionV2JobsOutput)
func (*ComprehendMedicalDouble) ListEntitiesDetectionV2JobsWithContext ¶
func (d *ComprehendMedicalDouble) ListEntitiesDetectionV2JobsWithContext(i0 context.Context, i1 *comprehendmedical.ListEntitiesDetectionV2JobsInput, i2 ...request.Option) (r0 *comprehendmedical.ListEntitiesDetectionV2JobsOutput, r1 error)
func (*ComprehendMedicalDouble) ListPHIDetectionJobs ¶
func (d *ComprehendMedicalDouble) ListPHIDetectionJobs(i0 *comprehendmedical.ListPHIDetectionJobsInput) (r0 *comprehendmedical.ListPHIDetectionJobsOutput, r1 error)
func (*ComprehendMedicalDouble) ListPHIDetectionJobsRequest ¶
func (d *ComprehendMedicalDouble) ListPHIDetectionJobsRequest(i0 *comprehendmedical.ListPHIDetectionJobsInput) (r0 *request.Request, r1 *comprehendmedical.ListPHIDetectionJobsOutput)
func (*ComprehendMedicalDouble) ListPHIDetectionJobsWithContext ¶
func (d *ComprehendMedicalDouble) ListPHIDetectionJobsWithContext(i0 context.Context, i1 *comprehendmedical.ListPHIDetectionJobsInput, i2 ...request.Option) (r0 *comprehendmedical.ListPHIDetectionJobsOutput, r1 error)
func (*ComprehendMedicalDouble) StartEntitiesDetectionV2Job ¶
func (d *ComprehendMedicalDouble) StartEntitiesDetectionV2Job(i0 *comprehendmedical.StartEntitiesDetectionV2JobInput) (r0 *comprehendmedical.StartEntitiesDetectionV2JobOutput, r1 error)
func (*ComprehendMedicalDouble) StartEntitiesDetectionV2JobRequest ¶
func (d *ComprehendMedicalDouble) StartEntitiesDetectionV2JobRequest(i0 *comprehendmedical.StartEntitiesDetectionV2JobInput) (r0 *request.Request, r1 *comprehendmedical.StartEntitiesDetectionV2JobOutput)
func (*ComprehendMedicalDouble) StartEntitiesDetectionV2JobWithContext ¶
func (d *ComprehendMedicalDouble) StartEntitiesDetectionV2JobWithContext(i0 context.Context, i1 *comprehendmedical.StartEntitiesDetectionV2JobInput, i2 ...request.Option) (r0 *comprehendmedical.StartEntitiesDetectionV2JobOutput, r1 error)
func (*ComprehendMedicalDouble) StartPHIDetectionJob ¶
func (d *ComprehendMedicalDouble) StartPHIDetectionJob(i0 *comprehendmedical.StartPHIDetectionJobInput) (r0 *comprehendmedical.StartPHIDetectionJobOutput, r1 error)
func (*ComprehendMedicalDouble) StartPHIDetectionJobRequest ¶
func (d *ComprehendMedicalDouble) StartPHIDetectionJobRequest(i0 *comprehendmedical.StartPHIDetectionJobInput) (r0 *request.Request, r1 *comprehendmedical.StartPHIDetectionJobOutput)
func (*ComprehendMedicalDouble) StartPHIDetectionJobWithContext ¶
func (d *ComprehendMedicalDouble) StartPHIDetectionJobWithContext(i0 context.Context, i1 *comprehendmedical.StartPHIDetectionJobInput, i2 ...request.Option) (r0 *comprehendmedical.StartPHIDetectionJobOutput, r1 error)
func (*ComprehendMedicalDouble) StopEntitiesDetectionV2Job ¶
func (d *ComprehendMedicalDouble) StopEntitiesDetectionV2Job(i0 *comprehendmedical.StopEntitiesDetectionV2JobInput) (r0 *comprehendmedical.StopEntitiesDetectionV2JobOutput, r1 error)
func (*ComprehendMedicalDouble) StopEntitiesDetectionV2JobRequest ¶
func (d *ComprehendMedicalDouble) StopEntitiesDetectionV2JobRequest(i0 *comprehendmedical.StopEntitiesDetectionV2JobInput) (r0 *request.Request, r1 *comprehendmedical.StopEntitiesDetectionV2JobOutput)
func (*ComprehendMedicalDouble) StopEntitiesDetectionV2JobWithContext ¶
func (d *ComprehendMedicalDouble) StopEntitiesDetectionV2JobWithContext(i0 context.Context, i1 *comprehendmedical.StopEntitiesDetectionV2JobInput, i2 ...request.Option) (r0 *comprehendmedical.StopEntitiesDetectionV2JobOutput, r1 error)
func (*ComprehendMedicalDouble) StopPHIDetectionJob ¶
func (d *ComprehendMedicalDouble) StopPHIDetectionJob(i0 *comprehendmedical.StopPHIDetectionJobInput) (r0 *comprehendmedical.StopPHIDetectionJobOutput, r1 error)
func (*ComprehendMedicalDouble) StopPHIDetectionJobRequest ¶
func (d *ComprehendMedicalDouble) StopPHIDetectionJobRequest(i0 *comprehendmedical.StopPHIDetectionJobInput) (r0 *request.Request, r1 *comprehendmedical.StopPHIDetectionJobOutput)
func (*ComprehendMedicalDouble) StopPHIDetectionJobWithContext ¶
func (d *ComprehendMedicalDouble) StopPHIDetectionJobWithContext(i0 context.Context, i1 *comprehendmedical.StopPHIDetectionJobInput, i2 ...request.Option) (r0 *comprehendmedical.StopPHIDetectionJobOutput, r1 error)