2021-06-28 16:21:12 +00:00
|
|
|
// Code generated by mockery v1.0.0. DO NOT EDIT.
|
2021-01-27 10:49:25 +00:00
|
|
|
|
2021-05-04 16:37:45 +00:00
|
|
|
package aws
|
2021-01-27 10:49:25 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
|
|
|
|
|
|
|
request "github.com/aws/aws-sdk-go/aws/request"
|
|
|
|
mock "github.com/stretchr/testify/mock"
|
|
|
|
|
|
|
|
sqs "github.com/aws/aws-sdk-go/service/sqs"
|
|
|
|
)
|
|
|
|
|
2021-05-04 16:37:45 +00:00
|
|
|
// MockFakeSQS is an autogenerated mock type for the FakeSQS type
|
|
|
|
type MockFakeSQS struct {
|
2021-01-27 10:49:25 +00:00
|
|
|
mock.Mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// AddPermission provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) AddPermission(_a0 *sqs.AddPermissionInput) (*sqs.AddPermissionOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.AddPermissionOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.AddPermissionInput) *sqs.AddPermissionOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.AddPermissionOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.AddPermissionInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// AddPermissionRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) AddPermissionRequest(_a0 *sqs.AddPermissionInput) (*request.Request, *sqs.AddPermissionOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.AddPermissionInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.AddPermissionOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.AddPermissionInput) *sqs.AddPermissionOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.AddPermissionOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// AddPermissionWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) AddPermissionWithContext(_a0 context.Context, _a1 *sqs.AddPermissionInput, _a2 ...request.Option) (*sqs.AddPermissionOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.AddPermissionOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.AddPermissionInput, ...request.Option) *sqs.AddPermissionOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.AddPermissionOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.AddPermissionInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMessageVisibility provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ChangeMessageVisibility(_a0 *sqs.ChangeMessageVisibilityInput) (*sqs.ChangeMessageVisibilityOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.ChangeMessageVisibilityOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityInput) *sqs.ChangeMessageVisibilityOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ChangeMessageVisibilityOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMessageVisibilityBatch provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ChangeMessageVisibilityBatch(_a0 *sqs.ChangeMessageVisibilityBatchInput) (*sqs.ChangeMessageVisibilityBatchOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.ChangeMessageVisibilityBatchOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityBatchInput) *sqs.ChangeMessageVisibilityBatchOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ChangeMessageVisibilityBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityBatchInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMessageVisibilityBatchRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ChangeMessageVisibilityBatchRequest(_a0 *sqs.ChangeMessageVisibilityBatchInput) (*request.Request, *sqs.ChangeMessageVisibilityBatchOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityBatchInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.ChangeMessageVisibilityBatchOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityBatchInput) *sqs.ChangeMessageVisibilityBatchOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.ChangeMessageVisibilityBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMessageVisibilityBatchWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ChangeMessageVisibilityBatchWithContext(_a0 context.Context, _a1 *sqs.ChangeMessageVisibilityBatchInput, _a2 ...request.Option) (*sqs.ChangeMessageVisibilityBatchOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.ChangeMessageVisibilityBatchOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ChangeMessageVisibilityBatchInput, ...request.Option) *sqs.ChangeMessageVisibilityBatchOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ChangeMessageVisibilityBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.ChangeMessageVisibilityBatchInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMessageVisibilityRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ChangeMessageVisibilityRequest(_a0 *sqs.ChangeMessageVisibilityInput) (*request.Request, *sqs.ChangeMessageVisibilityOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.ChangeMessageVisibilityOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityInput) *sqs.ChangeMessageVisibilityOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.ChangeMessageVisibilityOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMessageVisibilityWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ChangeMessageVisibilityWithContext(_a0 context.Context, _a1 *sqs.ChangeMessageVisibilityInput, _a2 ...request.Option) (*sqs.ChangeMessageVisibilityOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.ChangeMessageVisibilityOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ChangeMessageVisibilityInput, ...request.Option) *sqs.ChangeMessageVisibilityOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ChangeMessageVisibilityOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.ChangeMessageVisibilityInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateQueue provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) CreateQueue(_a0 *sqs.CreateQueueInput) (*sqs.CreateQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.CreateQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.CreateQueueInput) *sqs.CreateQueueOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.CreateQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.CreateQueueInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateQueueRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) CreateQueueRequest(_a0 *sqs.CreateQueueInput) (*request.Request, *sqs.CreateQueueOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.CreateQueueInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.CreateQueueOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.CreateQueueInput) *sqs.CreateQueueOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.CreateQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// CreateQueueWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) CreateQueueWithContext(_a0 context.Context, _a1 *sqs.CreateQueueInput, _a2 ...request.Option) (*sqs.CreateQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.CreateQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.CreateQueueInput, ...request.Option) *sqs.CreateQueueOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.CreateQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.CreateQueueInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMessage provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteMessage(_a0 *sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.DeleteMessageOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageInput) *sqs.DeleteMessageOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.DeleteMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMessageBatch provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteMessageBatch(_a0 *sqs.DeleteMessageBatchInput) (*sqs.DeleteMessageBatchOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.DeleteMessageBatchOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageBatchInput) *sqs.DeleteMessageBatchOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.DeleteMessageBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageBatchInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMessageBatchRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteMessageBatchRequest(_a0 *sqs.DeleteMessageBatchInput) (*request.Request, *sqs.DeleteMessageBatchOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageBatchInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.DeleteMessageBatchOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageBatchInput) *sqs.DeleteMessageBatchOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.DeleteMessageBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMessageBatchWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteMessageBatchWithContext(_a0 context.Context, _a1 *sqs.DeleteMessageBatchInput, _a2 ...request.Option) (*sqs.DeleteMessageBatchOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.DeleteMessageBatchOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteMessageBatchInput, ...request.Option) *sqs.DeleteMessageBatchOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.DeleteMessageBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.DeleteMessageBatchInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMessageRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteMessageRequest(_a0 *sqs.DeleteMessageInput) (*request.Request, *sqs.DeleteMessageOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.DeleteMessageOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageInput) *sqs.DeleteMessageOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.DeleteMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteMessageWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteMessageWithContext(_a0 context.Context, _a1 *sqs.DeleteMessageInput, _a2 ...request.Option) (*sqs.DeleteMessageOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.DeleteMessageOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteMessageInput, ...request.Option) *sqs.DeleteMessageOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.DeleteMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.DeleteMessageInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteQueue provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteQueue(_a0 *sqs.DeleteQueueInput) (*sqs.DeleteQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.DeleteQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.DeleteQueueInput) *sqs.DeleteQueueOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.DeleteQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.DeleteQueueInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteQueueRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteQueueRequest(_a0 *sqs.DeleteQueueInput) (*request.Request, *sqs.DeleteQueueOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.DeleteQueueInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.DeleteQueueOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.DeleteQueueInput) *sqs.DeleteQueueOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.DeleteQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeleteQueueWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) DeleteQueueWithContext(_a0 context.Context, _a1 *sqs.DeleteQueueInput, _a2 ...request.Option) (*sqs.DeleteQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.DeleteQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteQueueInput, ...request.Option) *sqs.DeleteQueueOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.DeleteQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.DeleteQueueInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetQueueAttributes provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) GetQueueAttributes(_a0 *sqs.GetQueueAttributesInput) (*sqs.GetQueueAttributesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.GetQueueAttributesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.GetQueueAttributesInput) *sqs.GetQueueAttributesOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.GetQueueAttributesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.GetQueueAttributesInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetQueueAttributesRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) GetQueueAttributesRequest(_a0 *sqs.GetQueueAttributesInput) (*request.Request, *sqs.GetQueueAttributesOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.GetQueueAttributesInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.GetQueueAttributesOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.GetQueueAttributesInput) *sqs.GetQueueAttributesOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.GetQueueAttributesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetQueueAttributesWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) GetQueueAttributesWithContext(_a0 context.Context, _a1 *sqs.GetQueueAttributesInput, _a2 ...request.Option) (*sqs.GetQueueAttributesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.GetQueueAttributesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.GetQueueAttributesInput, ...request.Option) *sqs.GetQueueAttributesOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.GetQueueAttributesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.GetQueueAttributesInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetQueueUrl provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) GetQueueUrl(_a0 *sqs.GetQueueUrlInput) (*sqs.GetQueueUrlOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.GetQueueUrlOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.GetQueueUrlInput) *sqs.GetQueueUrlOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.GetQueueUrlOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.GetQueueUrlInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetQueueUrlRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) GetQueueUrlRequest(_a0 *sqs.GetQueueUrlInput) (*request.Request, *sqs.GetQueueUrlOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.GetQueueUrlInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.GetQueueUrlOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.GetQueueUrlInput) *sqs.GetQueueUrlOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.GetQueueUrlOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetQueueUrlWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) GetQueueUrlWithContext(_a0 context.Context, _a1 *sqs.GetQueueUrlInput, _a2 ...request.Option) (*sqs.GetQueueUrlOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.GetQueueUrlOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.GetQueueUrlInput, ...request.Option) *sqs.GetQueueUrlOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.GetQueueUrlOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.GetQueueUrlInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListDeadLetterSourceQueues provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListDeadLetterSourceQueues(_a0 *sqs.ListDeadLetterSourceQueuesInput) (*sqs.ListDeadLetterSourceQueuesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.ListDeadLetterSourceQueuesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListDeadLetterSourceQueuesInput) *sqs.ListDeadLetterSourceQueuesOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ListDeadLetterSourceQueuesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ListDeadLetterSourceQueuesInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListDeadLetterSourceQueuesPages provides a mock function with given fields: _a0, _a1
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListDeadLetterSourceQueuesPages(_a0 *sqs.ListDeadLetterSourceQueuesInput, _a1 func(*sqs.ListDeadLetterSourceQueuesOutput, bool) bool) error {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0, _a1)
|
|
|
|
|
|
|
|
var r0 error
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListDeadLetterSourceQueuesInput, func(*sqs.ListDeadLetterSourceQueuesOutput, bool) bool) error); ok {
|
|
|
|
r0 = rf(_a0, _a1)
|
|
|
|
} else {
|
|
|
|
r0 = ret.Error(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListDeadLetterSourceQueuesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListDeadLetterSourceQueuesPagesWithContext(_a0 context.Context, _a1 *sqs.ListDeadLetterSourceQueuesInput, _a2 func(*sqs.ListDeadLetterSourceQueuesOutput, bool) bool, _a3 ...request.Option) error {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a3))
|
|
|
|
for _i := range _a3 {
|
|
|
|
_va[_i] = _a3[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1, _a2)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 error
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListDeadLetterSourceQueuesInput, func(*sqs.ListDeadLetterSourceQueuesOutput, bool) bool, ...request.Option) error); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2, _a3...)
|
|
|
|
} else {
|
|
|
|
r0 = ret.Error(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListDeadLetterSourceQueuesRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListDeadLetterSourceQueuesRequest(_a0 *sqs.ListDeadLetterSourceQueuesInput) (*request.Request, *sqs.ListDeadLetterSourceQueuesOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListDeadLetterSourceQueuesInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.ListDeadLetterSourceQueuesOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ListDeadLetterSourceQueuesInput) *sqs.ListDeadLetterSourceQueuesOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.ListDeadLetterSourceQueuesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListDeadLetterSourceQueuesWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListDeadLetterSourceQueuesWithContext(_a0 context.Context, _a1 *sqs.ListDeadLetterSourceQueuesInput, _a2 ...request.Option) (*sqs.ListDeadLetterSourceQueuesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.ListDeadLetterSourceQueuesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListDeadLetterSourceQueuesInput, ...request.Option) *sqs.ListDeadLetterSourceQueuesOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ListDeadLetterSourceQueuesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.ListDeadLetterSourceQueuesInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueueTags provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueueTags(_a0 *sqs.ListQueueTagsInput) (*sqs.ListQueueTagsOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.ListQueueTagsOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListQueueTagsInput) *sqs.ListQueueTagsOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ListQueueTagsOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ListQueueTagsInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueueTagsRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueueTagsRequest(_a0 *sqs.ListQueueTagsInput) (*request.Request, *sqs.ListQueueTagsOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListQueueTagsInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.ListQueueTagsOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ListQueueTagsInput) *sqs.ListQueueTagsOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.ListQueueTagsOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueueTagsWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueueTagsWithContext(_a0 context.Context, _a1 *sqs.ListQueueTagsInput, _a2 ...request.Option) (*sqs.ListQueueTagsOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.ListQueueTagsOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListQueueTagsInput, ...request.Option) *sqs.ListQueueTagsOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ListQueueTagsOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.ListQueueTagsInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueues provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueues(_a0 *sqs.ListQueuesInput) (*sqs.ListQueuesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.ListQueuesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListQueuesInput) *sqs.ListQueuesOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ListQueuesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ListQueuesInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueuesPages provides a mock function with given fields: _a0, _a1
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueuesPages(_a0 *sqs.ListQueuesInput, _a1 func(*sqs.ListQueuesOutput, bool) bool) error {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0, _a1)
|
|
|
|
|
|
|
|
var r0 error
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListQueuesInput, func(*sqs.ListQueuesOutput, bool) bool) error); ok {
|
|
|
|
r0 = rf(_a0, _a1)
|
|
|
|
} else {
|
|
|
|
r0 = ret.Error(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueuesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueuesPagesWithContext(_a0 context.Context, _a1 *sqs.ListQueuesInput, _a2 func(*sqs.ListQueuesOutput, bool) bool, _a3 ...request.Option) error {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a3))
|
|
|
|
for _i := range _a3 {
|
|
|
|
_va[_i] = _a3[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1, _a2)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 error
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListQueuesInput, func(*sqs.ListQueuesOutput, bool) bool, ...request.Option) error); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2, _a3...)
|
|
|
|
} else {
|
|
|
|
r0 = ret.Error(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueuesRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueuesRequest(_a0 *sqs.ListQueuesInput) (*request.Request, *sqs.ListQueuesOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ListQueuesInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.ListQueuesOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ListQueuesInput) *sqs.ListQueuesOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.ListQueuesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ListQueuesWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ListQueuesWithContext(_a0 context.Context, _a1 *sqs.ListQueuesInput, _a2 ...request.Option) (*sqs.ListQueuesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.ListQueuesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListQueuesInput, ...request.Option) *sqs.ListQueuesOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ListQueuesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.ListQueuesInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// PurgeQueue provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) PurgeQueue(_a0 *sqs.PurgeQueueInput) (*sqs.PurgeQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.PurgeQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.PurgeQueueInput) *sqs.PurgeQueueOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.PurgeQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.PurgeQueueInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// PurgeQueueRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) PurgeQueueRequest(_a0 *sqs.PurgeQueueInput) (*request.Request, *sqs.PurgeQueueOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.PurgeQueueInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.PurgeQueueOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.PurgeQueueInput) *sqs.PurgeQueueOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.PurgeQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// PurgeQueueWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) PurgeQueueWithContext(_a0 context.Context, _a1 *sqs.PurgeQueueInput, _a2 ...request.Option) (*sqs.PurgeQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.PurgeQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.PurgeQueueInput, ...request.Option) *sqs.PurgeQueueOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.PurgeQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.PurgeQueueInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReceiveMessage provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ReceiveMessage(_a0 *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.ReceiveMessageOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ReceiveMessageInput) *sqs.ReceiveMessageOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ReceiveMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ReceiveMessageInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReceiveMessageRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ReceiveMessageRequest(_a0 *sqs.ReceiveMessageInput) (*request.Request, *sqs.ReceiveMessageOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.ReceiveMessageInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.ReceiveMessageOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.ReceiveMessageInput) *sqs.ReceiveMessageOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.ReceiveMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReceiveMessageWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) ReceiveMessageWithContext(_a0 context.Context, _a1 *sqs.ReceiveMessageInput, _a2 ...request.Option) (*sqs.ReceiveMessageOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.ReceiveMessageOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.ReceiveMessageInput, ...request.Option) *sqs.ReceiveMessageOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.ReceiveMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.ReceiveMessageInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemovePermission provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) RemovePermission(_a0 *sqs.RemovePermissionInput) (*sqs.RemovePermissionOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.RemovePermissionOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.RemovePermissionInput) *sqs.RemovePermissionOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.RemovePermissionOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.RemovePermissionInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemovePermissionRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) RemovePermissionRequest(_a0 *sqs.RemovePermissionInput) (*request.Request, *sqs.RemovePermissionOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.RemovePermissionInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.RemovePermissionOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.RemovePermissionInput) *sqs.RemovePermissionOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.RemovePermissionOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemovePermissionWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) RemovePermissionWithContext(_a0 context.Context, _a1 *sqs.RemovePermissionInput, _a2 ...request.Option) (*sqs.RemovePermissionOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.RemovePermissionOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.RemovePermissionInput, ...request.Option) *sqs.RemovePermissionOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.RemovePermissionOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.RemovePermissionInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SendMessage provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SendMessage(_a0 *sqs.SendMessageInput) (*sqs.SendMessageOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.SendMessageOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.SendMessageInput) *sqs.SendMessageOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.SendMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.SendMessageInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SendMessageBatch provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SendMessageBatch(_a0 *sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.SendMessageBatchOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.SendMessageBatchInput) *sqs.SendMessageBatchOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.SendMessageBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.SendMessageBatchInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SendMessageBatchRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SendMessageBatchRequest(_a0 *sqs.SendMessageBatchInput) (*request.Request, *sqs.SendMessageBatchOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.SendMessageBatchInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.SendMessageBatchOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.SendMessageBatchInput) *sqs.SendMessageBatchOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.SendMessageBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SendMessageBatchWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SendMessageBatchWithContext(_a0 context.Context, _a1 *sqs.SendMessageBatchInput, _a2 ...request.Option) (*sqs.SendMessageBatchOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.SendMessageBatchOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.SendMessageBatchInput, ...request.Option) *sqs.SendMessageBatchOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.SendMessageBatchOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.SendMessageBatchInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SendMessageRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SendMessageRequest(_a0 *sqs.SendMessageInput) (*request.Request, *sqs.SendMessageOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.SendMessageInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.SendMessageOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.SendMessageInput) *sqs.SendMessageOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.SendMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SendMessageWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SendMessageWithContext(_a0 context.Context, _a1 *sqs.SendMessageInput, _a2 ...request.Option) (*sqs.SendMessageOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.SendMessageOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.SendMessageInput, ...request.Option) *sqs.SendMessageOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.SendMessageOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.SendMessageInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetQueueAttributes provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SetQueueAttributes(_a0 *sqs.SetQueueAttributesInput) (*sqs.SetQueueAttributesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.SetQueueAttributesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.SetQueueAttributesInput) *sqs.SetQueueAttributesOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.SetQueueAttributesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.SetQueueAttributesInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetQueueAttributesRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SetQueueAttributesRequest(_a0 *sqs.SetQueueAttributesInput) (*request.Request, *sqs.SetQueueAttributesOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.SetQueueAttributesInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.SetQueueAttributesOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.SetQueueAttributesInput) *sqs.SetQueueAttributesOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.SetQueueAttributesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetQueueAttributesWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) SetQueueAttributesWithContext(_a0 context.Context, _a1 *sqs.SetQueueAttributesInput, _a2 ...request.Option) (*sqs.SetQueueAttributesOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.SetQueueAttributesOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.SetQueueAttributesInput, ...request.Option) *sqs.SetQueueAttributesOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.SetQueueAttributesOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.SetQueueAttributesInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// TagQueue provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) TagQueue(_a0 *sqs.TagQueueInput) (*sqs.TagQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.TagQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.TagQueueInput) *sqs.TagQueueOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.TagQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.TagQueueInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// TagQueueRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) TagQueueRequest(_a0 *sqs.TagQueueInput) (*request.Request, *sqs.TagQueueOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.TagQueueInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.TagQueueOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.TagQueueInput) *sqs.TagQueueOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.TagQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// TagQueueWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) TagQueueWithContext(_a0 context.Context, _a1 *sqs.TagQueueInput, _a2 ...request.Option) (*sqs.TagQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.TagQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.TagQueueInput, ...request.Option) *sqs.TagQueueOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.TagQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.TagQueueInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// UntagQueue provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) UntagQueue(_a0 *sqs.UntagQueueInput) (*sqs.UntagQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *sqs.UntagQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.UntagQueueInput) *sqs.UntagQueueOutput); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.UntagQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.UntagQueueInput) error); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// UntagQueueRequest provides a mock function with given fields: _a0
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) UntagQueueRequest(_a0 *sqs.UntagQueueInput) (*request.Request, *sqs.UntagQueueOutput) {
|
2021-01-27 10:49:25 +00:00
|
|
|
ret := _m.Called(_a0)
|
|
|
|
|
|
|
|
var r0 *request.Request
|
|
|
|
if rf, ok := ret.Get(0).(func(*sqs.UntagQueueInput) *request.Request); ok {
|
|
|
|
r0 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*request.Request)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 *sqs.UntagQueueOutput
|
|
|
|
if rf, ok := ret.Get(1).(func(*sqs.UntagQueueInput) *sqs.UntagQueueOutput); ok {
|
|
|
|
r1 = rf(_a0)
|
|
|
|
} else {
|
|
|
|
if ret.Get(1) != nil {
|
|
|
|
r1 = ret.Get(1).(*sqs.UntagQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// UntagQueueWithContext provides a mock function with given fields: _a0, _a1, _a2
|
2021-05-04 16:37:45 +00:00
|
|
|
func (_m *MockFakeSQS) UntagQueueWithContext(_a0 context.Context, _a1 *sqs.UntagQueueInput, _a2 ...request.Option) (*sqs.UntagQueueOutput, error) {
|
2021-01-27 10:49:25 +00:00
|
|
|
_va := make([]interface{}, len(_a2))
|
|
|
|
for _i := range _a2 {
|
|
|
|
_va[_i] = _a2[_i]
|
|
|
|
}
|
|
|
|
var _ca []interface{}
|
|
|
|
_ca = append(_ca, _a0, _a1)
|
|
|
|
_ca = append(_ca, _va...)
|
|
|
|
ret := _m.Called(_ca...)
|
|
|
|
|
|
|
|
var r0 *sqs.UntagQueueOutput
|
|
|
|
if rf, ok := ret.Get(0).(func(context.Context, *sqs.UntagQueueInput, ...request.Option) *sqs.UntagQueueOutput); ok {
|
|
|
|
r0 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).(*sqs.UntagQueueOutput)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func(context.Context, *sqs.UntagQueueInput, ...request.Option) error); ok {
|
|
|
|
r1 = rf(_a0, _a1, _a2...)
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|