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 ioteventsdatadouble contains test double implementation of ioteventsdataiface.IoTEventsDataAPI
Package ioteventsdatadouble provides a TestDouble implementation of ioteventsdataiface.IoTEventsDataAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type IoTEventsDataDouble
- func (d *IoTEventsDataDouble) BatchPutMessage(i0 *ioteventsdata.BatchPutMessageInput) (r0 *ioteventsdata.BatchPutMessageOutput, r1 error)
- func (d *IoTEventsDataDouble) BatchPutMessageRequest(i0 *ioteventsdata.BatchPutMessageInput) (r0 *request.Request, r1 *ioteventsdata.BatchPutMessageOutput)
- func (d *IoTEventsDataDouble) BatchPutMessageWithContext(i0 context.Context, i1 *ioteventsdata.BatchPutMessageInput, ...) (r0 *ioteventsdata.BatchPutMessageOutput, r1 error)
- func (d *IoTEventsDataDouble) BatchUpdateDetector(i0 *ioteventsdata.BatchUpdateDetectorInput) (r0 *ioteventsdata.BatchUpdateDetectorOutput, r1 error)
- func (d *IoTEventsDataDouble) BatchUpdateDetectorRequest(i0 *ioteventsdata.BatchUpdateDetectorInput) (r0 *request.Request, r1 *ioteventsdata.BatchUpdateDetectorOutput)
- func (d *IoTEventsDataDouble) BatchUpdateDetectorWithContext(i0 context.Context, i1 *ioteventsdata.BatchUpdateDetectorInput, ...) (r0 *ioteventsdata.BatchUpdateDetectorOutput, r1 error)
- func (d *IoTEventsDataDouble) DescribeDetector(i0 *ioteventsdata.DescribeDetectorInput) (r0 *ioteventsdata.DescribeDetectorOutput, r1 error)
- func (d *IoTEventsDataDouble) DescribeDetectorRequest(i0 *ioteventsdata.DescribeDetectorInput) (r0 *request.Request, r1 *ioteventsdata.DescribeDetectorOutput)
- func (d *IoTEventsDataDouble) DescribeDetectorWithContext(i0 context.Context, i1 *ioteventsdata.DescribeDetectorInput, ...) (r0 *ioteventsdata.DescribeDetectorOutput, r1 error)
- func (d *IoTEventsDataDouble) ListDetectors(i0 *ioteventsdata.ListDetectorsInput) (r0 *ioteventsdata.ListDetectorsOutput, r1 error)
- func (d *IoTEventsDataDouble) ListDetectorsRequest(i0 *ioteventsdata.ListDetectorsInput) (r0 *request.Request, r1 *ioteventsdata.ListDetectorsOutput)
- func (d *IoTEventsDataDouble) ListDetectorsWithContext(i0 context.Context, i1 *ioteventsdata.ListDetectorsInput, i2 ...request.Option) (r0 *ioteventsdata.ListDetectorsOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IoTEventsDataDouble ¶
type IoTEventsDataDouble struct { ioteventsdataiface.IoTEventsDataAPI *awsdouble.AWSTestDouble }
IoTEventsDataDouble is TestDouble for ioteventsdataiface.IoTEventsDataAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *IoTEventsDataDouble
Constructor for IoTEventsDataDouble 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 (*IoTEventsDataDouble) BatchPutMessage ¶
func (d *IoTEventsDataDouble) BatchPutMessage(i0 *ioteventsdata.BatchPutMessageInput) (r0 *ioteventsdata.BatchPutMessageOutput, r1 error)
func (*IoTEventsDataDouble) BatchPutMessageRequest ¶
func (d *IoTEventsDataDouble) BatchPutMessageRequest(i0 *ioteventsdata.BatchPutMessageInput) (r0 *request.Request, r1 *ioteventsdata.BatchPutMessageOutput)
func (*IoTEventsDataDouble) BatchPutMessageWithContext ¶
func (d *IoTEventsDataDouble) BatchPutMessageWithContext(i0 context.Context, i1 *ioteventsdata.BatchPutMessageInput, i2 ...request.Option) (r0 *ioteventsdata.BatchPutMessageOutput, r1 error)
func (*IoTEventsDataDouble) BatchUpdateDetector ¶
func (d *IoTEventsDataDouble) BatchUpdateDetector(i0 *ioteventsdata.BatchUpdateDetectorInput) (r0 *ioteventsdata.BatchUpdateDetectorOutput, r1 error)
func (*IoTEventsDataDouble) BatchUpdateDetectorRequest ¶
func (d *IoTEventsDataDouble) BatchUpdateDetectorRequest(i0 *ioteventsdata.BatchUpdateDetectorInput) (r0 *request.Request, r1 *ioteventsdata.BatchUpdateDetectorOutput)
func (*IoTEventsDataDouble) BatchUpdateDetectorWithContext ¶
func (d *IoTEventsDataDouble) BatchUpdateDetectorWithContext(i0 context.Context, i1 *ioteventsdata.BatchUpdateDetectorInput, i2 ...request.Option) (r0 *ioteventsdata.BatchUpdateDetectorOutput, r1 error)
func (*IoTEventsDataDouble) DescribeDetector ¶
func (d *IoTEventsDataDouble) DescribeDetector(i0 *ioteventsdata.DescribeDetectorInput) (r0 *ioteventsdata.DescribeDetectorOutput, r1 error)
func (*IoTEventsDataDouble) DescribeDetectorRequest ¶
func (d *IoTEventsDataDouble) DescribeDetectorRequest(i0 *ioteventsdata.DescribeDetectorInput) (r0 *request.Request, r1 *ioteventsdata.DescribeDetectorOutput)
func (*IoTEventsDataDouble) DescribeDetectorWithContext ¶
func (d *IoTEventsDataDouble) DescribeDetectorWithContext(i0 context.Context, i1 *ioteventsdata.DescribeDetectorInput, i2 ...request.Option) (r0 *ioteventsdata.DescribeDetectorOutput, r1 error)
func (*IoTEventsDataDouble) ListDetectors ¶
func (d *IoTEventsDataDouble) ListDetectors(i0 *ioteventsdata.ListDetectorsInput) (r0 *ioteventsdata.ListDetectorsOutput, r1 error)
func (*IoTEventsDataDouble) ListDetectorsRequest ¶
func (d *IoTEventsDataDouble) ListDetectorsRequest(i0 *ioteventsdata.ListDetectorsInput) (r0 *request.Request, r1 *ioteventsdata.ListDetectorsOutput)
func (*IoTEventsDataDouble) ListDetectorsWithContext ¶
func (d *IoTEventsDataDouble) ListDetectorsWithContext(i0 context.Context, i1 *ioteventsdata.ListDetectorsInput, i2 ...request.Option) (r0 *ioteventsdata.ListDetectorsOutput, r1 error)