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 ioteventsdouble contains test double implementation of ioteventsiface.IoTEventsAPI
Package ioteventsdouble provides a TestDouble implementation of ioteventsiface.IoTEventsAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type IoTEventsDouble
- func (d *IoTEventsDouble) CreateDetectorModel(i0 *iotevents.CreateDetectorModelInput) (r0 *iotevents.CreateDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) CreateDetectorModelRequest(i0 *iotevents.CreateDetectorModelInput) (r0 *request.Request, r1 *iotevents.CreateDetectorModelOutput)
- func (d *IoTEventsDouble) CreateDetectorModelWithContext(i0 context.Context, i1 *iotevents.CreateDetectorModelInput, ...) (r0 *iotevents.CreateDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) CreateInput(i0 *iotevents.CreateInputInput) (r0 *iotevents.CreateInputOutput, r1 error)
- func (d *IoTEventsDouble) CreateInputRequest(i0 *iotevents.CreateInputInput) (r0 *request.Request, r1 *iotevents.CreateInputOutput)
- func (d *IoTEventsDouble) CreateInputWithContext(i0 context.Context, i1 *iotevents.CreateInputInput, i2 ...request.Option) (r0 *iotevents.CreateInputOutput, r1 error)
- func (d *IoTEventsDouble) DeleteDetectorModel(i0 *iotevents.DeleteDetectorModelInput) (r0 *iotevents.DeleteDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) DeleteDetectorModelRequest(i0 *iotevents.DeleteDetectorModelInput) (r0 *request.Request, r1 *iotevents.DeleteDetectorModelOutput)
- func (d *IoTEventsDouble) DeleteDetectorModelWithContext(i0 context.Context, i1 *iotevents.DeleteDetectorModelInput, ...) (r0 *iotevents.DeleteDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) DeleteInput(i0 *iotevents.DeleteInputInput) (r0 *iotevents.DeleteInputOutput, r1 error)
- func (d *IoTEventsDouble) DeleteInputRequest(i0 *iotevents.DeleteInputInput) (r0 *request.Request, r1 *iotevents.DeleteInputOutput)
- func (d *IoTEventsDouble) DeleteInputWithContext(i0 context.Context, i1 *iotevents.DeleteInputInput, i2 ...request.Option) (r0 *iotevents.DeleteInputOutput, r1 error)
- func (d *IoTEventsDouble) DescribeDetectorModel(i0 *iotevents.DescribeDetectorModelInput) (r0 *iotevents.DescribeDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) DescribeDetectorModelRequest(i0 *iotevents.DescribeDetectorModelInput) (r0 *request.Request, r1 *iotevents.DescribeDetectorModelOutput)
- func (d *IoTEventsDouble) DescribeDetectorModelWithContext(i0 context.Context, i1 *iotevents.DescribeDetectorModelInput, ...) (r0 *iotevents.DescribeDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) DescribeInput(i0 *iotevents.DescribeInputInput) (r0 *iotevents.DescribeInputOutput, r1 error)
- func (d *IoTEventsDouble) DescribeInputRequest(i0 *iotevents.DescribeInputInput) (r0 *request.Request, r1 *iotevents.DescribeInputOutput)
- func (d *IoTEventsDouble) DescribeInputWithContext(i0 context.Context, i1 *iotevents.DescribeInputInput, i2 ...request.Option) (r0 *iotevents.DescribeInputOutput, r1 error)
- func (d *IoTEventsDouble) DescribeLoggingOptions(i0 *iotevents.DescribeLoggingOptionsInput) (r0 *iotevents.DescribeLoggingOptionsOutput, r1 error)
- func (d *IoTEventsDouble) DescribeLoggingOptionsRequest(i0 *iotevents.DescribeLoggingOptionsInput) (r0 *request.Request, r1 *iotevents.DescribeLoggingOptionsOutput)
- func (d *IoTEventsDouble) DescribeLoggingOptionsWithContext(i0 context.Context, i1 *iotevents.DescribeLoggingOptionsInput, ...) (r0 *iotevents.DescribeLoggingOptionsOutput, r1 error)
- func (d *IoTEventsDouble) ListDetectorModelVersions(i0 *iotevents.ListDetectorModelVersionsInput) (r0 *iotevents.ListDetectorModelVersionsOutput, r1 error)
- func (d *IoTEventsDouble) ListDetectorModelVersionsRequest(i0 *iotevents.ListDetectorModelVersionsInput) (r0 *request.Request, r1 *iotevents.ListDetectorModelVersionsOutput)
- func (d *IoTEventsDouble) ListDetectorModelVersionsWithContext(i0 context.Context, i1 *iotevents.ListDetectorModelVersionsInput, ...) (r0 *iotevents.ListDetectorModelVersionsOutput, r1 error)
- func (d *IoTEventsDouble) ListDetectorModels(i0 *iotevents.ListDetectorModelsInput) (r0 *iotevents.ListDetectorModelsOutput, r1 error)
- func (d *IoTEventsDouble) ListDetectorModelsRequest(i0 *iotevents.ListDetectorModelsInput) (r0 *request.Request, r1 *iotevents.ListDetectorModelsOutput)
- func (d *IoTEventsDouble) ListDetectorModelsWithContext(i0 context.Context, i1 *iotevents.ListDetectorModelsInput, ...) (r0 *iotevents.ListDetectorModelsOutput, r1 error)
- func (d *IoTEventsDouble) ListInputs(i0 *iotevents.ListInputsInput) (r0 *iotevents.ListInputsOutput, r1 error)
- func (d *IoTEventsDouble) ListInputsRequest(i0 *iotevents.ListInputsInput) (r0 *request.Request, r1 *iotevents.ListInputsOutput)
- func (d *IoTEventsDouble) ListInputsWithContext(i0 context.Context, i1 *iotevents.ListInputsInput, i2 ...request.Option) (r0 *iotevents.ListInputsOutput, r1 error)
- func (d *IoTEventsDouble) ListTagsForResource(i0 *iotevents.ListTagsForResourceInput) (r0 *iotevents.ListTagsForResourceOutput, r1 error)
- func (d *IoTEventsDouble) ListTagsForResourceRequest(i0 *iotevents.ListTagsForResourceInput) (r0 *request.Request, r1 *iotevents.ListTagsForResourceOutput)
- func (d *IoTEventsDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *iotevents.ListTagsForResourceInput, ...) (r0 *iotevents.ListTagsForResourceOutput, r1 error)
- func (d *IoTEventsDouble) PutLoggingOptions(i0 *iotevents.PutLoggingOptionsInput) (r0 *iotevents.PutLoggingOptionsOutput, r1 error)
- func (d *IoTEventsDouble) PutLoggingOptionsRequest(i0 *iotevents.PutLoggingOptionsInput) (r0 *request.Request, r1 *iotevents.PutLoggingOptionsOutput)
- func (d *IoTEventsDouble) PutLoggingOptionsWithContext(i0 context.Context, i1 *iotevents.PutLoggingOptionsInput, i2 ...request.Option) (r0 *iotevents.PutLoggingOptionsOutput, r1 error)
- func (d *IoTEventsDouble) TagResource(i0 *iotevents.TagResourceInput) (r0 *iotevents.TagResourceOutput, r1 error)
- func (d *IoTEventsDouble) TagResourceRequest(i0 *iotevents.TagResourceInput) (r0 *request.Request, r1 *iotevents.TagResourceOutput)
- func (d *IoTEventsDouble) TagResourceWithContext(i0 context.Context, i1 *iotevents.TagResourceInput, i2 ...request.Option) (r0 *iotevents.TagResourceOutput, r1 error)
- func (d *IoTEventsDouble) UntagResource(i0 *iotevents.UntagResourceInput) (r0 *iotevents.UntagResourceOutput, r1 error)
- func (d *IoTEventsDouble) UntagResourceRequest(i0 *iotevents.UntagResourceInput) (r0 *request.Request, r1 *iotevents.UntagResourceOutput)
- func (d *IoTEventsDouble) UntagResourceWithContext(i0 context.Context, i1 *iotevents.UntagResourceInput, i2 ...request.Option) (r0 *iotevents.UntagResourceOutput, r1 error)
- func (d *IoTEventsDouble) UpdateDetectorModel(i0 *iotevents.UpdateDetectorModelInput) (r0 *iotevents.UpdateDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) UpdateDetectorModelRequest(i0 *iotevents.UpdateDetectorModelInput) (r0 *request.Request, r1 *iotevents.UpdateDetectorModelOutput)
- func (d *IoTEventsDouble) UpdateDetectorModelWithContext(i0 context.Context, i1 *iotevents.UpdateDetectorModelInput, ...) (r0 *iotevents.UpdateDetectorModelOutput, r1 error)
- func (d *IoTEventsDouble) UpdateInput(i0 *iotevents.UpdateInputInput) (r0 *iotevents.UpdateInputOutput, r1 error)
- func (d *IoTEventsDouble) UpdateInputRequest(i0 *iotevents.UpdateInputInput) (r0 *request.Request, r1 *iotevents.UpdateInputOutput)
- func (d *IoTEventsDouble) UpdateInputWithContext(i0 context.Context, i1 *iotevents.UpdateInputInput, i2 ...request.Option) (r0 *iotevents.UpdateInputOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IoTEventsDouble ¶
type IoTEventsDouble struct { ioteventsiface.IoTEventsAPI *awsdouble.AWSTestDouble }
IoTEventsDouble is TestDouble for ioteventsiface.IoTEventsAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *IoTEventsDouble
Constructor for IoTEventsDouble 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 (*IoTEventsDouble) CreateDetectorModel ¶
func (d *IoTEventsDouble) CreateDetectorModel(i0 *iotevents.CreateDetectorModelInput) (r0 *iotevents.CreateDetectorModelOutput, r1 error)
func (*IoTEventsDouble) CreateDetectorModelRequest ¶
func (d *IoTEventsDouble) CreateDetectorModelRequest(i0 *iotevents.CreateDetectorModelInput) (r0 *request.Request, r1 *iotevents.CreateDetectorModelOutput)
func (*IoTEventsDouble) CreateDetectorModelWithContext ¶
func (d *IoTEventsDouble) CreateDetectorModelWithContext(i0 context.Context, i1 *iotevents.CreateDetectorModelInput, i2 ...request.Option) (r0 *iotevents.CreateDetectorModelOutput, r1 error)
func (*IoTEventsDouble) CreateInput ¶
func (d *IoTEventsDouble) CreateInput(i0 *iotevents.CreateInputInput) (r0 *iotevents.CreateInputOutput, r1 error)
func (*IoTEventsDouble) CreateInputRequest ¶
func (d *IoTEventsDouble) CreateInputRequest(i0 *iotevents.CreateInputInput) (r0 *request.Request, r1 *iotevents.CreateInputOutput)
func (*IoTEventsDouble) CreateInputWithContext ¶
func (d *IoTEventsDouble) CreateInputWithContext(i0 context.Context, i1 *iotevents.CreateInputInput, i2 ...request.Option) (r0 *iotevents.CreateInputOutput, r1 error)
func (*IoTEventsDouble) DeleteDetectorModel ¶
func (d *IoTEventsDouble) DeleteDetectorModel(i0 *iotevents.DeleteDetectorModelInput) (r0 *iotevents.DeleteDetectorModelOutput, r1 error)
func (*IoTEventsDouble) DeleteDetectorModelRequest ¶
func (d *IoTEventsDouble) DeleteDetectorModelRequest(i0 *iotevents.DeleteDetectorModelInput) (r0 *request.Request, r1 *iotevents.DeleteDetectorModelOutput)
func (*IoTEventsDouble) DeleteDetectorModelWithContext ¶
func (d *IoTEventsDouble) DeleteDetectorModelWithContext(i0 context.Context, i1 *iotevents.DeleteDetectorModelInput, i2 ...request.Option) (r0 *iotevents.DeleteDetectorModelOutput, r1 error)
func (*IoTEventsDouble) DeleteInput ¶
func (d *IoTEventsDouble) DeleteInput(i0 *iotevents.DeleteInputInput) (r0 *iotevents.DeleteInputOutput, r1 error)
func (*IoTEventsDouble) DeleteInputRequest ¶
func (d *IoTEventsDouble) DeleteInputRequest(i0 *iotevents.DeleteInputInput) (r0 *request.Request, r1 *iotevents.DeleteInputOutput)
func (*IoTEventsDouble) DeleteInputWithContext ¶
func (d *IoTEventsDouble) DeleteInputWithContext(i0 context.Context, i1 *iotevents.DeleteInputInput, i2 ...request.Option) (r0 *iotevents.DeleteInputOutput, r1 error)
func (*IoTEventsDouble) DescribeDetectorModel ¶
func (d *IoTEventsDouble) DescribeDetectorModel(i0 *iotevents.DescribeDetectorModelInput) (r0 *iotevents.DescribeDetectorModelOutput, r1 error)
func (*IoTEventsDouble) DescribeDetectorModelRequest ¶
func (d *IoTEventsDouble) DescribeDetectorModelRequest(i0 *iotevents.DescribeDetectorModelInput) (r0 *request.Request, r1 *iotevents.DescribeDetectorModelOutput)
func (*IoTEventsDouble) DescribeDetectorModelWithContext ¶
func (d *IoTEventsDouble) DescribeDetectorModelWithContext(i0 context.Context, i1 *iotevents.DescribeDetectorModelInput, i2 ...request.Option) (r0 *iotevents.DescribeDetectorModelOutput, r1 error)
func (*IoTEventsDouble) DescribeInput ¶
func (d *IoTEventsDouble) DescribeInput(i0 *iotevents.DescribeInputInput) (r0 *iotevents.DescribeInputOutput, r1 error)
func (*IoTEventsDouble) DescribeInputRequest ¶
func (d *IoTEventsDouble) DescribeInputRequest(i0 *iotevents.DescribeInputInput) (r0 *request.Request, r1 *iotevents.DescribeInputOutput)
func (*IoTEventsDouble) DescribeInputWithContext ¶
func (d *IoTEventsDouble) DescribeInputWithContext(i0 context.Context, i1 *iotevents.DescribeInputInput, i2 ...request.Option) (r0 *iotevents.DescribeInputOutput, r1 error)
func (*IoTEventsDouble) DescribeLoggingOptions ¶
func (d *IoTEventsDouble) DescribeLoggingOptions(i0 *iotevents.DescribeLoggingOptionsInput) (r0 *iotevents.DescribeLoggingOptionsOutput, r1 error)
func (*IoTEventsDouble) DescribeLoggingOptionsRequest ¶
func (d *IoTEventsDouble) DescribeLoggingOptionsRequest(i0 *iotevents.DescribeLoggingOptionsInput) (r0 *request.Request, r1 *iotevents.DescribeLoggingOptionsOutput)
func (*IoTEventsDouble) DescribeLoggingOptionsWithContext ¶
func (d *IoTEventsDouble) DescribeLoggingOptionsWithContext(i0 context.Context, i1 *iotevents.DescribeLoggingOptionsInput, i2 ...request.Option) (r0 *iotevents.DescribeLoggingOptionsOutput, r1 error)
func (*IoTEventsDouble) ListDetectorModelVersions ¶
func (d *IoTEventsDouble) ListDetectorModelVersions(i0 *iotevents.ListDetectorModelVersionsInput) (r0 *iotevents.ListDetectorModelVersionsOutput, r1 error)
func (*IoTEventsDouble) ListDetectorModelVersionsRequest ¶
func (d *IoTEventsDouble) ListDetectorModelVersionsRequest(i0 *iotevents.ListDetectorModelVersionsInput) (r0 *request.Request, r1 *iotevents.ListDetectorModelVersionsOutput)
func (*IoTEventsDouble) ListDetectorModelVersionsWithContext ¶
func (d *IoTEventsDouble) ListDetectorModelVersionsWithContext(i0 context.Context, i1 *iotevents.ListDetectorModelVersionsInput, i2 ...request.Option) (r0 *iotevents.ListDetectorModelVersionsOutput, r1 error)
func (*IoTEventsDouble) ListDetectorModels ¶
func (d *IoTEventsDouble) ListDetectorModels(i0 *iotevents.ListDetectorModelsInput) (r0 *iotevents.ListDetectorModelsOutput, r1 error)
func (*IoTEventsDouble) ListDetectorModelsRequest ¶
func (d *IoTEventsDouble) ListDetectorModelsRequest(i0 *iotevents.ListDetectorModelsInput) (r0 *request.Request, r1 *iotevents.ListDetectorModelsOutput)
func (*IoTEventsDouble) ListDetectorModelsWithContext ¶
func (d *IoTEventsDouble) ListDetectorModelsWithContext(i0 context.Context, i1 *iotevents.ListDetectorModelsInput, i2 ...request.Option) (r0 *iotevents.ListDetectorModelsOutput, r1 error)
func (*IoTEventsDouble) ListInputs ¶
func (d *IoTEventsDouble) ListInputs(i0 *iotevents.ListInputsInput) (r0 *iotevents.ListInputsOutput, r1 error)
func (*IoTEventsDouble) ListInputsRequest ¶
func (d *IoTEventsDouble) ListInputsRequest(i0 *iotevents.ListInputsInput) (r0 *request.Request, r1 *iotevents.ListInputsOutput)
func (*IoTEventsDouble) ListInputsWithContext ¶
func (d *IoTEventsDouble) ListInputsWithContext(i0 context.Context, i1 *iotevents.ListInputsInput, i2 ...request.Option) (r0 *iotevents.ListInputsOutput, r1 error)
func (*IoTEventsDouble) ListTagsForResource ¶
func (d *IoTEventsDouble) ListTagsForResource(i0 *iotevents.ListTagsForResourceInput) (r0 *iotevents.ListTagsForResourceOutput, r1 error)
func (*IoTEventsDouble) ListTagsForResourceRequest ¶
func (d *IoTEventsDouble) ListTagsForResourceRequest(i0 *iotevents.ListTagsForResourceInput) (r0 *request.Request, r1 *iotevents.ListTagsForResourceOutput)
func (*IoTEventsDouble) ListTagsForResourceWithContext ¶
func (d *IoTEventsDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *iotevents.ListTagsForResourceInput, i2 ...request.Option) (r0 *iotevents.ListTagsForResourceOutput, r1 error)
func (*IoTEventsDouble) PutLoggingOptions ¶
func (d *IoTEventsDouble) PutLoggingOptions(i0 *iotevents.PutLoggingOptionsInput) (r0 *iotevents.PutLoggingOptionsOutput, r1 error)
func (*IoTEventsDouble) PutLoggingOptionsRequest ¶
func (d *IoTEventsDouble) PutLoggingOptionsRequest(i0 *iotevents.PutLoggingOptionsInput) (r0 *request.Request, r1 *iotevents.PutLoggingOptionsOutput)
func (*IoTEventsDouble) PutLoggingOptionsWithContext ¶
func (d *IoTEventsDouble) PutLoggingOptionsWithContext(i0 context.Context, i1 *iotevents.PutLoggingOptionsInput, i2 ...request.Option) (r0 *iotevents.PutLoggingOptionsOutput, r1 error)
func (*IoTEventsDouble) TagResource ¶
func (d *IoTEventsDouble) TagResource(i0 *iotevents.TagResourceInput) (r0 *iotevents.TagResourceOutput, r1 error)
func (*IoTEventsDouble) TagResourceRequest ¶
func (d *IoTEventsDouble) TagResourceRequest(i0 *iotevents.TagResourceInput) (r0 *request.Request, r1 *iotevents.TagResourceOutput)
func (*IoTEventsDouble) TagResourceWithContext ¶
func (d *IoTEventsDouble) TagResourceWithContext(i0 context.Context, i1 *iotevents.TagResourceInput, i2 ...request.Option) (r0 *iotevents.TagResourceOutput, r1 error)
func (*IoTEventsDouble) UntagResource ¶
func (d *IoTEventsDouble) UntagResource(i0 *iotevents.UntagResourceInput) (r0 *iotevents.UntagResourceOutput, r1 error)
func (*IoTEventsDouble) UntagResourceRequest ¶
func (d *IoTEventsDouble) UntagResourceRequest(i0 *iotevents.UntagResourceInput) (r0 *request.Request, r1 *iotevents.UntagResourceOutput)
func (*IoTEventsDouble) UntagResourceWithContext ¶
func (d *IoTEventsDouble) UntagResourceWithContext(i0 context.Context, i1 *iotevents.UntagResourceInput, i2 ...request.Option) (r0 *iotevents.UntagResourceOutput, r1 error)
func (*IoTEventsDouble) UpdateDetectorModel ¶
func (d *IoTEventsDouble) UpdateDetectorModel(i0 *iotevents.UpdateDetectorModelInput) (r0 *iotevents.UpdateDetectorModelOutput, r1 error)
func (*IoTEventsDouble) UpdateDetectorModelRequest ¶
func (d *IoTEventsDouble) UpdateDetectorModelRequest(i0 *iotevents.UpdateDetectorModelInput) (r0 *request.Request, r1 *iotevents.UpdateDetectorModelOutput)
func (*IoTEventsDouble) UpdateDetectorModelWithContext ¶
func (d *IoTEventsDouble) UpdateDetectorModelWithContext(i0 context.Context, i1 *iotevents.UpdateDetectorModelInput, i2 ...request.Option) (r0 *iotevents.UpdateDetectorModelOutput, r1 error)
func (*IoTEventsDouble) UpdateInput ¶
func (d *IoTEventsDouble) UpdateInput(i0 *iotevents.UpdateInputInput) (r0 *iotevents.UpdateInputOutput, r1 error)
func (*IoTEventsDouble) UpdateInputRequest ¶
func (d *IoTEventsDouble) UpdateInputRequest(i0 *iotevents.UpdateInputInput) (r0 *request.Request, r1 *iotevents.UpdateInputOutput)
func (*IoTEventsDouble) UpdateInputWithContext ¶
func (d *IoTEventsDouble) UpdateInputWithContext(i0 context.Context, i1 *iotevents.UpdateInputInput, i2 ...request.Option) (r0 *iotevents.UpdateInputOutput, r1 error)